Data transmission method and apparatus, and chip and module device
By sending requests to the device to share broadcast synchronous data streams in low-power Bluetooth technology, the reception abnormality caused by environmental interference or distance of the receiving device is solved, and the propagation effect and reception effectiveness of the data stream are improved, and appropriately Save power consumption.
Patent Information
- Application Number
- PCT/CN2024/093152
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-18
- Filing Date
- 2024-05-14
- Publication Date
- 2024-11-21
AI Technical Summary
In low-power Bluetooth technology, the propagation effect of the broadcast synchronous data stream is affected by factors such as environmental interference, distance or mismatch in scheduling time, resulting in the receiving device being unable to receive or abnormal reception, and the propagation effect is weakened.
By sending requests to one or more devices to share the acquired data stream when an exception or unreceived broadcast synchronization data stream is received, thereby improving propagation effect and delivery efficiency, and stopping sharing when normal data is received to save Power consumption.
Improve the propagation effect and reception effectiveness of broadcast synchronous data streams, adapt to changing environments, reduce resource expenditures, and save power consumption when necessary.
Smart Images

Figure CN2024093152_21112024_PF_FP_ABST
Abstract
Description
Data transmission method, device, chip and module equipment
[0001] This application claims priority to the Chinese patent application with application number 2023105641190 filed with the State Intellectual Property Office of China on May 18, 2023, and priority to the Chinese patent application with the invention name “A data transmission method, device, chip and module equipment”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present invention relates to the field of communications, and in particular to a data transmission method, device, chip and module equipment. Background Art
[0003] Bluetooth low energy (BLE) technology introduces the concept of an isochronous channel (ISOC), which defines a time-dependent data transmission channel and transmission strategy and is the foundation for implementing Bluetooth low energy audio. ISOC is divided into a connection-based isochronous channel and a broadcast-based isochronous channel. The connection-based isochronous channel is connection-oriented and requires a connection between two devices to transmit audio data. The broadcast-based isochronous channel is connectionless and uses broadcasting to transmit audio streams.
[0004] When a broadcast isochronous stream (BIS) is transmitted over a broadcast synchronization channel, if the receiving device experiences significant interference, is far from the broadcast source, or its scheduled time for receiving the BIS does not match the time the source sends it, the receiving device may experience abnormalities in the BIS or even fail to receive it at all, significantly reducing the effectiveness of the BIS. Therefore, improving the effectiveness of BIS transmission remains an unresolved issue.
[0005] Summary of the Invention
[0006] The present application provides a data transmission method, apparatus, chip and module equipment, which can improve the propagation effect of broadcast synchronous data stream and improve the effectiveness of receiving broadcast synchronous data stream.
[0007] In a first aspect, the present application provides a data transmission method, which includes: in response to receiving a broadcast synchronization data stream from a broadcast source as abnormal data or failing to receive the broadcast synchronization data stream from the broadcast source, sending a first request to one or more first devices, and continuing to attempt to receive the broadcast synchronization data stream from the broadcast source, the first request being used to request the first device to share the acquired broadcast synchronization data stream.
[0008] Based on the method described in the first aspect, when a communication device finds that the broadcast synchronization data stream received from a broadcast source is abnormal data or that the broadcast synchronization data stream from the broadcast source cannot be received, it can send a first request to one or more first devices to request the one or more first devices to share the acquired broadcast synchronization data stream with itself and continue to attempt to receive the broadcast synchronization data stream from the broadcast source. The first device can be considered a secondary broadcast source. The first device can share the acquired broadcast synchronization data stream with the communication device, thereby improving the propagation effect and transmission efficiency of the broadcast synchronization data stream, improving the effectiveness of receiving the broadcast synchronization data stream, and at the same time being more adaptable to changing environments and reducing expenses.
[0009] In one possible implementation, after continuing to attempt to receive the broadcast synchronized data stream from the broadcast source, the method further includes: in response to receiving the broadcast synchronized data stream from the broadcast source as normal data, sending a second request to one or more first devices, the second request being used to request the first devices to stop sharing the acquired broadcast synchronized data stream. Based on this approach, power consumption is saved.
[0010] In one possible implementation, after continuing to attempt to receive the broadcast synchronized data stream from the broadcast source, the method further includes: in response to determining that the broadcast synchronized data stream received from the broadcast source is abnormal data and the broadcast synchronized data stream received from the target device is normal data, sending the second request to the one or more first devices, where the target device is any one of the one or more first devices. Based on this approach, power consumption is saved.
[0011] In one possible implementation, the method further includes: in response to receiving a broadcast synchronized data stream from a broadcast source as normal data and receiving a third request from a second device requesting sharing of the acquired broadcast synchronized data stream, transmitting the broadcast synchronized data stream to the second device. Based on this approach, resource sharing can be achieved, improving the dissemination effect and transmission efficiency of the broadcast synchronized data stream.
[0012] In one possible implementation, before sending the broadcast synchronization data stream to the second device, the method further includes: determining whether to share the acquired broadcast synchronization data stream based on the current service status; and in response to determining to share the broadcast synchronization data stream, executing the step of sending the broadcast synchronization data stream to the second device. Based on this approach, the current service status can be ensured to be unaffected, thereby improving reliability.
[0013] In one possible implementation, the first request or the third request is carried in a link layer broadcast synchronization group control protocol data unit, or the first request or the third request is an application layer Bluetooth profile protocol message. Based on this approach, the flexibility of sending the first request or the third request is improved.
[0014] In one possible implementation, the first device or the second device is a device with which a connection has been established previously, or the first device or the second device is a device with which no connection has been established previously. Based on this approach, if the first device or the second device is a device with which a connection has been established previously, this helps improve the security and privacy of data sharing and the efficiency of data transmission; if the first device or the second device is a device with which no connection has been established previously, this helps improve the widespread reception of broadcast synchronized data streams.
[0015] In second aspect, the present application provides a data transmission device, which includes: a communication unit, which is used to send a first request to one or more first devices in response to receiving a broadcast synchronization data stream from a broadcast source as abnormal data or failing to receive the broadcast synchronization data stream from the broadcast source, and continue to try to receive the broadcast synchronization data stream from the broadcast source, wherein the first request is used to request the first device to share the acquired broadcast synchronization data stream.
[0016] In a third aspect, the present application provides a chip comprising a processor and a communication interface, wherein the processor is configured to enable the chip to execute the method in the above-mentioned first aspect or any possible implementation thereof.
[0017] In a fourth aspect, the present application provides a module device, which includes a communication module, a power module, a storage module and a chip, wherein: the power module is used to provide power to the module device; the storage module is used to store data and instructions; the communication module is used to conduct internal communication within the module device, or for the module device to communicate with external devices; the chip is used to execute the method in the above-mentioned first aspect or any possible implementation thereof.
[0018] In a fifth aspect, an embodiment of the present invention discloses a data transmission device, which includes a memory and a processor, the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method in the above-mentioned first aspect or any possible implementation thereof.
[0019] In a sixth aspect, the present application provides a computer-readable storage medium, which stores computer-readable instructions. When the computer-readable instructions are executed on a data transmission device, the data transmission device executes the method in the above-mentioned first aspect or any possible implementation thereof.
[0020] In a seventh aspect, the present application provides a computer program or computer program product, comprising codes or instructions, which, when executed on a computer, enable the computer to execute the method in the first aspect or any possible implementation thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG1 is a schematic diagram of a communication system provided in an embodiment of the present application;
[0022] FIG2 is a schematic diagram of a broadcast synchronous data stream transmission method provided in an embodiment of the present application;
[0023] FIG3 is a flow chart of a data transmission method provided in an embodiment of the present application;
[0024] FIG4 is a flow chart of another data transmission method provided in an embodiment of the present application;
[0025] FIG5 is a schematic structural diagram of a data transmission device provided in an embodiment of the present application;
[0026] FIG6 is a schematic structural diagram of another data transmission device provided in an embodiment of the present application;
[0027] FIG7 is a schematic structural diagram of a module device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this invention.
[0029] The terms used in the following examples of the present application are for the purpose of describing specific embodiments only and are not intended to limit the present application. As used in the specification and appended claims of the present application, the singular expressions "a," "an," "said," "above," "the," and "this" are intended to include plural expressions as well, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used in the present application refers to and encompasses any or all possible combinations of one or more of the listed items.
[0030] It should be noted that the terms "first", "second", "third", etc. in the specification and claims of the present application and in the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the term "comprising" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.
[0031] To better understand the embodiments of the present application, the following first introduces the system architecture involved in the embodiments of the present application:
[0032] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system or new radio (NR) and future communication systems.
[0033] Figure 1 is a schematic diagram of a communication system provided by an embodiment of the present application, and the solution in the present application can be applied to the communication system. The communication system may include at least one electronic device. Figure 1 takes the communication system as an example including three electronic devices (i.e., a first device, a second device, and a communication device). The first device, the second device, and the communication device can communicate with each other. Specifically, the first device, the second device, and the communication device can communicate with each other via Bluetooth technology. The electronic devices are introduced below:
[0034] Electronic devices include devices that provide voice and / or data connectivity to users. For example, electronic devices are devices with wireless transceiver functions, which can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; can also be deployed on water (such as ships, etc.); can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The electronic devices in the embodiments of the present application can be mobile phones, Bluetooth headsets, tablet computers, computers with wireless transceiver functions, virtual reality (VR) electronic devices, augmented reality (AR) electronic devices, wireless terminals in industrial control, vehicle-mounted electronic devices, wireless terminals in self-driving, wireless terminals in remote medical care, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, wearable electronic devices, etc. The embodiments of the present application do not limit the application scenarios. The terminal may sometimes also be referred to as an electronic device, user equipment (UE), access electronic device, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote electronic device, mobile device, UE electronic device, electronic device, wireless communication device, UE agent or UE device, etc. The terminal may also be fixed or mobile. The electronic device may support low-power Bluetooth technology. In the embodiment of the present application, the device for realizing the function of the electronic device may be an electronic device, or a device that can support the electronic device to realize the function, such as a chip system or a combination device or component that can realize the function of the electronic device, and the device may be installed in the electronic device.
[0035] To facilitate understanding of the solution provided by the embodiments of the present application, the following describes a broadcast isochronous stream (BIS):
[0036] Bluetooth low energy (BLE) technology introduces the concept of an isochronous channel (ISOC), which defines a time-dependent data transmission channel and transmission strategy and is the foundation for implementing Bluetooth low energy audio. ISOC is divided into a connection-based isochronous channel and a broadcast-based isochronous channel. The connection-based isochronous channel is connection-oriented and requires a connection between two devices to transmit audio data. The broadcast-based isochronous channel is connectionless and uses broadcasting to transmit audio streams.
[0037] Data transmission over a broadcast isochronous channel is a unidirectional channel where one party only sends data and the other party only receives data, without requiring a reply. There is no limit on the number of receiving devices, and a set of isochronous data streams can be used to transmit data from a single source to multiple receiving devices. Each stream is called a broadcast isochronous data stream (BIS), and a group of BISs is called a broadcast isochronous group (BIG). Streams belonging to the same BIG share timing reference data.
[0038] As shown in Figure 2, each BIG event consists of Num_BIS BIS events and a Control subevent (if any). The interval between two adjacent BIG events is the isoal interval. Each BIS event sent by the broadcast source includes NSE BIS packets (Tx). The interval between two consecutive BIS packets is Sub_interval. If a broadcast synchronization group control protocol data unit (BIG control PDU) is present, a BIG control PDU packet can be sent after NSE BIS packets are sent.
[0039] When there is BIS in the environment, if the environment in which the receiving device is located has large interference, or the receiving device is far away from the broadcast source, or the scheduling time for the receiving device to receive BIS does not match the time when the broadcast source sends BIS, etc., the broadcast synchronization data stream received by the receiving device will be abnormal, or even the broadcast synchronization data stream may not be received at all, which will greatly weaken the propagation effect of the BIS sent by the broadcast source.
[0040] Bluetooth technology has further developed wireless mesh networks, which aim to transmit broadcast data through relays via intermediate nodes. Devices in a Bluetooth mesh network are called nodes. Each node can send and receive messages. Information can be relayed between nodes, allowing messages to reach locations farther than normal radio wave transmission distances. However, the data being transmitted is generally asynchronous broadcast data, and all nodes that make up the network need to join the mesh network, increasing complexity. Nodes are typically relatively fixed devices, which is suitable for relatively fixed use cases. Therefore, mesh networks are only suitable for applications such as smart homes, factory automation, and energy management, and are not suitable for highly mobile devices.
[0041] For highly mobile devices, in order to improve the propagation effect of BIS and the effectiveness of receiving BIS, this application provides a data transmission method, device, chip, and module device. The data transmission method, device, chip, and module device provided in the embodiments of this application are further described in detail below.
[0042] FIG3 is a flow chart of a data transmission method provided in an embodiment of the present application. As shown in FIG3 , the data transmission method includes the following step S301. The method execution subject shown in FIG3 can be a communication device (as shown in FIG1 ). Alternatively, the method execution subject shown in FIG3 can be a chip in a communication device, which is not limited here. FIG3 is illustrated by taking a communication device as an example to execute the method.
[0043] S301. In response to receiving abnormal data from a broadcast synchronized data stream from a broadcast source or failing to receive the broadcast synchronized data stream from the broadcast source, a communication device sends a first request to one or more first devices and continues to attempt to receive the broadcast synchronized data stream from the broadcast source.
[0044] In an embodiment of the present application, the first request is used to request the first device to share the acquired broadcast synchronization data stream. The communication device can turn on the Bluetooth function to scan the broadcast synchronization data stream from the broadcast source, and detect whether the broadcast synchronization data stream from the broadcast source is abnormal data, that is, detect whether the reception of the broadcast synchronization data stream is good. The first device mentioned here can be a highly mobile device. Among them, the method of detecting whether the broadcast synchronization data stream from the broadcast source is abnormal data can be:
[0045] (1) Determine whether the power of receiving the broadcast synchronous data stream is lower than a first preset value. If the power of receiving the broadcast synchronous data stream is lower than the first preset value, the broadcast synchronous data stream is considered to be abnormal data, otherwise it is considered to be normal data.
[0046] (2) Determine whether the packet receiving rate of the broadcast synchronous data stream is lower than a second preset value. If the packet receiving rate of the broadcast synchronous data stream is lower than the second preset value, the broadcast synchronous data stream is considered to be abnormal data, otherwise it is considered to be normal data.
[0047] (3) Determine whether the scheduling time of the communication device matches the time when the broadcast source sends the broadcast synchronization data stream. If the Bluetooth scheduling time of the communication device does not match the time when the broadcast source sends the broadcast synchronization data stream, the broadcast synchronization data stream is considered to be abnormal data, otherwise it is considered to be normal data.
[0048] Of course, other judgment criteria may also be used, which are not limited here.
[0049] There are many reasons why the broadcast synchronized data stream received by the communication device from the broadcast source is abnormal data or the broadcast synchronized data stream from the broadcast source cannot be received. For example, the Bluetooth scheduling time of the communication device does not match the time when the broadcast source sends the broadcast synchronized data stream, or the communication device is far away from the broadcast source, or the broadcast synchronized data stream from the broadcast source is severely attenuated due to obstruction by surrounding obstacles, etc., which are not limited here. When the communication device finds that the broadcast synchronized data stream received from the broadcast source is abnormal data or the broadcast synchronized data stream from the broadcast source cannot be received, it can send a first request to one or more first devices and continue to try to receive the broadcast synchronized data stream from the broadcast source. Among them, the first device can be considered as a secondary broadcast source. The communication device can request the first device to share the acquired broadcast synchronized data stream with itself, and at the same time continue to scan the broadcast synchronized data stream from the broadcast source, thereby improving the propagation effect and transmission efficiency of the broadcast synchronized data stream, improving the effectiveness of receiving the broadcast synchronized data stream, and at the same time being more adaptable to changing environments and reducing expenses.
[0050] In one possible implementation, after the communication device continues to attempt to receive the broadcast synchronized data stream from the broadcast source, the method further includes: in response to the communication device detecting that the broadcast synchronized data stream from the broadcast source is normal data, the communication device sends a second request to one or more first devices, wherein the second request is used to request the first devices to stop sharing the acquired broadcast synchronized data stream. In other words, after the communication device continues to attempt to receive the broadcast synchronized data stream from the broadcast source, if it detects that the broadcast synchronized data stream from the broadcast source is normal data, i.e., it detects that the reception of the broadcast synchronized data stream is good, then the communication device can notify other devices (i.e., one or more first devices) to stop sharing the acquired broadcast synchronized data stream, thereby saving power consumption.
[0051] In one possible implementation, after the communication device continues to attempt to receive the broadcast synchronization data stream from the broadcast source, the method further includes: in response to the communication device detecting that the broadcast synchronization data stream received from the broadcast source is abnormal data and the broadcast synchronization data stream received from the target device is normal data, the communication device sends the second request to one or more first devices, where the target device is any one of the one or more first devices. That is, after the communication device continues to attempt to receive the broadcast synchronization data stream from the broadcast source, it detects that the broadcast synchronization data stream from the broadcast source is still abnormal data, but the broadcast synchronization data stream received from the target device is normal data, that is, the communication device has received the broadcast synchronization data stream sent by other devices and the reception is good. At this time, the communication device can notify the other devices (i.e., one or more first devices) to stop sharing the acquired broadcast synchronization data stream, thereby saving power consumption.
[0052] In one possible implementation, the method further includes: in response to the communication device receiving a broadcast synchronized data stream from a broadcast source as normal data and receiving a third request from a second device requesting to share the acquired broadcast synchronized data stream, the communication device sending the broadcast synchronized data stream to the second device. In other words, when the communication device detects that the broadcast synchronized data stream it receives from the broadcast source is normal data and the second device sends the third request to it requesting to share the acquired broadcast synchronized data stream, the communication device may share the broadcast synchronized data stream it receives from the broadcast source with the second device, thereby achieving resource sharing and improving the dissemination effect and transmission efficiency of the broadcast synchronized data stream.
[0053] Optionally, before the communication device sends the broadcast synchronization data stream to the second device, the method further includes: the communication device determines whether to share the acquired broadcast synchronization data stream based on the current business status; in response to determining to share the broadcast synchronization data stream, the communication device executes the step of sending the broadcast synchronization data stream to the second device. That is, before the communication device shares the broadcast synchronization data stream received from the broadcast source with the second device, it also needs to evaluate whether it can share the broadcast synchronization data stream based on its current business status. Based on this approach, it can ensure that its current business status is not affected, thereby improving reliability. Among them, the specific implementation method of the communication device determining whether to share the acquired broadcast synchronization data stream based on the current business status can be:
[0054] (1) If the power of the communication device currently receiving the broadcast synchronous data stream is stable and the communication device can stably receive the broadcast synchronous data stream within a preset time period, the communication device determines that the broadcast synchronous data stream can be shared; otherwise, the communication device cannot share the broadcast synchronous data stream.
[0055] (2) If the packet receiving rate of the broadcast synchronous data stream is greater than or equal to a second preset value, the communication device determines that the broadcast synchronous data stream can be shared; otherwise, the communication device determines that the broadcast synchronous data stream cannot be shared.
[0056] (3) If the current service scheduling state of the communication device is an idle state, the communication device determines that it can share the broadcast synchronization data stream; otherwise, it cannot share the broadcast synchronization data stream.
[0057] Of course, other methods may also be used to determine whether to share the broadcast synchronization data stream, which is not limited here.
[0058] When the communication device determines to share the broadcast synchronization data stream, it executes the step of sending the broadcast synchronization data stream to the second device; when the communication device determines not to share the broadcast synchronization data stream, it does not execute the step of sending the broadcast synchronization data stream to the second device.
[0059] In one possible implementation, the first request or the third request is carried in a broadcast synchronization group control protocol data unit of the link layer (i.e., the BIG control PDU of the Bluetooth chip BT controller), or the first request or the third request is a message of the application layer Bluetooth profile protocol. In other words, the link layer can determine whether to send the first request or the third request (i.e., the broadcast synchronization group control protocol data unit of the link layer carries the first request or the third request), or the application layer can determine whether to send the first request or the third request (i.e., the first request or the third request is a message of the application layer Bluetooth profile protocol), which is conducive to improving the flexibility of sending the first request or the third request.
[0060] In one possible implementation, the first device or the second device is a device that has previously established a connection, or the first device or the second device is a device that has never established a connection. That is, the first device and the communication device may have previously established a connection, or the first device and the communication device are in a state of mutual knowledge; the second device and the communication device may also have previously established a connection, or the second device and the communication device are also in a state of mutual knowledge. This is conducive to improving the security and privacy of data sharing and improving the efficiency of data transmission. Of course, the first device and the communication device may also not have established a connection, and the second device and the communication device may also not have established a connection, which is conducive to increasing the breadth of receiving broadcast synchronous data streams.
[0061] For example, referring to FIG4 , the data transmission method is generally described below, specifically including the following steps s11 to s19:
[0062] s11. The communication device receives a broadcast synchronization data stream from a broadcast source.
[0063] s12. The communication device detects whether the broadcast synchronization data stream is abnormal data or whether the communication device cannot receive the broadcast synchronization data stream.
[0064] If the broadcast synchronization data stream received by the communication device from the broadcast source is abnormal data or the communication device cannot receive the broadcast synchronization data stream from the broadcast source, steps s13 to s16 are executed; if the broadcast synchronization data stream received by the communication device from the broadcast source is normal data, steps s17 to s19 are executed.
[0065] s13. The communication device sends a first request to one or more first devices, and continues to attempt to receive the broadcast synchronization data stream from the broadcast source.
[0066] s14. After continuing to attempt to receive the broadcast synchronization data stream from the broadcast source, the communication device detects whether the broadcast synchronization data stream is normal data.
[0067] If the broadcast synchronization data stream received by the communication device from the broadcast source is normal data, step s15 is executed; if the broadcast synchronization data stream received by the communication device from the broadcast source is abnormal data, step s16 is executed.
[0068] s15. The communication device sends a second request to one or more first devices, where the second request is used to request the first devices to stop sharing the acquired broadcast synchronization data stream.
[0069] Optionally, after step s15 is executed, step s12 may be executed in a loop.
[0070] s16. The communication device detects whether the broadcast synchronization data stream received from the target device is normal data, where the target device is any one of the one or more first devices.
[0071] If the broadcast synchronization data stream received from the target device by the communication device is normal data, step s15 is executed; if the broadcast synchronization data stream received from the target device is abnormal data, step s14 is executed.
[0072] s17. The communication device detects whether a third request is received from the second device, where the third request is used to request sharing of the acquired broadcast synchronization data stream.
[0073] If the communication device receives the third request from the second device, step s18 is executed; if the communication device does not receive the third request from the second device, step s12 is executed.
[0074] s18. The communication device determines whether to share the acquired broadcast synchronization data stream based on the current service status.
[0075] If the communication device determines to share the broadcast synchronization data stream, step s19 is executed; if the communication device determines not to share the broadcast synchronization data stream, step s12 is executed.
[0076] s19. The communication device sends the broadcast synchronization data stream to the second device.
[0077] As can be seen, based on the method described in Figure 3, when a communication device discovers that the broadcast synchronized data stream received from a broadcast source is abnormal data or cannot receive the broadcast synchronized data stream from the broadcast source, it can send a first request to one or more first devices to request that the one or more first devices share the acquired broadcast synchronized data stream with itself and continue to attempt to receive the broadcast synchronized data stream from the broadcast source. The first device can be considered a secondary broadcast source. The first device can share the acquired broadcast synchronized data stream with the communication device, thereby improving the propagation effect and transmission efficiency of the broadcast synchronized data stream, improving the effectiveness of receiving the broadcast synchronized data stream, and also being more adaptable to changing environments and reducing expenses.
[0078] Please refer to Figure 5, which is a structural diagram of a data transmission device provided by an embodiment of the present invention. The data transmission device can be a communication device or a device with the function of a communication device (such as a chip). Specifically, as shown in Figure 5, the data transmission device 500 may include a communication unit 501. Among them, the communication unit 501 can be used for communication. Optionally, the data transmission device 500 may also include a determination unit 502, and the determination unit 502 can be used for data determination. Optionally, the communication unit 501 integrates a receiving unit and a sending unit. The communication unit 501 can also be called a transceiver unit. Alternatively, the communication unit 501 can also be split into a receiving unit and a sending unit. Among them:
[0079] The communication unit 501 is used to send a first request to one or more first devices in response to receiving abnormal data in the broadcast synchronization data stream from the broadcast source or failing to receive the broadcast synchronization data stream from the broadcast source, and continue to try to receive the broadcast synchronization data stream from the broadcast source. The first request is used to request the first device to share the acquired broadcast synchronization data stream.
[0080] In one possible implementation, after continuing to attempt to receive the broadcast synchronization data stream from the broadcast source, the communication unit 501 is also used to: in response to receiving the broadcast synchronization data stream from the broadcast source as normal data, send a second request to one or more first devices, wherein the second request is used to request the first device to stop sharing the acquired broadcast synchronization data stream.
[0081] In one possible implementation, after continuing to attempt to receive the broadcast synchronization data stream from the broadcast source, the communication unit 501 is also used to send the second request to one or more first devices in response to the broadcast synchronization data stream received from the broadcast source being abnormal data and the broadcast synchronization data stream received from the target device being normal data, where the target device is any one of the one or more first devices.
[0082] In one possible implementation, the communication unit 501 is further used to: in response to receiving a broadcast synchronization data stream from a broadcast source as normal data and receiving a third request from a second device, the third request being used to request sharing of the acquired broadcast synchronization data stream; send the broadcast synchronization data stream to the second device.
[0083] In one possible implementation, before the communication unit 501 sends the broadcast synchronization data stream to the second device, the determination unit 502 is used to: determine whether to share the acquired broadcast synchronization data stream based on the current business status; in response to determining to share the broadcast synchronization data stream, execute the step of sending the broadcast synchronization data stream to the second device.
[0084] In a possible implementation, the first request or the third request is carried in a broadcast synchronization group control protocol data unit of the link layer, or the first request or the third request is a message of the Bluetooth profile protocol of the application layer.
[0085] In a possible implementation, the first device or the second device is a device to which a connection has been established in the past, or the first device or the second device is a device to which a connection has not been established.
[0086] An embodiment of the present application further provides a chip that can execute the relevant steps of the communication device in the aforementioned method embodiment. The chip includes a processor and a communication interface, wherein the processor is configured to cause the chip to perform the following operations: in response to receiving abnormal data in a broadcast synchronized data stream from a broadcast source or failing to receive the broadcast synchronized data stream from the broadcast source, sending a first request to one or more first devices and continuing to attempt to receive the broadcast synchronized data stream from the broadcast source, wherein the first request is used to request the first device to share the acquired broadcast synchronized data stream.
[0087] In one possible implementation, after continuing to attempt to receive the broadcast synchronization data stream from the broadcast source, the chip is also used to: in response to receiving the broadcast synchronization data stream from the broadcast source as normal data, send a second request to one or more first devices, wherein the second request is used to request the first device to stop sharing the acquired broadcast synchronization data stream.
[0088] In one possible implementation, after continuing to attempt to receive the broadcast synchronization data stream from the broadcast source, the chip is also used to send the second request to one or more first devices in response to the broadcast synchronization data stream received from the broadcast source being abnormal data and the broadcast synchronization data stream received from the target device being normal data, where the target device is any one of the one or more first devices.
[0089] In one possible implementation, the chip is also used to: in response to receiving a broadcast synchronization data stream from a broadcast source as normal data and receiving a third request from a second device, the third request being used to request sharing of the acquired broadcast synchronization data stream; send the broadcast synchronization data stream to the second device.
[0090] In one possible implementation, before sending the broadcast synchronization data stream to the second device, the chip is also used to: determine whether to share the acquired broadcast synchronization data stream based on the current business status; and in response to determining to share the broadcast synchronization data stream, execute the step of sending the broadcast synchronization data stream to the second device.
[0091] In a possible implementation, the first request or the third request is carried in a broadcast synchronization group control protocol data unit of the link layer, or the first request or the third request is a message of the Bluetooth profile protocol of the application layer.
[0092] In a possible implementation, the first device or the second device is a device to which a connection has been established in the past, or the first device or the second device is a device to which a connection has not been established.
[0093] For each device or product applied to or integrated in the chip, each module contained therein can be implemented in the form of hardware such as circuits, or at least some of the modules can be implemented in the form of software programs, which run on the processor integrated inside the chip, and the remaining (if any) modules can be implemented in the form of hardware such as circuits.
[0094] Please refer to Figure 6, which is a schematic diagram of the structure of another data transmission device provided in an embodiment of the present application. Data transmission device 600 may include a memory 601 and a processor 602. Optionally, it also includes a communication interface 603. Memory 601, processor 602, and communication interface 603 are connected via one or more communication buses. Communication interface 603 is controlled by processor 602 to send and receive information.
[0095] The memory 601 may include a read-only memory and a random access memory, and provides instructions and data to the processor 602. A portion of the memory 601 may also include a nonvolatile random access memory.
[0096] The communication interface 603 is used to receive or send data.
[0097] The processor 602 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor may be a microprocessor, or alternatively, the processor 602 may be any conventional processor. Specifically:
[0098] The memory 601 is used to store program instructions.
[0099] The processor 602 is configured to call the program instructions stored in the memory 601 .
[0100] The processor 602 calls the program instructions stored in the memory 601 to enable the data transmission device 600 to execute the method executed by the communication device in the above method embodiment.
[0101] As shown in Figure 7, Figure 7 is a schematic diagram of the structure of a module device provided in an embodiment of the present application. The module device 700 can execute the relevant steps of the communication device in the aforementioned method embodiment, and the module device 700 includes: a communication module 701, a power module 702, a storage module 703 and a chip 704.
[0102] Among them, the power module 702 is used to provide power to the module device; the storage module 703 is used to store data and instructions; the communication module 701 is used for internal communication within the module device, or for the module device to communicate with external devices; the chip 704 is used to execute the method executed by the communication device in the above method embodiment.
[0103] It should be noted that for the contents not mentioned in the embodiments corresponding to FIG. 5 to FIG. 7 and the specific implementation of each step, reference can be made to the embodiment shown in FIG. 3 and the aforementioned contents, which will not be repeated here.
[0104] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the computer-readable storage medium is executed on a processor, the method flow of the above method embodiment is implemented.
[0105] An embodiment of the present application further provides a computer program product. When the computer program product is run on a processor, the method flow of the above method embodiment is implemented.
[0106] Regarding the various modules / units contained in the various devices and products described in the above embodiments, they can be software modules / units, hardware modules / units, or partly software modules / units and partly hardware modules / units. For example, for various devices and products applied to or integrated into a chip, the various modules / units contained therein can all be implemented in the form of hardware such as circuits, or at least some of the modules / units can be implemented in the form of software programs, which run on the integrated processor inside the chip, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated into a chip module, the various modules / units contained therein can all be implemented in the form of hardware such as circuits, and different modules / units can be located in the same part of the chip module (such as a chip, circuit module, etc.) or in different components, or at least some of the modules / units can be implemented in the form of software programs. It can be implemented in the form of a software program, which runs on the processor integrated inside the chip module, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits; for various devices and products applied to or integrated in the terminal, the modules / units contained therein can all be implemented in the form of hardware such as circuits, and different modules / units can be located in the same component (for example, chip, circuit module, etc.) or different components in the terminal, or, at least some modules / units can be implemented in the form of a software program, which runs on the processor integrated inside the terminal, and the remaining (if any) modules / units can be implemented in the form of hardware such as circuits.
[0107] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain operations can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0108] The descriptions of the various embodiments provided in this application can refer to each other. The descriptions of each embodiment have their own focus. For parts not described in detail in a particular embodiment, please refer to the relevant descriptions of other embodiments. For the convenience and brevity of description, for example, the functions and operations performed by the various devices and equipment provided in the embodiments of this application can refer to the relevant descriptions of the method embodiments of this application. The various method embodiments and the various device embodiments can also refer to, be combined with, or quote each other.
[0109] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A data transmission method, characterized in that: The method comprises: In response to receiving abnormal data in a broadcast synchronized data stream from a broadcast source or failing to receive the broadcast synchronized data stream from the broadcast source, a first request is sent to one or more first devices, and attempts are continued to receive the broadcast synchronized data stream from the broadcast source, wherein the first request is used to request the first device to share the acquired broadcast synchronized data stream.
2. The method according to claim 1, characterized in that: After continuing to attempt to receive the broadcast synchronized data stream from the broadcast source, the method further includes: In response to receiving that the broadcast synchronization data stream received from the broadcast source is normal data, a second request is sent to the one or more first devices, where the second request is used to request the first device to stop sharing the acquired broadcast synchronization data stream.
3. The method according to claim 2, characterized in that After continuing to attempt to receive the broadcast synchronized data stream from the broadcast source, the method further includes: In response to receiving abnormal data from the broadcast synchronization data stream received from the broadcast source and normal data from the target device, sending the second request to the one or more first devices, the target device being any one of the one or more first devices.
4. The method according to claim 1, characterized in that: The method further comprises: In response to receiving the broadcast synchronization data stream from the broadcast source as normal data, and receiving a third request from the second device, the third request is used to request sharing of the acquired broadcast synchronization data stream; The broadcast synchronization data stream is sent to the second device.
5. The method according to claim 4, characterized in that Before sending the broadcast synchronization data stream to the second device, the method further includes: Determining whether to share the acquired broadcast synchronization data stream based on the current service status; In response to determining to share the broadcast synchronized data stream, the step of sending the broadcast synchronized data stream to the second device is performed.
6. The method according to any one of claims 1 to 5, characterized in that The first request or the third request is carried in a broadcast synchronization group control protocol data unit of the link layer, or the first request or the third request is a message of the Bluetooth profile protocol of the application layer.
7. The method according to any one of claims 1 to 5, characterized in that The first device or the second device is a device to which a connection has been established in the past, or the first device or the second device is a device to which a connection has not been established.
8. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Turning on the Bluetooth function and scanning the broadcast synchronization data stream from the broadcast source; It is detected whether the broadcast synchronization data stream from the broadcast source is abnormal data.
9. The method according to claim 8, characterized in that The detecting whether the broadcast synchronization data stream from the broadcast source is abnormal data comprises: If the power of receiving the broadcast synchronous data stream is lower than a first preset value, the broadcast synchronous data stream is determined to be abnormal data.
10. The method according to claim 8, characterized in that The detecting whether the broadcast synchronization data stream from the broadcast source is abnormal data comprises: If the packet receiving rate of the broadcast synchronous data flow is lower than a second preset value, it is determined that the broadcast synchronous data flow is abnormal data.
11. The method according to claim 8, characterized in that The detecting whether the broadcast synchronization data stream from the broadcast source is abnormal data comprises: If the Bluetooth scheduling time does not match the time when the broadcast source sends the broadcast synchronization data stream, it is determined that the broadcast synchronization data stream is abnormal data.
12. The method according to claim 5, characterized in that The determining whether to share the acquired broadcast synchronization data stream based on the current service status includes: If the power of receiving the broadcast synchronous data stream is stable within a preset time period, it is determined to share the broadcast synchronous data stream.
13. The method according to claim 5, characterized in that The determining whether to share the acquired broadcast synchronization data stream based on the current service status includes: If the packet receiving rate of the broadcast synchronous data stream is greater than or equal to a second preset value, it is determined to share the broadcast synchronous data stream.
14. The method according to claim 5, characterized in that The determining whether to share the acquired broadcast synchronization data stream based on the current service status includes: If the current service scheduling state is an idle state, it is determined to share the broadcast synchronization data stream.
15. A data transmission device, characterized in that: The device comprises: A communication unit is used to send a first request to one or more first devices in response to receiving a broadcast synchronized data stream from a broadcast source as abnormal data or failing to receive the broadcast synchronized data stream from the broadcast source, and continue to attempt to receive the broadcast synchronized data stream from the broadcast source, wherein the first request is used to request the first device to share the acquired broadcast synchronized data stream.
16. A chip, characterized in that: The chip comprises a processor and a communication interface, wherein the processor is configured to cause the chip to execute the method according to any one of claims 1 to 14.
17. A module device, characterized in that: The module device includes a communication module, a power module, a storage module and a chip, wherein: The power module is used to provide electrical energy to the module device; The storage module is used to store data and instructions; The communication module is used for internal communication of the module device, or for communication between the module device and an external device; The chip is used to execute the method according to any one of claims 1 to 14.
18. A data transmission device, characterized in that: The device comprises a memory and a processor, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions so that the data transmission device executes the method according to any one of claims 1 to 14.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed on the data transmission device, the data transmission device executes the method according to any one of claims 1 to 14.
20. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is executed, the method according to any one of claims 1 to 14 is executed.
Citation Information
Patent Citations
Audio transmission method, audio sending device, audio receiving device, audio transmission device and computer medium
CN115550909A
Audio control method and device
CN116097663A
Data transmission method and device, chip and module equipment
CN116527785A
Broadcast isochronous relay over esco
US20200084697A1
Broadcast synchronization establishing method, electronic device, and storage medium
WO2022087794A1
