Audio data transmission method and apparatus, device, medium and program product
By splitting PCM data into multiple data segments and sending them according to different coverage areas, it solves the problems of high device power consumption and unstable long-distance transmission when TWS headsets share audio, achieving more efficient audio data transmission and lower cost. of power consumption.
Patent Information
- Application Number
- PCT/CN2023/090482
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-25
- Publication Date
- 2024-10-31
AI Technical Summary
When using True Wireless Studio (TWS) headsets, devices such as mobile phones and tablets consume high power when sharing audio, causing the devices to consume power quickly. The audio sharing experience is degraded at long distances, and lagging or interruptions are prone to occur.
By splitting the PCM data into at least two data segments in the bit width dimension, and using wireless signals to send these segments, it is ensured that the wireless signal coverage of the high-bit data segments is greater than the coverage of the low-bit data segments, thereby improving transmission success. rate and coverage, and reduce device power consumption.
It improves the success rate of audio data transmission and wireless signal coverage, reduces the power consumption of the device, enhances the robustness and long-distance transmission capabilities of audio sharing, and reduces power consumption.
Smart Images

Figure CN2023090482_31102024_PF_FP_ABST
Abstract
Description
Audio data transmission method, device, equipment, medium and program product Technical Field
[0001] The embodiments of the present application relate to the field of communications, and in particular to a method, apparatus, device, medium, and program product for transmitting audio data. Background Art
[0002] Bluetooth is a wireless technology standard that enables short-range data exchange between fixed devices, mobile devices, and building personal area networks.
[0003] True Wireless Studio (TWS) earbuds are becoming increasingly popular in our daily lives and work. TWS allows for audio sharing, for example, using a phone to share music with multiple TWS earbuds.
[0004] Currently, the power consumption when using TWS to share audio is high, causing mobile phones, tablets and other audio source devices to consume power too quickly.
[0005] Summary of the Invention
[0006] This application provides a method, apparatus, device, medium, and program product for transmitting audio data. The technical solution at least includes:
[0007] According to one aspect of an embodiment of the present application, a method for transmitting audio data is provided. The method is performed by a first device and includes:
[0008] Splitting the first pulse code modulation (PCM) data into at least two data segments in a bit width dimension;
[0009] transmitting at least two data segments using a wireless signal;
[0010] Among them, at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
[0011] According to another aspect of an embodiment of the present application, a method for transmitting audio data is provided. The method is performed by a second device, and the method includes:
[0012] receiving all or part of at least two data segments transmitted via wireless signals, where the at least two data segments are obtained by splitting the first PCM data in a bit width dimension;
[0013] Recover the received data segment by segment to obtain second PCM data;
[0014] Among them, at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
[0015] According to another aspect of an embodiment of the present application, there is provided a device for transmitting audio data, the device comprising:
[0016] a splitting module, configured to split the first PCM data into at least two data segments in a bit width dimension;
[0017] a sending module, configured to send at least two data segments using wireless signals;
[0018] Among them, at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
[0019] According to another aspect of an embodiment of the present application, there is provided a device for transmitting audio data, the device comprising:
[0020] a receiving module, configured to receive all or part of at least two data segments transmitted via wireless signals, where the at least two data segments are obtained by splitting the first PCM data in a bit width dimension;
[0021] A recovery module, configured to recover the received data segment by segment to obtain second PCM data;
[0022] Among them, at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
[0023] According to another aspect of an embodiment of the present application, a first device is provided, the first device including:
[0024] processor;
[0025] a transceiver connected to the processor;
[0026] a memory for storing executable instructions for the processor;
[0027] The processor is configured to load and execute executable instructions to implement the audio data transmission method as described in the above aspects.
[0028] According to another aspect of an embodiment of the present application, a second device is provided, the second device including:
[0029] processor;
[0030] a transceiver connected to the processor;
[0031] a memory for storing executable instructions for the processor;
[0032] The processor is configured to load and execute executable instructions to implement the audio data transmission method as described in the above aspects.
[0033] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which at least one program is stored. The at least one program is loaded and executed by a processor to enable a first device or a second device to implement a method for transmitting audio data as described in the above aspects.
[0034] According to another aspect of an embodiment of the present application, a computer program product or computer program is provided, which includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; a processor reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the first device or the second device implements the audio data transmission method as described in the above aspects.
[0035] According to another aspect of an embodiment of the present application, a chip is provided, which includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the audio data transmission method as described in the above aspects.
[0036] The technical solutions provided by the embodiments of the present application may have the following beneficial effects:
[0037] By splitting the first PCM data into at least two data segments in the bit width dimension; using a wireless signal to send the at least two data segments; wherein the at least two data segments include the i-th data segment and the j-th data segment, and the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, thereby improving the success rate of the first PCM data transmission and the coverage range of the wireless signal, and reducing the power consumption of the first device. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0039] FIG1 shows a schematic diagram of a communication system provided by an exemplary embodiment of the present application;
[0040] FIG2 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0041] FIG3 is a schematic diagram showing a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0042] FIG4 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0043] FIG5 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0044] FIG6 is a schematic diagram showing a broadcasting method provided by an exemplary embodiment of the present application;
[0045] FIG7 is a schematic diagram showing the composition of a synchronous broadcast group event provided by an exemplary embodiment of the present application;
[0046] FIG8 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0047] FIG9 shows a schematic diagram of transmitting a synchronous broadcast group event provided by an exemplary embodiment of the present application;
[0048] FIG10 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0049] FIG11 is a schematic diagram showing a format of broadcast information of a synchronous broadcast group provided by related art;
[0050] FIG12 is a schematic diagram showing a format of broadcast information of a synchronous broadcast group provided by related art;
[0051] FIG13 is a schematic diagram showing a format of broadcast information of a synchronous broadcast group provided by related art;
[0052] FIG14 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0053] FIG15 is a flowchart showing a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0054] FIG16 shows a flow chart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0055] FIG17 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application;
[0056] FIG18 shows a block diagram of an audio data transmission device provided by an exemplary embodiment of the present application;
[0057] FIG19 shows a block diagram of an audio data transmission device provided by an exemplary embodiment of the present application;
[0058] FIG20 shows a schematic structural diagram of a first device or a second device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0059] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0060] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0061] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. As used in this application and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0062] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions.
[0063] It should be understood that although the terms first, second, etc. may be used in this application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of this application, a first parameter may also be referred to as a second parameter, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0064] Some key terms in this application are briefly introduced as follows:
[0065] Pulse Code Modulation: It is a technology based on the principles of sampling and quantization, which samples the analog signal and quantizes its value into a series of digital values, and then represents these digital values with a pulse sequence.
[0066] Transmission rate: refers to the number of bits transmitted per unit time, measured in bits per second (bps) or megabits per second (Mbps).
[0067] FIG1 shows a schematic diagram of a communication system 10 provided by an exemplary embodiment of the present application. The communication system 10 includes: a first device 11 and a second device 12 .
[0068] First device 11 and second device 12 can transmit data to each other. For the purpose of this description, first device 11 is used as a transmitter and second device 12 is used as a receiver. First device 11 can be a mobile phone, tablet computer, laptop computer, desktop computer, smartwatch, etc. Second device 12 can be a wireless Bluetooth headset, mobile phone, tablet computer, laptop computer, desktop computer, wired headset, Bluetooth speaker, in-car Bluetooth playback device, etc.
[0069] The data transmission method between the first device 11 and the second device 12 includes: at least one of Bluetooth (BT) transmission, Wireless Fidelity (Wi-Fi) transmission, and cellular modem transmission. The embodiment of the present application is not limited to this. The Bluetooth transmission method between the first device 11 and the second device 12 is used as an example for explanation.
[0070] The audio data transmitted in the embodiment of the present application includes at least one of the following:
[0071] (1) PCM data;
[0072] (2) encoded data, wherein the encoding method includes at least one of the following: Ultra-Resolution Lossless Codec (URLC), Apple Lossless Audio Codec (ALAC), and Free Lossless Audio Codec (FLAC);
[0073] (3) Combined use of partial PCM data and partial coded data.
[0074] It should be noted that in the embodiments of the present application, the meanings of audio, audio data, audio data information, Bluetooth audio data and Bluetooth audio may be equivalent and can be used interchangeably.
[0075] An exemplary solution for Bluetooth audio sharing is broadcast sharing. During Bluetooth audio sharing, the same audio data is broadcast to each member who participates in audio sharing through the second device 12. However, the Bluetooth transmission environment of each member is not necessarily the same. For example, some second devices 12 (receiving devices) are closer to the first device 11 (transmitting devices), and some second devices 12 are farther away from the first device 11. Exemplarily, the signal coverage range emitted by the first device 11 includes: service space 1, service space 2, and service space 3, and the second device 12 is located in service space 3. Among them, service space 1 is the space within service boundary 1 with a distance of R1 from the first device 11; service space 2 is the space between service boundary 2 and service boundary 1 with a distance of R2 from the first device 11; service space 3 is the space between service boundary 3 and service boundary 2 with a distance of R3 from the first device 11. R1, R2, and R3 can be configured by the first device 11, and R3>R2>R1.
[0076] The coverage range of the Bluetooth signal emitted by the above-mentioned first device 11 is an ideal state. The coverage range of the Bluetooth signal in actual conditions may be irregular, and the distance between the service boundary and the first device 11 is not fixed. This application does not limit this and takes the fixed distance between each service boundary and the first device 11 as an example for explanation.
[0077] In addition, each member's location may be in dynamic change, such as temporarily moving away from the first device 11 for reasons such as moving to another room, causing the Bluetooth transmission capacity to be in dynamic change. This makes it easier for the second device 12 to achieve audio sharing when it is close to the first device 11, but it is easy to cause a degraded audio sharing experience when it is far away from the first device 11, such as freezes, interruptions, or even complete inability to share audio.
[0078] In order to reduce the above-mentioned situation affecting audio sharing, it is necessary to consider how to perform audio transmission so that the audio sharing experience will not be reduced even when the first device 11 and the second device 12 are far apart. At the same time, it is also necessary to reduce the power consumption of the first device 11 during Bluetooth audio sharing.
[0079] FIG2 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a first device and includes:
[0080] Step 210: Split the first PCM data into at least two data segments in the bit width dimension.
[0081] The at least two data segments include an i-th data segment and a j-th data segment, the i-th data segment is located at a higher bit relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
[0082] In some embodiments, the at least two data segments include at least one non-low-order data segment (the i-th data segment) and at least one low-order data segment (the j-th data segment), the bit width of each data segment in the at least two data segments is less than N, and the total bit width of the at least two data segments is N.
[0083] The low-order data segment is low-order data relative to the non-low-order data segment in the bit width dimension. In other words, the low-order data segment is data at a low position relative to the non-low-order data segment in the bit width dimension.
[0084] In some embodiments, the non-low-order data segments include: at least one high-order data segment and at least one middle-order data segment, and the high-order data segment is high-order data relative to the middle-order data segment in the bit width dimension.
[0085] Exemplarily, ALL=H+M+L, where ALL is the first PCM data including bit widths such as 24 bits, 32 bits, and 16 bits.
[0086] H is the high-order data segment. The bit width of H ranges from 1 to ALL. H can be further split into H1+H2+H3+…;
[0087] M is the median data segment. The bit width of M ranges from 0 to ALL-H. M can be further split into M1+M2+M3+…;
[0088] L is the low-order data segment, and the bit width of L ranges from 0 to ALL-HM. L can be further split into L1+L2+L3+…
[0089] Exemplarily, the splitting method of the 24-bit first PCM data includes at least one of the following:
[0090] (1) 16 bits + 8 bits;
[0091] (2) 16 bits + 4 bits + 4 bits;
[0092] (3) 18 bits + 6 bits;
[0093] (4) 20 bits + 4 bits;
[0094] (5) 16 bits + 2 bits + 6 bits...
[0095] In some embodiments, the splitting manner of the first PCM data may be configured by the first device.
[0096] Step 220: Send at least two data segments using wireless signals.
[0097] The at least two data segments include an i-th data segment and a j-th data segment, and the coverage range of a wireless signal used to transmit the i-th data segment is greater than the coverage range of a wireless signal used to transmit the j-th data segment.
[0098] Exemplarily, the wireless signal is a Bluetooth signal or a Wi-Fi signal. Different data segments are carried on the same wireless signal or different wireless signals. Optionally, the different wireless signals are wireless signals transmitted using different resources and / or wireless signals using different modulation methods.
[0099] In some embodiments, as shown in Figure 1, taking the case where the coverage range of the wireless signal used to transmit the i-th data segment is within the service boundary 3 and the coverage range of the wireless signal used to transmit the j-th data segment is within the service boundary 1 as an example, the first device first sends the i-th data segment and then sends the j-th data segment.
[0100] Exemplarily, the 24-bit first PCM data is split into 16 bits (the 1st to 16th bits of the high-order data segment) + 4 bits (the 17th to 20th bits of the middle-order data segment) + 4 bits (the 21st to 24th bits of the low-order data segment).
[0101] Among them, in order from high to low, the first bit of the first PCM data is the sign bit; the weight of the second bit is 2^22, that is, when the second bit is 1, the value represented by the second bit is 1*2^22=2^22, and when the second bit is 0, the value represented by the second bit is 0*2^22=0; the weight of the third bit is 2^21, that is, when the third bit is 1, the value represented by the third bit is 1*2^21=2^21, and when the third bit is 0, the value represented by the third bit is 0*2^21=0, and the weights of other bits are similar.
[0102] Exemplarily, the coverage range of the wireless signal used to transmit the high-order data segment is within the service boundary 3, that is, the first device transmits the content of the first bit to the 16th bit into the service boundary 3, and when the second device (receiving end) is located within the service boundary 3, it receives the content of the first bit to the 16th bit;
[0103] The coverage range of the wireless signal used to transmit the median data segment is within service boundary 2. That is, the first device transmits the content from bit 17 to bit 20 into service boundary 2. When the second device (receiving end) is within service boundary 2, it receives the content from bit 1 to bit 16 and the content from bit 17 to bit 20.
[0104] The coverage range of the wireless signal used to transmit low-bit data segments is the range within service boundary 1, that is, the first device transmits the content of the 21st bit to the 24th bit to the service boundary 1, and when the second device (receiving end) is located within service boundary 1, it receives the content of the 1st bit to the 16th bit, the content of the 17th bit to the 20th bit, and the content of the 21st bit to the 24th bit.
[0105] FIG3 is a schematic diagram of an audio data transmission method provided by an exemplary embodiment of the present application. Referring to the above embodiment, when the second device 12 is located in the service space 1, the first data segment, the second data segment, and the third data segment of the first PCM data can be received;
[0106] When the second device 12 is located in the service space 2, the first data segment and the second data segment of the first PCM data can be received;
[0107] When the second device 12 is located in the service space 1 , it may receive the first data segment of the first PCM data.
[0108] Because the high-order data segments in the first PCM data carry more valid data than the low-order data segments and have a greater impact on the numerical value, if the low-order data segments are not received, the expression of the first PCM data will have less impact. Therefore, in the embodiment of the present application, when the second PCM data obtained by receiving only the high-order data segments is not as complete as the second PCM data obtained by receiving all the data segments, it can still complete the task of playing audio without problems such as silence or interruption.
[0109] To summarize, the method provided in this embodiment is to split the first PCM data into at least two data segments in the bit width dimension; and use wireless signals to send the at least two data segments; wherein the at least two data segments include the i-th data segment and the j-th data segment, and the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, thereby improving the success rate of the first PCM data transmission and the coverage range of the wireless signal, and reducing the power consumption of the first device.
[0110] FIG4 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a first device and includes:
[0111] Step 212: Split the first PCM data into a first data segment and a second data segment in a bit width dimension.
[0112] In some embodiments, the first data segment is a non-low-order data segment, and the second data segment is a low-order data segment.
[0113] The low-order data segment is low-order data relative to the non-low-order data segment in the bit width dimension, or in other words, the low-order data segment is data at a low position relative to the non-low-order data segment in the bit width dimension.
[0114] For specific splitting implementation details, please refer to the embodiment of Figure 2 and will not be repeated here.
[0115] In some embodiments, the first data segment includes data for restoring the first PCM data into second PCM data.
[0116] The second PCM data includes: a first data segment and a second data segment of the first PCM data; or
[0117] The first data segment of the first PCM data and the second data segment are set to a predetermined value, the predetermined value being 0 or 1.
[0118] For example, the first PCM data 1111111100000000011110000 is split into a first data segment (bit 1 to bit 16 11111111000000000) and a second data segment (bit 17 to bit 24 11110000). The first PCM data can be restored to the second PCM data (111111110000000000000000) based on the first data segment and the second data segment (00000000) in which each bit is set to 0.
[0119] Step 222: Use wireless signals to send the first data segment and the second data segment respectively.
[0120] In some embodiments, the coverage range of the wireless signal used to transmit the first data segment is greater than the coverage range of the wireless signal used to transmit the second data segment.
[0121] In some embodiments, the second data segment is a low-order data segment, and when the second data segment fails to be transmitted, the second data segment is retransmitted until the second data segment is successfully transmitted.
[0122] In some embodiments, the second data segment is a low-order data segment, and if the second data segment fails to be transmitted, the second data segment is not retransmitted. Compared to retransmitting the second data segment, not retransmitting the second data segment can reduce power consumption of the first device.
[0123] In some embodiments, the first data segment is a non-low-order data segment, and the second data segment is a low-order data segment. The first device first sends the first data segment and then sends the second data segment.
[0124] For example, first PCM data 11111111100000000011110000 with a bit width of 24 bits is split into a first data segment (bits 1 to 16, 11111111000000000) and a second data segment (bits 17 to 24, 11110000). The first device first sends 11111111000000000 and then sends 11110000. The coverage range of the wireless signal used by the first device to transmit 1111111100000000 is greater than the coverage range of the wireless signal used to transmit 11110000.
[0125] In summary, the method provided in this embodiment can improve the success rate of the first PCM data transmission by splitting the first PCM data into the first data segment and the second data segment in the bit width dimension; and using wireless signals to send the first data segment and the second data segment.
[0126] The method provided in this embodiment further reduces the power consumption of the first device by not retransmitting the second data segment when the transmission of the second data segment fails.
[0127] FIG5 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a first device and includes:
[0128] Step 214: Split the first PCM data into a first data segment, a second data segment, and a third data segment in a bit width dimension.
[0129] In some embodiments, the first data segment is a high-order data segment in the non-low-order data segments, the second data segment is a middle-order data segment in the non-low-order data segments, and the third data segment is a low-order data segment.
[0130] Among them, the low-order data segment is the low-order data relative to the non-low-order data segment in the bit width dimension, or in other words, the low-order data segment is the data at a low position relative to the non-low-order data segment in the bit width dimension, and the high-order data segment is the high-order data relative to the middle data segment in the bit width dimension.
[0131] For specific splitting implementation details, please refer to the embodiment of Figure 2 and will not be repeated here.
[0132] In some embodiments, the first data segment includes data for restoring the first PCM data into second PCM data.
[0133] The second PCM data includes: a first data segment, a second data segment, and a third data segment of the first PCM data; or,
[0134] A first data segment, a second data segment, and a third data segment of the first PCM data set to a predetermined value, the predetermined value being 0 or 1; or,
[0135] The first data segment, the third data segment, and the second data segment of the first PCM data are set to a predetermined value, the predetermined value being 0 or 1; or,
[0136] The first data segment of the first PCM data and the second data segment and the third data segment are set to predetermined values, and the predetermined values are 0 or 1.
[0137] For example, the first PCM data 1111111100000000011000011 with a bit width of 24 bits is split into a first data segment (bits 1 to 16 11111111000000000), a second data segment (bits 17 to 20 1100), and a third data segment (bits 21 to 24 0011). The first PCM data can be restored to second PCM data (1111111100000000011000000) based on the first data segment, the second data segment, and the third data segment (0000) with each bit set to 0.
[0138] Step 224: Use wireless signals to send the first data segment, the second data segment, and the third data segment respectively.
[0139] In some embodiments, the coverage range of the wireless signal used to transmit the first data segment is greater than the coverage range of the wireless signal used to transmit the second data segment, and the coverage range of the wireless signal used to transmit the second data segment is greater than the coverage range of the wireless signal used to transmit the third data segment.
[0140] In some embodiments, the third data segment is a low-order data segment, and when the third data segment fails to be transmitted, the third data segment is retransmitted until the third data segment is successfully transmitted.
[0141] In some embodiments, the third data segment does not support retransmission. That is, if the transmission of the third data segment fails due to reasons such as an unfavorable transmission environment, the third data segment does not need to be retransmitted. Compared to retransmitting the third data segment, not retransmitting the third data segment can reduce power consumption of the first device.
[0142] In some embodiments, the first data segment is a high-order data segment, the second data segment is a mid-order data segment, and the third data segment is a low-order data segment. The first device first sends the first data segment, then sends the second data segment, and finally sends the third data segment.
[0143] For example, the first PCM data 1111111100000000011000011 with a bit width of 24 bits is split into a first data segment (bit 1 to bit 16 11111111000000000), a second data segment (bit 17 to bit 20 1100), and a third data segment (bit 21 to bit 24 0011). The first device first sends 11111111000000000, then sends 1100, and finally sends 0011. The coverage range of the wireless signal used by the first device to transmit 11111111000000000 is greater than the coverage range of the wireless signal used to transmit 1100, and the coverage range of the wireless signal used to transmit 1100 is greater than the coverage range of the wireless signal used to transmit 0011.
[0144] To sum up, the method provided in this embodiment splits the first PCM data into a first data segment, a second data segment and a third data segment in the bit width dimension; and uses wireless signals to send the first data segment, the second data segment and the third data segment, thereby improving the success rate of the first PCM data transmission.
[0145] The method provided in this embodiment further reduces the power consumption of the first device by not retransmitting the third data segment when the transmission of the third data segment fails.
[0146] According to any of the above audio data transmission methods, in some embodiments, the transmission power of the i-th data segment is greater than the transmission power of the j-th data segment.
[0147] Exemplarily, the i-th data segment is a non-low-order data segment, the j-th data segment is a low-order data segment, and the transmission power of the non-low-order data segment is greater than the transmission power of the low-order data segment.
[0148] In some embodiments, as shown in Figure 1, the transmission power of the first device to send signals to areas within each service boundary satisfies: service boundary 1 < service boundary 2 < service boundary 3, that is, the transmission power to the area within service boundary 3 is the largest, and the transmission power to the area within service boundary 1 is the smallest.
[0149] For example, the following is an example of sending 24-bit first PCM data, where the radii of service boundaries 1, 2, and 3 are R1, R2, and R3, respectively, and R1 = 1 / 2, R2 = 1 / 3, R3. In this case:
[0150] Service boundary 1: The transmission power is the lowest, and bits 21 to 24 of the first PCM data are transmitted.
[0151] Service boundary 2: medium transmission power, sending the 17th to 20th bits of the first PCM data;
[0152] Service boundary 3: The transmission power is maximum, and the 1st to 16th bits of the first PCM data are transmitted.
[0153] In some embodiments, the modulation scheme of the i-th data segment is different from the modulation scheme of the j-th data segment.
[0154] For different service spaces, the first device transmits corresponding content using different modulation methods, and the energy distribution transmitted by the first device is inversely proportional to the square of the distance to the first device.
[0155] In some embodiments, both Classic Bluetooth (Classic BT) and Bluetooth Low Energy (BLE) support multiple transmission rates and coverage physical layers (PHYs):
[0156] 1) Traditional Bluetooth: Bluetooth Basic Rate (BR) (1M, Gaussian Frequency Shift Keying (GFSK));
[0157] Bluetooth Enhanced Data Rate 2 (EDR2) (2M, Differential Phase Shift Keying (DPSK));
[0158] EDR3 (3M, 8DPSK);
[0159] 2) BLE: 1M PHY; 2M PHY; coded PHY;
[0160] 3) Bluetooth High Data Throughput (HDT) mode supports a maximum transmission rate of 12Mbps and offers a variety of air interface PHY types.
[0161] In the embodiment of the present application, the PHY type and transmit power can be selected based on the coverage and occupied time slot length requirements. For example, for the first PCM data with a bit width of 24 bits, the content from bit 1 to bit 16 is transmitted using modulation mode 3 (coded PHY), the content from bit 17 to bit 20 is transmitted using modulation mode 2 (2M PHY), and the content from bit 21 to bit 24 is transmitted using modulation mode 1 (1M PHY).
[0162] In some embodiments, the time-frequency resources used by the i-th data segment are different from the time-frequency resources used by the j-th data segment, including at least one of the following:
[0163] The time domain resources used by the i-th data segment are the same as the time domain resources used by the j-th data segment, and the frequency domain resources used by the i-th data segment are the same as the frequency domain resources used by the j-th data segment;
[0164] The time domain resources used by the i-th data segment are different from the time domain resources used by the j-th data segment, and the frequency domain resources used by the i-th data segment are the same as the frequency domain resources used by the j-th data segment;
[0165] The time domain resources used by the i-th data segment are the same as the time domain resources used by the j-th data segment, and the frequency domain resources used by the i-th data segment are different from the frequency domain resources used by the j-th data segment;
[0166] The time domain resources used by the i-th data segment are different from the time domain resources used by the j-th data segment, and the frequency domain resources used by the i-th data segment are different from the frequency domain resources used by the j-th data segment.
[0167] In some embodiments, the encoding method of the i-th data segment and the j-th data segment includes: at least one of no encoding, lossless encoding, and lossy encoding.
[0168] In some embodiments, the encoding methods of each data segment are independent of each other, that is, they can be the same or different. Among them, lossy encoding can be divided into one or more types according to different compression rates.
[0169] In some embodiments, the i-th data segment is a non-low-order data segment, the j-th data segment is a low-order data segment, and the encoding method of the non-low-order data segment and the low-order data segment includes:
[0170] The encoding method of the non-low-order data segment is lossless encoding, and the encoding method of the low-order data segment is lossless encoding;
[0171] Alternatively, the encoding method of the non-low-order data segment is lossless encoding, and the encoding method of the low-order data segment is lossy encoding;
[0172] Alternatively, the encoding method of the non-low-order data segment is lossy encoding, and the encoding method of the low-order data segment is lossless encoding;
[0173] Alternatively, the encoding method of the non-low-order data segment is lossy encoding, and the encoding method of the low-order data segment is lossy encoding.
[0174] In some embodiments, the non-low-order data segments include: at least one high-order data segment and at least one mid-order data segment, wherein the high-order data segment is high-order data relative to the mid-order data segment in terms of bit width. The encoding method of the high-order data segment and the mid-order data segment includes:
[0175] The encoding method of the high-order data segment is lossless encoding, and the encoding method of the middle-order data segment is lossless encoding;
[0176] Alternatively, the encoding method of the high-order data segment is lossless encoding, and the encoding method of the middle-order data segment is lossy encoding;
[0177] Alternatively, the encoding method of the high-order data segment is lossy encoding, and the encoding method of the middle-order data segment is lossless encoding;
[0178] Alternatively, the encoding method of the high-order data segment is lossy encoding, and the encoding method of the middle-order data segment is lossy encoding.
[0179] The lossless encoding includes at least one of URLC, ALAC, and FLAC;
[0180] Lossful coding includes at least one of Low-latency Hi-Definition audio Codec (LHDC), aptX lossless transmission technology (audio coding technology superior to AAC, no full name, proposed by Qualcomm), Moving Picture experts group audio layer 3 (MP3), Advanced Audio Coding (AAC), Low Complexity Communications Codec (LC3) / LC3+ (LC3plus), Sub-Band Coding (SBC), and LDAC (certified codec for "Hi-Res Audio Wireless", no full name, produced by Sony).
[0181] The following is a detailed description and example of the audio data transmission steps:
[0182] (1) The first device transmits audio data to the second device via the BLE Broadcast Isochronous channel.
[0183] FIG6 shows a schematic diagram of a broadcast method provided by an exemplary embodiment of the present application, where the broadcast method includes a periodic broadcast part and a synchronous broadcast group (Broadcast Isochronous Group, BIG) broadcast part.
[0184] The periodic broadcast part provides BIG broadcast information (BIGInfo), which contains BIG configuration information, such as the ISOchronous Interval (ISO_Interval), the number of sub-streams (Bluetooth Isochronous Stream, BIS) contained in each BIG, the PHY type used, the channel list of BIG broadcast, and the timing information of BIG broadcast.
[0185] The BIG broadcast part includes BIG events, which broadcast specific audio data. FIG7 shows a schematic diagram of the composition of a BIG event provided by an exemplary embodiment of the present application.
[0186] FIG8 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is performed by a first device and a second device, and the method includes:
[0187] Step 810: The first device sends at least one BIG event using a wireless signal.
[0188] In some embodiments, at least one BIG event includes at least two sub-streams corresponding to the data segments.
[0189] Taking at least two data segments including the first data segment, the second data segment and the third data segment as an example, as shown in Figure 7, each BIG event contains three types of sub-streams (BIS1~BIS3), BIS1~BIS3 use the same PHY, taking the transmission of 24-bit audio data as an example, in BIG event X, BIS1 is used to transmit the high 16-bit audio data (corresponding to the first data segment), BIS2 is used to transmit the middle 4-bit audio data (corresponding to the second data segment), BIS3 is used to transmit the low 4-bit audio data (corresponding to the third data segment), and each BIS sends one or more audio data packets.
[0190] In some embodiments, the second device receives at least one BIG event transmitted via a wireless signal, each BIG event includes three types of sub-streams (BIS1 to BIS3), and the second device receives all or part of the sub-streams in BIS1 to BIS3.
[0191] FIG9 shows a schematic diagram of transmitting a BIG event provided by an exemplary embodiment of the present application.
[0192] When the second device is located within service space 1, i.e., service boundary 1, it can stably receive the information streams of BIS1, BIS2, and BIS3, and restore 16+4+4=24 bits of audio data information;
[0193] When the second device moves from service space 1 to service space 2, that is, is located between service boundary 2 and service boundary 1, it can stably receive the information streams of BIS1 and BIS2 and restore 16+4=20 bits of audio data information;
[0194] When the second device moves from service space 2 to service space 3, that is, is located between service boundary 3 and service boundary 2, it can stably receive the information stream of BIS1 and restore the 16-bit audio data information;
[0195] Among them, T is the delay time after the second device receives BIS1. After the second device receives BIS1 for T time, the second device ends receiving, packages the audio data information and plays it.
[0196] The number of audio information bits transmitted by each BIS is indicated in the Service Data Unit (SDU) carried by the BIS.
[0197] In some embodiments, the audio data may be transmitted in a manner of separate left and right channels, or in a manner of combining the left and right channels for transmission.
[0198] (2) Referring to the embodiment of FIG1 , the coverage of BIS1 is within service boundary 3, the coverage of BIS2 is within service boundary 2, and the coverage of BIS3 is within service boundary 1.
[0199] (3) The second device receives the BIG broadcast according to the BIG broadcast information.
[0200] In some embodiments, if BIS1 / BIS2 / BIS3 use different PHYs, it is necessary to include PHY indications used by different BISs in the BIG broadcast information. FIG10 shows a flowchart of an audio data transmission method provided by an exemplary embodiment of the present application. The method is performed by a first device and a second device, and the method includes:
[0201] Step 1010: The first device sends indication information.
[0202] In some embodiments, the first device sends indication information, including: the first device sends BIG broadcast information, and the BIG broadcast information includes indication information.
[0203] In some embodiments, the second device receives the indication information, including: the second device receives BIG broadcast information, and the BIG broadcast information includes the indication information.
[0204] In some embodiments, the indication information is used to indicate modulation modes respectively used by at least two data segments.
[0205] The specific description of the at least two data segments is made with reference to the embodiment of FIG4 and the embodiment of FIG5 , which will not be repeated here.
[0206] Exemplarily, the at least two data segments include: a first data segment, a second data segment, and a third data segment. For the first PCM data with a bit width of 24 bits, the high 16 bits of content (first data segment) are transmitted using modulation mode 3 (coded PHY), the 17th to 20th bits of content (second data segment) are transmitted using modulation mode 2 (2M PHY); and the 21st to 24th bits of content (third data segment) are transmitted using modulation mode 1 (1M PHY).
[0207] Figure 11 shows a schematic diagram of the BIG broadcast information format provided by the relevant technology. The BIG broadcast information format includes at least one of the following: a basic cyclic redundancy check (CRC) initial value (BaseCRCInit) field, a channel map (ChM) field, and a PHY field. For details of other fields, see the schematic diagram of Figure 13.
[0208] Among them, the basic CRC initial value field occupies 16 bits, the ChM field occupies 37 bits, and the PHY field occupies 3 bits.
[0209] The PHY field is used to indicate the PHY used by the BIG. The allowed values of the PHY field are shown in Table 1:
[0210] Table 1
[0211] In some embodiments, the indication information includes: bit groups corresponding to modulation modes used by at least two data segments respectively.
[0212] The modulation schemes used by at least two data segments can be the same or different. The field used to indicate the PHY used by each BIS indicates the modulation scheme used by the data segment corresponding to each BIS. Figure 12 shows a schematic diagram of the BIG broadcast information format provided by an exemplary embodiment of the present application. Based on Figure 11, a BIS_PHY field is added after the PHY field to indicate the PHY used by each BIS. The BIS_PHY field occupies 93 bits.
[0213] The BIS_PHY field consists of 31 fields, including the BIS1PHY field, the BIS2PHY field, and the BIS31PHY field. Each field occupies 3 bits and corresponds to up to 31 BIS PHY configuration values. The value range for each BIS_PHY field is the same as Table 1, and other values can be added to accommodate new physical layer standards added by HDT.
[0214] The rules for filling in the PHY / BIS_PHY field are as follows:
[0215] 1) All BISs use the same PHY.
[0216] The method of filling in the PHY field is the same as the method in the related art; the BIS_PHY field is filled with all 0s, and the second device (receiving end) does not process the BIS_PHY field.
[0217] 2) Different BISs use different PHYs.
[0218] The PHY field is filled with 7 (i.e., all 3 bits are 1); the number of BIS contained in each BIG is determined based on the Num_BIS field in the BIG broadcast information (as shown in Figure 13 below), and the BIS_PHY field is filled with the physical layer standard of each BIS in turn. If there are less than 31 BIS, the unused fields are filled with 0.
[0219] When the second device receives the BIS, it first obtains a mapping table of the PHY type used by the BIS by reading the BIG broadcast information. When receiving the BIG broadcast, it switches the PHY used according to the mapping table.
[0220] For example, 24 bits = 16 bits + 4 bits + 4 bits,
[0221] 1) All BIS use the same PHY (2M PHY):
[0222] Num_BIS=011; PHY=111; BIS_PHY=0000000….(93)001 001 001,00000000…..
[0223] 2) Different BIS uses different PHY (coded PHY, 2M PHY, 1M PHY):
[0224] Num_BIS=011; PHY=111; BIS_PHY=0000000….(93)010 001 000, 00000000…..
[0225] FIG13 shows a schematic diagram of a BIG broadcast information format provided by an exemplary embodiment of the present application, wherein the BIG broadcast information format includes at least one of the following: a BIG offset (BIG_Offset) field, a BIG offset unit (BIG_Offset_Units) field, an isochronous interval (ISO_Interval) field, a substream number (Num_BIS) field, a network synchronization event (NSE) field, a broadcast number (Broadcast Number, BN) field, a subinterval (Sub_Interval) field, a phase tracking offset (Phase Tracking Offset, PTO) field, a BIS spacing (BIS_Spacing) field, an interval since the last receiver change (Interval since the last Receiver Change, IRC) field, a maximum protocol data unit (Max_PDU) field, a reserved for future use (RFU) field, a seed access address (SeedAccessAddress) field, and a service data unit spacing (SDU). Interval (SDU_Interval) field, SDU maximum value (Max_SDU) field, basic CRC initial value (BaseCRCInit) field, ChM field, PHY field, BIS_PHY field, BIS load count (BISPayloadCount) field, frame format (Framing) field, group identity version (GIV) field, group security key diversifier (GSKD) field.
[0226] Among them, the BIG offset field occupies 14 bits, the BIG offset unit field occupies 1 bit, the ISO interval field occupies 12 bits, the BIS number field occupies 5 bits, the NSE field occupies 5 bits, the BN field occupies 3 bits, the subinterval field occupies 20 bits, the PTO field occupies 4 bits, the BIS interval field occupies 20 bits, the IRC field occupies 4 bits, the PDU maximum value field occupies 8 bits, the RFU field occupies 8 bits, the seed access address field occupies 32 bits, the SDU interval field occupies 20 bits, the SDU maximum value field occupies 12 bits, the basic CRC initial value field occupies 16 bits, the ChM field occupies 37 bits, the PHY field occupies 3 bits, the BIS_PHY field occupies 93 bits, the BIS payload count field occupies 5 bits, the frame format field occupies 1 bit, the GIV field occupies 8 bytes, and the GSKD field occupies 16 bytes.
[0227] (4) Handling of factors such as interference or changes in the location of the second device.
[0228] After the second device receives the information carried by BIS1, if the information carried by BIS2 cannot be received due to coverage or interference, it ignores the information carried by BIS2 and no longer receives the information carried by BIS3;
[0229] Similarly, if the second device receives the information carried by BIS1 and BIS2 but cannot receive the information carried by BIS3, it ignores the information carried by BIS3.
[0230] (5) Processing of synchronous playback on the second device.
[0231] Taking the second device as TWS as an example, the left and right earphones of TWS can use the event starting point of the BIG event as the node for providing time synchronization service to align the playback time. After the second device receives BIS1, regardless of whether BIS2 and BIS3 are received, it starts playing audio at the expected moment of complete reception of BIS3.
[0232] In some embodiments, the left and right earphones of the TWS can also be synchronized in other ways, such as adding an asynchronous connection-less (ACL) link between the left and right earphones to exchange information such as timing and audio frame numbers.
[0233] FIG14 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a second device and includes:
[0234] Step 1410: Receive all or part of at least two data segments transmitted via wireless signals.
[0235] The at least two data segments are obtained by splitting the first PCM data in a bit width dimension.
[0236] In some embodiments, the at least two data segments include a first data segment and a second data segment, and the second device receives the first data segment and the second data segment transmitted via a wireless signal, or receives the first data segment transmitted via a wireless signal.
[0237] In some embodiments, the at least two data segments include a first data segment, a second data segment, and a third data segment, and the second device receives the first data segment, the second data segment, and the third data segment transmitted via a wireless signal, or receives the first data segment and the second data segment transmitted via a wireless signal, or receives the first data segment transmitted via a wireless signal.
[0238] Step 1420: Recover the second PCM data based on the received data segments.
[0239] Among them, at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
[0240] In some embodiments, the at least two data segments include at least one non-low-order data segment (the i-th data segment) and at least one low-order data segment (the j-th data segment), the bit width of each data segment in the at least two data segments is less than N, and the total bit width of the at least two data segments is N.
[0241] In some embodiments, the second PCM data includes a non-low-order data segment of the first PCM data and a low-order data segment of the first PCM data.
[0242] In some embodiments, the second PCM data includes a non-low-order data segment of the first PCM data and a low-order data segment set to a predetermined value, where the predetermined value is 0 or 1.
[0243] The specific implementation details refer to the first device side and will not be repeated here.
[0244] FIG15 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a second device and includes:
[0245] Step 1412: Receive a first data segment transmitted via a wireless signal.
[0246] The first data segment is obtained by splitting the first PCM data in a bit width dimension, and the first data segment includes data for restoring the first PCM data into second PCM data.
[0247] In some embodiments, the first data segment is a non-low-order data segment, and the non-low-order data segment is high-order data relative to the low-order data segment in the bit width dimension.
[0248] Step 1422: Recover the second PCM data based on the received first data segments.
[0249] In some embodiments, the second PCM data is recovered based on the received first data segment and other data segments set to predetermined values, where the predetermined value is 0 or 1.
[0250] Exemplarily, the first PCM data 11111111100000000011110000 is split into a first data segment (bit 1 to bit 16 1111111100000000) and a second data segment (bit 17 to bit 24 11110000) with a bit width of 24 bits and is sent by the first device.
[0251] When the second device receives only 1111111100000000, it sets the second data segment to 00000000. 1111111100000000 is determined as the first data segment of the second PCM data, and 00000000 is determined as the first data segment of the second PCM data, to obtain the second PCM data 111111110000000000000000.
[0252] The specific implementation details refer to the first device side and will not be repeated here.
[0253] FIG16 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a second device and includes:
[0254] Step 1414: Receive the first data segment and the second data segment transmitted via the wireless signal respectively.
[0255] Among them, the first data segment and the second data segment are obtained by splitting the first PCM data in the bit width dimension, the first data segment includes data for restoring the first PCM data into the second PCM data, and the coverage range of the wireless signal used to transmit the first data segment is greater than the coverage range of the wireless signal used to transmit the second data segment.
[0256] In some embodiments, the first data segment is a non-low-order data segment, and the second data segment is a low-order data segment. The low-order data segment is low-order data relative to the non-low-order data segment in terms of bit width.
[0257] In some embodiments, the second device receives the first data segment before receiving the second data segment.
[0258] Step 1424: Recover the second PCM data based on the received first data segment and the second data segment.
[0259] In some embodiments, the second PCM data includes a first data segment and a second data segment of the first PCM data.
[0260] Exemplarily, the first PCM data 11111111100000000011110000 is split into a first data segment (bit 1 to bit 16 1111111100000000) and a second data segment (bit 17 to bit 24 11110000) with a bit width of 24 bits and is sent by the first device.
[0261] When the second device receives 1111111100000000 and 11110000, it determines 1111111100000000 as the first data segment of the second PCM data and 11110000 as the second data segment of the second PCM data, thereby obtaining the second PCM data 111111110000000011110000; or,
[0262] When the second device receives only 1111111100000000, it sets the second data segment to 00000000. 1111111100000000 is determined as the first data segment of the second PCM data, and 00000000 is determined as the second data segment of the second PCM data, thereby obtaining the second PCM data 111111110000000000000000.
[0263] The specific implementation details refer to the first device side and will not be repeated here.
[0264] FIG17 shows a flowchart of a method for transmitting audio data provided by an exemplary embodiment of the present application. The method is executed by a second device and includes:
[0265] Step 1416: Receive the first data segment, the second data segment, and the third data segment transmitted via the wireless signal respectively.
[0266] Among them, the first data segment, the second data segment and the third data segment are obtained by splitting the first PCM data in the bit width dimension. The first data segment includes data for restoring the first PCM data into second PCM data. The coverage range of the wireless signal used to transmit the first data segment is greater than the coverage range of the wireless signal used to transmit the second data segment. The coverage range of the wireless signal used to transmit the second data segment is greater than the coverage range of the wireless signal used to transmit the third data segment.
[0267] In some embodiments, the third data segment does not support retransmission, that is, if the transmission of the third data segment fails due to reasons such as an undesirable transmission environment, the third data segment does not need to be retransmitted.
[0268] In some embodiments, the first data segment is a high-order data segment in the non-low-order data segments, the second data segment is a middle-order data segment in the non-low-order data segments, and the third data segment is a low-order data segment.
[0269] The low-order data segment is the low-order data relative to the non-low-order data segment in the bit width dimension, and the high-order data segment is the high-order data relative to the middle-order data segment in the bit width dimension.
[0270] In some embodiments, the second device receives the first data segment first, then receives the second data segment, and finally receives the third data segment.
[0271] Step 1426: Recover the second PCM data based on the received first data segment, second data segment, and third data segment.
[0272] In some embodiments, the second PCM data includes a first data segment, a second data segment, and a third data segment of the first PCM data.
[0273] Exemplarily, the first PCM data 11111111100000000011110000 with a bit width of 24 bits is split into a first data segment (1st bit-16th bit 1111111100000000), a second data segment (17th bit-20th bit 1100), and a third data segment (21st bit-24th bit 0011) and sent by the first device.
[0274] When the second device receives 11111111000000000, 1100, and 0011, it determines 11111111000000000 as the first data segment of the second PCM data, 1100 as the second data segment of the second PCM data, and 0011 as the third data segment of the second PCM data, thereby obtaining the second PCM data 111111110000000011000011; or,
[0275] When the second device receives only 1111111100000000 and 1100, it sets the third data segment to 0000. It determines 1111111100000000 as the first data segment of the second PCM data, 1100 as the second data segment of the second PCM data, and 0000 as the third data segment of the second PCM data, thereby obtaining the second PCM data 111111110000000011000000; or,
[0276] When the second device receives only 1111111100000000, it sets the second data segment to 0000 and the third data segment to 0000. 11111111000000000 is determined as the first data segment of the second PCM data, 0000 is determined as the second data segment of the second PCM data, and 0000 is determined as the third data segment of the second PCM data, resulting in the second PCM data 111111110000000000000000.
[0277] The specific implementation details refer to the first device side and will not be repeated here.
[0278] According to any of the above audio data transmission methods, in some embodiments, the transmission power of the i-th data segment is greater than the transmission power of the j-th data segment.
[0279] In some embodiments, the modulation scheme of the i-th data segment is different from the modulation scheme of the j-th data segment.
[0280] In some embodiments, the time-frequency resources used by the i-th data segment are different from the time-frequency resources used by the j-th data segment.
[0281] In some embodiments, the encoding method of the i-th data segment and the j-th data segment includes: at least one of no encoding, lossless encoding, and lossy encoding.
[0282] The specific implementation details refer to the first device side and will not be repeated here.
[0283] In the above embodiments, the embodiment corresponding to FIG. 2 , the embodiment corresponding to FIG. 7 , the embodiment corresponding to FIG. 9 , and the embodiment corresponding to FIG. 13 may be implemented in combination;
[0284] The embodiment corresponding to FIG2 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG14 may be implemented in combination;
[0285] The embodiment corresponding to FIG2 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG15 may be implemented in combination;
[0286] The embodiment corresponding to FIG2 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG16 may be implemented in combination;
[0287] The embodiment corresponding to FIG3 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG14 may be implemented in combination;
[0288] The embodiment corresponding to FIG3 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG15 may be implemented in combination;
[0289] The embodiment corresponding to FIG4 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG14 may be implemented in combination;
[0290] The embodiment corresponding to FIG4 , the embodiment corresponding to FIG7 , the embodiment corresponding to FIG9 , and the embodiment corresponding to FIG16 may be implemented in combination, and this application does not impose any limitation thereto.
[0291] According to the above embodiments, the beneficial effects of the method provided by this application include at least one of the following:
[0292] (1) Long distance.
[0293] Under the condition that the transmission power used by the first device is the same, the method provided in this application can enable the second device to share audio at a farther distance.
[0294] (2) Low power consumption.
[0295] 1) For the first device (transmitting device): Take the example of a transmit power of P1 = 0dBm within service boundary 1, a transmit power of P2 = 6dBm within service boundary 2, and a transmit power of P3 = 9.5dBm within service boundary 3. If the durations of BIS1, BIS2, and BIS3 are the same, and the transmission time is 1 / 3 of the original method, then the average transmit power per audio frame (one BIG event corresponds to one frame) is 6.7dBm. Using the traditional method that does not distinguish between service boundaries, the required transmit power to achieve the same coverage range is 9.5dBm. The method provided by this application has lower power consumption.
[0296] 2) For the second device (receiving device): the receiving power consumption of the second device in the service space 3 in the embodiment of the present application is 1 / 3 of the original mode, and the receiving power consumption of the second device in the service space 2 is 2 / 3 of the original mode.
[0297] The second device in service space 3 only receives BIS1, the working time is only 1 / 3 of the original method, and the receiving power consumption is reduced by 66%; the second device in service space 2 only receives BIS1 and BIS2, the working time is only 2 / 3 of the original method, and the receiving power consumption is reduced by 33%.
[0298] (3) High robustness.
[0299] Improved robustness of audio sharing. When transmission is disturbed, the original method may cause jamming. In the method provided by this application, the second device (receiving device) does not need to receive the complete audio data, but only needs to receive BIS1 (high-bit audio data) to experience the audio normally.
[0300] Figure 18 shows a block diagram of an audio data transmission device provided by an exemplary embodiment of the present application, which includes a splitting module 1810 and a sending module 1820, wherein the function of the splitting module 1810 is implemented by the processor in the first device, and the function of the sending module 1820 is implemented by the transceiver in the first device.
[0301] Splitting module 1810, configured to execute step 210 in the embodiment of FIG. 2, step 212 in the embodiment of FIG. 4, and step 214 in the embodiment of FIG. 5;
[0302] The sending module 1820 is used to execute step 220 in the embodiment of FIG. 2 , step 222 in the embodiment of FIG. 4 , step 224 in the embodiment of FIG. 5 , step 810 in the embodiment of FIG. 8 , and step 1010 in the embodiment of FIG. 10 .
[0303] Figure 19 shows a block diagram of an audio data transmission device provided by an exemplary embodiment of the present application, which includes a receiving module 1910 and a recovery module 1920, wherein the function of the recovery module 1920 is implemented by the processor in the first device, and the function of the receiving module 1910 is implemented by the transceiver in the second device.
[0304] Receiving module 1910, configured to execute step 1410 in the embodiment of FIG. 14, step 1412 in the embodiment of FIG. 15, step 1414 in the embodiment of FIG. 16, and step 1416 in the embodiment of FIG. 17;
[0305] The recovery module 1920 is used to execute step 1420 in the embodiment of FIG. 14 , step 1422 in the embodiment of FIG. 15 , step 1424 in the embodiment of FIG. 16 , and step 1426 in the embodiment of FIG. 17 .
[0306] FIG20 shows a schematic structural diagram of a first device or a second device 2000 provided by an exemplary embodiment of the present application, including: a processor 2001 , a receiver 2002 , a transmitter 2003 , a memory 2004 and a bus 2005 .
[0307] The processor 2001 includes one or more processing cores, and the processor 2001 executes various functional applications and information processing by running software programs and modules. In some embodiments, the processor 2001 can be used to implement the functions and steps of the above-mentioned split module 1810 and recovery module 1920.
[0308] The receiver 2002 and the transmitter 2003 may be implemented as a communication component, which may be a communication chip, and may be referred to as a transceiver. In some embodiments, the transceiver may be used to implement the functions and steps of the above-mentioned sending module 1820 and receiving module 1910.
[0309] The memory 2004 is connected to the processor 2001 via a bus 2005 .
[0310] The memory 2004 may be used to store at least one instruction, and the processor 2001 may be used to execute the at least one instruction to implement each step in the above method embodiment.
[0311] In addition, the memory 2004 can be implemented by any type of volatile or non-volatile storage device or a combination thereof. The volatile or non-volatile storage devices include but are not limited to: magnetic disks or optical disks, electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), read-only memory (ROM), magnetic memory, flash memory, and programmable read-only memory (PROM).
[0312] In some embodiments, the receiver 2002 receives signals / data independently, or the processor 2001 controls the receiver 2002 to receive signals / data, or the processor 2001 requests the receiver 2002 to receive signals / data, or the processor 2001 cooperates with the receiver 2002 to receive signals / data.
[0313] In some embodiments, the transmitter 2003 independently sends signals / data, or the processor 2001 controls the transmitter 2003 to send signals / data, or the processor 2001 requests the transmitter 2003 to send signals / data, or the processor 2001 cooperates with the transmitter 2003 to send signals / data.
[0314] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program is stored. The at least one program is loaded and executed by a processor to implement the audio data transmission method provided by each of the above method embodiments.
[0315] In an exemplary embodiment, a computer program product or a computer program is further provided. When the computer program product or the computer program is executed on a processor, the first device or the second device executes the audio data transmission method provided by each of the above method embodiments.
[0316] In an exemplary embodiment, a chip is also provided. The chip includes a programmable logic circuit and / or program instructions. When the chip runs on a computer device, it is used to implement the audio data transmission method provided by the above-mentioned various method embodiments.
[0317] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by a program instructing the relevant hardware, and the program may be stored in a computer-readable storage medium, which may be a read-only memory, a disk, or an optical disk, etc.
[0318] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
Claims
1. A method for transmitting audio data, It is characterized in that The method is performed by a first device, and includes: Splitting the first pulse code modulation PCM data into at least two data segments in a bit width dimension; Transmitting the at least two data segments using a wireless signal; Among them, the at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
2. The method according to claim 1, It is characterized in that The step of splitting the first PCM data into at least two data segments in a bit width dimension includes: The first PCM data is split into a first data segment and a second data segment in the bit width dimension, wherein the first data segment includes data used to restore the first PCM data into the second PCM data.
3. The method according to claim 1, It is characterized in that The step of splitting the first PCM data into at least two data segments in a bit width dimension includes: Splitting the first PCM data into a first data segment, a second data segment and a third data segment in the bit width dimension; The sending of the at least two data segments by wireless signals comprises: The first data segment, the second data segment and the third data segment are sent respectively using wireless signals, the coverage range of the wireless signal used to transmit the first data segment is greater than the coverage range of the wireless signal used to transmit the second data segment, and the coverage range of the wireless signal used to transmit the second data segment is greater than the coverage range of the wireless signal used to transmit the third data segment.
4. The method according to claim 3, It is characterized in that The third data segment does not support retransmission.
5. The method according to any one of claims 1 to 4, It is characterized in that The transmission power of the i-th data segment is greater than the transmission power of the j-th data segment.
6. The method according to any one of claims 1 to 4, It is characterized in that The modulation mode of the i-th data segment is different from the modulation mode of the j-th data segment.
7. The method according to any one of claims 1 to 4, It is characterized in that The time-frequency resources used by the i-th data segment are different from the time-frequency resources used by the j-th data segment.
8. The method according to any one of claims 1 to 4, It is characterized in that The encoding method of the i-th data segment and the j-th data segment includes: at least one of no encoding, lossless encoding and lossy encoding.
9. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: Send indication information, where the indication information is used to indicate modulation modes respectively used by the at least two data segments.
10. The method according to claim 9, It is characterized in that The instruction information includes: The at least two data segments respectively use bit groups corresponding to the modulation modes used.
11. The method according to claim 9, It is characterized in that The sending instruction information includes: Send a synchronous broadcast group BIG broadcast information, wherein the BIG broadcast information includes the indication information.
12. The method according to claim 1, It is characterized in that The step of sending the at least two data segments by wireless signals comprises: At least one BIG event is sent using a wireless signal, and the at least one BIG event includes sub-streams corresponding to the at least two data segments respectively.
13. A method for transmitting audio data, It is characterized in that The method is performed by a second device, and includes: Receiving all or part of at least two data segments transmitted via wireless signals, wherein the at least two data segments are obtained by splitting the first pulse code modulation (PCM) data in a bit width dimension; Recover the received data segments to obtain second PCM data; The at least two data segments include an i-th data segment and a j-th data segment, which are used to transmit the i-th data segment. The coverage of the segmented wireless signal is greater than the coverage of the wireless signal used to transmit the j-th data segment, the i-th data segment is located at a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
14. The method according to claim 13, It is characterized in that The receiving all or part of the at least two data segments transmitted via the wireless signal comprises: receiving a first data segment transmitted via a wireless signal; The first data segment is obtained by splitting the first PCM data in the bit width dimension, and the first data segment includes data for restoring the first PCM data into second PCM data.
15. The method according to claim 13, It is characterized in that The receiving all or part of the at least two data segments transmitted via the wireless signal comprises: Respectively receiving a first data segment and a second data segment transmitted via a wireless signal; The first data segment and the second data segment are obtained by splitting the first PCM data in the bit width dimension, and the first data segment includes data for restoring the first PCM data into second PCM data.
16. The method according to claim 13, It is characterized in that The receiving all or part of the at least two data segments transmitted via the wireless signal comprises: Respectively receiving a first data segment, a second data segment, and a third data segment transmitted via a wireless signal; Among them, the coverage range of the wireless signal used to transmit the first data segment is greater than the coverage range of the wireless signal used to transmit the second data segment, and the coverage range of the wireless signal used to transmit the second data segment is greater than the coverage range of the wireless signal used to transmit the third data segment.
17. The method according to claim 16, It is characterized in that The third data segment does not support retransmission.
18. The method according to any one of claims 13 to 17, It is characterized in that The transmission power of the i-th data segment is greater than the transmission power of the j-th data segment.
19. The method according to any one of claims 13 to 17, It is characterized in that The modulation mode of the i-th data segment is different from the modulation mode of the j-th data segment.
20. The method according to any one of claims 13 to 17, It is characterized in that The time-frequency resources used by the i-th data segment are different from the time-frequency resources used by the j-th data segment.
21. The method according to any one of claims 13 to 17, It is characterized in that The encoding method of the i-th data segment and the j-th data segment includes: at least one of no encoding, lossless encoding and lossy encoding.
22. The method according to any one of claims 13 to 21, It is characterized in that The method further comprises: Indication information is received, where the indication information is used to indicate modulation modes respectively used by the at least two data segments.
23. The method according to claim 22, It is characterized in that The instruction information includes: The at least two data segments respectively use bit groups corresponding to the modulation modes used.
24. The method according to claim 22, It is characterized in that The receiving indication information includes: Receive the synchronous broadcast group BIG broadcast information, wherein the BIG broadcast information includes the indication information.
25. The method according to claim 13, It is characterized in that The receiving all or part of the at least two data segments transmitted via the wireless signal comprises: At least one BIG event is received, wherein the at least one BIG event includes sub-streams corresponding to the at least two data segments respectively.
26. An audio data transmission device, It is characterized in that The device comprises: A splitting module, used for splitting the first pulse code modulation PCM data into at least two data segments in a bit width dimension; A sending module, configured to send the at least two data segments using a wireless signal; Among them, the at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
27. An audio data transmission device, It is characterized in that The device comprises: A receiving module is used to receive all or part of the data segments in at least two data segments transmitted via wireless signals. The at least two data segments are obtained by splitting the first pulse code modulation PCM data in a bit width dimension; A recovery module, configured to recover the received data segments to obtain second PCM data; Among them, the at least two data segments include the i-th data segment and the j-th data segment, the coverage range of the wireless signal used to transmit the i-th data segment is greater than the coverage range of the wireless signal used to transmit the j-th data segment, the i-th data segment is located in a high position relative to the j-th data segment in the bit width dimension, and i and j are positive integers.
28. A first device, It is characterized in that The first device comprises: processor; a transceiver connected to the processor; a memory for storing executable instructions for the processor; The processor is configured to load and execute the executable instructions to implement the audio data transmission method as described in any one of claims 1 to 12.
29. A second device, It is characterized in that The second device comprises: processor; a transceiver connected to the processor; a memory for storing executable instructions for the processor; The processor is configured to load and execute the executable instructions to implement the audio data transmission method as described in any one of claims 13 to 25.
30. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is loaded and executed by a processor to implement the audio data transmission method according to any one of claims 1 to 25.
31. A computer program product, It is characterized in that The computer program product includes computer instructions, which are stored in a computer-readable storage medium. The processor obtains the computer instructions from the computer-readable storage medium, so that the processor loads and executes them to implement the audio data transmission method as described in any one of claims 1 to 25.
32. A chip, It is characterized in that The chip includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the audio data transmission method according to any one of claims 1 to 25.
Citation Information
Patent Citations
Audio processing method and device, chip, electronic equipment and storage medium
CN115206352A
Audio data coding method and device, equipment and storage medium
CN115910082A
Data transmission method and apparatus, electronic device, and readable storage medium
WO2023051041A1
