CN116193375A - Bluetooth receiving and transmitting time sequence control method and device - Google Patents

Bluetooth receiving and transmitting time sequence control method and device Download PDF

Info

Publication number
CN116193375A
CN116193375A CN202310144233.8A CN202310144233A CN116193375A CN 116193375 A CN116193375 A CN 116193375A CN 202310144233 A CN202310144233 A CN 202310144233A CN 116193375 A CN116193375 A CN 116193375A
Authority
CN
China
Prior art keywords
packet
interval
time sequence
sequence control
air interface
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202310144233.8A
Other languages
Chinese (zh)
Inventor
吴鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Semiconductor Chengdu Co Ltd
Original Assignee
Spreadtrum Semiconductor Chengdu Co Ltd
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 Spreadtrum Semiconductor Chengdu Co Ltd filed Critical Spreadtrum Semiconductor Chengdu Co Ltd
Priority to CN202310144233.8A priority Critical patent/CN116193375A/en
Publication of CN116193375A publication Critical patent/CN116193375A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • 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
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/04Interfaces between hierarchically different network devices
    • H04W92/10Interfaces between hierarchically different network devices between terminal device and access point, i.e. wireless air interface
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Communication Control (AREA)

Abstract

The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling bluetooth transceiving timing. The method comprises the steps of firstly determining the data type of an air interface data packet to be transmitted, then determining a physical channel corresponding to each air interface data packet according to the data type, wherein each physical channel is configured with a corresponding time sequence control parameter set, the time sequence control parameter set comprises a plurality of time sequence control parameters, and the air interface data packet is controlled to be transmitted on the corresponding physical channel based on the time sequence control parameters so that the time intervals among different air interface data packets meet preset standards. By setting the corresponding time sequence control parameter sets for different physical channels, the time interval between the air interface data packets can be accurately controlled, and the conditions of sharing and redundancy of control parameters are reduced.

Description

Bluetooth receiving and transmitting time sequence control method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for controlling bluetooth transceiving timing.
Background
The Bluetooth technology is widely applied to the industry of the Internet of things due to the characteristic of ultra-low power consumption, and with the development of the technology, the Bluetooth protocol version is updated for a plurality of times, and finally a data physical channel, a broadcast physical channel and a synchronous physical channel are formed. Along with the iteration of the bluetooth protocol version, the design and implementation of the bluetooth chip also iterates. There may be cases where versatility is not strong, logic redundancy and control is complicated between control methods of the transmit-receive timings of the physical channels. For example, early bluetooth only supports data physical channel and ordinary broadcast physical channel, uses M parameters to realize receiving and transmitting time sequence control, later bluetooth also supports expanding broadcast physical channel and synchronous physical channel, and newly adds N parameters to realize corresponding control, and the M+N parameters may have shared and redundant conditions.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth receiving and transmitting time sequence control method and device, which can accurately control the time interval between air interface data packets by setting corresponding time sequence control parameter sets for different physical channels, and reduce the conditions of shared control parameters and redundancy.
In a first aspect, an embodiment of the present invention provides a bluetooth transceiver timing control method, including:
determining the data type of an air interface data packet to be transmitted;
determining a physical channel corresponding to each air interface data packet according to the data type, wherein each physical channel is configured with a corresponding time sequence control parameter set, and the time sequence control parameter set comprises a plurality of time sequence control parameters;
and controlling the air interface data packets to be transmitted on the corresponding physical channels based on the time sequence control parameters so that the time intervals among different air interface data packets accord with preset standards.
In one embodiment, the air interface packet includes: receiving a packet or transmitting a packet;
the method further comprises the steps of:
a plurality of timing control parameter sets are preconfigured, each timing control parameter set comprising one or more of six timing control parameters of a received packet interval, a received packet distance, a transmitted packet interval, a transmitted packet distance, an event interval, and an event distance.
In one embodiment, the event interval is a time interval from a first byte of a current bluetooth event to a first byte of a next bluetooth event, and the event distance is a time interval from a last byte of the current bluetooth event to a first byte of the next bluetooth event, wherein each bluetooth event includes one or more of the air interface packets;
the transmission packet interval is a time interval from the first byte of the current transmission packet to the first byte of the next air interface packet, and the transmission packet distance is a time interval from the last byte of the current transmission packet to the first byte of the next air interface packet;
the received packet interval is a time interval from a first byte of a current received packet to a first byte of a next air interface packet, and the received packet distance is a time interval from a last byte of the current received packet to the first byte of the next air interface packet.
In one embodiment, the physical channel comprises: the data physical channel, the time sequence control parameter set corresponding to the data physical channel is a first time sequence control parameter set, and the time sequence control parameters in the first time sequence control parameter set comprise: the transmission packet distance, the reception packet distance, and the event distance;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
and setting the sending packet distance, the receiving packet distance and the event distance to be first values.
In one embodiment, the physical channel comprises: a broadcast physical channel, wherein a time sequence control parameter set corresponding to the broadcast physical channel is a second time sequence control parameter set, and time sequence control parameters in the second time sequence control parameter set comprise: the transmission packet interval, the reception packet interval, and the event interval;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
setting the transmit packet interval to a second value, the receive packet interval to 0, the event interval to a third value,
alternatively, the received packet interval is set to the second value, the transmitted packet interval is set to 0, and the event interval is set to the third value.
In one embodiment, the physical channel comprises: the first synchronous physical channel, the time sequence control parameter set corresponding to the first synchronous physical channel is a third time sequence control parameter set, and the time sequence control parameters in the third time sequence control parameter set comprise: a transmission packet distance, a reception packet distance, and an event interval;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
setting the transmission packet distance to a fourth value, setting the event interval to a fifth value or a sixth value,
or, the received packet distance is set to the fourth value, and the event interval is set to the fifth value or the sixth value.
In one embodiment, the physical channel comprises: the second synchronous physical channel, the time sequence control parameter set corresponding to the second synchronous physical channel is a fourth time sequence control parameter set, and the time sequence control parameters in the fourth time sequence control parameter set comprise: the transmission packet interval, the reception packet interval, and the event interval;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
setting the transmission packet interval to a seventh value, the reception packet interval to 0, the event interval to an eighth value,
alternatively, the received packet interval is set to the seventh value, the transmitted packet interval is set to 0, and the event interval is set to the eighth value.
In a second aspect, an embodiment of the present invention provides a bluetooth transceiver timing control apparatus, including:
the determining module is used for determining the data type of the air interface data packet to be transmitted;
the determining module is further configured to determine a physical channel corresponding to each air interface data packet according to the data type, where each physical channel is configured with a corresponding time sequence control parameter set, and the time sequence control parameter set includes a plurality of time sequence control parameters;
and the control module is used for controlling the air interface data packets to be transmitted on the corresponding physical channels based on the time sequence control parameters so that the time intervals among different air interface data packets accord with a preset standard.
In a third aspect, an embodiment of the present invention provides an electronic chip, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions that are invoked by the processor to perform the method provided in the first aspect.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium including a stored program, wherein the program when executed by a processor implements the method provided in the first aspect.
In the embodiment of the invention, the data type of the air interface data packet to be transmitted is determined, 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 time sequence control parameter set, the time sequence control parameter set comprises a plurality of time sequence control parameters, and the air interface data packet is controlled to be transmitted on the corresponding physical channel based on the time sequence control parameters, so that the time interval between different air interface data packets accords with a preset standard. By setting the corresponding time sequence control parameter sets for different physical channels, the time interval between the air interface data packets can be accurately controlled, and the conditions of sharing and redundancy of control parameters are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of another bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 3A is a schematic diagram of another bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 3B is a schematic diagram of another bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 5 is a schematic diagram of another bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 6 is a flowchart of another bluetooth transceiver timing control method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a bluetooth transceiver timing control device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
For a better understanding of the technical solutions of the present specification, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are only some, but not all, of the embodiments of the present description. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present disclosure.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Aiming at the problem that the parameters set by the current Bluetooth protocol are shared and redundant, the embodiment of the invention provides a Bluetooth receiving and transmitting time sequence control method, which can accurately control the time interval between air interface data packets by setting corresponding time sequence control parameter sets for different physical channels and reduces the conditions of shared and redundant control parameters.
Fig. 1 is a flowchart of a bluetooth transceiver timing control method according to an embodiment of the present invention. The method can be applied to terminal equipment (such as a smart phone, a Bluetooth headset and the like) with a Bluetooth function, and as shown in fig. 1, the method can comprise the following steps:
step 101, determining the data type of the air interface data packet to be transmitted.
Step 102, determining a physical channel corresponding to each air interface data packet according to the data type, wherein each physical channel is configured with a corresponding time sequence control parameter set, and the time sequence control parameter set comprises a plurality of time sequence control parameters.
In the embodiment of the invention, a physical channel can be formed after Bluetooth connection is established between the terminal devices, and the data to be transmitted is transmitted on the physical channel by taking the air interface data packet as a unit, so that the data interaction between the terminal devices is realized. The air interface data packets have corresponding data types, and the terminal equipment can determine physical channels suitable for transmitting the air interface data packets according to the data types and time sequence control parameters required for realizing stable transmission of the air interface data packets. The terminal device may configure a plurality of timing control parameter sets in advance, each of the timing control parameter sets including a plurality of timing control parameters. The terminal equipment can associate the corresponding data type, physical channel and time sequence control parameter set, and when the air interface data packet is transmitted, the terminal equipment can determine the physical channel and time sequence control parameter set of the air interface data packet according to the preset association relation only by acquiring the data type of the air interface data packet to be transmitted.
In one embodiment, the air interface data packet includes a receiving packet and a transmitting packet, and the terminal device may set six timing control parameters including a receiving packet interval, a receiving packet distance, a transmitting packet interval, a transmitting packet distance, an event interval, and an event distance in advance, where each set of timing control parameters includes one or more of the six timing control parameters. Specifically, the event interval is a time interval from a first byte of a current bluetooth event to a first byte of a next bluetooth event, and the event distance is a time interval from a last byte of the current bluetooth event to the first byte of the next bluetooth event, wherein each bluetooth event comprises one or more air interface data packets; the transmission packet interval is the time interval from the first byte of the current transmission packet to the first byte of the next air interface packet, and the transmission packet distance is the time interval from the last byte of the current transmission 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.
Step 103, controlling the transmission of the air interface data packets on the corresponding physical channels based on the time sequence control parameters, so that the time intervals among different air interface data packets meet the preset standard.
In one embodiment, the physical channel includes a data physical channel, and the timing control parameter set includes a first timing control parameter set, where the first timing control parameter set includes a transmission packet distance, a reception packet distance, and a time distance. The terminal device may set the transmission packet distance, the reception 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 intervals between different air interface data packets conform to a preset standard. Alternatively, the preset standard may be a standard specified in the bluetooth protocol. A specific transmission scenario may be shown in fig. 2, where TX is a transmission packet, RX is a reception packet, each event includes a plurality of air-interface packets, and in fig. 2, event x and event x+1 only show 12 air-interface packets, but in an actual scenario, each event may include more air-interface packets, which are not shown. In actual transmission, devices connected through bluetooth may be divided into a center device and peripheral devices, and there may be only one center device and a plurality of peripheral devices. Such as a smart phone (central device) may be connected to a plurality of devices such as a bluetooth headset (peripheral device), a bluetooth sound, etc. When the central device transmits the air interface data packet (transmission packet), the peripheral device needs to receive the air interface data packet (reception packet), and when the peripheral device transmits the air interface data packet, the central device needs to receive the air interface data packet. Taking fig. 2 as an example, at the same time, when the central device is TX, the peripheral device needs to be RX. When the physical channel is a data physical channel, the center device and the peripheral device may each set the transmission packet distance, the reception packet distance, and the event distance to a first value. Alternatively, the first value may be set to 150us based on the bluetooth protocol. The time interval between the last byte in the sending packet and the first byte in the receiving packet is 150us, the time interval between the last byte in the receiving packet and the first byte in the receiving packet is 150us, the time interval between the last byte in the event x and the first byte in the event x+1 is 150us, and the terminal equipment realizes the stable transmission of the air interface data packet based on the three time sequence control parameters.
In one embodiment, the physical channel includes a broadcast physical channel, and the timing control parameter set includes a second timing control parameter set, where the second timing control parameter set includes a transmission packet interval, a reception packet interval, and an event interval. The terminal device may set the transmission packet interval, the reception packet interval, and the event interval to appropriate values, so that when the air interface data packet is transmitted on the broadcast physical channel, the time interval between different air interface data packets accords with a preset standard. As shown in fig. 3A, if the terminal device is a central device, the transmission packet interval may be set to a second value, the reception packet interval may be set to 0, and the event interval may be set to a third value; if the terminal device is a peripheral device, the received packet interval may be set to a second value, the transmitted packet interval may be set to 0, and the event interval may be set to a third value. Since the reception packet interval or the transmission packet interval is set to 0, the specific transmission scenario may transition to that shown in fig. 3B. The broadcast physical channel is mainly used for unidirectional transmission, and in general, the central device sends an air interface data packet, and the peripheral device receives the air interface data packet.
In one embodiment, the physical channel includes a first synchronous physical channel, and the timing control parameter set includes a third timing control parameter set, where the third timing control parameter set includes a transmission packet interval, a reception packet interval, and an event interval. The terminal device may set the transmission packet distance, the reception packet distance, and the event interval to appropriate values, so that when the air interface data packets are transmitted on the first synchronous physical channel, the time intervals between different air interface data packets conform to a preset standard. Wherein the first sync physical channel may refer to a sync physical channel in a connected sync group (Connected Isochronous Group, CIG) scenario. As shown in fig. 4, if the terminal device is a central device, the distance between the sending packets may be set to a fourth value, and the event interval may be set to a fifth value or a sixth value; if the terminal device is a peripheral device, the received packet interval may be set to a fourth value, and the event interval may be set to a fifth value or a sixth value. The fourth value may be set to 150us, and the events m to m+n form a connection synchronization group, and an event not shown may be included between the event m+2 and the time m+n. The time interval between the last byte of the connection sync group and the first byte of the next connection sync group is larger, so the event interval of the last event included in the connection sync group is the sixth value, and the other event intervals are the fifth values. The terminal device can change other physical channels after the last event of each connection synchronization group is finished.
In one embodiment, the physical channel includes a second synchronous physical channel, and the timing control parameter set includes a fourth timing control parameter set, where the fourth timing control parameter set includes a transmission packet interval, a reception packet interval, and an event interval. The terminal device may set the transmission packet interval, the reception 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 accords with a preset standard. Wherein the second sync physical channel may refer to a sync physical channel in a connected broadcast sync group (Broadcast Isochronous Group, BIG) scenario. As shown in fig. 5, if the terminal device is a central device, the transmission packet interval may be set to a seventh value, the reception packet interval is set to 0us, and the event interval is set to an eighth value; if the terminal device is a peripheral device, the receive packet interval may be set to a seventh value, the transmit packet interval may be set to 0us, and the event interval may be set to an eighth value. In a specific transmission scenario, in which the central device only sends air interface packets and the peripheral device only receives air interface packets, the seventh value may be set to 150us, similar to the broadcast physical channel.
In the embodiment of the invention, the terminal equipment sets six time sequence control parameters in advance, and can realize stable transmission of the air interface data packet on each physical channel by selecting different time sequence control parameters on different physical channels and setting the time sequence control parameters as different values, thereby simplifying the number of the control parameters and reducing the conditions of sharing and redundancy of the control parameters.
Fig. 6 is a flowchart of another bluetooth transceiver timing control method according to an embodiment of the present invention. As shown in fig. 6, the method may include:
in step 601, an air interface packet to be transmitted is determined.
Step 602, determining physical channels and timing control parameters according to the data type.
Wherein the physical channels include a data physical channel, a broadcast physical channel, and a sync physical channel. 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.
The data physical channel uses the first set of timing control parameters, step 603.
The first set of timing control parameters includes three timing control parameters, a transmit packet distance, a receive packet distance, and an event distance.
The broadcast physical channel uses a second set of timing control parameters, step 604.
The second set of timing control parameters includes three timing control parameters, a transmit packet interval, a receive packet interval, and an event interval.
Step 605, synchronize the physical channel using the third, fourth timing control parameter set.
The third time sequence control parameter set comprises three time sequence control parameters of a sending packet distance, a receiving packet distance and an event interval, and the fourth time sequence control parameter set comprises three time sequence control parameters of a sending packet interval, a receiving packet interval and an event interval. The third time sequence control parameter is used for the synchronous physical channel in the CIG scene, and the fourth time sequence control parameter is used for the synchronous physical channel in the BIG scene.
Step 606, a timing control is sent.
And step 607, the transmission is finished and the result is reported.
Fig. 7 is a schematic structural diagram of a bluetooth transceiver timing control device according to an embodiment of the present invention. The device can be used as a specific device to implement the bluetooth receiving and transmitting time sequence control method provided by the embodiment of the invention, as shown in fig. 7, the device can include: a determination module 710 and a control module 720.
A determining module 710, configured to determine a data type of the air interface packet to be transmitted.
The determining module 710 is further configured to determine, according to the data type, a physical channel corresponding to each air interface packet, where 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.
The control module 720 is configured to control the transmission of the air interface data packets on the corresponding physical channels based on the timing control parameters, so that the time intervals between different air interface data packets meet the preset standard.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device shown in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 8, the electronic device is in the form of a general purpose computing device. Components of an electronic device may include, but are not limited to: one or more processors 810, a memory 830, and a communication bus 840 that connects the different system components (including the memory 830 and the processor 810).
Communication bus 840 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry Standard architecture (Industry Standard Architecture; hereinafter ISA) bus, micro channel architecture (Micro Channel Architecture; hereinafter MAC) bus, enhanced ISA bus, video electronics standards Association (Video Electronics Standards Association; hereinafter VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnection; hereinafter PCI) bus.
Electronic devices typically include a variety of computer system readable media. Such media can be any available media that can be accessed by the electronic device and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 830 may include computer system readable media in the form of volatile memory, such as random access memory (Random Access Memory; hereinafter: RAM) and/or cache memory. The electronic device may further include other removable/non-removable, volatile/nonvolatile computer system storage media. Although not shown in fig. 8, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a compact disk read only memory (Compact Disc Read Only Memory; hereinafter CD-ROM), digital versatile read only optical disk (Digital Video Disc Read Only Memory; hereinafter DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to communication bus 840 through one or more data medium interfaces. Memory 830 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility having a set (at least one) of program modules may be stored in the memory 830, such program modules include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules typically carry out the functions and/or methods of the embodiments described herein.
The electronic device may also communicate with one or more external devices, with one or more devices that enable a user to interact with the electronic device, or with any device (e.g., network card, modem, etc.) that enables the electronic device to communicate with one or more other computing devices. Such communication may occur through communication interface 820. Moreover, the electronic device may also communicate with one or more networks, such as a local area network (Local Area Network; hereinafter LAN), a wide area network (Wide Area Network; hereinafter WAN) and/or a public network, such as the Internet, via a network adapter (not shown in FIG. 8) that may communicate with other modules of the electronic device via the communication bus 840. It should be appreciated that although not shown in fig. 8, other hardware and/or software modules may be used in connection with an 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 RAID) systems, tape drives, data backup storage systems, and the like.
The processor 810 executes various functional applications and data processing by running a program stored in the memory 830, for example, implementing the bluetooth transceiving timing control method provided by the embodiment of the present invention.
The embodiment of the invention also provides a computer readable storage medium, which stores computer instructions for causing the computer to execute the Bluetooth receiving and transmitting time sequence control method provided by the embodiment of the invention.
Any combination of one or more computer readable media may be utilized as the above-described computer readable storage media. The computer readable medium may 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 electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory; EPROM) or flash Memory, an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
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.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the elements is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather to enable any modification, equivalent replacement, improvement or the like to be made within the spirit and principles of the invention.

Claims (10)

1. The Bluetooth receiving and transmitting time sequence control method is characterized by comprising the following steps of:
determining the data type of an air interface data packet to be transmitted;
determining a physical channel corresponding to each air interface data packet according to the data type, wherein each physical channel is configured with a corresponding time sequence control parameter set, and the time sequence control parameter set comprises a plurality of time sequence control parameters;
and controlling the air interface data packets to be transmitted on the corresponding physical channels based on the time sequence control parameters so that the time intervals among different air interface data packets accord with preset standards.
2. The method of claim 1, wherein the air interface packet comprises: receiving a packet or transmitting a packet;
the method further comprises the steps of:
a plurality of timing control parameter sets are preconfigured, each timing control parameter set comprising one or more of six timing control parameters of a received packet interval, a received packet distance, a transmitted packet interval, a transmitted packet distance, an event interval, and an event distance.
3. The method of claim 2, wherein the step of determining the position of the substrate comprises,
the event interval is a 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 a time interval from the last byte of the current Bluetooth event to the first byte of the next Bluetooth event, wherein each Bluetooth event comprises one or more air interface data packets;
the transmission packet interval is a time interval from the first byte of the current transmission packet to the first byte of the next air interface packet, and the transmission packet distance is a time interval from the last byte of the current transmission packet to the first byte of the next air interface packet;
the received packet interval is a time interval from a first byte of a current received packet to a first byte of a next air interface packet, and the received packet distance is a time interval from a last byte of the current received packet to the first byte of the next air interface packet.
4. The method of claim 2, wherein the physical channel comprises: the data physical channel, the time sequence control parameter set corresponding to the data physical channel is a first time sequence control parameter set, and the time sequence control parameters in the first time sequence control parameter set comprise: the transmission packet distance, the reception packet distance, and the event distance;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
and setting the sending packet distance, the receiving packet distance and the event distance to be first values.
5. The method of claim 2, wherein the physical channel comprises: a broadcast physical channel, wherein a time sequence control parameter set corresponding to the broadcast physical channel is a second time sequence control parameter set, and time sequence control parameters in the second time sequence control parameter set comprise: the transmission packet interval, the reception packet interval, and the event interval;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
setting the transmit packet interval to a second value, the receive packet interval to 0, the event interval to a third value,
alternatively, the received packet interval is set to the second value, the transmitted packet interval is set to 0, and the event interval is set to the third value.
6. The method of claim 2, wherein the physical channel comprises: the first synchronous physical channel, the time sequence control parameter set corresponding to the first synchronous physical channel is a third time sequence control parameter set, and the time sequence control parameters in the third time sequence control parameter set comprise: a transmission packet distance, a reception packet distance, and an event interval;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
setting the transmission packet distance to a fourth value, setting the event interval to a fifth value or a sixth value,
or, the received packet distance is set to the fourth value, and the event interval is set to the fifth value or the sixth value.
7. The method of claim 2, wherein the physical channel comprises: the second synchronous physical channel, the time sequence control parameter set corresponding to the second synchronous physical channel is a fourth time sequence control parameter set, and the time sequence control parameters in the fourth time sequence control parameter set comprise: the transmission packet interval, the reception packet interval, and the event interval;
the controlling the transmission of the air interface data packet on the corresponding physical channel based on the time sequence control parameter includes:
setting the transmission packet interval to a seventh value, the reception packet interval to 0, the event interval to an eighth value,
alternatively, the received packet interval is set to the seventh value, the transmitted packet interval is set to 0, and the event interval is set to the eighth value.
8. A bluetooth transceiving timing control device, comprising:
the determining module is used for determining the data type of the air interface data packet to be transmitted;
the determining module is further configured to determine a physical channel corresponding to each air interface data packet according to the data type, where each physical channel is configured with a corresponding time sequence control parameter set, and the time sequence control parameter set includes a plurality of time sequence control parameters;
and the control module is used for controlling the air interface data packets to be transmitted on the corresponding physical channels based on the time sequence control parameters so that the time intervals among different air interface data packets accord with a preset standard.
9. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions that are called by the processor to perform the method of any one of claims 1 to 7.
10. A computer readable storage medium, characterized in that the computer readable storage medium comprises a stored program, wherein the program when executed by a processor implements the method according to any one of claims 1 to 7.
CN202310144233.8A 2023-02-21 2023-02-21 Bluetooth receiving and transmitting time sequence control method and device Pending CN116193375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310144233.8A CN116193375A (en) 2023-02-21 2023-02-21 Bluetooth receiving and transmitting time sequence control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310144233.8A CN116193375A (en) 2023-02-21 2023-02-21 Bluetooth receiving and transmitting time sequence control method and device

Publications (1)

Publication Number Publication Date
CN116193375A true CN116193375A (en) 2023-05-30

Family

ID=86434168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310144233.8A Pending CN116193375A (en) 2023-02-21 2023-02-21 Bluetooth receiving and transmitting time sequence control method and device

Country Status (1)

Country Link
CN (1) CN116193375A (en)

Similar Documents

Publication Publication Date Title
US5940600A (en) Isochronous channel having a linked list of buffers
US20180027174A1 (en) Signaling camera configuration changes using metadata defined for a camera command set
US9830298B2 (en) Media time based USB frame counter synchronization for Wi-Fi serial bus
WO2021057789A1 (en) Information indication method and apparatus, and computer readable storage medium
JP2017504228A (en) System and method for sending data over an additional secondary data line on a bus
US7009967B1 (en) Systems and methods for transmitting data packets
EP4293950A1 (en) Communication device, communication system, and communication method
EP4145729A1 (en) Port state configuration method, apparatus, system, and storage medium
US7120713B2 (en) Systems and methods for interfacing legacy equipment to high-speed data buses
CN113641610A (en) Processor interface circuit, time-sharing multiplexing method of processor interface and electronic equipment
CN116193375A (en) Bluetooth receiving and transmitting time sequence control method and device
JP2003501892A (en) Apparatus and method for context switching in an electronic network
CN111817830B (en) Transmission and reception control method, terminal and network side equipment
US20190386762A1 (en) Date processing system and method
US7434084B1 (en) Method and apparatus for eliminating sampling errors on a serial bus
WO2022110174A1 (en) Message editing method and device
US10003456B2 (en) Soundwire XL turnaround signaling
EP2337420A2 (en) A packet structure for a mobile display digital interface
CN114513523B (en) Data synchronization method, device, equipment and storage medium
CN111130675B (en) Time synchronization device based on time trigger network
CN218734340U (en) EtherCAT main station and EtherCAT bus system
CN114915365A (en) Time synchronization method and medium
AU2021102694A4 (en) System and method for ip’s for ethernet and hdmi using xilinx vivado for iot applications
KR100720709B1 (en) Wireless usb system
US11625353B1 (en) Prioritized parallel to serial interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination