Bluetooth transmission and reception timing control method and device
By setting the timing control parameter set for different physical channels and determining the physical channel and timing parameters of the air interface packet according to the data type, the problems of parameter sharing and redundancy in the Bluetooth protocol are solved, and the accurate control and efficiency of the air interface packet time interval is achieved. promote.
Patent Information
- Application Number
- CN202310144233.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2043-02-21
AI Technical Summary
The sending and receiving timing control methods of various physical channels in the Bluetooth protocol have problems such as poor generality, logical redundancy and complex control, especially in terms of parameter sharing and redundancy.
Set up the corresponding timing control parameter set for different physical channels, determine the corresponding physical channel by determining the data type of the air interface data packet to be transmitted, and control the transmission of air interface data packets based on the timing control parameters to ensure that the different air interface data packets are The time interval between the two complies with the preset standards.
It realizes accurate control of the time interval of air interface data packets, reduces the sharing and redundancy of control parameters, and improves the efficiency and simplicity of Bluetooth transmission and reception timing control.
Smart Images

Figure CN116193375B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method and device for controlling Bluetooth transceiver timing. Background Art
[0002] Bluetooth technology is widely used in the Internet of Things industry due to its ultra-low power consumption. With the development of technology, the Bluetooth protocol version has undergone multiple updates, and finally formed data physical channels, broadcast physical channels, and synchronous physical channels. With the iteration of Bluetooth protocol versions, the design and implementation of Bluetooth chips have also been iterated. There may be low universality, logical redundancy, and complex control between the control methods of the transmission and reception timing of each physical channel. For example, early Bluetooth only supported data physical channels and ordinary broadcast physical channels, and used M parameters to achieve transmission and reception timing control. Later, Bluetooth also supported the expansion of broadcast physical channels and synchronous physical channels, and added N parameters to achieve corresponding control. There may be common and redundant situations among these M+N parameters. Summary of the invention
[0003] The embodiment of the present invention provides a Bluetooth transceiver timing control method and device, which can accurately control the time interval between air interface data packets by setting corresponding timing control parameter sets for different physical channels, and reduce the sharing and redundancy of control parameters.
[0004] In a first aspect, an embodiment of the present invention provides a Bluetooth transmission and reception timing control method, comprising:
[0005] Determine the data type of the air interface data packet to be transmitted;
[0006] Determine the physical channel corresponding to each air interface data packet according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes multiple timing control parameters;
[0007] The air interface data packets are controlled to be transmitted on the corresponding physical channel based on the timing control parameters, so that the time intervals between different air interface data packets meet the preset standard.
[0008] In one embodiment, the air interface data packet includes: a receiving packet or a sending packet;
[0009] The method further comprises:
[0010] A plurality of timing control parameter sets are preconfigured, each of which includes one or more of six timing control parameters: receiving packet interval, receiving packet distance, sending packet interval, sending packet distance, event interval and event distance.
[0011] In one embodiment, the event interval is the time interval from the first byte of the current Bluetooth event to the first byte of the next Bluetooth event, and the event distance is the time interval from the last byte of the current Bluetooth event to the first byte of the next Bluetooth event, wherein each of the Bluetooth events includes one or more of the air interface data packets;
[0012] The packet sending interval is the time interval from the first byte of the current packet to the first byte of the next air interface packet, and the packet sending distance is the time interval from the last byte of the current packet to the first byte of the next air interface packet;
[0013] The received packet interval is the time interval from the first byte of the current received packet to the first byte of the next air interface packet, and the received packet distance is the time interval from the last byte of the current received packet to the first byte of the next air interface packet.
[0014] In one embodiment, the physical channel includes: a data physical channel, the timing control parameter set corresponding to the data physical channel is a first timing control parameter set, and the timing control parameters in the first timing control parameter set include: the sending packet distance, the receiving packet distance and the event distance;
[0015] The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes:
[0016] The packet sending distance, the packet receiving distance and the event distance are all set to a first value.
[0017] In one embodiment, the physical channel includes: a broadcast physical channel, the timing control parameter set corresponding to the broadcast physical channel is a second timing control parameter set, and the timing control parameters in the second timing control parameter set include: the sending packet interval, the receiving packet interval and the event interval;
[0018] The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes:
[0019] The packet sending interval is set to a second value, the packet receiving interval is set to 0, and the event interval is set to a third value,
[0020] Alternatively, the packet receiving interval is set to the second value, the packet sending interval is set to 0, and the event interval is set to the third value.
[0021] In one embodiment, the physical channel includes: a first synchronous physical channel, the timing control parameter set corresponding to the first synchronous physical channel is a third timing control parameter set, and the timing control parameters in the third timing control parameter set include: a sending packet distance, a receiving packet distance, and an event interval;
[0022] The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes:
[0023] The packet sending distance is set to a fourth value, and the event interval is set to a fifth value or a sixth value,
[0024] Alternatively, the packet reception distance is set to the fourth value, and the event interval is set to the fifth value or the sixth value.
[0025] In one embodiment, the physical channel includes: a second synchronous physical channel, the timing control parameter set corresponding to the second synchronous physical channel is a fourth timing control parameter set, and the timing control parameters in the fourth timing control parameter set include: the sending packet interval, the receiving packet interval and the event interval;
[0026] The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes:
[0027] The packet sending interval is set to the seventh value, the packet receiving interval is set to 0, and the event interval is set to the eighth value,
[0028] Alternatively, the packet receiving interval is set to the seventh value, the packet sending interval is set to 0, and the event interval is set to the eighth value.
[0029] In a second aspect, an embodiment of the present invention provides a Bluetooth transceiver timing control device, comprising:
[0030] A determination module, used to determine the data type of the air interface data packet to be transmitted;
[0031] The determination module is further used to determine the physical channel corresponding to each air interface data packet according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes multiple timing control parameters;
[0032] The control module is used to control the transmission of the air interface data packets on the corresponding physical channel based on the timing control parameters, so that the time intervals between different air interface data packets meet the preset standard.
[0033] In a third aspect, an embodiment of the present invention provides an electronic chip, including:
[0034] at least one processor; and
[0035] at least one memory in communication with the processor, wherein:
[0036] The memory stores program instructions, and the processor calls the program instructions to execute the method provided by the first aspect.
[0037] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein the program implements the method provided in the first aspect when executed by a processor.
[0038] In the embodiment of the present invention, the data type of the air interface data packet to be transmitted is first determined, and then the physical channel corresponding to each air interface data packet is determined according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes multiple timing control parameters. Based on the timing control parameters, the air interface data packet is controlled to be transmitted on the corresponding physical channel, so that the time interval between different air interface data packets meets the preset standard. By setting corresponding timing control parameter sets for different physical channels, the time interval between air interface data packets can be accurately controlled, and the sharing and redundancy of control parameters are reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A flowchart of a Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0041] Figure 2 A schematic diagram of another Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0042] Figure 3A A schematic diagram of another Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0043] Figure 3B A schematic diagram of another Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of another Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0045] Figure 5A schematic diagram of another Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0046] Figure 6 A flowchart of another Bluetooth receiving and transmitting timing control method provided by an embodiment of the present invention;
[0047] Figure 7 A schematic diagram of the structure of a Bluetooth transceiver timing control device provided by an embodiment of the present invention;
[0048] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0049] In order to better understand the technical solution of this specification, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0050] It should be clear that the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this specification.
[0051] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit this specification. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.
[0052] In view of the problems of sharing and redundancy of parameters set for the current implementation of the Bluetooth protocol, an embodiment of the present invention provides a Bluetooth receive and transmit timing control method. By setting corresponding timing control parameter sets for different physical channels, the time interval between air interface data packets can be accurately controlled and the sharing and redundancy of control parameters can be reduced.
[0053] Figure 1 The present invention provides a flowchart of a method for controlling the timing of Bluetooth transmission and reception. The method can be applied to terminal devices with Bluetooth functions (such as smart phones, Bluetooth headsets, etc.), such as Figure 1 As shown, the method may include:
[0054] Step 101: determine the data type of the air interface data packet to be transmitted.
[0055] Step 102: determine the physical channel corresponding to each air interface data packet according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes a plurality of timing control parameters.
[0056] In an embodiment of the present invention, a physical channel can be formed after a Bluetooth connection is established between terminal devices, and the data to be transmitted is transmitted on the physical channel in units of air interface data packets, thereby realizing data interaction between terminal devices. Air interface data packets have corresponding data types, and the terminal device can determine the physical channel applicable to the transmission of each air interface data packet according to the data type, as well as the timing control parameters required for stable transmission of air interface data packets. The terminal device can configure multiple timing control parameter sets in advance, and each timing control parameter set includes multiple timing control parameters. The terminal device can associate the corresponding data type, physical channel, and timing control parameter set. When transmitting air interface data packets, the terminal device only needs to obtain the data type of the air interface data packet to be transmitted, and can determine the physical channel and timing control parameter set of the air interface data packet according to the pre-set association relationship.
[0057] In one embodiment, the air interface data packet includes a receiving packet and a sending packet. The terminal device can set six timing control parameters in advance, namely, the receiving packet interval, the receiving packet distance, the sending packet interval, the sending packet distance, the event interval, and the event distance. Each timing control parameter set includes one or more of the above six timing control parameters. Specifically, the event interval is the time interval from the first byte of the current Bluetooth event to the first byte of the next Bluetooth event, and the event distance is the time interval from the last byte of the current Bluetooth event to the first byte of the next Bluetooth event, wherein each Bluetooth event includes one or more air interface data packets; the sending packet interval is the time interval from the first byte of the current sending packet to the first byte of the next air interface packet, and the sending packet distance is the time interval from the last byte of the current sending packet to the first byte of the next air interface packet; the receiving packet interval is the time interval from the first byte of the current receiving packet to the first byte of the next air interface packet, and the receiving packet distance is the time interval from the last byte of the current receiving packet to the first byte of the next air interface packet.
[0058] Step 103: Control the transmission of air interface data packets on the corresponding physical channel based on the timing control parameters, so that the time intervals between different air interface data packets meet the preset standard.
[0059] In one embodiment, the above-mentioned physical channel includes a data physical channel, and the timing control parameter set includes a first timing control parameter set, and the first timing control parameter set includes a sending packet distance, a receiving packet distance, and a time distance. The terminal device can set the sending packet distance, the receiving packet distance, and the time distance to appropriate values, so that when the air interface data packet is transmitted on the data physical channel, the time interval between different air interface data packets meets the preset standard. Optionally, the preset standard can be a standard specified in the Bluetooth protocol. The specific transmission scenario can be as follows Figure 2 As shown, TX is the sending packet, RX is the receiving packet, and each event contains multiple air interface data packets. Figure 2Event x and event x+1 only show 12 air interface data packets, but in actual scenarios each event may contain more air interface data packets that are not shown. In actual transmission, devices connected via Bluetooth can be divided into central devices and peripheral devices. There is only one central device, and there can be multiple peripheral devices. For example, a smart phone (central device) can be connected to multiple devices such as Bluetooth headsets (peripheral device) and Bluetooth speakers. When the central device sends an air interface data packet (send packet), the peripheral device needs to receive the air interface data packet (receive packet). When the peripheral device sends an air interface data packet, the central device needs to receive the air interface data packet. Figure 2 For example, at the same moment, when the central device is TX, the peripheral device needs to be RX. When the physical channel is a data physical channel, both the central device and the peripheral device can set the sending packet distance, receiving packet distance and event distance to a first value. Optionally, based on the Bluetooth protocol, the first value can be set to 150us. The time interval between the last byte in the sent packet and the first byte of the received packet is 150us, the time interval between the last byte of the received packet and the first byte of the received packet is 150us, and the time interval between the last byte of event x and the first byte of event x+1 is 150us. Based on the above three timing control parameters, the terminal device realizes stable transmission of air interface data packets.
[0060] In one embodiment, the physical channel includes a broadcast physical channel, the timing control parameter set includes a second timing control parameter set, and the second timing control parameter set includes a packet sending interval, a packet receiving interval, and an event interval. The terminal device can set the packet sending interval, the packet receiving interval, and the event interval to appropriate values so that when the air interface data packets are transmitted on the broadcast physical channel, the time intervals between different air interface data packets meet the preset standard. The specific transmission scenario can be as follows Figure 3A As shown in the figure, if the terminal device is a central device, the packet sending interval can be set to the second value, the packet receiving interval can be set to 0, and the event interval can be set to the third value; if the terminal device is a peripheral device, the packet receiving interval can be set to the second value, the packet sending interval can be set to 0, and the event interval can be set to the third value. Since the packet receiving interval or the packet sending interval is set to 0, the specific transmission scenario can be transformed into Figure 3B The broadcast physical channel is mainly used for one-way transmission. Usually, the central device sends air interface data packets and the peripheral device receives air interface data packets.
[0061] In one embodiment, the above-mentioned physical channel includes a first synchronous physical channel, and the timing control parameter set includes a third timing control parameter set, and the third timing control parameter set includes a sending packet interval, a receiving packet interval, and an event interval. The terminal device can set the sending packet distance, the receiving packet distance, and the event interval to appropriate values, so that when the air interface data packet is transmitted on the first synchronous physical channel, the time interval between different air interface data packets meets the preset standard. Among them, the first synchronous physical channel may refer to a synchronous physical channel in a connected synchronous group (Connected Isochronous Group, CIG) scenario. The specific transmission scenario can be as follows Figure 4 As shown, if the terminal device is a central device, the packet sending distance can be set to the fourth value, and the event interval can be set to the fifth value or the sixth value; if the terminal device is a peripheral device, the packet receiving interval can be set to the fourth value, and the event interval can be set to the fifth value or the sixth value. Among them, the fourth value can be set to 150us, and events m to m+n form a connection synchronization group, and events not shown can be included between event m+2 and time m+n. The time interval between the last byte of the connection synchronization group and the first byte of the next connection synchronization group is large, so the event interval of the last event included in the connection synchronization group is the sixth value, and the intervals of other events are the fifth value. The terminal device can change other physical channels after the last event of each connection synchronization group ends.
[0062] In one embodiment, the above-mentioned physical channel includes a second synchronous physical channel, and the timing control parameter set includes a fourth timing control parameter set, and the fourth timing control parameter set includes a sending packet interval, a receiving packet interval, and an event interval. The terminal device can set the sending packet interval, the receiving packet interval, and the event interval to appropriate values, so that when the air interface data packet is transmitted on the second synchronous physical channel, the time interval between different air interface data packets meets the preset standard. Among them, the second synchronous physical channel may refer to a synchronous physical channel in a connected broadcast isochronous group (Broadcast Isochronous Group, BIG) scenario. The specific transmission scenario can be as follows Figure 5 As shown, if the terminal device is a central device, the packet sending interval can be set to the seventh value, the packet receiving interval can be set to 0us, and the event interval can be set to the eighth value; if the terminal device is a peripheral device, the packet receiving interval can be set to the seventh value, the packet sending interval can be set to 0us, and the event interval can be set to the eighth value. In a specific transmission scenario, the seventh value can be set to 150us, which is similar to the broadcast physical channel. In this scenario, the central device only sends air interface data packets, and the peripheral device only receives air interface data packets.
[0063] In an embodiment of the present invention, the terminal device sets six timing control parameters in advance. By selecting different timing control parameters on different physical channels and setting them to different values, stable transmission of air interface data packets on each physical channel can be achieved, and the number of control parameters is simplified, thereby reducing the sharing and redundancy of control parameters.
[0064] Figure 6 Flow chart of another method for controlling the timing of Bluetooth transmission and reception provided by an embodiment of the present invention. Figure 6 As shown, the method may include:
[0065] Step 601: determine the air interface data packet to be transmitted.
[0066] Step 602: Determine the physical channel and timing control parameters according to the data type.
[0067] The physical channels include data physical channels, broadcast physical channels and synchronization physical channels. The timing control parameters include a first timing control parameter set, a second timing control parameter set, a third timing control parameter set and a fourth timing control parameter set.
[0068] Step 603: The data physical channel uses a first timing control parameter set.
[0069] The first timing control parameter set includes three timing control parameters: sending packet distance, receiving packet distance and event distance.
[0070] Step 604: The broadcast physical channel uses a second timing control parameter set.
[0071] The second timing control parameter set includes three timing control parameters: a packet sending interval, a packet receiving interval, and an event interval.
[0072] Step 605: The synchronous physical channel uses the third and fourth timing control parameter sets.
[0073] The third timing control parameter set includes three timing control parameters: the sending packet distance, the receiving packet distance and the event interval, and the fourth timing control parameter set includes three timing control parameters: the sending packet interval, the receiving packet interval and the event interval. Among them, the third timing control parameter is used for the synchronous physical channel in the CIG scenario, and the fourth timing control parameter is used for the synchronous physical channel in the BIG scenario.
[0074] Step 606, sending timing control.
[0075] Step 607: The transmission is completed and the result is reported.
[0076] Figure 7The structure diagram of a Bluetooth transceiver timing control device provided in an embodiment of the present invention. The device can be used as a specific device to implement the Bluetooth transceiver timing control method provided in an embodiment of the present invention, such as Figure 7 As shown, the device may include: a determination module 710 and a control module 720.
[0077] The determination module 710 is used to determine the data type of the air interface data packet to be transmitted.
[0078] The determination module 710 is further configured to determine the physical channel corresponding to each air interface data packet according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes multiple timing control parameters.
[0079] The control module 720 is used to control the transmission of air interface data packets on the corresponding physical channel based on the timing control parameters, so that the time interval between different air interface data packets meets the preset standard.
[0080] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0081] like Figure 8 As shown, the electronic device is in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: one or more processors 810, a memory 830, and a communication bus 840 connecting different system components (including the memory 830 and the processor 810).
[0082] The communication bus 840 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. For example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnection (PCI) bus.
[0083] Electronic devices typically include a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device, including volatile and non-volatile media, removable and non-removable media.
[0084] The memory 830 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory. The electronic device may further include other removable / non-removable, volatile / non-volatile computer system storage media. Figure 8 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the communication bus 840 via one or more data medium interfaces. The memory 830 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the embodiments of the present invention.
[0085] A program / utility having a set (at least one) of program modules may be stored in memory 830, such program modules including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules generally perform the functions and / or methods of the embodiments described herein.
[0086] The electronic device may also communicate with one or more external devices, and may also communicate with one or more devices that enable a user to interact with the electronic device, or communicate with any device that enables the electronic device to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through the communication interface 820. In addition, the electronic device may also communicate with the network adapter ( Figure 8 The network adapter can communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the communication bus 840. It should be understood that although Figure 8Not shown, other hardware and / or software modules may be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk arrays (Redundant Arrays of Independent Drives; hereinafter referred to as: RAID) systems, tape drives, and data backup storage systems.
[0087] The processor 810 executes various functional applications and data processing by running the programs stored in the memory 830, such as implementing the Bluetooth transceiver timing control method provided in the embodiment of the present invention.
[0088] The embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions enable the computer to execute the Bluetooth transceiver timing control method provided by the embodiment of the present invention.
[0089] The above-mentioned computer-readable storage medium can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ReadOnly Memory; hereinafter referred to as: ROM), an erasable programmable read-only memory (Erasable Programmable ReadOnly Memory; hereinafter referred to as: EPROM) or flash memory, optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0090] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0091] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0092] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0093] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0094] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0095] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0096] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0097] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A Bluetooth transmission and reception timing control method, characterized in that: include: Determine the data type of the air interface data packet to be transmitted; Determine the physical channel corresponding to each air interface data packet according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes multiple timing control parameters; Controlling the transmission of the air interface data packets on the corresponding physical channel based on the timing control parameters so that the time intervals between different air interface data packets meet the preset standard; The air interface data packet includes: a receiving packet or a sending packet; The method further comprises: Pre-configure multiple timing control parameter sets, each of which includes one or more of six timing control parameters: receiving packet interval, receiving packet distance, sending packet interval, sending packet distance, event interval, and event distance; The physical channel includes: a data physical channel, a broadcast physical channel, a first synchronous physical channel or a second synchronous physical channel.
2. The method according to claim 1, characterized in that The event interval is the time interval from the first byte of the current Bluetooth event to the first byte of the next Bluetooth event, and the event distance is the time interval from the last byte of the current Bluetooth event to the first byte of the next Bluetooth event, wherein each of the Bluetooth events includes one or more of the air interface data packets; The packet sending interval is the time interval from the first byte of the current packet to the first byte of the next air interface packet, and the packet sending distance is the time interval from the last byte of the current packet to the first byte of the next air interface packet; The received packet interval is the time interval from the first byte of the current received packet to the first byte of the next air interface packet, and the received packet distance is the time interval from the last byte of the current received packet to the first byte of the next air interface packet.
3. The method according to claim 1, characterized in that The physical channel includes: a data physical channel, the timing control parameter set corresponding to the data physical channel is a first timing control parameter set, and the timing control parameters in the first timing control parameter set include: the sending packet distance, the receiving packet distance and the event distance; The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes: The packet sending distance, the packet receiving distance and the event distance are all set to a first value.
4. The method according to claim 1, characterized in that The physical channel includes: a broadcast physical channel, the timing control parameter set corresponding to the broadcast physical channel is a second timing control parameter set, and the timing control parameters in the second timing control parameter set include: the sending packet interval, the receiving packet interval and the event interval; The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes: The packet sending interval is set to a second value, the packet receiving interval is set to 0, and the event interval is set to a third value, Alternatively, the packet receiving interval is set to the second value, the packet sending interval is set to 0, and the event interval is set to the third value.
5. The method according to claim 1, characterized in that The physical channel includes: a first synchronous physical channel, the timing control parameter set corresponding to the first synchronous physical channel is a third timing control parameter set, and the timing control parameters in the third timing control parameter set include: a sending packet distance, a receiving packet distance and an event interval; The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes: The packet sending distance is set to a fourth value, and the event interval is set to a fifth value or a sixth value, Alternatively, the packet reception distance is set to the fourth value, and the event interval is set to the fifth value or the sixth value.
6. The method according to claim 1, characterized in that The physical channel includes: a second synchronous physical channel, the timing control parameter set corresponding to the second synchronous physical channel is a fourth timing control parameter set, and the timing control parameters in the fourth timing control parameter set include: the sending packet interval, the receiving packet interval and the event interval; The controlling the transmission of the air interface data packet on the corresponding physical channel based on the timing control parameter includes: The packet sending interval is set to the seventh value, the packet receiving interval is set to 0, and the event interval is set to the eighth value, Alternatively, the packet receiving interval is set to the seventh value, the packet sending interval is set to 0, and the event interval is set to the eighth value.
7. A Bluetooth transceiver timing control device, characterized in that: include: A determination module, used to determine the data type of the air interface data packet to be transmitted; The determination module is further used to determine the physical channel corresponding to each air interface data packet according to the data type, each physical channel is configured with a corresponding timing control parameter set, and the timing control parameter set includes multiple timing control parameters; A control module, configured to control the transmission of the air interface data packets on the corresponding physical channel based on the timing control parameters, so that the time intervals between different air interface data packets meet the preset standard; The air interface data packet includes: a receiving packet or a sending packet; The device also includes: A configuration module, used for pre-configuring a plurality of timing control parameter sets, each of which includes one or more of six timing control parameters: a receiving packet interval, a receiving packet distance, a sending packet interval, a sending packet distance, an event interval, and an event distance; The physical channel includes: a data physical channel, a broadcast physical channel, a first synchronous physical channel or a second synchronous physical channel.
8. An electronic device, characterized in that: include: at least one processor; as well as at least one memory in communication with the processor, wherein: The memory stores program instructions, and the processor calls the program instructions to execute the method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein the program, when executed by a processor, implements the method according to any one of claims 1 to 6.
