WO2022242340A1 - Methods and apparatus for broadcasting and receiving bluetooth data packet, terminal, and storage medium - Google Patents

Methods and apparatus for broadcasting and receiving bluetooth data packet, terminal, and storage medium Download PDF

Info

Publication number
WO2022242340A1
WO2022242340A1 PCT/CN2022/085102 CN2022085102W WO2022242340A1 WO 2022242340 A1 WO2022242340 A1 WO 2022242340A1 CN 2022085102 W CN2022085102 W CN 2022085102W WO 2022242340 A1 WO2022242340 A1 WO 2022242340A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless terminal
data packet
broadcast
bluetooth
message
Prior art date
Application number
PCT/CN2022/085102
Other languages
French (fr)
Chinese (zh)
Inventor
许超杰
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022242340A1 publication Critical patent/WO2022242340A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiments of the present application disclose methods and apparatus for broadcasting and receiving a Bluetooth data packet, a terminal, and a storage medium, and relate to the technical field of wireless communication. In the present application, a first wireless terminal can broadcast an auxiliary data packet to the surroundings, the auxiliary data packet being provided with a broadcast period and a transceiving frequency point; the terminal broadcasts a Bluetooth data packet on the transceiving frequency point on the basis of the broadcast period; and after receiving a first message used for indicating that a second wireless terminal has been synchronized to the broadcast period of the Bluetooth data packet and when a first preset condition is met, the terminal stops broadcasting the auxiliary data packet. Since the first wireless terminal can receive a feedback message, confirm, according to the feedback message, whether Bluetooth broadcasting has been synchronized, and stop broadcasting the auxiliary data packet when Bluetooth broadcasting has been synchronized, the energy consumption of the wireless terminal is thus reduced, and the occupation of communication resources is also reduced.

Description

广播和接收蓝牙数据包的方法、装置、终端及存储介质Method, device, terminal and storage medium for broadcasting and receiving bluetooth data packets
本申请要求于2021年05月21日提交的申请号为202110560271.2、发明名称为“广播和接收蓝牙数据包的方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110560271.2 and the invention title "Method, device, terminal and storage medium for broadcasting and receiving Bluetooth data packets" submitted on May 21, 2021, the entire content of which is incorporated by reference incorporated in this application.
技术领域technical field
本申请实施例涉及无线通信技术领域,特别涉及一种广播和接收蓝牙数据包的方法、装置、终端及存储介质。The embodiments of the present application relate to the technical field of wireless communication, and in particular to a method, device, terminal and storage medium for broadcasting and receiving Bluetooth data packets.
背景技术Background technique
随着蓝牙(Bluetooth,BT)技术标准的迭代,蓝牙协议规范5.2版本(Bluetooth Core Specification v5.2)能够支持在相对较低功耗的情况下实现蓝牙设备对多个其它蓝牙设备的广播。With the iteration of the Bluetooth (BT) technical standard, the Bluetooth protocol specification version 5.2 (Bluetooth Core Specification v5.2) can support the broadcasting of Bluetooth devices to multiple other Bluetooth devices with relatively low power consumption.
在蓝牙协议规范5.2中,公布了一种广播同步流(Broadcast Isochronous Stream,BIS)技术。BIS用于向所覆盖的范围内所有蓝牙设备,广播一个或多个同步数据流。对于接收BIS广播的扫描设备(scanning device)而言,能够通过接收蓝牙37频点至蓝牙39频点中的任意频点发送的第一偏置信息。扫描设备根据第一偏置信息,得到用于接收AUX(Auxiliary,协助)数据包的接收窗口并接收AUX数据包。扫描设备解码AUX数据包得到第二偏置信息,根据第二偏置信息,获取接收periodic(周期)数据包的接收窗口并接收periodic数据包。扫描设备解码periodic数据包得到BIS的广播周期和频点,并与BIS同步。In the Bluetooth protocol specification 5.2, a broadcast isochronous stream (Broadcast Isochronous Stream, BIS) technology is announced. The BIS is used to broadcast one or more simultaneous data streams to all Bluetooth devices within the covered range. For the scanning device (scanning device) receiving the BIS broadcast, it can receive the first offset information sent by any frequency point in the Bluetooth 37 frequency point to the Bluetooth 39 frequency point. The scanning device obtains a receiving window for receiving AUX (Auxiliary, assistance) data packets according to the first offset information and receives the AUX data packets. The scanning device decodes the AUX data packet to obtain the second offset information, obtains a receiving window for receiving the periodic (period) data packet and receives the periodic data packet according to the second offset information. The scanning device decodes the periodic data packet to obtain the broadcast period and frequency of the BIS, and synchronizes with the BIS.
发明内容Contents of the invention
本申请实施例提供了一种广播和接收蓝牙数据包的方法、装置、终端及存储介质。所述技术方案如下:Embodiments of the present application provide a method, device, terminal and storage medium for broadcasting and receiving Bluetooth data packets. Described technical scheme is as follows:
根据本申请的一方面内容,提供了一种广播蓝牙数据包的方法,所述方法由第一无线终端执行,所述方法包括:According to one aspect of the present application, a method for broadcasting a Bluetooth data packet is provided, the method is performed by a first wireless terminal, and the method includes:
广播辅助数据包,所述辅助数据包用于提供广播周期和收发频点;Broadcasting an auxiliary data packet, the auxiliary data packet is used to provide a broadcast period and a sending and receiving frequency point;
基于所述广播周期,在所述收发频点上周期性广播蓝牙数据包;Based on the broadcast period, periodically broadcast Bluetooth data packets on the transceiver frequency point;
从第二无线终端接收第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期;以及receiving a first message from a second wireless terminal indicating that the second wireless terminal is synchronized to the broadcast cycle; and
在满足第一预设条件时,停止广播所述辅助数据包。Stop broadcasting the auxiliary data packet when the first preset condition is met.
根据本申请的另一方面内容,提供了一种接收蓝牙数据包的方法,所述方法由第二无线终端执行,所述方法包括:According to another aspect of the present application, a method for receiving a Bluetooth data packet is provided, the method is performed by a second wireless terminal, and the method includes:
从第一无线终端接收辅助数据包,所述辅助数据包用于提供广播周期和收发频点;receiving an auxiliary data packet from the first wireless terminal, where the auxiliary data packet is used to provide a broadcast period and a transceiving frequency point;
基于所述广播周期和所述收发频点,确定接收窗口;Determine a receiving window based on the broadcast period and the transceiver frequency;
基于所述接收窗口与所述广播周期同步;synchronizing with the broadcast period based on the receive window;
响应于所述第二无线终端已与所述广播周期同步,从所述第一无线终端周期性接收蓝牙数据包;以及periodically receiving Bluetooth data packets from the first wireless terminal in response to the second wireless terminal having synchronized with the broadcast cycle; and
向所述第一无线终端发送第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期。sending a first message to the first wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
根据本申请的另一方面内容,提供了一种广播蓝牙数据包的装置,所述装置包括:According to another aspect of the present application, a device for broadcasting Bluetooth data packets is provided, the device comprising:
第一广播模块,用于广播辅助数据包,所述辅助数据包用于提供广播周期和收发频点;The first broadcast module is used to broadcast an auxiliary data packet, and the auxiliary data packet is used to provide a broadcast period and a frequency point for sending and receiving;
第二广播模块,用于基于所述广播周期,在所述收发频点上周期性广播蓝牙数据包;A second broadcast module, configured to periodically broadcast Bluetooth data packets on the transceiver frequency point based on the broadcast cycle;
第一接收模块,用于从第二无线终端接收第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期;A first receiving module, configured to receive a first message from a second wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast period;
停止广播模块,用于在满足第一预设条件时,停止广播所述辅助数据包。The broadcast stop module is configured to stop broadcasting the auxiliary data packet when the first preset condition is met.
根据本申请的另一方面内容,提供了一种接收蓝牙数据包的装置,所述装置包括:According to another aspect of the present application, a device for receiving Bluetooth data packets is provided, the device comprising:
第二接收模块,用于从第一无线终端接收辅助数据包,所述辅助数据包用于提供广播周期和收发频点;The second receiving module is configured to receive an auxiliary data packet from the first wireless terminal, and the auxiliary data packet is used to provide a broadcast cycle and a transceiver frequency point;
窗口确定模块,用于基于所述广播周期和所述收发频点,确定接收窗口;A window determination module, configured to determine a receiving window based on the broadcast period and the transceiver frequency;
周期同步模块,用于基于所述接收窗口与所述广播周期同步;A cycle synchronization module, configured to synchronize with the broadcast cycle based on the receiving window;
第三接收模块,用于响应于所述第二无线终端已与所述广播周期同步,周期性接收蓝牙数据包;A third receiving module, configured to periodically receive Bluetooth data packets in response to the second wireless terminal being synchronized with the broadcast cycle;
第一发送模块,用于向所述第一无线终端发送第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期。A first sending module, configured to send a first message to the first wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast period.
根据本申请的另一方面内容,提供了一种无线终端,所述无线终端包括处理器和存储器,以及存储在所述存储器上的程序指令,所述程序指令由所述处理器加载并执行以实现如本申请各个方面提供的广播蓝牙数据包的方法。According to another aspect of the present application, a wireless terminal is provided, the wireless terminal includes a processor and a memory, and program instructions stored in the memory, the program instructions are loaded and executed by the processor to A method for broadcasting a Bluetooth data packet as provided in various aspects of the present application is implemented.
根据本申请的另一方面内容,提供了一种无线终端,所述无线终端包括处理器和存储器,以及存储在所述存储器上的程序指令,所述程序指令由所述处理器加载并执行以实现如本申请各个方面提供的接收蓝牙数据包的方法。According to another aspect of the present application, a wireless terminal is provided, the wireless terminal includes a processor and a memory, and program instructions stored in the memory, the program instructions are loaded and executed by the processor to Implement the method for receiving Bluetooth data packets as provided by various aspects of the present application.
根据本申请的另一方面内容,提供了一种计算机可读存储介质,所述存储介质中存储有程序指令,所述程序指令由处理器加载并执行以实现如本申请各个方面提供的广播蓝牙数据包的方法。According to another aspect of the present application, a computer-readable storage medium is provided, and program instructions are stored in the storage medium, and the program instructions are loaded and executed by a processor to implement the broadcast Bluetooth as provided by various aspects of the present application. Packet method.
根据本申请的另一方面内容,提供了一种计算机可读存储介质,所述存储介质中存储有程序指令,所述指令由处理器加载并执行以实现如本申请各个方面提供的接收蓝牙数据包的方法。According to another aspect of the present application, a computer-readable storage medium is provided, in which program instructions are stored, and the instructions are loaded and executed by a processor to realize receiving Bluetooth data as provided by various aspects of the present application. method of the package.
根据本申请的一个方面,提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请提供的广播蓝牙数据包的方法。According to one aspect of the present application, there is provided a computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for broadcasting Bluetooth data packets provided in this application.
根据本申请的一个方面,提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行本申请提供的接收蓝牙数据包的方法。According to one aspect of the present application, there is provided a computer program product comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for receiving Bluetooth data packets provided in this application.
附图说明Description of drawings
为了更清楚地介绍本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly introduce the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments of the present application will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present application , for those skilled in the art, other drawings can also be obtained based on these drawings without creative work.
图1是一种蓝牙广播的实施环境的示意图;Fig. 1 is a schematic diagram of an implementation environment of Bluetooth broadcasting;
图2是本申请实施例涉及的一种蓝牙数据包的周期同步的方法示意图;FIG. 2 is a schematic diagram of a method for periodic synchronization of Bluetooth data packets involved in an embodiment of the present application;
图3是本申请一个示例性实施例提供的在第一无线终端中广播蓝牙数据包的方法的流 程图;Fig. 3 is the flowchart of the method for broadcasting bluetooth data packet in the first wireless terminal that an exemplary embodiment of the present application provides;
图4是基于图3所示的实施例提供的一种辅助数据包的构成示意图;FIG. 4 is a schematic diagram of the composition of an auxiliary data packet provided based on the embodiment shown in FIG. 3;
图5是本申请实施例提供的一种第二无线终端中接收蓝牙数据包的方法的流程图;FIG. 5 is a flowchart of a method for receiving a Bluetooth data packet in a second wireless terminal provided by an embodiment of the present application;
图6是本申请另一个示例性实施例提供的蓝牙数据包的广播及周期同步的方法流程图;FIG. 6 is a flowchart of a method for broadcasting and periodic synchronization of Bluetooth data packets provided in another exemplary embodiment of the present application;
图7是基于图6所示实施例提供的一种第一无线终端的标识列表的添加示意图;FIG. 7 is a schematic diagram of adding an identification list of a first wireless terminal based on the embodiment shown in FIG. 6;
图8是本申请实施例提供的一种第二无线终端停止广播第一消息的示意图;FIG. 8 is a schematic diagram of a second wireless terminal stopping broadcasting a first message provided by an embodiment of the present application;
图9是本申请提供的一种第一无线终端停止广播辅助数据包的示意图;FIG. 9 is a schematic diagram of a first wireless terminal stopping broadcasting auxiliary data packets provided by the present application;
图10是本申请实施例提供的一种第一无线终端中基于BIS业务的数据包调度示意图;FIG. 10 is a schematic diagram of data packet scheduling based on a BIS service in a first wireless terminal provided by an embodiment of the present application;
图11是基于图3所示的蓝牙数据包的广播方法提供的部分步骤的流程图;Fig. 11 is a flow chart of some steps provided based on the broadcast method of the bluetooth packet shown in Fig. 3;
图12是本申请一个示例性实施例提供的在第一无线终端中广播蓝牙数据包的装置的结构框图;Fig. 12 is a structural block diagram of an apparatus for broadcasting Bluetooth data packets in a first wireless terminal provided by an exemplary embodiment of the present application;
图13是本申请另一个示例性实施例提供的一种第二无线终端中的广播同步装置的结构框图;Fig. 13 is a structural block diagram of a broadcast synchronization device in a second wireless terminal provided by another exemplary embodiment of the present application;
图14是本申请一个示例性实施例提供的一种终端的结构框图。Fig. 14 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,术语“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of the present application, it should be understood that the terms "first", "second" and so on are used for descriptive purposes only, and should not be understood as indicating or implying relative importance. In the description of this application, it should be noted that, unless otherwise clearly stipulated and limited, the terms "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integrated Ground connection; it can be mechanical connection or electrical connection; it can be direct connection or indirect connection through an intermediary. Those of ordinary skill in the art can understand the specific meanings of the above terms in this application in specific situations. In addition, in the description of the present application, unless otherwise specified, "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
为了本申请实施例所示方案易于理解,下面对本申请实施例中出现的若干名词进行介绍。In order to make the solutions shown in the embodiments of the present application easy to understand, several terms appearing in the embodiments of the present application are introduced below.
PADV(Periodic Advertising,周期广播);PADV (Periodic Advertising, periodic broadcast);
BT(Bluetooth,蓝牙);BT (Bluetooth, bluetooth);
BLE(Bluetooth Low Energy,低功耗蓝牙);BLE (Bluetooth Low Energy, Bluetooth Low Energy);
经典蓝牙(Bluetooth Classic);Bluetooth Classic;
BLE Audio(Bluetooth Low Energy Audio,低功耗蓝牙音频);BLE Audio (Bluetooth Low Energy Audio, Bluetooth Low Energy Audio);
Sync链路(Synchronization link,同步链路);Sync link (Synchronization link, synchronization link);
真无线立体声(True Wireless Stereo,TWS);True Wireless Stereo (TWS);
AE扫描(Extended Scan,AE Scan);AE Scan (Extended Scan, AE Scan);
AE广播(Extended Advertising,扩展广播);AE broadcast (Extended Advertising, extended broadcast);
Tx(Transmit,发送);Tx(Transmit, send);
Rx(Receive,接收);Rx(Receive, receive);
ACK(Acknowledge character,确认字符);ACK (Acknowledge character, confirmation character);
BIS(Broadcast Isochronous Stream,广播同步流);BIS (Broadcast Isochronous Stream, Broadcast Isochronous Stream);
BIG(Broadcast Isochronous Group,广播同步组);BIG (Broadcast Isochronous Group, broadcast synchronization group);
SCAN_REQ(Scannable Request,广播确认包)。SCAN_REQ (Scannable Request, broadcast confirmation packet).
辅助数据包:用于提供广播周期和收发频点的数据包。在一种可能的方式中,辅助数据包是包括多种数据包的集合数据包。第二无线终端可以完整地获取到上述辅助数据包中的多种数据包。在完整的多种数据包的支持下,第二无线终端能够得到广播周期和收发频点。若辅助数据包是用于接收BIS发送的蓝牙数据包,则辅助数据包可以包括指定广播数据包、AUX数据包和periodic数据包。Auxiliary data packet: a data packet used to provide the broadcast cycle and the frequency of sending and receiving. In a possible manner, the auxiliary data package is an aggregate data package including various data packages. The second wireless terminal may completely obtain various data packets in the foregoing auxiliary data packets. With the support of a complete variety of data packets, the second wireless terminal can obtain the broadcast cycle and the frequency of sending and receiving. If the auxiliary data packet is used to receive the Bluetooth data packet sent by the BIS, the auxiliary data packet may include a designated broadcast data packet, an AUX data packet, and a periodic data packet.
请参见图1,图1是一种蓝牙广播的实施环境的示意图。在图1中,包括两种无线终端,第一种无线终端是用于向周围广播蓝牙数据包的第一无线终端110。第二种无线终端是用于扫描周围的蓝牙信号并在扫描到蓝牙信号后接收蓝牙数据包的第二无线终端120。示意性的,图1中示出了一个第一无线终端110以及三个第二无线终端120。Please refer to FIG. 1 . FIG. 1 is a schematic diagram of an implementation environment of Bluetooth broadcasting. In FIG. 1 , there are two types of wireless terminals. The first type of wireless terminal is a first wireless terminal 110 for broadcasting Bluetooth data packets to surroundings. The second type of wireless terminal is the second wireless terminal 120 for scanning the surrounding Bluetooth signals and receiving the Bluetooth data packets after scanning the Bluetooth signals. Schematically, one first wireless terminal 110 and three second wireless terminals 120 are shown in FIG. 1 .
在该场景中,请参见图1,图1是一种根据辅助数据包与基于BIS广播的蓝牙数据包的示意图。在图1中,第一无线终端110可以向周围广播辅助数据包。随后,在第一无线终端110的广播信号的覆盖范围之内,第二无线终端120能够接收到辅助数据包。第二无线终端120能够从辅助数据包中解码出广播周期和收发频点。随后,第二无线终端120能够从接收到辅助数据包后的第一个广播周期后的收发频点位置,开始同步到第一无线终端110广播的蓝牙数据包的广播周期,从而能够周期性接收蓝牙数据包。In this scenario, please refer to FIG. 1 . FIG. 1 is a schematic diagram of an auxiliary data packet and a BIS-based broadcast Bluetooth data packet. In FIG. 1, the first wireless terminal 110 may broadcast the auxiliary data packet to the surroundings. Then, within the coverage of the broadcast signal of the first wireless terminal 110, the second wireless terminal 120 can receive the auxiliary data packet. The second wireless terminal 120 is able to decode the broadcast period and the transceiving frequency point from the auxiliary data packet. Subsequently, the second wireless terminal 120 can start to synchronize to the broadcast cycle of the Bluetooth data packet broadcast by the first wireless terminal 110 from the position of the transceiver frequency point after the first broadcast cycle after receiving the auxiliary data packet, so as to be able to periodically receive Bluetooth packets.
在一种可能的实现方式中,在蓝牙协议规范5.2中,第二无线终端120又称为扫描设备。在本申请中,对具备扫描(scan)功能的设备统称为第二无线终端。In a possible implementation manner, in Bluetooth protocol specification 5.2, the second wireless terminal 120 is also called a scanning device. In this application, devices with a scanning (scan) function are collectively referred to as second wireless terminals.
请参见图2,图2是本申请实施例涉及的一种蓝牙数据包的周期同步的方法示意图。在图2中,第一无线终端110在t0时刻向周围广播辅助数据包210。第二无线终端120在t1时刻接收到辅助数据包210,并通过解码辅助数据包210得到广播周期和收发频点。由此,第二无线终端120确定蓝牙数据包是在收发频点上广播的,且下一个接收蓝牙数据包的时间窗口开始的时刻是t1+广播周期。若以T来表示广播周期,则第二无线终端120确定下一个接收窗口是(t1+T,收发频点),并以下一个接收窗口为基准点,与蓝牙数据包的广播周期同步,从而第二无线终端120能够周期性接收蓝牙数据包。Please refer to FIG. 2 . FIG. 2 is a schematic diagram of a method for periodic synchronization of Bluetooth data packets according to an embodiment of the present application. In FIG. 2 , the first wireless terminal 110 broadcasts an auxiliary data packet 210 around at time t0. The second wireless terminal 120 receives the auxiliary data packet 210 at time t1, and obtains the broadcast period and the frequency point of sending and receiving by decoding the auxiliary data packet 210 . Thus, the second wireless terminal 120 determines that the Bluetooth data packet is broadcast on the transceiving frequency point, and the time at which the next time window for receiving the Bluetooth data packet starts is t1+broadcast period. If T is used to represent the broadcast period, then the second wireless terminal 120 determines that the next receiving window is (t1+T, the transceiver frequency point), and the next receiving window is used as a reference point to synchronize with the broadcast period of the Bluetooth data packet, so that the second The second wireless terminal 120 can periodically receive Bluetooth data packets.
需要说明的是,蓝牙协议规范5.2版本中规定的BIS方式中的辅助数据包将持续发送,一定程度上消耗了第一无线终端的电量、空口资源和处理资源。It should be noted that the auxiliary data packets in the BIS mode stipulated in version 5.2 of the Bluetooth protocol specification will be sent continuously, which consumes power, air interface resources and processing resources of the first wireless terminal to a certain extent.
本申请公开了一种应用于第一无线终端中的蓝牙数据包的广播方法,以及,应用于第二无线终端中的蓝牙数据包的广播同步方法,能够在第二无线终端已成功同步到蓝牙数据包的广播周期后,令第一无线终端停止广播辅助数据包,从而降低第一无线终端的功耗以及软硬件资源的占用,同时减少了辅助数据包对通信资源的占用,详情请参见如下介绍。The present application discloses a broadcasting method applied to a Bluetooth data packet in a first wireless terminal, and a broadcast synchronization method applied to a Bluetooth data packet in a second wireless terminal, which can be used when the second wireless terminal has successfully synchronized to the Bluetooth After the broadcast period of the data packet, the first wireless terminal stops broadcasting the auxiliary data packet, thereby reducing the power consumption of the first wireless terminal and the occupation of software and hardware resources, and at the same time reducing the occupation of communication resources by the auxiliary data packet. For details, please refer to the following introduce.
请参考图3,图3是本申请一个示例性实施例提供的在第一无线终端中广播蓝牙数据包的方法的流程图。在图3中,该广播蓝牙数据包的方法包括:Please refer to FIG. 3 . FIG. 3 is a flow chart of a method for broadcasting a Bluetooth data packet in a first wireless terminal provided by an exemplary embodiment of the present application. In Fig. 3, the method for broadcasting the Bluetooth data packet includes:
步骤310,广播辅助数据包,辅助数据包用于提供广播周期和收发频点。 Step 310, broadcasting an auxiliary data packet, where the auxiliary data packet is used to provide a broadcast period and a sending and receiving frequency point.
在本申请实施例中,第一无线终端能够向周围的空间广播辅助数据包。In the embodiment of the present application, the first wireless terminal can broadcast the auxiliary data packet to the surrounding space.
在一种可能的实现方式中,若辅助数据包是一个数据包,则第一无线终端可以选择在蓝牙协议支持的信道中广播该辅助数据包。例如,第一无线终端可以将在频点37、频点38或者频点39上广播辅助数据包,以便第二无线终端从上述任意一个频点中接收辅助数据包。In a possible implementation manner, if the auxiliary data packet is a data packet, the first wireless terminal may choose to broadcast the auxiliary data packet in a channel supported by the Bluetooth protocol. For example, the first wireless terminal may broadcast the auxiliary data packet on the frequency point 37, the frequency point 38 or the frequency point 39, so that the second wireless terminal can receive the auxiliary data packet from any one of the above frequency points.
在另一种可能的实现方式中,若辅助数据包是一组数据包,则第一无线终端可以按照 该组数据中每一种数据包在频率和时间上的需求,广播相应种类的数据包。例如,若辅助数据包中包括第一类辅助数据包、第二类辅助数据包和第三类辅助数据包,则第一无线终端可以按照上述三类数据包各自需求的频率和时间,分别广播每一类辅助数据包。可选的,第一无线终端可以依次接收第一类辅助数据包、第二类辅助数据包和第三类辅助数据包。其中的第一类辅助数据包仍可以在频点37、频点38或者频点39上广播。In another possible implementation, if the auxiliary data packet is a group of data packets, the first wireless terminal may broadcast the corresponding type of data packet according to the frequency and time requirements of each type of data packet in the group of data . For example, if the auxiliary data packet includes the first type of auxiliary data packet, the second type of auxiliary data packet and the third type of auxiliary data packet, the first wireless terminal can respectively broadcast Ancillary data packets of each type. Optionally, the first wireless terminal may receive the first type of auxiliary data packet, the second type of auxiliary data packet, and the third type of auxiliary data packet in sequence. The first type of auxiliary data packets can still be broadcast on frequency 37 , frequency 38 or frequency 39 .
相应的,用于接收蓝牙数据包的广播周期和收发频点可以存储在上述三类数据中的第三类数据包中。然而,第二无线终端为了接收到第三类数据包,第二无线终端需要先得到用于接收第三类数据包的接收窗口。该时频信息存储在第二类数据包中。类似的,为了接收到第二类数据包,第二无线终端需要接收到第一类数据包,第一类数据包中存储有接收第一类数据包的时频信息。针对第一类数据包,第一无线终端可以在蓝牙广播信道上广播第一类数据包。Correspondingly, the broadcasting cycle and the sending and receiving frequency points for receiving the Bluetooth data packet may be stored in the third type of data packet among the above three types of data. However, in order for the second wireless terminal to receive the third type of data packet, the second wireless terminal first needs to obtain a receiving window for receiving the third type of data packet. The time-frequency information is stored in the second type of data packet. Similarly, in order to receive the second type of data packet, the second wireless terminal needs to receive the first type of data packet, and the time-frequency information for receiving the first type of data packet is stored in the first type of data packet. For the first type of data packet, the first wireless terminal may broadcast the first type of data packet on the Bluetooth broadcast channel.
换言之,第一无线终端可以持续广播第一类数据包、第二类数据包和第三类数据包。In other words, the first wireless terminal may continuously broadcast the first type of data packet, the second type of data packet and the third type of data packet.
请参见图4,图4是基于图3所示的实施例提供的一种辅助数据包的构成示意图。在图4中,第一无线终端在频点37、频点38和频点39广播第一类数据包410。第一类数据包410中包括第一时频信息。第一无线终端在第一时频信息指示的发送窗口中发送第二类数据包420。第二类数据包420中包括第二时频信息。第一无线终端在第二时频信息指示的发送窗口中发送第三类数据包430。第三类数据包430中包括收发频点和广播周期。可选地,第二类数据包420可以是AUX数据包;第三类数据包430可以是Periodic数据包。可选地,第一时频信息和第二时频信息中均包括发送的时间点和频点信息。Please refer to FIG. 4 . FIG. 4 is a schematic diagram of the composition of an auxiliary data packet provided based on the embodiment shown in FIG. 3 . In FIG. 4 , the first wireless terminal broadcasts a first-type data packet 410 at frequency point 37 , frequency point 38 and frequency point 39 . The first type of data packet 410 includes first time-frequency information. The first wireless terminal sends the second-type data packet 420 in the sending window indicated by the first time-frequency information. The second type of data packet 420 includes second time-frequency information. The first wireless terminal sends the third type data packet 430 in the sending window indicated by the second time-frequency information. The third type of data packet 430 includes the sending and receiving frequencies and the broadcast period. Optionally, the second type of data packet 420 may be an AUX data packet; the third type of data packet 430 may be a Periodic data packet. Optionally, both the first time-frequency information and the second time-frequency information include time point and frequency point information for sending.
相应的,在第二无线终端,第二无线终端需要先接收到第一类数据包410,并根据第一类数据包410中的第一时频信息接收第二类数据包420。随后,第二无线终端能够根据第二类数据包420中的第二时频信息接收第三类数据包430,最终通过解码第三类数据包430得到收发频点和广播周期。Correspondingly, in the second wireless terminal, the second wireless terminal needs to receive the first type of data packet 410 first, and then receive the second type of data packet 420 according to the first time-frequency information in the first type of data packet 410 . Subsequently, the second wireless terminal can receive the third type of data packet 430 according to the second time-frequency information in the second type of data packet 420 , and finally obtain the transceiving frequency point and broadcast period by decoding the third type of data packet 430 .
步骤320,基于广播周期,在收发频点上周期性广播蓝牙数据包。 Step 320, based on the broadcast period, periodically broadcast the Bluetooth data packet on the transceiver frequency point.
在本申请实施例中,第一无线终端能够基于上述广播周期,在收发频点上周期性广播蓝牙数据包。需要说明的是,本申请不对步骤320与步骤310的执行次序进行限定。第一无线终端既可以先执行步骤310再执行步骤320,也可以先执行步骤320再执行步骤310。In the embodiment of the present application, the first wireless terminal can periodically broadcast the Bluetooth data packet on the transmitting and receiving frequency point based on the broadcast period. It should be noted that this application does not limit the execution order of step 320 and step 310 . The first wireless terminal may first perform step 310 and then perform step 320 , or may first perform step 320 and then perform step 310 .
可选地,每次广播的蓝牙数据包既可以是首发数据包,也可以是重发数据包,本申请实施例对此不作限定。其中,首发数据包是第一无线终端第一次发送的蓝牙数据包;重发数据包指第一无线终端已发送过该类型的蓝牙数据包,并再次发送该蓝牙数据包时的数据包。Optionally, the Bluetooth data packet broadcast each time may be a first data packet or a retransmission data packet, which is not limited in this embodiment of the present application. Wherein, the first data packet is the Bluetooth data packet sent by the first wireless terminal for the first time; the retransmission data packet refers to the data packet when the first wireless terminal has sent this type of Bluetooth data packet and sends the Bluetooth data packet again.
步骤330,从第二无线终端接收第一消息,第一消息用于指示第二无线终端已同步到广播周期。Step 330: Receive a first message from the second wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
在本申请实施例中,第一无线终端能够接收第一消息,该第一消息可以是通过ADV广播发送的数据包。In this embodiment of the present application, the first wireless terminal can receive the first message, and the first message may be a data packet sent through ADV broadcast.
在一种可能的实现方式中,第一无线终端可以解析该第一消息,解析后的第一消息用于指示发送第一消息的第二无线终端已同步到蓝牙数据包的广播周期。需要说明的是,当第二无线终端已同步到蓝牙数据包的广播周期时,说明第二无线终端能够按照广播周期接收到第一无线终端发送的每一个蓝牙数据包。In a possible implementation manner, the first wireless terminal may parse the first message, and the parsed first message is used to indicate that the second wireless terminal sending the first message has synchronized to the broadcast period of the Bluetooth data packet. It should be noted that when the second wireless terminal has been synchronized to the broadcast period of the Bluetooth data packet, it means that the second wireless terminal can receive each Bluetooth data packet sent by the first wireless terminal according to the broadcast period.
步骤340,在满足第一预设条件时,停止广播辅助数据包。 Step 340, when the first preset condition is met, stop broadcasting the auxiliary data packet.
在本申请实施例中,第一无线终端能够判断当前的环境信息是否满足第一预设条件。在一种可能的方式中,第二无线终端是否接收到辅助数据包的情况可以作为一种环境信息。In this embodiment of the present application, the first wireless terminal can determine whether the current environment information satisfies the first preset condition. In a possible manner, whether the second wireless terminal receives the auxiliary data packet may be used as a kind of environment information.
可选的,在辅助数据包已经成功广播至第二无线终端,并且该第二无线终端是第一无线终端希望将辅助数据包发送到的终端时,第一无线终端无需再发送辅助数据包。第一无 线终端认为该情况满足第一预设条件,故停止广播辅助数据包。Optionally, when the auxiliary data packet has been successfully broadcast to the second wireless terminal, and the second wireless terminal is the terminal to which the first wireless terminal wishes to send the auxiliary data packet, the first wireless terminal does not need to send the auxiliary data packet. The first wireless terminal considers that the situation meets the first preset condition, so it stops broadcasting the auxiliary data packet.
需要说明的是,第一预设条件用于识别第二无线终端是否第一无线终端希望接收到辅助数据包的设备。It should be noted that the first preset condition is used to identify whether the second wireless terminal is a device that the first wireless terminal wishes to receive the auxiliary data packet.
可选的,第一无线终端在第一消息指示的第二无线终端是预设的终端时,停止广播辅助数据包。其中,第一无线终端中可以预先存储第二无线终端的标识。Optionally, the first wireless terminal stops broadcasting the auxiliary data packet when the second wireless terminal indicated by the first message is a preset terminal. Wherein, the identifier of the second wireless terminal may be pre-stored in the first wireless terminal.
可选的,第一无线终端还能够从第一消息中获取到第二无线终端的标识,并将该第二无线终端的标识在本地进行验证。在一种可能的验证方式中,第一无线终端能够在本地维护一个标识名单(list),名单中既可以包括一个设备的标识,也可以包括多个设备的标识。Optionally, the first wireless terminal can also obtain the identity of the second wireless terminal from the first message, and verify the identity of the second wireless terminal locally. In a possible verification manner, the first wireless terminal can maintain an identification list (list) locally, and the list may include an identification of a device or identifications of multiple devices.
当第二无线终端的标识与本地已存储的标识匹配,则第一无线终端停止广播辅助数据包。若辅助数据包是一个指定的数据包,则第一无线终端停止广播该数据包即可。若辅助数据包包括多个类型的数据包,则第一无线终端停止广播上述多个类型的数据包。When the identifier of the second wireless terminal matches the locally stored identifier, the first wireless terminal stops broadcasting the auxiliary data packet. If the auxiliary data packet is a designated data packet, it is only necessary for the first wireless terminal to stop broadcasting the data packet. If the auxiliary data packet includes data packets of multiple types, the first wireless terminal stops broadcasting the data packets of multiple types.
综上所述,本实施例提供的在第一无线终端中广播蓝牙数据包的方法,能够通过第一无线终端向周围广播辅助数据包,辅助数据包提供有广播周期和收发频点,终端基于广播周期在收发频点上广播蓝牙数据包,在接收到用于指示第二无线终端已同步到蓝牙数据包的广播周期的第一消息后,在满足第一预设条件时,停止广播辅助数据包。由于第一无线终端能够接收第二无线终端的反馈消息,并根据反馈消息确认蓝牙广播是否已被同步,在蓝牙广播已被同步时,停止广播辅助数据包,从而降低了第一无线终端的能耗,并减少对通信资源的占用。In summary, the method for broadcasting Bluetooth data packets in the first wireless terminal provided by this embodiment can broadcast auxiliary data packets to the surroundings through the first wireless terminal. The auxiliary data packets are provided with a broadcast period and a sending and receiving frequency point. The broadcast cycle broadcasts the Bluetooth data packet on the transceiver frequency point, and after receiving the first message indicating that the second wireless terminal has been synchronized to the broadcast cycle of the Bluetooth data packet, when the first preset condition is met, stop broadcasting the auxiliary data Bag. Because the first wireless terminal can receive the feedback message of the second wireless terminal, and confirm whether the Bluetooth broadcast has been synchronized according to the feedback message, when the Bluetooth broadcast has been synchronized, stop broadcasting the auxiliary data packet, thereby reducing the performance of the first wireless terminal. Consumption, and reduce the occupation of communication resources.
本申请实施例提供的在第一无线终端中广播蓝牙数据包的方法包括:The method for broadcasting a Bluetooth data packet in a first wireless terminal provided in an embodiment of the present application includes:
可选的,基于广播周期,在收发频点上周期性广播蓝牙数据包,包括:Optionally, based on the broadcast period, the Bluetooth data packet is periodically broadcast on the transceiver frequency point, including:
在收发频点上,以广播同步流BIS的形式按照广播周期广播蓝牙数据包。On the transceiver frequency point, the bluetooth data packet is broadcast according to the broadcast cycle in the form of broadcast synchronous stream BIS.
可选的,第一消息由第二无线终端周期性发送,方法还包括:Optionally, the first message is periodically sent by the second wireless terminal, and the method further includes:
响应于停止广播辅助数据包,向第二无线终端发送第二消息,第二消息用于指示第二无线终端停止周期性发送第一消息。In response to stopping broadcasting the auxiliary data packet, sending a second message to the second wireless terminal, the second message is used to instruct the second wireless terminal to stop periodically sending the first message.
可选的,响应于停止广播辅助数据包,向第二无线终端发送第二消息,包括:Optionally, in response to stopping broadcasting the auxiliary data packet, sending a second message to the second wireless terminal, including:
确定接收到第一消息的频点;以及determining the frequency point at which the first message is received; and
响应于停止广播辅助数据包,在频点上向第二无线终端发送第二消息。In response to stopping broadcasting of the auxiliary data packet, a second message is sent to the second wireless terminal on the frequency point.
可选的,第一消息包括第二无线终端的标识,在满足第一预设条件时,停止广播辅助数据包,包括:Optionally, the first message includes the identity of the second wireless terminal, and when the first preset condition is met, stop broadcasting the auxiliary data packet, including:
若第二无线终端的标识与标识列表的标识匹配,则将第二无线终端标记为已同步;以及marking the second wireless terminal as synchronized if the identity of the second wireless terminal matches the identity of the list of identities; and
响应于第一无线终端的标识列表中的每一个标识均标记为已同步,停止广播辅助数据包。Responsive to each identity in the list of identities of the first wireless terminal being marked as synchronized, broadcasting of assistance data packets ceases.
可选的,标识是蓝牙地址。Optionally, the identifier is a Bluetooth address.
可选的,在满足第一预设条件时,停止广播辅助数据包,包括:Optionally, when the first preset condition is met, stop broadcasting the auxiliary data packet, including:
响应于接收到第一消息后的时长大于预设阈值,停止广播辅助数据包。In response to the time period after receiving the first message being greater than a preset threshold, stop broadcasting the auxiliary data packet.
可选的,方法还包括:Optionally, the method also includes:
扫描周围的待匹配的无线终端的特征信息;Scan the characteristic information of the wireless terminal to be matched around;
响应于特征信息符合第二预设条件,将待匹配的无线终端的标识保存到第一无线终端的标识列表中。In response to the characteristic information meeting the second preset condition, the identifier of the wireless terminal to be matched is stored in the identifier list of the first wireless terminal.
可选的,接收第一消息,包括:Optionally, receiving the first message includes:
通过短距离无线通信协议接收第一消息,短距离无线通信协议包括蓝牙协议、WiFi协议以及ZigBee协议中的一种。The first message is received through a short-distance wireless communication protocol, and the short-distance wireless communication protocol includes one of the Bluetooth protocol, the WiFi protocol, and the ZigBee protocol.
可选的,短距离无线通信协议是蓝牙协议,通过短距离无线通信协议接收第一消息,包括:Optionally, the short-distance wireless communication protocol is a Bluetooth protocol, and receiving the first message through the short-distance wireless communication protocol includes:
与第二无线终端建立蓝牙物理链路ACL;以及Establish a Bluetooth physical link ACL with the second wireless terminal; and
经由蓝牙物理链路ACL接收第一消息。The first message is received via the Bluetooth physical link ACL.
可选的,第一无线终端是移动终端、平板电脑、智能电视和蓝牙音箱中的至少一种。Optionally, the first wireless terminal is at least one of a mobile terminal, a tablet computer, a smart TV, and a Bluetooth speaker.
本申请实施例还提供一种在第二无线终端中接收蓝牙数据包的方法,作为第一无线终端对端的第二无线终端中应用的方法,详情可参见如下实施例。The embodiment of the present application also provides a method for receiving a Bluetooth data packet in the second wireless terminal, as a method applied in the second wireless terminal opposite to the first wireless terminal. For details, refer to the following embodiments.
请参见图5,图5是本申请实施例提供的一种在第二无线终端中接收蓝牙数据包的方法的流程图。在图5中,该蓝牙数据包的广播同步方法,包括:Please refer to FIG. 5 . FIG. 5 is a flow chart of a method for receiving a Bluetooth data packet in a second wireless terminal according to an embodiment of the present application. In Fig. 5, the broadcast synchronization method of the Bluetooth data packet includes:
步骤510,从第一无线终端接收辅助数据包,辅助数据包用于提供广播周期和收发频点。 Step 510, receiving an auxiliary data packet from the first wireless terminal, where the auxiliary data packet is used to provide a broadcast period and a frequency point for sending and receiving.
在本申请实施例中,第二无线终端能够接收辅助数据包。第二无线终端在接收到辅助数据包之后,将通过解析该辅助数据包获知该辅助数据包的来源,从而确定该辅助数据包的来源是第一无线终端。In the embodiment of the present application, the second wireless terminal can receive the auxiliary data packet. After receiving the auxiliary data packet, the second wireless terminal will analyze the auxiliary data packet to know the source of the auxiliary data packet, so as to determine that the source of the auxiliary data packet is the first wireless terminal.
在一种可能的实现方式中,若辅助数据包是一个数据包,则该辅助数据包可以在频点37、频点38和频点39中发送,以便第二无线终端快速发现该辅助数据包。需要说明的是,在蓝牙广播场景中,频点37、频点38和频点39是常用的广播控制数据包的频点。In a possible implementation, if the auxiliary data packet is a data packet, the auxiliary data packet can be sent at frequency point 37, frequency point 38, and frequency point 39, so that the second wireless terminal can quickly discover the auxiliary data packet . It should be noted that, in the Bluetooth broadcasting scenario, frequency points 37, 38, and 39 are commonly used frequencies of broadcast control data packets.
在另一种可能的实现方式中,若辅助数据包是多个数据包,则该辅助数据包中的第一类数据包可以在频点37、频点38和频点39中发送,第二无线终端从该第一类数据包中解析出接收下一类数据包的接收窗口,并在接收到下一类数据包后继续解析出接收再下一类数据包的接收窗口,直至出现一类数据包中包含的信息是用于广播蓝牙数据包的广播周期和收发频点。In another possible implementation, if the auxiliary data packet is a plurality of data packets, the first type of data packet in the auxiliary data packet can be sent at frequency point 37, frequency point 38, and frequency point 39, and the second The wireless terminal parses out the receiving window for receiving the next type of data packet from the first type of data packet, and continues to parse out the receiving window for receiving the next type of data packet after receiving the next type of data packet until a type of data packet appears. The information contained in the data packet is the broadcast cycle and the frequency of sending and receiving for broadcasting the Bluetooth data packet.
需要说明的是,本申请实施例不对辅助数据包的数目或者种类数进行限定,任意能够实现辅助数据包中携带广播周期和收发频点的形式均可以实现。It should be noted that the embodiment of the present application does not limit the number or types of auxiliary data packets, and any form that can carry the broadcast cycle and sending and receiving frequency points in the auxiliary data packets can be implemented.
步骤520,基于广播周期和收发频点,确定接收窗口。Step 520: Determine the receiving window based on the broadcast period and the frequency of sending and receiving.
在本申请实施例中,第二无线终端能够基于广播周期确定下一个接收窗口开始的时间。例如,该广播周期可以以offset(偏置)的数据形式存在。若广播周期为T,第二无线终端将接收到包含广播周期和收发频点的辅助数据包的时刻t1+T确定为下一个接收窗口开始的时间。In the embodiment of the present application, the second wireless terminal can determine the start time of the next receiving window based on the broadcast period. For example, the broadcast period may exist in the form of offset (offset) data. If the broadcast period is T, the second wireless terminal determines the time t1+T when receiving the auxiliary data packet including the broadcast period and the sending and receiving frequency point as the start time of the next receiving window.
第二无线终端将频域位于收发频点且时域起点为t1+T的窗口确定为接收蓝牙数据包的接收窗口。The second wireless terminal determines the window whose frequency domain is located at the transceiving frequency point and whose starting point of the time domain is t1+T as the receiving window for receiving the Bluetooth data packet.
步骤530,基于接收窗口与广播周期同步。 Step 530, synchronize with the broadcast period based on the receiving window.
在本申请实施例中,第二无线终端能够基于接收窗口,与用于广播蓝牙数据包的广播周期同步。当第二无线终端同步到该广播周期之后,第二无线终端能够按照广播周期周期性接收到蓝牙数据包,从而实现了同步到蓝牙广播,并持续接收第一无线终端发送的蓝牙数据包的效果。In the embodiment of the present application, the second wireless terminal can synchronize with the broadcast period for broadcasting the Bluetooth data packet based on the receiving window. After the second wireless terminal is synchronized to the broadcast cycle, the second wireless terminal can periodically receive the Bluetooth data packets according to the broadcast cycle, thereby achieving the effect of synchronizing to the Bluetooth broadcast and continuously receiving the Bluetooth data packets sent by the first wireless terminal .
步骤540,响应于第二无线终端已与广播周期同步,从第一无线终端周期性接收蓝牙数据包。 Step 540, periodically receiving Bluetooth data packets from the first wireless terminal in response to the second wireless terminal having synchronized with the broadcast cycle.
在本申请实施例中,在第二无线终端已与广播周期同步后,第二无线终端能够从第一无线终端周期性接收蓝牙数据包。因此,第二无线终端将能够持续接收到第一无线终端周期性广播的蓝牙数据包。In the embodiment of the present application, after the second wireless terminal is synchronized with the broadcast period, the second wireless terminal can periodically receive the Bluetooth data packet from the first wireless terminal. Therefore, the second wireless terminal will be able to continuously receive the Bluetooth data packets periodically broadcast by the first wireless terminal.
步骤550,向第一无线终端发送第一消息,第一消息用于指示第二无线终端已同步到广播周期。Step 550: Send a first message to the first wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
在本申请实施例中,第二无线终端能够在与用于广播蓝牙数据包的广播周期同步后,向第一无线终端发送第一消息。由于本例中以第一无线终端发送辅助数据包为例进行了说明。因此,在该实施场景中,第二无线终端向第一无线终端发送了第一消息。In the embodiment of the present application, the second wireless terminal can send the first message to the first wireless terminal after being synchronized with the broadcast cycle for broadcasting the Bluetooth data packet. In this example, the sending of the auxiliary data packet by the first wireless terminal is taken as an example for description. Therefore, in this implementation scenario, the second wireless terminal sends the first message to the first wireless terminal.
需要说明的是,该第一消息可以起到ACK消息的作用,实现了通知第一无线终端其广播的辅助数据包是否被成功接收。当第一无线终端接收到第一消息,第一无线终端则会知晓第二无线终端成功地接收到了辅助数据包并与广播蓝牙数据包的广播周期同步。It should be noted that, the first message may function as an ACK message, which realizes notifying the first wireless terminal whether the auxiliary data packet broadcast by it is successfully received. When the first wireless terminal receives the first message, the first wireless terminal will know that the second wireless terminal has successfully received the auxiliary data packet and is synchronized with the broadcast cycle of broadcasting the Bluetooth data packet.
综上所述,本申请所示的方案,能够令第二无线终端通过接收辅助数据包,解析出接收蓝牙数据包的广播周期和收发频点,并根据广播周期和收发频点确定出接收窗口,基于接收窗口与广播蓝牙数据包的广播周期同步并周期性接收蓝牙数据包。在此基础上,第二无线终端还能够向第一无线终端反馈第一消息,第一消息用于向第一无线终端反馈自身已与广播周期同步的信息,提高了第一无线终端知晓自身广播的辅助数据包的接收情况的能力,进而优化了蓝牙广播系统的效率,降低了无谓的电能和通信资源消耗。To sum up, the scheme shown in this application can enable the second wireless terminal to analyze the broadcast cycle and transceiver frequency for receiving the Bluetooth data packet by receiving the auxiliary data packet, and determine the receiving window according to the broadcast cycle and the transceiver frequency , based on the receiving window and the broadcast period of the broadcast Bluetooth data packet synchronization and periodically receive the Bluetooth data packet. On this basis, the second wireless terminal can also feed back the first message to the first wireless terminal. The first message is used to feed back the information that it has synchronized with the broadcast cycle to the first wireless terminal, which improves the awareness of the first wireless terminal that it is broadcasting. The ability to receive auxiliary data packets, thereby optimizing the efficiency of the Bluetooth broadcasting system, and reducing unnecessary consumption of power and communication resources.
本申请实施例提供的在第二无线终端中接收蓝牙数据包的方法包括:The method for receiving the Bluetooth data packet in the second wireless terminal provided in the embodiment of the present application includes:
可选的,从第一无线终端周期性接收蓝牙数据包,包括:Optionally, periodically receiving the Bluetooth data packet from the first wireless terminal includes:
在接收窗口上,以广播同步流BIS的形式从第一无线终端周期性接收蓝牙数据包。On the receiving window, Bluetooth data packets are periodically received from the first wireless terminal in the form of a broadcast isochronous stream BIS.
可选的,方法还包括:Optionally, the method also includes:
从第一无线终端接收第二消息,第二消息用于指示第二无线终端已接收到第一消息;以及receiving a second message from the first wireless terminal, the second message indicating that the second wireless terminal has received the first message; and
停止广播第一消息。Stop broadcasting the first message.
可选的,第二无线终端是蓝牙音箱、移动终端和无线耳机中的至少一种。Optionally, the second wireless terminal is at least one of a Bluetooth speaker, a mobile terminal and a wireless earphone.
基于上一个实施例所公开的方案,第一无线终端还能够通知第二无线终端停止广播,以及通过其他方法接收到第一消息,请参考如下实施例。Based on the solution disclosed in the previous embodiment, the first wireless terminal can also notify the second wireless terminal to stop broadcasting, and receive the first message through other methods, please refer to the following embodiment.
请参见图6,图6是本申请另一个示例性实施例提供的一种蓝牙数据包的广播及接收的方法流程图。该方法可以由第一无线终端和第二无线终端配合实现。在图6中,该方法包括:Please refer to FIG. 6 . FIG. 6 is a flow chart of a method for broadcasting and receiving Bluetooth data packets according to another exemplary embodiment of the present application. The method can be implemented by cooperation of the first wireless terminal and the second wireless terminal. In Figure 6, the method includes:
步骤611,第一无线终端广播辅助数据包。Step 611, the first wireless terminal broadcasts an auxiliary data packet.
在本申请实施例中,步骤611的执行过程和步骤310的执行过程相同,此处不再赘述。In the embodiment of the present application, the execution process of step 611 is the same as the execution process of step 310, and will not be repeated here.
相应地,第二无线终端从第一无线终端接收辅助数据包。Accordingly, the second wireless terminal receives the assistance data packet from the first wireless terminal.
在本申请实施例中,第二无线终端接收辅助数据包的执行过程和步骤510的执行过程相同,此处不再赘述。In the embodiment of the present application, the execution process of the second wireless terminal receiving the auxiliary data packet is the same as the execution process of step 510, and will not be repeated here.
步骤612,第二无线终端解析辅助数据包得到广播周期和收发频点,并基于广播周期和收发频点确定下一个接收窗口。Step 612, the second wireless terminal parses the auxiliary data packet to obtain the broadcast cycle and the frequency of sending and receiving, and determines the next receiving window based on the broadcast cycle and the frequency of sending and receiving.
在本申请实施例中,第二无线终端可以记录接收到辅助数据包的时刻,并在该时刻的基础上加上广播周期,从而得到下一个接收窗口的开始时刻,结合收发频点,确定下一个接收蓝牙数据包的接收窗口。In the embodiment of the present application, the second wireless terminal can record the time when the auxiliary data packet is received, and add the broadcast period on the basis of this time, so as to obtain the start time of the next receiving window, and determine the next A receive window for receiving Bluetooth packets.
步骤613,第二无线终端基于接收窗口与用于广播蓝牙数据包的广播周期同步。Step 613, the second wireless terminal synchronizes with the broadcast period for broadcasting the Bluetooth data packet based on the receiving window.
可选地,第二无线终端在于用于广播蓝牙数据包的广播周期同步后,第二无线终端将能够自确定出的接收窗口开始,在之后的每一个用于接收蓝牙数据包的接收窗口接收到蓝牙数据包。Optionally, after the second wireless terminal is synchronized with the broadcast cycle for broadcasting Bluetooth data packets, the second wireless terminal will be able to start from the determined receiving window, and receive to the Bluetooth packet.
步骤614,第一无线终端在收发频点上,以广播同步流BIS的形式按照广播周期广播蓝牙数据包。Step 614, the first wireless terminal broadcasts the bluetooth data packet in the form of a broadcast synchronous stream BIS according to the broadcast period on the transceiver frequency point.
在本申请实施例中,第一无线终端在收发频点上,以广播同步流BIS的形式按照广播周期来周期性广播蓝牙数据包。需要说明的是,步骤614的开始点可以早于步骤611。步骤614也可以响应于步骤611执行完成后开始执行。In the embodiment of the present application, the first wireless terminal periodically broadcasts the Bluetooth data packet in the form of a broadcast synchronous stream BIS at the transceiver frequency point according to the broadcast period. It should be noted that the starting point of step 614 may be earlier than step 611. Step 614 may also be executed in response to completion of step 611 .
相应地,第二无线终端在接收窗口上,以广播同步流BIS的形式周期性接收蓝牙数据包。Correspondingly, the second wireless terminal periodically receives the Bluetooth data packet in the form of broadcast synchronous stream BIS in the receiving window.
步骤615,第二无线终端向第一无线终端发送第一消息。Step 615, the second wireless terminal sends the first message to the first wireless terminal.
相应地,第一无线终端接收第二无线终端发送的第一消息。在一种可能的实施方式中,第一无线终端可以通过后台监听第一消息。Correspondingly, the first wireless terminal receives the first message sent by the second wireless terminal. In a possible implementation manner, the first wireless terminal may monitor the first message through a background.
本申请实施例中,第一消息可以是通过ADV广播。In this embodiment of the present application, the first message may be broadcast through ADV.
步骤616,响应于第二无线终端的标识与标识列表中的标识匹配,将第二无线终端标记为已同步。Step 616, marking the second wireless terminal as synchronized in response to the identity of the second wireless terminal matching the identity in the identity list.
其中,第一消息中包括第二无线终端的标识。标识可以是唯一能够标识终端的身份的信息。Wherein, the first message includes the identifier of the second wireless terminal. The identifier may be information that can uniquely identify the identity of the terminal.
一方面,标识可以是蓝牙地址或MAC(Media Access Control Address,媒体存取控制位址)等硬件地址。由于终端中安装了相应的硬件组件后,一般不会出现更换硬件的情况。因此,硬件地址能够较为准确表示指定的移动终端。On the one hand, the identifier can be a hardware address such as a Bluetooth address or a MAC (Media Access Control Address, Media Access Control Address). After the corresponding hardware components are installed in the terminal, generally there will be no hardware replacement. Therefore, the hardware address can more accurately represent the designated mobile terminal.
另一方面,标识还可以是标准化组织准备的字符串。例如,标识可以是IMEI(International Mobile Equipment Identification Number,国际移动设备识别码)、ESN(Electronic Serial Numbers,电子序列号)或MEID(Mobile Equipment Identifier,移动设备识别码)。On the other hand, the identifier can also be a character string prepared by a standardization organization. For example, the identifier can be IMEI (International Mobile Equipment Identification Number, International Mobile Equipment Identification Number), ESN (Electronic Serial Numbers, Electronic Serial Number) or MEID (Mobile Equipment Identifier, Mobile Equipment Identifier).
可选的,当标识是蓝牙地址时,第一无线终端能够响应于第一消息中包括的蓝牙地址与第一无线终端的标识列表中的蓝牙地址相匹配,将第二无线终端标记为已同步。Optionally, when the identifier is a Bluetooth address, the first wireless terminal can mark the second wireless terminal as synchronized in response to the Bluetooth address included in the first message matching the Bluetooth address in the identifier list of the first wireless terminal .
在本申请实施例中,第一无线终端可以通过执行步骤(a1)、步骤(a2)和步骤(a3)来实现预先建立第一无线终端的标识列表。可选地,该标识列表可以是白名单。In this embodiment of the present application, the first wireless terminal may implement step (a1), step (a2) and step (a3) to realize pre-establishing the identification list of the first wireless terminal. Optionally, the identification list may be a white list.
步骤(a1),扫描周围的待匹配设备的特征信息。Step (a1), scan the feature information of the surrounding devices to be matched.
可选地,第一无线终端能够扫描周围的待匹配设备的特征信息。其中,该特征信息可以是设备的型号、IMEI(International Mobile Equipment Identity,国际移动设备识别码)、MAC(Media Access Control Address,媒体存取控制位址)地址或蓝牙地址中的任意一种特征信息。Optionally, the first wireless terminal can scan the feature information of surrounding devices to be matched. Among them, the feature information can be any feature information in the model of the device, IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity), MAC (Media Access Control Address, Media Access Control Address) address or Bluetooth address .
步骤(a2),响应于特征信息符合第二预设条件,获取待匹配设备的标识。Step (a2), in response to the fact that the characteristic information meets the second preset condition, the identifier of the device to be matched is acquired.
可选地,第一无线终端中可以存储有第二预设条件。其中,该第二预设条件用于识别与第一无线终端匹配的第二无线终端。在实际的应用场景中,第一无线终端和第二无线终端可以是配套使用的一组设备。例如,第一无线终端是智能电视,第二无线终端是多个蓝牙音箱。或者,第一无线终端是智能手机,第二无线终端是多个蓝牙音箱。Optionally, the second preset condition may be stored in the first wireless terminal. Wherein, the second preset condition is used to identify a second wireless terminal that matches the first wireless terminal. In an actual application scenario, the first wireless terminal and the second wireless terminal may be a group of devices used in conjunction. For example, the first wireless terminal is a smart TV, and the second wireless terminal is multiple Bluetooth speakers. Alternatively, the first wireless terminal is a smart phone, and the second wireless terminal is a plurality of bluetooth speakers.
1)第二预设条件是特征信息中包含有指定的字符串。1) The second preset condition is that the feature information contains a specified character string.
例如,指定的字符串是14:77:40:??:??:??。当特征信息的前6位字符和指定的字符串相同时,第一无线终端确定特征信息符合第二预设条件。需要说明的是,后边6位由于数值上不作要求,因此,该字符串的后六位以问号“?”来表示。For example, the specified string is 14:77:40:? ? :? ? :? ? . When the first 6 characters of the feature information are the same as the specified character string, the first wireless terminal determines that the feature information meets the second preset condition. It should be noted that the last six digits of the character string are represented by a question mark "?" because there is no numerical requirement for the last six digits.
2)第二预设条件是特征信息中处于预设区间中。2) The second preset condition is that the feature information is in a preset interval.
例如,预设区间是14:77:40:74:34:00~14:77:40:74:34:EE。当特征信息的字符落入上述预设区间时,第一无线终端确定特征信息符合第二预设条件。For example, the preset interval is 14:77:40:74:34:00˜14:77:40:74:34:EE. When the character of the feature information falls within the above preset range, the first wireless terminal determines that the feature information meets the second preset condition.
响应于特征信息符合第二预设条件,第一无线终端获取待匹配设备的蓝牙地址。In response to the feature information meeting the second preset condition, the first wireless terminal obtains the Bluetooth address of the device to be matched.
步骤(a3),将待匹配设备的标识保存到第一无线终端的标识列表中。Step (a3), saving the identification of the device to be matched in the identification list of the first wireless terminal.
请参考图7,图7是基于图6所示实施例提供的一种第一无线终端的标识列表的添加示意图。在图7中,以标识是蓝牙地址为例进行说明,第一无线终端扫描周围的待匹配设备,待匹配设备包括第一待匹配设备71、第二待匹配设备72、第三待匹配设备73和第四待匹配设备74。第一无线终端验证上述四个设备后,确认第一待匹配设备71、第二待匹配设备72、第三待匹配设备73符合预设条件,则获取第一待匹配设备71、第二待匹配设备72、第三待匹配设备73各自的蓝牙地址,并将获取到的蓝牙地址添加至第一无线终端的标识列表中。Please refer to FIG. 7 , which is a schematic diagram of adding an identification list of a first wireless terminal based on the embodiment shown in FIG. 6 . In FIG. 7 , it is illustrated by taking the identification as an example of a Bluetooth address. The first wireless terminal scans surrounding devices to be matched, and the devices to be matched include a first device to be matched 71 , a second device to be matched 72 , and a third device to be matched 73 and the fourth device 74 to be matched. After verifying the above four devices, the first wireless terminal confirms that the first device to be matched 71, the second device to be matched 72, and the third device to be matched 73 meet the preset conditions, and then obtains the first device to be matched 71, the second device to be matched Bluetooth addresses of the device 72 and the third device 73 to be matched, and add the obtained Bluetooth addresses to the identification list of the first wireless terminal.
可选地,第一无线终端将获取到的蓝牙地址添加到第一无线终端的白名单中。Optionally, the first wireless terminal adds the obtained Bluetooth address to the white list of the first wireless terminal.
作为另一种可能的添加方式,第一无线终端可以提供用户手动添加的操作界面,以便用户手动将需要添加至标识列表中的设备的蓝牙地址手动添加。示意性地,操作界面可以是第一无线终端中安装的应用提供的用户界面。可选地,标识列表中的蓝牙地址还可以通过串口的方式添加。As another possible adding manner, the first wireless terminal may provide an operation interface for the user to manually add, so that the user manually adds the Bluetooth address of the device that needs to be added to the identification list. Schematically, the operation interface may be a user interface provided by an application installed in the first wireless terminal. Optionally, the Bluetooth address in the identification list can also be added through a serial port.
在本申请实施例中,第一无线终端能够预先将第二无线终端的蓝牙地址添加至本地维护的标识列表中。若第二无线终端的数量是多个,则第一无线终端可以将多个第二无线终端各自的蓝牙地址均添加至标识列表中。例如,若第二无线终端的数量是3个,则第一无线终端可以将3个第二无线终端各自的蓝牙地址均添加至标识列表中。请参见表1,表1示出了一种标识列表可能存储的数据。In this embodiment of the present application, the first wireless terminal can add the Bluetooth address of the second wireless terminal to the locally maintained identification list in advance. If there are multiple second wireless terminals, the first wireless terminal may add the respective Bluetooth addresses of the multiple second wireless terminals to the identification list. For example, if the number of second wireless terminals is three, the first wireless terminal may add the Bluetooth addresses of the three second wireless terminals to the identification list. Please refer to Table 1, which shows the data that may be stored in an identification list.
表1Table 1
Figure PCTCN2022085102-appb-000001
Figure PCTCN2022085102-appb-000001
步骤617,响应于标识列表中的每一个标识均标记为已同步,第一无线终端停止广播辅助数据包。Step 617, in response to each identifier in the identifier list being marked as synchronized, the first wireless terminal stops broadcasting the auxiliary data packet.
在本申请实施例中,第一无线终端既可以响应于标识列表中的每一个标识均被标记为已同步后,停止广播辅助数据包。第一无线终端也可以通过设定预设阈值的时长,在接收到第一消息后的系统持续时长大于预设阈值后,停止广播辅助数据包。例如,预设阈值可以是1分钟、2分钟或5分钟等数值。In this embodiment of the present application, the first wireless terminal may stop broadcasting the auxiliary data packet after each identifier in the identifier list is marked as synchronized. The first wireless terminal may also set the duration of the preset threshold, and stop broadcasting the auxiliary data packet after the system duration after receiving the first message is greater than the preset threshold. For example, the preset threshold may be a value such as 1 minute, 2 minutes or 5 minutes.
需要说明的是,若第一无线终端的标识列表中维护有多个第二无线终端,且多个第二无线终端均正常工作,则第一无线终端能够在标识列表中的每一个标识均被标记为已同步后,停止广播辅助数据包。然而,当标识列表中的部分第二无线终端因故障或处于第一无线终端的广播范围之外的原因而离线时,第一无线终端可以通过预设阈值的时长控制辅助数据包的广播,从而及时停止广播辅助数据包来降低了第一无线终端的能耗和通信资源的无谓消耗。It should be noted that if multiple second wireless terminals are maintained in the identification list of the first wireless terminal, and the multiple second wireless terminals are all working normally, each identification in the identification list of the first wireless terminal can be identified as After marking as synchronized, stop broadcasting auxiliary packets. However, when part of the second wireless terminals in the identification list are offline due to failure or being outside the broadcast range of the first wireless terminal, the first wireless terminal can control the broadcast of the auxiliary data packet by a preset threshold duration, thereby Stopping the broadcast of the auxiliary data packet in time reduces the energy consumption of the first wireless terminal and unnecessary consumption of communication resources.
示意性的,上述步骤616和步骤617可以被蓝牙协议规范5.2版本中规定的白名单过滤所替代,以实现相同的功能。Schematically, the above step 616 and step 617 can be replaced by the whitelist filtering specified in version 5.2 of the Bluetooth protocol specification, so as to achieve the same function.
步骤618,响应于停止广播辅助数据包,第一无线终端向第二无线终端发送第二消息,第二消息用于指示第二无线终端停止发送第一消息。Step 618, in response to stopping broadcasting the auxiliary data packet, the first wireless terminal sends a second message to the second wireless terminal, where the second message is used to instruct the second wireless terminal to stop sending the first message.
在本申请实施例中,第一无线终端能够先确定第一消息对应的频点,也即接收第一消息的频点。在确定出频点后,第一无线终端将停止广播辅助包之后,在频点上向第二无线终端发送第二消息。需要说明的是,该第二消息中可以携带有第二无线终端的设备标识。也即,第一无线终端向第二无线终端发送第二消息的通信形式可以是单播的形式。In the embodiment of the present application, the first wireless terminal can first determine the frequency point corresponding to the first message, that is, the frequency point for receiving the first message. After the frequency point is determined, the first wireless terminal stops broadcasting the auxiliary packet, and then sends the second message to the second wireless terminal on the frequency point. It should be noted that the second message may carry the device identifier of the second wireless terminal. That is, the communication form in which the first wireless terminal sends the second message to the second wireless terminal may be in a unicast form.
在本申请中,频点是被复用的频点,第一无线终端在确定出频点后,将复用该频点向第二无线终端发送第二消息。In this application, the frequency point is a multiplexed frequency point, and after determining the frequency point, the first wireless terminal will reuse the frequency point to send the second message to the second wireless terminal.
相应的,第二无线终端接收第一无线终端发送的第二消息,且第二消息用于指示第一无线终端已接收到第一消息。Correspondingly, the second wireless terminal receives the second message sent by the first wireless terminal, and the second message is used to indicate that the first wireless terminal has received the first message.
示意性的,第二消息可以是SCAN_REQ确认包。Schematically, the second message may be a SCAN_REQ confirmation packet.
步骤619,第二无线终端停止广播第一消息。Step 619, the second wireless terminal stops broadcasting the first message.
在本申请实施例中,第二无线终端将在第一无线终端接收到第一消息之前,周期性向第一无线终端发送该第一消息。本申请通过引入第一无线终端返回的第二消息来通知第二无线终端,以便第二无线终端停止发送不再需要的第一消息。In the embodiment of the present application, the second wireless terminal will periodically send the first message to the first wireless terminal before the first wireless terminal receives the first message. This application notifies the second wireless terminal by introducing the second message returned by the first wireless terminal, so that the second wireless terminal stops sending the unnecessary first message.
在一种可能的应用方式中,若第一无线终端和第二无线终端同时支持蓝牙协议规范5.2版本,则第二无线终端可以在发送SCAN_RSP数据包之后,停止广播第一消息。In a possible application manner, if both the first wireless terminal and the second wireless terminal support Bluetooth protocol specification version 5.2, the second wireless terminal may stop broadcasting the first message after sending the SCAN_RSP data packet.
示意性的,请参考图8,图8是本申请实施例提供的一种第二无线终端停止广播第一消息的示意图。在图8中,第一无线终端810通过AE广播(扩展广播)和PADV周期广播向第二无线终端820发送辅助数据包。同时,第一无线终端810通过广播同步流BIS的方式发送蓝牙数据包。第二无线终端820根据辅助数据包同步广播同步流BIS后,确认接收蓝牙数据包正常,已同步到BIS的广播周期并周期性接收蓝牙数据包,进而通过AE广播的方式向第一无线终端810发送第一消息。第一无线终端810通过扫描的方式接收到第一消息。第一无线终端810根据第一消息确认第二无线终端820已同步到BIS的广播周期后,向第二无线终端820发送第二消息,也即SCAN_REQ(扫描请求)消息。相应地,第二无线终端820在接收到第二消息后,确认满足停止条件,停止通过AE广播发送第一消息。For illustration, please refer to FIG. 8 , which is a schematic diagram of a second wireless terminal stopping broadcasting a first message provided by an embodiment of the present application. In FIG. 8, a first wireless terminal 810 transmits an auxiliary data packet to a second wireless terminal 820 through an AE broadcast (extended broadcast) and a PADV periodic broadcast. At the same time, the first wireless terminal 810 sends the Bluetooth data packet by broadcasting the synchronous stream BIS. After the second wireless terminal 820 synchronously broadcasts the synchronous flow BIS according to the auxiliary data packet, it confirms that the received Bluetooth data packet is normal, has been synchronized to the BIS broadcast cycle and periodically receives the Bluetooth data packet, and then broadcasts to the first wireless terminal 810 through AE Send the first message. The first wireless terminal 810 receives the first message in a scanning manner. After the first wireless terminal 810 confirms that the second wireless terminal 820 has synchronized to the broadcast period of the BIS according to the first message, it sends a second message, that is, a SCAN_REQ (scanning request) message to the second wireless terminal 820 . Correspondingly, after receiving the second message, the second wireless terminal 820 confirms that the stop condition is satisfied, and stops sending the first message through the AE broadcast.
请参考图9,图9是本申请提供的一种第一无线终端停止广播辅助数据包的示意图。在图9中,包括第一无线终端810,第二无线终端包括第一个第二无线终端821、第二个第二无线终端822和第三个第二无线终端823。需要说明的是,第一无线终端810与上述三个第二无线终端的信息交互逻辑和流程相同。以其中的第一个第二无线终端821为例进行介绍。第一无线终端810和第一个第二无线终端821之间的交互流程与图8中所示的流程类似,在图8所示的流程的基础上,第一个第二无线终端821在接收到第一无线终端810发送的第二消息,也即SCAN_REQ(扫描请求)消息,之后,还将向第一无线终端810发送SCAN_RSP(扫描回复)数据包。在图9所示的场景中,当第一个第二无线终端821、第二个第二无线终端822和第三个第二无线终端823均向第一无线终端810发送SCAN_RSP数据包之后,也即标识列表中的全部的蓝牙地址标记为已同步后,第一无线终端810停止广播辅助数据包。Please refer to FIG. 9 , which is a schematic diagram of a first wireless terminal stopping broadcasting auxiliary data packets provided in this application. In FIG. 9 , a first wireless terminal 810 is included, and the second wireless terminals include a first second wireless terminal 821 , a second second wireless terminal 822 and a third second wireless terminal 823 . It should be noted that the logic and flow of information interaction between the first wireless terminal 810 and the above three second wireless terminals are the same. The first second wireless terminal 821 among them is taken as an example for introduction. The interaction flow between the first wireless terminal 810 and the first second wireless terminal 821 is similar to the flow shown in FIG. 8 . On the basis of the flow shown in FIG. 8 , the first second wireless terminal 821 receives After the second message sent by the first wireless terminal 810 , that is, the SCAN_REQ (scan request) message, a SCAN_RSP (scan reply) data packet will be sent to the first wireless terminal 810 afterwards. In the scenario shown in FIG. 9, when the first second wireless terminal 821, the second second wireless terminal 822 and the third second wireless terminal 823 all send SCAN_RSP data packets to the first wireless terminal 810, also That is, after all the Bluetooth addresses in the identification list are marked as synchronized, the first wireless terminal 810 stops broadcasting the auxiliary data packet.
请参考图10,图10是本申请实施例提供的一种第一无线终端中基于BIS业务的数据包调度示意图。在图10中,包括第一调度阶段1010和第二调度阶段1020。Please refer to FIG. 10 , which is a schematic diagram of data packet scheduling based on a BIS service in a first wireless terminal according to an embodiment of the present application. In FIG. 10 , a first scheduling stage 1010 and a second scheduling stage 1020 are included.
在第一调度阶段1010中,PADV业务和BIS业务在t11时刻以及t13时刻冲突,第一无线终端通过优先级的设定,选择其中优先级较高的业务发送或预设的发送策略发送其中的一种业务对应的数据包。在图10的执行过程中,第一无线终端在t11时刻发送基于BIS业务的蓝牙数据包,在t13时刻发送PADV业务的周期广播数据包。AE广播(扩展广播)和BIS业务在t12时刻冲突,第一无线终端同样通过优先级的设定择其中优先级较高的业务发送。第一无线终端在t12时刻发送BIS业务的数据包。In the first scheduling stage 1010, when the PADV service and the BIS service collide at time t11 and t13, the first wireless terminal selects the service with higher priority to send or transmits the service with a preset sending strategy through priority setting. A data packet corresponding to a service. In the execution process of FIG. 10 , the first wireless terminal sends a Bluetooth data packet based on the BIS service at time t11, and sends a periodic broadcast data packet of the PADV service at time t13. The AE broadcast (extended broadcast) and the BIS service collide at time t12, and the first wireless terminal also selects the service with a higher priority to send through priority setting. The first wireless terminal sends the data packet of the BIS service at time t12.
可选地,第一调度阶段1010和第二调度阶段1020之间的分界点是锚点(Anchor)。在锚点之后,第一无线终端停止发送辅助数据包,落实到图10所示的场景中,作为辅助数据包的一部分的周期广播数据包、由频点37至频点39广播的数据包和协助数据包都将停止广播。因此,第一无线终端在第二调度阶段1020中,仅广播BIS业务的蓝牙数据包。Optionally, the boundary point between the first scheduling stage 1010 and the second scheduling stage 1020 is an anchor point (Anchor). After the anchor point, the first wireless terminal stops sending the auxiliary data packet. In the scenario shown in FIG. Assistance packets will stop broadcasting. Therefore, in the second scheduling stage 1020, the first wireless terminal only broadcasts the Bluetooth data packets of the BIS service.
综上所述,本实施例提供的蓝牙数据包的广播及广播同步方法,能够在现有的蓝牙广播规范的基础上,增加第一无线终端和第二无线终端之间的反馈渠道,通过反馈的方式及时停止第一无线终端中的广播的辅助数据包,并且能够及时停止第二无线终端中发送的第一消息,同时优化了第一无线终端和第二无线终端的能耗以及通信资源的占用,同时优化了蓝牙广播场景中第一无线终端和第二无线终端两端的资源消耗,并降低了第一无线终端并行广播多种业务二产生冲突的发生概率。To sum up, the Bluetooth data packet broadcast and broadcast synchronization method provided by this embodiment can increase the feedback channel between the first wireless terminal and the second wireless terminal on the basis of the existing Bluetooth broadcast specification. In a timely manner, the auxiliary data packets broadcast in the first wireless terminal can be stopped in time, and the first message sent in the second wireless terminal can be stopped in time, and at the same time, the energy consumption of the first wireless terminal and the second wireless terminal and the utilization of communication resources can be optimized. occupancy, and at the same time optimize resource consumption at both ends of the first wireless terminal and the second wireless terminal in the Bluetooth broadcasting scene, and reduce the probability of conflicts caused by the first wireless terminal broadcasting multiple services in parallel.
基于上述实施例所示的方法,本申请实施例还提供一种蓝牙数据包的广播方法,能够在图4所示实施例的基础上通过多种方式接收到第一消息,请参考如下实施例。Based on the methods shown in the above embodiments, the embodiments of the present application also provide a method for broadcasting Bluetooth data packets, which can receive the first message in various ways on the basis of the embodiment shown in Figure 4, please refer to the following embodiments .
请参考图11,图11是基于图3所示的蓝牙数据包的广播方法提供的部分步骤的流程 图,在图11中,终端在执行完成步骤320后,可以执行步骤1110。在步骤1110执行完成之后,第一无线终端继续执行步骤340。其中,步骤1110的执行过程分述如下:Please refer to FIG. 11. FIG. 11 is a flow chart of some steps provided based on the Bluetooth data packet broadcasting method shown in FIG. 3. In FIG. After step 1110 is executed, the first wireless terminal continues to execute step 340 . Wherein, the execution process of step 1110 is described as follows:
步骤1110,通过短距离无线通信协议接收第一消息,短距离无线通信协议包括蓝牙协议、WiFi协议和ZigBee协议中的一种。Step 1110: Receive the first message through a short-distance wireless communication protocol. The short-distance wireless communication protocol includes one of the Bluetooth protocol, the WiFi protocol, and the ZigBee protocol.
在本申请实施例中,第一无线终端能够通过短距离无线通信协议接收第一消息。需要说明的是,短距离无线通信协议可以是蓝牙协议、无线保真WiFi协议和紫峰ZigBee协议中的任意一种。第一无线终端和第二无线终端可以同时支持上述短距离无线通信协议即可。In this embodiment of the present application, the first wireless terminal can receive the first message through a short-distance wireless communication protocol. It should be noted that the short-distance wireless communication protocol may be any one of Bluetooth protocol, Wi-Fi protocol and ZigBee protocol. It is sufficient that the first wireless terminal and the second wireless terminal can simultaneously support the foregoing short-distance wireless communication protocol.
需要说明的是,若存在其他能够将第一消息从第二无线终端发送至第一无线终端的通信协议,也在本申请所示的方案的保护范围中,本申请对此不作限定。It should be noted that if there is another communication protocol capable of sending the first message from the second wireless terminal to the first wireless terminal, it is also within the protection scope of the solution shown in this application, and this application does not limit it.
可选的,当短距离无线通信协议是蓝牙协议时,第一无线终端还可以通过执行步骤(b1)和步骤(b2)来替代步骤1110。Optionally, when the short-distance wireless communication protocol is the Bluetooth protocol, the first wireless terminal may also perform step (b1) and step (b2) instead of step 1110.
步骤(b1),与第二无线终端建立蓝牙物理链路ACL。Step (b1), establishing a Bluetooth physical link ACL with the second wireless terminal.
在本申请实施例中,第一无线终端能够通过射频组件发送信号,与第二无线终端预先建立蓝牙物理链路ACL。在此基础上,第一无线终端和第二无线终端可以经由该蓝牙物理链路ACL进行信息交互。In this embodiment of the present application, the first wireless terminal can send a signal through a radio frequency component, and establish a Bluetooth physical link ACL with the second wireless terminal in advance. On this basis, the first wireless terminal and the second wireless terminal can perform information exchange via the Bluetooth physical link ACL.
步骤(b2),经由蓝牙物理链路ACL接收第一消息。Step (b2), receiving the first message via the Bluetooth physical link ACL.
在本申请实施例中,在第一无线终端与第二无线终端之间建立了蓝牙物理链路ACL的场景下,第一无线终端能够经由蓝牙物理链路ACL接收第二无线终端发送的第一消息。In this embodiment of the present application, in the scenario where a Bluetooth physical link ACL is established between the first wireless terminal and the second wireless terminal, the first wireless terminal can receive the first information.
综上所述,本实施例提供的蓝牙数据包的广播方法,能够令第一无线终端和第二无线终端之间通过多种可能的方式获得本申请所示的第一消息,从而令第一无线终端及时停止不需要再广播的辅助数据包,实现减少第一无线终端在蓝牙广播中无谓浪费的能源和通信资源,优化了蓝牙广播中的第一无线终端的资源使用效率,并降低了广播中涉及的多种业务的冲突概率。To sum up, the method for broadcasting Bluetooth data packets provided by this embodiment can enable the first wireless terminal and the second wireless terminal to obtain the first message shown in this application in various possible ways, so that the first The wireless terminal stops the auxiliary data packets that do not need to be broadcast in time, so as to reduce the unnecessary waste of energy and communication resources of the first wireless terminal in the Bluetooth broadcast, optimize the resource utilization efficiency of the first wireless terminal in the Bluetooth broadcast, and reduce the broadcast The conflict probability of various services involved in .
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
请参考图12,图12是本申请一个示例性实施例提供的在第一无线终端中广播蓝牙数据包的装置的结构框图。该蓝牙数据包的广播装置可以通过软件、硬件或者两者的结合实现成为第一无线终端的全部或一部分。该装置包括:Please refer to FIG. 12 , which is a structural block diagram of an apparatus for broadcasting a Bluetooth data packet in a first wireless terminal according to an exemplary embodiment of the present application. The means for broadcasting the Bluetooth data packet can be implemented as all or a part of the first wireless terminal through software, hardware or a combination of the two. The unit includes:
第一广播模块1210,用于广播辅助数据包,所述辅助数据包用于提供广播周期和收发频点。The first broadcast module 1210 is configured to broadcast an auxiliary data packet, and the auxiliary data packet is used to provide a broadcast period and a sending and receiving frequency point.
第二广播模块1220,用于基于所述广播周期,在所述收发频点上周期性广播蓝牙数据包。The second broadcast module 1220 is configured to periodically broadcast Bluetooth data packets on the transceiver frequency point based on the broadcast period.
第一接收模块1230,用于从第二无线终端接收第一消息,所述第一消息用于指示第二无线终端已同步到所述广播周期。The first receiving module 1230 is configured to receive a first message from the second wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
停止广播模块1240,用于在满足第一预设条件时,停止广播所述辅助数据包。The stop broadcasting module 1240 is configured to stop broadcasting the auxiliary data packet when the first preset condition is met.
在一个可选的实施例中,所述第二广播模块1220,用于在所述收发频点上,以广播同步流BIS的形式按照所述广播周期广播所述蓝牙数据包。In an optional embodiment, the second broadcast module 1220 is configured to broadcast the Bluetooth data packet in the form of a broadcast synchronous stream BIS according to the broadcast period on the transceiver frequency point.
在一个可选的实施例中,所述装置还包括第二发送模块,用于响应于停止广播所述辅助数据包,向所述第二无线终端发送第二消息,所述第二消息用于指示所述第二无线终端停止周期性发送所述第一消息。其中,所述第一消息由所述第二无线终端周期性发送。In an optional embodiment, the apparatus further includes a second sending module, configured to send a second message to the second wireless terminal in response to stopping broadcasting the auxiliary data packet, and the second message is used for instructing the second wireless terminal to stop sending the first message periodically. Wherein, the first message is sent periodically by the second wireless terminal.
在一个可选的实施例中,所述第二发送模块,用于确定接收到所述第一消息的频点;响应于停止广播所述辅助数据包,在所述频点上向所述第二无线终端发送所述第二消息。In an optional embodiment, the second sending module is configured to determine the frequency point at which the first message is received; in response to stopping broadcasting the auxiliary data packet, send the The second wireless terminal sends the second message.
在一个可选的实施例中,所述停止广播模块1240,用于若所述第二无线终端的标识与 标识列表的标识匹配,则将所述第二无线终端标记为已同步,所述第一消息中包括第二无线终端的标识;响应于所述第一无线终端的标识列表中的每一个所述标识均标记为已同步,停止广播所述辅助数据包。In an optional embodiment, the broadcast stop module 1240 is configured to mark the second wireless terminal as synchronized if the identifier of the second wireless terminal matches the identifier of the identifier list, and the second wireless terminal Including the identity of the second wireless terminal in a message; in response to each of the identities in the list of identities of the first wireless terminal being marked as synchronized, ceasing to broadcast the assistance data packet.
在一个可选的实施例中,所述装置涉及的所述标识是蓝牙地址。In an optional embodiment, the identifier related to the device is a Bluetooth address.
在一个可选的实施例中,所述停止广播模块1240,还用于响应于接收到所述第一消息后的时长大于预设阈值,停止广播所述辅助数据包。In an optional embodiment, the broadcast stop module 1240 is further configured to stop broadcasting the auxiliary data packet in response to a time period after receiving the first message being greater than a preset threshold.
在一个可选的实施例中,所述装置还包括名单添加模块,用于扫描周围的待匹配的无线终端的特征信息;响应于所述特征信息符合第二预设条件,将所述待匹配的无线终端的标识保存到所述第一无线终端的标识列表中。In an optional embodiment, the device further includes a list adding module, configured to scan the characteristic information of surrounding wireless terminals to be matched; The identifier of the wireless terminal is stored in the identifier list of the first wireless terminal.
在一个可选的实施例中,第一接收模块1230,用于通过短距离无线通信协议接收所述第一消息,所述短距离无线通信协议包括蓝牙协议、WiFi协议以及ZigBee协议中的一种。In an optional embodiment, the first receiving module 1230 is configured to receive the first message through a short-distance wireless communication protocol, and the short-distance wireless communication protocol includes one of Bluetooth protocol, WiFi protocol and ZigBee protocol .
在一个可选的实施例中,第一接收模块1230,用于响应于短距离无线通信协议是蓝牙协议,与所述第二无线终端建立蓝牙物理链路ACL;经由所述蓝牙物理链路ACL接收所述第一消息。In an optional embodiment, the first receiving module 1230 is configured to establish a Bluetooth physical link ACL with the second wireless terminal in response to the short-distance wireless communication protocol being the Bluetooth protocol; via the Bluetooth physical link ACL The first message is received.
在一个可选的实施例中,所述第一无线终端是移动终端、平板电脑、智能电视和蓝牙音箱中的至少一种。In an optional embodiment, the first wireless terminal is at least one of a mobile terminal, a tablet computer, a smart TV, and a Bluetooth speaker.
综上所述,本申请实施例提供的装置,第一无线终端能够向周围广播辅助数据包,辅助数据包提供有广播周期和收发频点,终端基于广播周期在收发频点上广播蓝牙数据包,在接收到用于指示第二无线终端已同步到蓝牙数据包的广播周期的第一消息后,在满足第一预设条件时,停止广播辅助数据包。由于第一无线终端能够接收反馈消息,并根据反馈消息确认蓝牙广播是否已被同步,在蓝牙广播已被同步时,停止广播辅助数据包,从而降低能耗并减少对通信资源的占用。To sum up, in the device provided by the embodiment of the present application, the first wireless terminal can broadcast the auxiliary data packet to the surroundings. The auxiliary data packet is provided with a broadcast period and a transceiver frequency point, and the terminal broadcasts the Bluetooth data packet on the transceiver frequency point based on the broadcast period. After receiving the first message indicating that the second wireless terminal has been synchronized to the broadcast period of the Bluetooth data packet, when the first preset condition is met, stop broadcasting the auxiliary data packet. Since the first wireless terminal can receive the feedback message and confirm whether the Bluetooth broadcast has been synchronized according to the feedback message, when the Bluetooth broadcast has been synchronized, stop broadcasting the auxiliary data packet, thereby reducing energy consumption and occupancy of communication resources.
请参考图13,图13是本申请另一个示例性实施例提供的一种第二无线终端中的广播同步装置的结构框图。该蓝牙数据包的广播同步装置可以通过软件、硬件或者两者的结合实现成为作为第二无线终端的全部或一部分。该装置包括:Please refer to FIG. 13 . FIG. 13 is a structural block diagram of an apparatus for broadcast synchronization in a second wireless terminal provided by another exemplary embodiment of the present application. The device for broadcasting and synchronizing the bluetooth data packet can be implemented as all or a part of the second wireless terminal through software, hardware or a combination of the two. The unit includes:
第二接收模块1310,用于从第一无线终端接收辅助数据包,所述辅助数据包用于提供广播周期和收发频点;The second receiving module 1310 is configured to receive an auxiliary data packet from the first wireless terminal, and the auxiliary data packet is used to provide a broadcast cycle and a sending and receiving frequency point;
窗口确定模块1320,用于基于所述广播周期和所述收发频点,确定接收窗口;A window determination module 1320, configured to determine a receiving window based on the broadcast period and the transceiving frequency point;
周期同步模块1330,用于基于所述接收窗口与所述广播周期同步;A cycle synchronization module 1330, configured to synchronize with the broadcast cycle based on the receiving window;
第三接收模块1340,用于响应于所述第二无线终端已与所述广播周期同步,周期性接收蓝牙数据包;The third receiving module 1340 is configured to periodically receive Bluetooth data packets in response to the second wireless terminal being synchronized with the broadcast cycle;
第一发送模块1350,用于向所述第一无线终端发送第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期。The first sending module 1350 is configured to send a first message to the first wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
可选地,所述第三接收模块1340,用于在所述接收窗口上,以广播同步流BIS的形式从所述第一无线终端周期性接收所述蓝牙数据包。Optionally, the third receiving module 1340 is configured to periodically receive the Bluetooth data packet from the first wireless terminal in the form of a broadcast synchronization stream BIS on the receiving window.
可选地,所述装置还包括第二停止模块,用于从所述第一无线终端接收第二消息,所述第二消息用于指示所述第二无线终端已接收到所述第一消息;停止广播所述第一消息。Optionally, the apparatus further includes a second stop module, configured to receive a second message from the first wireless terminal, the second message being used to indicate that the second wireless terminal has received the first message ; Stop broadcasting the first message.
可选地,第二无线终端是蓝牙音箱、移动终端和无线耳机中的至少一种。Optionally, the second wireless terminal is at least one of a Bluetooth speaker, a mobile terminal and a wireless earphone.
综上所述,本申请提供的在第二无线终端中接收蓝牙数据包的装置,能够在现有的蓝牙广播规范的基础上,增加第一无线终端和第二无线终端之间的反馈渠道,通过反馈的方式及时停止第一无线终端中的广播的辅助数据包,并且能够及时停止第二无线终端中发送的第一消息,同时优化了第一无线终端和第二无线终端的能耗以及通信资源的占用,同时优化了蓝牙广播场景中第一无线终端和第二无线终端中的两端的资源消耗,并降低了第一无线终端出现多种业务的情况的发生概率。To sum up, the device for receiving Bluetooth data packets in the second wireless terminal provided by this application can increase the feedback channel between the first wireless terminal and the second wireless terminal on the basis of the existing Bluetooth broadcast specification, Timely stop the auxiliary data packet broadcast in the first wireless terminal by means of feedback, and stop the first message sent in the second wireless terminal in time, and optimize the energy consumption and communication between the first wireless terminal and the second wireless terminal Resource occupancy optimizes resource consumption at both ends of the first wireless terminal and the second wireless terminal in the Bluetooth broadcasting scene, and reduces the occurrence probability of multiple services occurring at the first wireless terminal.
示例性地,本申请实施例所示的第一无线终端和第二无线终端,均可组成为终端,该终端具备蓝牙功能。终端可以包括手机、平板电脑、膝上型电脑、台式电脑、电脑一体机、服务器、工作站、电视、机顶盒、智能眼镜、智能手表、数码相机、MP4播放终端、MP5播放终端、学习机、点读机、电纸书、电子词典、车载终端、虚拟现实(Virtual Reality,VR)播放终端或增强现实(Augmented Reality,AR)播放终端等。Exemplarily, the first wireless terminal and the second wireless terminal shown in the embodiment of the present application can be combined into a terminal, and the terminal has a Bluetooth function. Terminals can include mobile phones, tablet computers, laptop computers, desktop computers, all-in-one computers, servers, workstations, TVs, set-top boxes, smart glasses, smart watches, digital cameras, MP4 playback terminals, MP5 playback terminals, learning machines, point-to-read computer, electronic paper book, electronic dictionary, vehicle-mounted terminal, virtual reality (Virtual Reality, VR) playback terminal or augmented reality (Augmented Reality, AR) playback terminal, etc.
在本申请的一种可能的实现方式中,第一无线终端可以和第二无线终端是配合使用的一组设备。其中,第一无线终端可以是移动终端、平板电脑、智能电视和蓝牙音箱中的一种。相应的,第二无线终端可以是蓝牙音箱、移动终端和无线耳机中的至少一种。In a possible implementation manner of the present application, the first wireless terminal and the second wireless terminal may be a group of devices used in cooperation. Wherein, the first wireless terminal may be one of a mobile terminal, a tablet computer, a smart TV, and a Bluetooth speaker. Correspondingly, the second wireless terminal may be at least one of a Bluetooth speaker, a mobile terminal, and a wireless earphone.
图14是本申请一个示例性实施例提供的一种终端的结构框图,如图14所示,该终端包括处理器1420、存储器1440和蓝牙模块1460,所述存储器1440中存储有至少一条指令,所述指令由所述处理器1420加载并执行以实现如本申请各个方法实施例所述的在第一无线终端中广播蓝牙数据包的方法,或,所述指令由所述处理器1420加载并执行以实现如本申请各个方法实施例所述的第二无线终端中接收蓝牙数据包的方法。Fig. 14 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application. As shown in Fig. 14, the terminal includes a processor 1420, a memory 1440 and a Bluetooth module 1460, and the memory 1440 stores at least one instruction, The instructions are loaded and executed by the processor 1420 to implement the method for broadcasting a Bluetooth data packet in the first wireless terminal as described in various method embodiments of the present application, or, the instructions are loaded by the processor 1420 and executed Execute to realize the method for receiving the Bluetooth data packet in the second wireless terminal as described in each method embodiment of the present application.
处理器1420可以包括一个或者多个处理核心。处理器1420利用各种接口和线路连接整个终端1400内的各个部分,通过运行或执行存储在存储器1440内的指令、程序、代码集或指令集,以及调用存储在存储器1440内的数据,执行终端1400的各种功能和处理数据。可选的,处理器1420可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1420可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1420中,单独通过一块芯片进行实现。 Processor 1420 may include one or more processing cores. The processor 1420 uses various interfaces and lines to connect various parts of the entire terminal 1400, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 1440, and calling data stored in the memory 1440. 1400 various functions and processing data. Optionally, the processor 1420 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware. The processor 1420 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the content that needs to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1420, but may be realized by a single chip.
存储器1440可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory,ROM)。可选的,该存储器1440包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1440可用于存储指令、程序、代码、代码集或指令集。存储器1440可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储下面各个方法实施例中涉及到的数据等。The memory 1440 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory, ROM). Optionally, the memory 1440 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). Memory 1440 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1440 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like for implementing the following method embodiments; the storage data area can store data and the like involved in the following method embodiments.
蓝牙模块1460用于支持通过蓝牙标准进行数据通信。其中,蓝牙标准可以是蓝牙标准组织发布的任意一个版本的标准。The Bluetooth module 1460 is used to support data communication through the Bluetooth standard. Wherein, the bluetooth standard may be any version of the standard released by the bluetooth standard organization.
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的在第一无线终端中广播蓝牙数据包的方法。The embodiment of the present application also provides a computer-readable medium, the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the first A method for broadcasting bluetooth data packets in a wireless terminal.
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的第二无线终端中接收蓝牙数据包的方法。The embodiment of the present application also provides a computer-readable medium, the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to realize the second wireless The method of receiving Bluetooth data packets in the terminal.
需要说明的是:上述实施例提供的蓝牙数据包的广播装置在执行蓝牙数据包的广播方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的蓝牙数据包的广播装置与蓝牙数据包的广播方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the Bluetooth data packet broadcasting device provided by the above-mentioned embodiments executes the Bluetooth data packet broadcasting method, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated according to needs. It is completed by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus for broadcasting Bluetooth data packets provided by the above embodiments and the embodiment of the method for broadcasting Bluetooth data packets belong to the same concept, and the specific implementation process thereof can be found in the method embodiments, and will not be repeated here.
需要说明的是:上述实施例提供的蓝牙数据包的广播同步装置在执行蓝牙数据包的广播同步方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的蓝牙数据包的广播同步装置与蓝牙数据包的广播同步方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the broadcast synchronization device of the Bluetooth data packet provided by the above-mentioned embodiment executes the broadcast synchronization method of the Bluetooth data packet, the division of the above-mentioned functional modules is only used as an example for illustration. In practical applications, the above-mentioned Function allocation is accomplished by different functional modules, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the Bluetooth data packet broadcast synchronization device and the Bluetooth data packet broadcast synchronization method embodiment provided by the above embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本申请的能够实现的示例性的实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only exemplary embodiments of the present application that can be realized, 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 shall be included in the Within the protection scope of this application.

Claims (23)

  1. 一种广播蓝牙数据包的方法,所述方法由第一无线终端执行,所述方法包括:A method for broadcasting bluetooth data packets, the method is performed by a first wireless terminal, and the method includes:
    广播辅助数据包,所述辅助数据包用于提供广播周期和收发频点;Broadcasting an auxiliary data packet, the auxiliary data packet is used to provide a broadcast period and a sending and receiving frequency point;
    基于所述广播周期,在所述收发频点上周期性广播蓝牙数据包;Based on the broadcast period, periodically broadcast Bluetooth data packets on the transceiver frequency point;
    从第二无线终端接收第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期;以及receiving a first message from a second wireless terminal indicating that the second wireless terminal is synchronized to the broadcast cycle; and
    在满足第一预设条件时,停止广播所述辅助数据包。Stop broadcasting the auxiliary data packet when the first preset condition is met.
  2. 根据权利要求1所述的方法,所述基于所述广播周期,在所述收发频点上周期性广播蓝牙数据包,包括:The method according to claim 1, said periodically broadcasting Bluetooth data packets on said transceiver frequency point based on said broadcast cycle, comprising:
    在所述收发频点上,以广播同步流BIS的形式按照所述广播周期广播所述蓝牙数据包。On the transceiving frequency point, broadcast the Bluetooth data packet in the form of a broadcast synchronous stream BIS according to the broadcast period.
  3. 根据权利要求2所述的方法,所述第一消息由所述第二无线终端周期性发送,所述方法还包括:The method according to claim 2, wherein the first message is sent periodically by the second wireless terminal, the method further comprising:
    响应于停止广播所述辅助数据包,向所述第二无线终端发送第二消息,所述第二消息用于指示所述第二无线终端停止周期性发送所述第一消息。In response to stopping broadcasting of the auxiliary data packet, sending a second message to the second wireless terminal, where the second message is used to instruct the second wireless terminal to stop periodically sending the first message.
  4. 根据权利要求3所述的方法,所述响应于停止广播所述辅助数据包,向所述第二无线终端发送第二消息,包括:The method according to claim 3, said sending a second message to said second wireless terminal in response to stopping broadcasting said auxiliary data packet, comprising:
    确定接收到所述第一消息的频点;以及determining the frequency point at which the first message is received; and
    响应于停止广播所述辅助数据包,在所述频点上向所述第二无线终端发送所述第二消息。In response to stopping broadcasting of the auxiliary data packet, sending the second message to the second wireless terminal on the frequency point.
  5. 根据权利要求1所述的方法,所述第一消息包括所述第二无线终端的标识,所述在满足第一预设条件时,停止广播所述辅助数据包,包括:The method according to claim 1, wherein the first message includes the identity of the second wireless terminal, and when the first preset condition is met, stopping the broadcast of the auxiliary data packet includes:
    若所述第二无线终端的标识与标识列表的标识匹配,则将所述第二无线终端标记为已同步;以及marking the second wireless terminal as synchronized if the identity of the second wireless terminal matches an identity list identity list; and
    响应于所述第一无线终端的所述标识列表中的每一个标识均标记为已同步,停止广播所述辅助数据包。Responsive to each identity in the list of identities of the first wireless terminal being marked as synchronized, ceasing to broadcast the assistance data packets.
  6. 根据权利要求5所述的方法,所述标识是蓝牙地址。The method of claim 5, said identification being a Bluetooth address.
  7. 根据权利要求5所述的方法,所述在满足第一预设条件时,停止广播所述辅助数据包,包括:The method according to claim 5, when the first preset condition is met, stopping the broadcast of the auxiliary data packet comprises:
    响应于接收到所述第一消息后的时长大于预设阈值,停止广播所述辅助数据包。In response to the time period after receiving the first message being greater than a preset threshold, stop broadcasting the auxiliary data packet.
  8. 根据权利要求5所述的方法,所述方法还包括:The method according to claim 5, said method further comprising:
    扫描周围的待匹配的无线终端的特征信息;Scan the characteristic information of the wireless terminal to be matched around;
    响应于所述特征信息符合第二预设条件,将所述待匹配的无线终端的标识保存到所述第一无线终端的所述标识列表中。In response to the characteristic information meeting the second preset condition, saving the identifier of the wireless terminal to be matched in the identifier list of the first wireless terminal.
  9. 根据权利要求1至8任一所述的方法,所述接收第一消息,包括:According to the method according to any one of claims 1 to 8, said receiving the first message comprises:
    通过短距离无线通信协议接收所述第一消息,所述短距离无线通信协议包括蓝牙协议、WiFi协议以及ZigBee协议中的一种。The first message is received through a short-distance wireless communication protocol, and the short-distance wireless communication protocol includes one of a Bluetooth protocol, a WiFi protocol, and a ZigBee protocol.
  10. 根据权利要求9所述的方法,所述短距离无线通信协议是蓝牙协议,所述通过短距离无线通信协议接收所述第一消息,包括:The method according to claim 9, wherein the short-distance wireless communication protocol is a Bluetooth protocol, and receiving the first message through the short-distance wireless communication protocol includes:
    与所述第二无线终端建立蓝牙物理链路ACL;以及Establishing a Bluetooth physical link ACL with the second wireless terminal; and
    经由所述蓝牙物理链路ACL接收所述第一消息。The first message is received via the Bluetooth physical link ACL.
  11. 根据权利要求1所述的方法,所述第一无线终端是移动终端、平板电脑、智能电视和蓝牙音箱中的至少一种。The method according to claim 1, the first wireless terminal is at least one of a mobile terminal, a tablet computer, a smart TV, and a Bluetooth speaker.
  12. 一种接收蓝牙数据包的方法,所述方法由第二无线终端执行,所述方法包括:A method for receiving a Bluetooth data packet, the method is performed by a second wireless terminal, the method includes:
    从第一无线终端接收辅助数据包,所述辅助数据包用于提供广播周期和收发频点;receiving an auxiliary data packet from the first wireless terminal, where the auxiliary data packet is used to provide a broadcast period and a transceiving frequency point;
    基于所述广播周期和所述收发频点,确定接收窗口;Determine a receiving window based on the broadcast period and the transceiver frequency;
    基于所述接收窗口与所述广播周期同步;synchronizing with the broadcast period based on the receive window;
    响应于所述第二无线终端已与所述广播周期同步,从所述第一无线终端周期性接收蓝牙数据包;以及periodically receiving Bluetooth data packets from the first wireless terminal in response to the second wireless terminal having synchronized with the broadcast cycle; and
    向所述第一无线终端发送第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期。sending a first message to the first wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
  13. 根据权利要求12所述的方法,所述从所述第一无线终端周期性接收蓝牙数据包,包括:The method according to claim 12, said periodically receiving Bluetooth data packets from said first wireless terminal, comprising:
    在所述接收窗口上,以广播同步流BIS的形式从所述第一无线终端周期性接收所述蓝牙数据包。The bluetooth data packet is periodically received from the first wireless terminal in the form of a broadcast synchronous stream BIS on the receiving window.
  14. 根据权利要求12所述的方法,所述方法还包括:The method of claim 12, further comprising:
    从所述第一无线终端接收第二消息,所述第二消息用于指示所述第二无线终端已接收到所述第一消息;以及receiving a second message from the first wireless terminal indicating that the first message has been received by the second wireless terminal; and
    停止广播所述第一消息。Stop broadcasting the first message.
  15. 根据权利要求12所述的方法,所述第二无线终端是蓝牙音箱、移动终端和无线耳机中的至少一种。The method according to claim 12, the second wireless terminal is at least one of a Bluetooth speaker, a mobile terminal and a wireless earphone.
  16. 一种广播蓝牙数据包的装置,所述装置用于第一无线终端中,所述装置包括:A device for broadcasting bluetooth data packets, said device being used in a first wireless terminal, said device comprising:
    第一广播模块,用于广播辅助数据包,所述辅助数据包用于提供广播周期和收发频点;The first broadcast module is used to broadcast an auxiliary data packet, and the auxiliary data packet is used to provide a broadcast period and a frequency point for sending and receiving;
    第二广播模块,用于基于所述广播周期,在所述收发频点上周期性广播蓝牙数据包;A second broadcast module, configured to periodically broadcast Bluetooth data packets on the transceiver frequency point based on the broadcast cycle;
    第一接收模块,用于从第二无线终端接收第一消息,所述第一消息用于指示所述第二无线终端已同步到所述广播周期;A first receiving module, configured to receive a first message from a second wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast period;
    停止广播模块,用于在满足第一预设条件时,停止广播所述辅助数据包。The broadcast stop module is configured to stop broadcasting the auxiliary data packet when the first preset condition is met.
  17. 一种接收蓝牙数据包的装置,所述装置用于第二无线终端中,所述装置包括:A device for receiving a Bluetooth data packet, the device is used in a second wireless terminal, and the device includes:
    第二接收模块,用于从第一无线终端接收辅助数据包,所述辅助数据包用于提供广播周期和收发频点;The second receiving module is configured to receive an auxiliary data packet from the first wireless terminal, and the auxiliary data packet is used to provide a broadcast cycle and a transceiver frequency point;
    窗口确定模块,用于基于所述广播周期和所述收发频点,确定接收窗口;A window determination module, configured to determine a receiving window based on the broadcast period and the transceiver frequency;
    周期同步模块,用于基于所述接收窗口与所述广播周期同步;A cycle synchronization module, configured to synchronize with the broadcast cycle based on the receiving window;
    第三接收模块,用于响应于所述第二无线终端已与所述广播周期同步,周期性接收蓝牙数据包;A third receiving module, configured to periodically receive Bluetooth data packets in response to the second wireless terminal being synchronized with the broadcast cycle;
    第一发送模块,用于向所述第一无线终端发送第一消息,所述第一消息用于指示所述 第二无线终端已同步到所述广播周期。A first sending module, configured to send a first message to the first wireless terminal, where the first message is used to indicate that the second wireless terminal has been synchronized to the broadcast cycle.
  18. 一种无线终端,所述无线终端包括处理器、和与所述处理器相连的存储器,以及存储在所述存储器上的程序指令,所述处理器执行所述程序指令时实现如权利要求1至11任一所述的广播蓝牙数据包的方法。A wireless terminal, the wireless terminal includes a processor, a memory connected to the processor, and program instructions stored in the memory, when the processor executes the program instructions, the following claims 1 to 1 are implemented. 11. Any one of the methods for broadcasting Bluetooth data packets.
  19. 一种无线终端,所述无线终端包括处理器、和与所述处理器相连的存储器,以及存储在所述存储器上的程序指令,所述处理器执行所述程序指令时实现如权利要求12至15任一所述的接收蓝牙数据包的方法。A wireless terminal, the wireless terminal includes a processor, a memory connected to the processor, and program instructions stored in the memory, when the processor executes the program instructions, it implements claims 12 to 15. Any one of the methods for receiving Bluetooth data packets.
  20. 一种计算机可读存储介质,所述存储介质中存储有程序指令,所述程序指令被处理器执行时实现如权利要求1至11任一所述的广播蓝牙数据包的方法。A computer-readable storage medium, wherein program instructions are stored in the storage medium, and when the program instructions are executed by a processor, the method for broadcasting Bluetooth data packets according to any one of claims 1 to 11 is realized.
  21. 一种计算机可读存储介质,所述存储介质中存储有程序指令,所述程序指令被处理器执行时实现如权利要求12至15任一所述的接收蓝牙数据包的方法。A computer-readable storage medium, wherein program instructions are stored in the storage medium, and when the program instructions are executed by a processor, the method for receiving Bluetooth data packets according to any one of claims 12 to 15 is realized.
  22. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令由无线终端的处理器执行,使得所述无线终端执行如权利要求1至11任一所述的广播蓝牙数据包的方法。A computer program product, the computer program product includes computer instructions, the computer instructions are executed by the processor of the wireless terminal, so that the wireless terminal performs the method for broadcasting Bluetooth data packets according to any one of claims 1 to 11 .
  23. 一种计算机程序产品,所述计算机程序产品包括计算机指令,所述计算机指令由无线终端的处理器执行,使得所述无线终端执行如权利要求12至15任一所述的接收蓝牙数据包的方法。A computer program product, the computer program product includes computer instructions, the computer instructions are executed by the processor of the wireless terminal, so that the wireless terminal executes the method for receiving Bluetooth data packets according to any one of claims 12 to 15 .
PCT/CN2022/085102 2021-05-21 2022-04-02 Methods and apparatus for broadcasting and receiving bluetooth data packet, terminal, and storage medium WO2022242340A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110560271.2 2021-05-21
CN202110560271.2A CN115379427A (en) 2021-05-21 2021-05-21 Method, device, terminal and storage medium for broadcasting and receiving Bluetooth data packet

Publications (1)

Publication Number Publication Date
WO2022242340A1 true WO2022242340A1 (en) 2022-11-24

Family

ID=84059760

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085102 WO2022242340A1 (en) 2021-05-21 2022-04-02 Methods and apparatus for broadcasting and receiving bluetooth data packet, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN115379427A (en)
WO (1) WO2022242340A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117135729A (en) * 2023-01-20 2023-11-28 荣耀终端有限公司 Multi-device cooperation method, system and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112188415A (en) * 2020-09-27 2021-01-05 展讯半导体(成都)有限公司 Low-power-consumption Bluetooth synchronous data streaming transmission method and device
CN112260778A (en) * 2020-10-16 2021-01-22 展讯半导体(成都)有限公司 Method for evaluating broadcast channel and related product
CN112672290A (en) * 2020-12-02 2021-04-16 无锡中感微电子股份有限公司 Method, device and equipment for master-slave switching in wireless communication system
CN112752218A (en) * 2020-12-30 2021-05-04 展讯半导体(成都)有限公司 Vehicle addressing method, vehicle, terminal and storage medium
CN112789572A (en) * 2020-04-09 2021-05-11 深圳市大疆创新科技有限公司 Control method and device for movable platform, movable platform and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010088101A (en) * 2008-09-02 2010-04-15 Toshiba Corp Method of setting wireless link, and wireless system
US10154384B2 (en) * 2016-06-22 2018-12-11 Qualcomm Incorporated Systems and methods for back channel communication
CN109327808B (en) * 2017-07-31 2021-04-20 华为技术有限公司 Data transmission method and equipment
US11115902B2 (en) * 2018-09-11 2021-09-07 Qualcomm Incorporated Broadcast isochronous relay over ESCO
WO2020118532A1 (en) * 2018-12-11 2020-06-18 华为技术有限公司 Bluetooth communication method and electronic device
CN110213753A (en) * 2019-05-08 2019-09-06 杰哈思文化创意(杭州)有限公司 Connection method, device, storage medium and the terminal of intelligent toothbrush
CN112449328B (en) * 2019-08-30 2023-08-22 华为技术有限公司 Bluetooth searching method, system and related device
CN110913349B (en) * 2019-11-19 2021-07-27 成都亿佰特电子科技有限公司 Data acquisition method and system based on BLE broadcasting technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112789572A (en) * 2020-04-09 2021-05-11 深圳市大疆创新科技有限公司 Control method and device for movable platform, movable platform and storage medium
CN112188415A (en) * 2020-09-27 2021-01-05 展讯半导体(成都)有限公司 Low-power-consumption Bluetooth synchronous data streaming transmission method and device
CN112260778A (en) * 2020-10-16 2021-01-22 展讯半导体(成都)有限公司 Method for evaluating broadcast channel and related product
CN112672290A (en) * 2020-12-02 2021-04-16 无锡中感微电子股份有限公司 Method, device and equipment for master-slave switching in wireless communication system
CN112752218A (en) * 2020-12-30 2021-05-04 展讯半导体(成都)有限公司 Vehicle addressing method, vehicle, terminal and storage medium

Also Published As

Publication number Publication date
CN115379427A (en) 2022-11-22

Similar Documents

Publication Publication Date Title
US11330650B2 (en) Wireless connection method and device
US20230074050A1 (en) Method for Terminal to Transmit and Receive Data on Multi-link, and Terminal
US20220201453A1 (en) Service connection establishment method, bluetooth master device, chip, and bluetooth system
US11223929B2 (en) Electronic device for determining P2P operating channel and method thereof
WO2019056383A9 (en) Resource configuration method, terminal device and network device
US8873537B2 (en) Synchronization method and system of control sequence numbers
WO2022246803A1 (en) Access method and communication apparatus
US20180213387A1 (en) Communication apparatus, communication method, and program
WO2014086180A1 (en) Cluster access network, terminal equipment and method for joining cluster group
WO2022242340A1 (en) Methods and apparatus for broadcasting and receiving bluetooth data packet, terminal, and storage medium
US20220304105A1 (en) Communication apparatus for data transmission in a neighbor aware network (nan), control method, and computer-readable storage medium
WO2022166755A1 (en) Information processing methods, devices, and storage medium
JP7196105B2 (en) Downlink control channel resource determination method, apparatus, user equipment and base station
WO2020056751A1 (en) Transmission configuration method and apparatus, device, system, and storage medium
RU2705008C1 (en) Communication apparatus, a method of controlling said apparatus and a constant machine-readable medium
WO2013067941A1 (en) Identifier allocation method and device
WO2022252917A1 (en) Method and apparatus for establishing bluetooth link, and bluetooth chip and device
WO2021217534A1 (en) Communication method and apparatus
US10349456B2 (en) Video communication system, video transmission terminal, video reception terminal, communication method, and recording medium
WO2021062778A1 (en) Data transmission method and related device
WO2020175047A1 (en) Communication device, control method, and program
WO2023011212A1 (en) Device discovery method and apparatus
JP7060247B2 (en) Communication devices, communication systems, communication methods, and programs
WO2023207685A1 (en) Information transmission method and apparatus
EP4240071A1 (en) Communication method, system and apparatus

Legal Events

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

Ref document number: 22803665

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE