CN115913449A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN115913449A
CN115913449A CN202110886936.9A CN202110886936A CN115913449A CN 115913449 A CN115913449 A CN 115913449A CN 202110886936 A CN202110886936 A CN 202110886936A CN 115913449 A CN115913449 A CN 115913449A
Authority
CN
China
Prior art keywords
node
time
information
windowing
clock
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
CN202110886936.9A
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202110886936.9A priority Critical patent/CN115913449A/en
Priority to PCT/CN2022/107992 priority patent/WO2023011261A1/en
Publication of CN115913449A publication Critical patent/CN115913449A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received

Abstract

The embodiment of the application provides a data transmission method and device, relates to the technical field of communication, and can solve the problem of communication failure between slave nodes caused by clock precision deviation of the slave nodes in a communication system consisting of a master node and a plurality of slave nodes. The method can comprise the following steps: receiving first clock accuracy information from a second node; performing channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the starting time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter.

Description

Data transmission method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data transmission method and apparatus.
Background
A wireless communication system may include a master node and a slave node, where the master node has resource scheduling (which may also be referred to as resource allocation) capabilities. The master node may schedule (may also be referred to as allocate) time-frequency resources for the slave nodes, the slave nodes listen to the master node's schedule, and the slave nodes may communicate using the master node's scheduled (allocated) time-frequency resources.
Specifically, each master node may correspond to one or more slave nodes, and the master node may perform data interaction with the one or more slave nodes corresponding to the master node. However, due to the clock accuracy drift problem, the receiving node may miss receiving data from the transmitting node, resulting in communication failure. For example, the slave node misses the time of data reception, and thus cannot receive data sent by the master node, and cannot work normally, which results in poor user experience.
In a communication system consisting of a master node and a plurality of slave nodes, data interaction is also required to be carried out between the slave nodes, and how to ensure the successful transmission of data between the slave nodes is a problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present application provide a data transmission method and apparatus, which can improve the problem of communication failure between slave nodes due to clock precision deviation of the slave nodes in a communication system composed of a master node and multiple slave nodes.
In a first aspect, an embodiment of the present application provides a data transmission method, where the method includes: the first node receives first clock precision information from the second node; the first node performs channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the starting time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter.
Based on the first aspect, the first node may determine, according to the first clock accuracy information, a first time window whose start time is earlier than the start time of the second time window by a first windowing amount, and perform channel detection within the first time window to receive the data packet from the third node. The first node starts to execute the channel detection before the second time window, so that the first node can be ensured to receive the data packet sent by the third node, the information interaction between the first node and the third node is realized, and the communication success rate between the first node and the third node is improved.
In one possible design, the difference between the window length of the first time window and the window length of the second time window is twice the first amount of windowing; or the end time of the first time window is later than the end time of the second time window by a first windowing amount; alternatively, the window length of the first time window is equal to twice the first windowing amount.
When the second time window is a certain time, the start time and the end time of the second time window are the same.
Based on this possible design, the end time of the first time window may be later than the end time of the second time window by a first windowing amount, thereby ensuring that the first node may start receiving the data packet sent by the third node within the first time window. In addition, when the second time window is a period of time, the ending time of the first time window is later than the ending time of the second time window by the first windowing amount may also be described as the difference between the window length of the first time window and the window length of the second time window is twice the first windowing amount; when the second time window is a certain time instant, the end time of the first time window being later than the end time of the second time window by the first windowing amount may also be described as the window length of the first time window being equal to twice the first windowing amount. The finishing time of the first time window is set to be later than the finishing time of the second time window by the first windowing amount, so that the problem that the power consumption of the first node is large due to the fact that the first time window is too long can be avoided, and the power consumption of the first node is reduced while the first node can receive the data packet sent by the third node.
In one possible design, the first node continuously performs channel detection within a first time window.
Based on this possible design, the first node may continuously perform channel detection within the first time window to ensure that the data packets sent by the third node may begin to be received within the first time window.
In one possible design, the second node is a master node, and the first node and the third node are slave nodes of the second node.
Based on the possible design, the first node and the third node can be slave nodes of the second node, and based on the first time window, information interaction can be performed between the slave nodes, so that data transfer between the slave nodes through the master node is avoided, and the data transmission efficiency and the user experience are improved.
In one possible design, the first clock accuracy information is clock accuracy information of the third node; alternatively, the first clock accuracy information indicates a preset clock accuracy.
Based on the possible design, the first clock precision information may be the clock precision information of the third node, and may also indicate the preset clock precision, so as to provide a feasible scheme for the first clock precision information.
In one possible design, the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node, and/or the first time difference information; the first time difference information is used for indicating the time difference between the second time and the previous synchronization time of the first node and the third node, and the second time is the end time of the second time window.
In one possible design, the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node, and/or the second time difference information; the second time difference information is used for indicating a fixed time interval, an integer multiple connection interval or an integer multiple connection sub-interval, the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
In one possible design, the first windowing is based on the first clock precision information, the clock precision information of the first node, and/or the connection interval; wherein the connection interval is a connection interval between the first node and the third node.
Based on the above three possible designs, the first windowing component may be obtained according to the first clock precision information, the clock precision information of the first node, and/or the first time difference information, may also be obtained according to the first clock precision information, the clock precision information of the first node, and/or the second time difference information, and may also be obtained according to the first clock precision information, the clock precision information of the first node, and/or the connection interval, thereby providing multiple feasible schemes for obtaining the first windowing component.
In one possible design, the first clock precision information is a first windowing amount.
Based on this possible design, the first windowing amount may be determined by the second node, and the first node may determine the first time window directly from the received first windowing amount, thereby reducing the computational complexity of the first node.
In one possible design, the first node sends the clock accuracy information of the first node to the second node before the first node receives the first clock accuracy information from the second node.
Based on the possible design, the first node may send the clock accuracy information of the first node to the second node, so that the second node determines the first windowing amount according to the clock accuracy information of the first node and sends the first windowing amount to the first node.
In one possible design, the data packet includes clock accuracy information of a third node, and the first node performs channel detection in a third time window from a third time; the third time is earlier than the start time of a fourth time window by a second windowing amount, the second windowing amount corresponds to the clock precision information of the third node, and the fourth time window is determined based on a predefined rule or parameter.
Based on the possible design, when the data packet sent by the third node includes the clock accuracy information of the third node, the first node may determine, according to the clock accuracy information of the third node, a third time window whose start time is earlier than the start time of the fourth time window by a second windowing amount, and perform channel detection within the third time window to receive the data packet sent by the third node. Compared with the method for executing the channel detection from the first time, the method for executing the channel detection by the first node can shorten the time for the first node to actually receive the data packet of the third node from the beginning of executing the channel detection, and reduce the power consumption of the first node caused by executing the channel detection in advance.
In one possible design, the difference between the window length of the third time window and the window length of the fourth time window is twice the second windowing amount; or the end time of the third time window is later than the end time of the fourth time window by a second windowing amount; alternatively, the window length of the third time window is equal to twice the second windowing amount.
When the fourth time window is a certain time, the start time and the end time of the fourth time window are the same.
Based on this possible design, the end time of the third time window may be later than the end time of the fourth time window by a second windowing amount, thereby ensuring that the first node may start receiving the data packet sent by the third node within the third time window. In addition, when the second time window is a period of time, the end time of the third time window is later than the end time of the fourth time window by a second windowing amount may also be described as the difference between the window length of the third time window and the window length of the fourth time window is twice the second windowing amount; when the second time window is a certain time, the end time of the third time window is later than the end time of the fourth time window by the second windowing amount may also be described as the window length of the third time window being equal to twice the second windowing amount. By setting the end time of the third time window to be later than the end time of the fourth time window by the second windowing amount, the problem that the power consumption of the first node is large due to the fact that the third time window is too long can be solved, and the power consumption of the first node is reduced while the first node can receive the data packet sent by the third node.
In one possible design, the first node continues to perform channel detection within the third time window.
Based on this possible design, the first node may continuously perform channel detection within the third time window to ensure that the data packets sent by the third node may begin to be received within the third time window.
In a second aspect, an embodiment of the present application provides a communication apparatus, where the communication apparatus may implement the functions performed by the first node in the foregoing first aspect or a possible design of the first aspect, and the functions may be implemented by hardware and corresponding software. The hardware or software comprises one or more modules corresponding to the functions. Such as a transceiver module and a processing module. The receiving and sending module is used for receiving first clock precision information from the second node; a processing module for performing channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the starting time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter.
In one possible design, the difference between the window length of the first time window and the window length of the second time window is twice the first windowing amount; or the end time of the first time window is later than the end time of the second time window by a first windowing amount; alternatively, the window length of the first time window is equal to twice the first windowing amount.
In one possible design, the processing module is further configured to continuously perform channel detection within the first time window.
In one possible design, the second node is a master node, and the first node and the third node are slave nodes of the second node.
In one possible design, the first clock accuracy information is clock accuracy information of the third node; alternatively, the first clock accuracy information indicates a preset clock accuracy.
In one possible design, the first windowing amount is obtained according to first clock accuracy information, clock accuracy information of the first node, and/or first time difference information; the first time difference information is used for indicating the time difference between the second time and the previous synchronization time of the first node and the third node, and the second time is the end time of the second time window.
In one possible design, the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node, and/or the second time difference information; the second time difference information is used for indicating a fixed time interval, an integer multiple connection interval or an integer multiple connection sub-interval, the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
In one possible design, the first windowing is based on the first clock precision information, the clock precision information of the first node, and/or the connection interval; wherein the connection interval is a connection interval between the first node and the third node.
In one possible design, the first clock precision information is a first windowing amount.
In one possible design, before the transceiver module receives the first clock accuracy information from the second node, the transceiver module is further configured to send the clock accuracy information of the first node to the second node.
In one possible design, the data packet includes clock accuracy information of a third node, and the processing module is further configured to perform channel detection within a third time window from a third time; the third time is earlier than the start time of a fourth time window by a second windowing amount, the second windowing amount corresponds to the clock precision information of the third node, and the fourth time window is determined based on a predefined rule or parameter.
In one possible design, the difference between the window length of the third time window and the window length of the fourth time window is twice the second windowing amount; or the end time of the third time window is later than the end time of the fourth time window by a second windowing amount; alternatively, the window length of the third time window is equal to twice the second windowing amount.
In one possible design, the processing module is further configured to perform channel detection continuously in the third time window.
It should be noted that, for a specific implementation manner of the first node, reference may also be made to a behavior function of the first node in the data transmission method provided by the first aspect or any one of the possible designs of the first aspect, and a technical effect brought by the first node may also be referred to a technical effect brought by any one of the possible designs of the first aspect, which is not described in detail.
In a third aspect, embodiments of the present application provide a communication apparatus, which may be a first node or a chip or a system on chip in the first node. The communication means may implement the functions performed by the first node in each of the above aspects or possible designs, which functions may be implemented in hardware. In one possible design, the communication device may include: a transceiver and a processor. The transceiver and the processor may be adapted to support the communication device to perform the functions referred to in the first aspect above or in any one of the possible designs of the first aspect. For example: the transceiver may be for receiving first clock accuracy information from the second node; the processor may be configured to perform channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the starting time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter. In yet another possible design, the communication device may further include a memory for storing computer-executable instructions and data necessary for the communication device. The transceiver and processor execute the computer executable instructions stored by the memory when the communication device is operating to cause the communication device to perform the data transmission method as described in the first aspect or any one of the possible designs of the first aspect.
The communication apparatus in the third aspect may refer to the first aspect or any one of the possible designs of the first aspect, and may further include a function of the behavior of the first node in the data transmission method.
In a fourth aspect, an embodiment of the present application provides a data transmission method, where the method may include: the second node acquires first clock precision information; the second node sends the first windowing amount to the first node; the first clock precision information is clock precision information of a third node, or the first clock precision information indicates preset clock precision; the first windowing amount corresponds to the first clock accuracy information.
Based on the fourth aspect, the second node may determine a first windowing amount according to the first clock accuracy information, and send the first windowing amount to the first node, so that the first node may determine, according to the first windowing amount, a first time window whose starting time is earlier than the starting time of the second time window by the first windowing amount, and perform channel detection within the first time window to receive a data packet from the third node, thereby implementing information interaction between the first node and the third node, and improving a communication success rate between the first node and the third node.
In one possible design, the second node is a master node, and the first node and the third node are slave nodes of the second node.
Based on the possible design, the first node and the third node can be slave nodes of the second node, and based on the first windowing value, information interaction can be performed between the slave nodes through the first time window, so that data transfer between the slave nodes through the master node is avoided, and the data transmission efficiency and the user experience are improved.
In one possible design, the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node, and/or the first time difference information; the first time difference information is used for indicating the time difference between a second time and the previous synchronization time of the first node and the third node, the second time is the end time of a second time window, and the second time window is determined based on a predefined rule or parameter.
In one possible design, the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node, and/or the second time difference information; the second time difference information is used for indicating a fixed time interval, an integer multiple connection interval or an integer multiple connection sub-interval, the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
In one possible design, the first windowing is based on the first clock precision information, the clock precision information of the first node, and the connection interval; wherein the connection interval is a connection interval between the first node and the third node.
Based on the above three possible designs, the first windowing component may be obtained according to the first clock precision information, the clock precision information of the first node, and/or the first time difference information, or may be obtained according to the first clock precision information, the clock precision information of the first node, and/or the second time difference information, or may be obtained according to the first clock precision information, the clock precision information of the first node, and the connection interval, thereby providing multiple feasible schemes for obtaining the first windowing component.
In one possible design, the second node receives the request message from the third node; the second node sends a first windowing amount to the first node according to the request information; the request information is used for requesting to send a data packet to the first node.
Based on the possible design, the second node may send the first windowing amount to the first node when receiving the request message sent by the third node, and trigger the first node to start performing channel detection at the first time of the first time window to receive the data packet sent by the third node.
In a fifth aspect, an embodiment of the present application provides a communication apparatus, where the communication apparatus may implement the functions performed by the second node in the foregoing fourth aspect or possible designs of the fourth aspect, where the functions may be implemented by executing corresponding software through hardware. The hardware or software comprises one or more modules corresponding to the functions. Such as a transceiver module. The receiving and sending module can be used for acquiring first clock precision information; the transceiver module may be further configured to send the first windowing amount to the first node; the first clock precision information is clock precision information of a third node, or the first clock precision information indicates preset clock precision; the first windowing amount corresponds to the first clock accuracy information.
In one possible design, the second node is a master node, and the first node and the third node are slave nodes of the second node.
In one possible design, the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node, and/or the first time difference information; the first time difference information is used for indicating the time difference between a second time and the previous synchronization time of the first node and the third node, the second time is the end time of a second time window, and the second time window is determined based on a predefined rule or parameter.
In one possible design, the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the second time difference information; the second time difference information is used for indicating a fixed time interval, an integer multiple connection interval or an integer multiple connection sub-interval, the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
In one possible design, the first windowing is based on the first clock precision information, the clock precision information of the first node, and/or the connection interval; wherein the connection interval is a connection interval between the first node and the third node.
In one possible design, the transceiver module is further configured to receive request information from a third node; the receiving and sending module is further used for sending a first windowing amount to the first node according to the request information; the request information is used for requesting to send a data packet to the first node.
It should be noted that, for a specific implementation manner of the second node, reference may also be made to a behavior function of the second node in the data transmission method provided by any one of the possible designs of the fourth aspect or the fourth aspect, and a technical effect brought by the second node may also be referred to a technical effect brought by any one of the possible designs of the fourth aspect, which is not described in detail.
In a sixth aspect, embodiments of the present application provide a communication apparatus, which may be a second node or a chip or a system on chip in the second node. The communication means may implement the functions performed by the second node in each of the above aspects or possible designs, which functions may be implemented in hardware. In one possible design, the communication device may include: a transceiver. The transceiver may be for supporting a communication device to carry out the functions referred to in the fourth aspect above or in any one of the possible designs of the fourth aspect. For example: the transceiver may be configured to obtain first clock accuracy information; the transceiver may be further configured to transmit the first windowed amount to the first node; the first clock precision information is clock precision information of a third node, or the first clock precision information indicates preset clock precision; the first windowing amount corresponds to the first clock accuracy information. In yet another possible design, the communication device may further include a processor and a memory to hold computer-executable instructions and data necessary for the communication device. The transceiver and the processor execute the computer executable instructions stored by the memory when the communication device is operating to cause the communication device to perform the data transmission method as set forth in any one of the possible designs of the fourth aspect or the fourth aspect.
A specific implementation manner of the communication apparatus in the sixth aspect may refer to a behavior function of the second node in the data transmission method provided in any one of the possible designs of the fourth aspect or the fourth aspect.
In a seventh aspect, there is provided a communication device comprising one or more processors, the one or more processors being configured to execute a computer program or instructions which, when executed by the one or more processors, cause the communication device to perform the data transmission method according to the first aspect or any one of the possible designs of the first aspect, or the fourth aspect.
In one possible design, the communication device further includes one or more communication interfaces; one or more communication interfaces are coupled to the one or more processors, the one or more communication interfaces for communicating with other modules outside the communication device.
In one possible design, the communication device further includes one or more memories coupled to the one or more processors, the one or more memories storing the computer programs or instructions. In one possible implementation, the memory is located outside the communication device. In another possible implementation, the memory is located within the communication device. In the embodiments of the present application, it is also possible that the processor and the memory are integrated in one device, that is, the processor and the memory are also integrated together.
In an eighth aspect, a communication device is provided that includes an interface circuit and a logic circuit; the interface circuit is coupled with the logic circuit; logic circuitry for performing the data transfer method of the first aspect or any one of the possible designs of the first aspect, or performing the data transfer method of the fourth aspect or any one of the possible designs of the fourth aspect; the interface circuit is used for communicating with other modules besides the communication device.
In a ninth aspect, there is provided a computer readable storage medium storing a computer instruction or a program which, when run on a computer, causes the computer to perform the data transmission method according to the first aspect or any one of the possible designs of the first aspect, or the data transmission method according to the fourth aspect or any one of the possible designs of the fourth aspect.
A tenth aspect provides a computer program product comprising computer instructions which, when run on a computer, cause the computer to perform the data transmission method of the first aspect or any one of the possible designs of the first aspect, or the data transmission method of the fourth aspect or any one of the possible designs of the fourth aspect.
In an eleventh aspect, embodiments of the present application provide a computer program that, when run on a computer, causes the computer to perform a data transmission method as set forth in the first aspect or any possible design of the first aspect, or perform a data transmission method as set forth in the fourth aspect or any possible design of the fourth aspect.
For technical effects brought by any design manner of the seventh aspect to the eleventh aspect, reference may be made to technical effects brought by any possible design of the first aspect, or to technical effects brought by any possible design of the fourth aspect, which is not repeated herein.
In a twelfth aspect, the present application provides a terminal device, where the terminal device may include the communication apparatus according to any one of the second to third aspects, or include the communication apparatus according to any one of the fifth to sixth aspects.
In a thirteenth aspect, the present invention provides a communication system, which may include the communication apparatus according to any one of the second aspect to the third aspect, and the communication apparatus according to any one of the fifth aspect to the sixth aspect.
Drawings
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 3 is a block diagram of a communication device according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a data transmission method according to an embodiment of the present application;
fig. 5 is a signaling diagram and a time axis diagram of a wireless communication according to an embodiment of the present application;
fig. 6 is a flowchart of a data transmission method according to an embodiment of the present application;
fig. 7 is a schematic composition diagram of a first node according to an embodiment of the present application;
fig. 8 is a schematic composition diagram of a second node according to an embodiment of the present application;
fig. 9 is a schematic composition diagram of a communication device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in further detail with reference to the accompanying drawings.
Hereinafter, some terms in the embodiments of the present application are explained to facilitate understanding by those skilled in the art.
The master node and the slave node refer to two types of nodes which are logically and functionally distinguished. Wherein the primary node has resource scheduling (also referred to as resource allocation) capabilities. The master node may schedule (allocate) time-frequency resources for the slave nodes, and the slave nodes may listen to the schedule of the slave master node and may communicate using the time-frequency resources scheduled (allocated) by the master node. It is understood that the time frequency resource herein may be a resource in a time domain and/or a resource in a frequency domain.
The wireless communication technology plays an important role in daily life of people, and particularly has communication requirements in the fields of intelligent terminals, intelligent homes, intelligent manufacturing, intelligent automobiles and the like.
In a wireless communication system, the wireless communication system may include a Master node (Master) and Slave nodes (Slave), each Master node may correspond to one or more Slave nodes, and the Master node may communicate with the corresponding one or more Slave nodes to implement corresponding data transmission.
However, the slave nodes are generally low-power consumption devices, and are low in cost, due to the problem of clock precision deviation, when the slave nodes do not know the clock precision of the master node, the slave nodes may miss data reception due to the fact that the slave nodes cannot determine the uncertainty of the time when the master node performs data transmission, and thus cannot receive data transmitted by the master node, and thus, part of the slave nodes may receive data and work normally, and part of the slave nodes do not receive data and cannot work normally, which affects user experience. Therefore, data interaction is also required between the slave nodes.
For example, as shown in fig. 1, taking communication between a mobile phone and an earphone as an example, the mobile phone may serve as a master node, the earphone 1 and the earphone 2 may serve as slave nodes of the mobile phone, and it is assumed that the earphone 1 serves as a master ear and the earphone 2 serves as a slave ear, and a requirement for data interaction may exist between the two earphones, for example, whether data sent by the mobile phone is received by both the two earphones needs to be interacted, so as to determine whether to play or discard the received data. Otherwise the following situation may occur: different audio contents (for example, audio contents of different sound channels) that the mobile phone can respectively send to the headset 1 and the headset 2 may exist that the headset 1 receives the audio contents sent by the mobile phone and normally plays the audio contents, and the headset 2 misses a data receiving time and cannot normally play the audio contents sent by the mobile phone without receiving the audio contents sent by the mobile phone, that is, a single-ear play situation occurs, which affects user experience.
Therefore, in a communication system composed of a master node and a plurality of slave nodes, data interaction is also required between the slave nodes, and how to ensure successful transmission of data between the slave nodes is a problem to be solved.
However, since the slave nodes are generally low-power-consumption devices, the cost is low, and there may be a clock accuracy deviation problem between the slave nodes, when the slave node at the receiving end does not know the clock accuracy of the slave node at the transmitting end, the slave node at the receiving end may miss the time of data reception, and thus cannot receive the data transmitted by the slave node at the transmitting end, and cannot perform information interaction with the slave node at the transmitting end, which affects user experience.
In order to solve the above problem, embodiments of the present application provide a data transmission method and apparatus, where a first node may receive first clock precision information from a second node; and performing channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the starting time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter.
In this embodiment, the first node may determine, according to the first clock accuracy information, a first time window whose start time is earlier than the start time of the second time window by a first windowing amount, and perform channel detection in the first time window to receive the data packet from the third node. The first node starts to execute channel detection before the second time window, so that the first node can be ensured to receive the data packet sent by the third node, information interaction between the first node and the third node is realized, data transfer between slave nodes through the master node is avoided, and data transmission efficiency and user experience are improved.
The following detailed description of embodiments of the present application refers to the accompanying drawings.
The data transmission method provided in the embodiment of the present application may be used in any wireless communication system, and the wireless communication system may be a short-range communication system, a cellular communication system (e.g., a Long Term Evolution (LTE) system, a new radio access technology (NR)), a Worldwide Interoperability for Microwave Access (WiMAX) communication system, and various types of next generation communication systems (e.g., a sixth generation (6G) mobile communication system), and the like, without limitation. The short-range communication system may be a bluetooth communication system, a low-power bluetooth communication system, a wireless-fidelity (Wi-Fi) communication system, a universal short-range communication system, a vehicle-mounted universal short-range communication system, a spark link short-range communication technology, various types of next-generation short-range communication systems, and the like, without limitation.
The following describes a communication system provided in an embodiment of the present application, with reference to fig. 2 as an example.
Fig. 2 is a schematic diagram of a communication system according to an embodiment of the present disclosure, and as shown in fig. 2, the communication system may include a master node and a slave node, where the master node may correspond to one or more slave nodes, the master node may communicate with the slave nodes, and the slave nodes may also communicate with each other.
Wherein the one or more slave nodes may form a communication domain with the master node to enable a particular application function. For example, one master node (handset) and two slave nodes (left and right ears) enable a binaural audio playback service.
The master node in fig. 2 may be configured to be responsible for scheduling resources (grant wireless resources) or allocating resources, and the master node may establish communication connection with each slave node respectively to perform data interaction. The master node may also be referred to as a scheduling (G) node.
The slave node in fig. 2 may perform data interaction with the master node, for example, receive data sent by the master node or send data to the master node. The slave node can also establish communication connection with other slave nodes. The resources for communication between the slave nodes may be uniformly scheduled (allocated) by the master node. The slave node may also be referred to as a terminal (T) node, and the communication link between the slave node and the slave node may also be referred to as a TT link.
In a specific implementation, as shown in fig. 2, the following steps are performed: the master node and each slave node may adopt the composition structure shown in fig. 3 or include the components shown in fig. 3. Fig. 3 is a schematic diagram illustrating a communication device 300 according to an embodiment of the present disclosure, where the communication device 300 may be a master node or a chip or a system on a chip in the master node; but also slave nodes or chips or systems on chip in slave nodes. As shown in fig. 3, the communication device 300 includes a processor 301, a transceiver 302, and a communication line 303.
Further, the communication device 300 may further include a memory 304. The processor 301, the memory 304 and the transceiver 302 may be connected via a communication line 303.
The processor 301 is a Central Processing Unit (CPU), a general purpose processor Network (NP), a Digital Signal Processor (DSP), a microprocessor, a microcontroller, a Programmable Logic Device (PLD), or any combination thereof. The processor 301 may also be other devices with processing functions, such as, without limitation, a circuit, a device, or a software module.
A transceiver 302 for communicating with other devices or other communication networks. The other communication network may be an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), or the like. The transceiver 302 may be a module, a circuit, a transceiver, or any device capable of enabling communication.
A communication line 303 for transmitting information between the respective components included in the communication apparatus 300.
A memory 304 for storing instructions. Wherein the instructions may be a computer program.
The memory 304 may be a read-only memory (ROM) or other types of static storage devices that can store static information and/or instructions, a Random Access Memory (RAM) or other types of dynamic storage devices that can store information and/or instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), a magnetic disc storage medium or other magnetic storage devices, and the like, without limitation.
It is noted that the memory 304 may exist separately from the processor 301 or may be integrated with the processor 301. The memory 304 may be used for storing instructions or program code or some data or the like. The memory 304 may be located inside the communication device 300 or outside the communication device 300, which is not limited. The processor 301 is configured to execute the instructions stored in the memory 304 to implement the data transmission method provided by the following embodiments of the present application.
In one example, processor 301 may include one or more CPUs, such as CPU0 and CPU1 in fig. 3.
As an alternative implementation, the communication device 300 may comprise a plurality of processors, for example, the processor 307 may be included in addition to the processor 301 in fig. 3.
As an alternative implementation, the communication apparatus 300 further includes an output device 305 and an input device 306. Illustratively, the input device 306 is a keyboard, mouse, microphone, or joystick-like device, and the output device 305 is a display screen, speaker (spaker), or like device.
It should be noted that the communication apparatus 300 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system or a device with a similar structure as that in fig. 3. Further, the constituent structure shown in fig. 3 does not constitute a limitation of the communication apparatus, and the communication apparatus may include more or less components than those shown in fig. 3, or combine some components, or a different arrangement of components, in addition to the components shown in fig. 3.
In the embodiment of the present application, the chip system may be composed of a chip, and may also include a chip and other discrete devices.
In addition, acts, terms, and the like referred to between the embodiments of the present application may be mutually referenced and are not limited. In the embodiment of the present application, the name of the message or the name of the parameter in the message that is interacted between the devices is only an example, and other names may also be used in specific implementation, which is not limited.
With reference to fig. 4 below, a description is given to a data transmission method provided in an embodiment of the present application with reference to a communication system shown in fig. 2, where a second node may be any master node in the communication system shown in fig. 2, a first node may be any slave node of the second node in the communication system shown in fig. 2, a third node may be any slave node except the first node in the slave nodes of the second node in the communication system shown in fig. 2, the third node may perform data transmission to the first node, and the first node may receive data from the third node. The first node, the second node, and the third node described in the following embodiments may each include the components shown in fig. 3.
Fig. 4 is a flowchart of a data transmission method provided in an embodiment of the present application, and as shown in fig. 4, the method may include:
step 401, the second node sends the first clock precision information to the first node.
The first clock precision information may be clock precision information of the third node, may also indicate a preset clock precision, and may also be a first windowing amount. The second node may be a master node and the first and third nodes may be slave nodes of the second node. In addition, the first node is a slave node of the second node, which means that the second node is a master node and the first node is a slave node in the communication relationship. It should be noted that, in different scenarios, the master-slave relationship may also change, and the solution of the present application is based on a certain scenario, in which the second node is a master node, and the first node and the third node are slave nodes of the second node.
In one possible design, the first clock accuracy information is clock accuracy information of the third node.
Wherein the clock accuracy information of the third node may be obtained by the second node from the third node. The embodiment of the present application does not limit the method for the second node to obtain the first clock precision information.
The clock precision information of the third node may be used to indicate an active clock precision (ACA) of the third node in an active state (active), or to indicate a sleep clock precision (SCA) of the third node in a sleep state (sleep). The ACA and SCA of the third node may be the same or different, without limitation.
In a second possible design, the first clock accuracy information indicates a preset clock accuracy.
The first clock precision information may be preset by the communication protocol, or preset by the second node.
If the first clock precision information is preset by the communication protocol, the second node can determine the first clock precision information according to the communication protocol and send the first clock precision information to the first node. If the first clock precision information is preset by the second node, the second node can send the preset first clock precision information to the first node.
It should be noted that, if the first clock precision information is preset by the communication protocol, the first node may also determine the first clock precision information according to the communication protocol, and at this time, the second node may not need to send the first clock precision information to the first node, so that signaling interaction between the first node and the second node is reduced, and signaling overhead is reduced. Thus, in this case, step 401 is an optional step, or step 401 may be replaced with: the first node acquires first clock precision information.
Illustratively, the preset clock precision may be a coarse clock precision.
For example, the coarse clock accuracy may be the maximum value of the clock accuracy of the first node and the clock accuracy of the third node, or may be the worst clock accuracy set in advance.
If the coarse clock precision is the maximum value of the clock precision of the first node and the clock precision of the third node, the second node may receive the clock precision information of the first node sent by the first node, receive the clock precision information of the third node sent by the third node, and send the clock precision information corresponding to the maximum value of the clock precision of the first node and the clock precision of the third node as the first clock precision information to the first node.
It should be noted that, similar to the description of the clock precision information of the third node, the clock precision information of the first node may be used to indicate the ACA of the first node or to indicate the SCA of the first node, and the ACA and SCA of the first node may be the same or different, without limitation.
In another possible implementation manner, the first clock accuracy information is preset by the communication protocol, but may be associated with different device types, and the second node may determine the first clock accuracy information corresponding to the device type according to the device type of the third node.
For example, taking a unit of clock precision as one part per million (ppm) as an example, assuming that the worst clock precision is 500ppm for a type 1 device and 200ppm for a type 2 device, the second node may determine the corresponding first clock precision information according to the device type of the third node, for example, when the device type of the third node is type 1, the second node may determine the first clock precision information as 500ppm, and when the device type of the third node is type 2, the second node may determine the first clock precision information as 200ppm. The above is merely an example, and the application is not limited to the number of device types and the specific clock accuracy.
Based on the two possible designs, the first clock precision information and the clock precision information of the first node may be specific clock precision, or may be an index of the clock precision.
For example, taking the example that the clock precision information is a specific clock precision, the first node may read a bit carrying the clock precision information, and determine the clock precision indicated by the clock precision information.
For example, taking the bit number of the information carrying the clock accuracy as 10 as an example, the 10 bits may indicate any clock accuracy in the range of 0ppm to 1023ppm, and the first node may determine the specific clock accuracy by reading the 10 bits of clock accuracy information. Assuming that the 10 bits are 1000000000, the first node may determine the clock accuracy to be 1023ppm.
The unit of clock precision can be ppm, and the method is a convenient method for comparing the precision of different crystal specifications.
In another example, taking the example that the clock precision information is an index of the clock precision, different indexes may correspond to different clock precisions or clock precision intervals, and the first node may determine the clock precision according to the indexes.
For example, assuming that the clock accuracy of the third node is 300ppm and the index that can determine the clock accuracy of the third node is 0 according to table 1, assuming that the clock accuracy of the third node is 300ppm and the first clock accuracy information is the clock accuracy information of the third node, the second node may transmit the index 0 as the first clock accuracy information to the first node, and the first node may perform analysis in the worst case after receiving the first clock accuracy information, that is, the first node may determine that the clock accuracy indicated by the first clock accuracy information is 500ppm. It should be noted that the table is only an embodiment of the corresponding relationship, and the corresponding relationship may be embodied in any manner, and is not limited to use of the table, and the actual corresponding relationship may include a part of the corresponding relationship shown in the table related to the present application, and not all of the corresponding relationship need to be satisfied.
TABLE 1
Index Clock accuracy
0 251 to 500ppm
1 151ppm to 250ppm
2 101ppm to 150ppm
3 76ppm to 100ppm
4 51ppm to 75ppm
5 31ppm to 50ppm
6 21ppm to 30ppm
7 0ppm to 20ppm
For another example, based on the description of the maximum value of the clock accuracy of the first node and the clock accuracy of the third node, when the clock accuracy information adopts an index method, referring to table 1, it is assumed that the clock accuracy information of the first node is index 0 and the clock accuracy information of the third node is index 4, and the second node can determine that the maximum value of the clock accuracy of the first node and the clock accuracy of the third node is 251ppm to 500ppm from index 0 and index 4; alternatively, the second node may determine that the maximum of the clock accuracy of the first node and the clock accuracy of the third node is 500ppm.
It should be noted that the clock precision in the embodiment of the present application may indicate one clock precision interval, and may also indicate an upper bound of the clock precision interval, that is, the worst clock precision.
In a third possible design, the first clock accuracy information is a first windowing (window windowing).
In a first example, the second node may determine the first windowing amount according to the clock accuracy information of the first node, the clock accuracy information of the third node, and/or the first time difference information.
For example, the first amount of windowing = (clock precision of first node + clock precision of third node)/10 ^6 ^ first time difference.
The second node may receive the clock precision information of the first node sent by the first node, and receive the clock precision information of the third node sent by the third node.
The first time difference information may be used to indicate a first time difference between a second time and a previous synchronization time of the first node and the third node, where the second time may be an end time of a second time window, the second time window may be determined based on a predefined rule or parameter, the third node may send a data packet to the first node based on the second time window, and the previous synchronization time of the first node and the third node may also be described as a time when the first node and the third node perform synchronization for the last time before the second time.
For example, taking the first node and the third node to synchronize at 5s, 10s and 15s respectively as an example, assuming that the second time is 13s, it can be determined that the time when the first node and the third node synchronize last before the second time is 10s, and the first time difference between the second time and the previous synchronization time of the first node and the third node is 3s.
In a second example, the second node may determine the first windowing amount according to the clock precision information of the first node, the preset clock precision and/or the first time difference information.
For example, the first windowing amount = (clock precision of the first node + preset clock precision)/10 ^6 ^ first time difference.
The description of the preset clock precision may refer to the description of the preset clock precision in the second possible design, which is not repeated herein.
In a third example, the second node may determine the first windowing amount according to the clock precision information of the first node, the clock precision information of the third node, and/or the second time difference information.
For example, the first amount of windowing = (clock precision of the first node + clock precision of the third node)/10 ^6 ^ second time difference.
The second node may receive the clock precision information of the first node sent by the first node, and receive the clock precision information of the third node sent by the third node. The second time difference information may be used to indicate a communication protocol convention or a longest time interval allowed by the communication protocol, and the third node needs to perform data interaction with the first node once in the time interval, that is, the third node needs to perform data transmission to the first node once. The time interval may be configured by the second node (i.e., the master node).
The second time difference information may be used to indicate a fixed time interval, an integer multiple connection interval, or an integer multiple connection sub-interval, where the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
Wherein the connection interval may be the length of time between the starting time points of two consecutive connection events. The connection interval may be configured by the second node or may be protocol-agreed. The connection interval may be considered as a portion of the time domain resources used for communication. The connection event may be one or more connection events comprised by a connection established between the first node and the third node, in each of which the first node interacts with the third node. A connection event may be a process of mutually transmitting a data packet between the first node and the third node in a connection interval.
A connection event may also include a plurality of connection sub-events, and a connection sub-interval may be a length of time between start time points of two consecutive connection sub-events.
Specifically, the detailed description of the connection event, the connection interval, the connection sub-event and the connection sub-interval may refer to the following related description in fig. 5, and is not repeated herein.
In another possible scenario, the second time difference may be configured to the first node by the second node.
For example, the first node may determine the second time difference from a time offset of the position of the transmission time window configured by the second node for the third node with respect to the current time instant.
In a fourth example, the second node may determine the first windowing amount according to the clock precision information of the first node, the preset clock precision and/or the second time difference information.
For example, the first windowing amount = (clock precision information of the first node + preset clock precision)/10 ^6 ^ second time difference.
The description of the preset clock precision may refer to the description of the preset clock precision in the second possible design, which is not repeated herein.
In a fifth example, the second node may determine the first windowing amount according to the clock accuracy information of the first node, the clock accuracy information of the third node, and/or the connection interval.
For example, the first amount of windowing = (clock precision of first node + clock precision of third node)/10 ^6 ^ connection interval.
The connection interval may be a connection interval between the first node and the third node, and the connection interval may be predetermined by a communication protocol or preset by the second node.
The connection interval is equal to or less than the second time difference. From the viewpoint of energy saving, when communication is performed between nodes, data transmission is not required to be performed in each connection interval, and thus several consecutive connection intervals can be skipped. The connection interval may be equal to the second time difference when data transmission is performed in each connection interval.
In a sixth example, the second node may determine the first windowing amount according to the clock accuracy information of the first node, a preset clock accuracy and/or a connection interval.
For example, the first amount of windowing = (clock precision of the first node + preset clock precision)/10 ^6 connection interval.
The description of the preset clock precision may refer to the description of the preset clock precision in the second possible design, which is not repeated herein. The description of the connection interval may refer to the description of the connection interval in the fifth example described above.
It should be noted that, considering that each node may be in different modes (e.g., sleep mode and active mode), a fixed amount of time associated with a mode may additionally be introduced in calculating the first amount of windowing. At this time, the finally determined first windowing amount needs to be additionally increased by a fixed amount of time based on the first windowing amount determined according to at least one of the first example, the second example, the third example, the fourth example, the fifth example, and the sixth example.
For example, when the clock accuracy information of the third node is the ACA information, the fixed amount of time may be 2us; when the clock accuracy information of the third node is the SCA information, the fixed amount of time may be 16us. It is assumed that, based on the sixth example, the second node may determine the first windowing amount according to the clock accuracy information of the first node, the preset clock accuracy, and the connection interval. When the clock precision information of the third node is the SCA information, the first windowing amount = (the clock precision of the first node + the preset clock precision)/10 ^6 ^ connection interval +16us.
Optionally, based on the three possible designs, the second node carries the first clock precision information in the configuration information, and sends the configuration information to the first node in one or more of a broadcast mode, a multicast mode, or a unicast mode.
The configuration information may be carried in a system message, may also be carried in a control signaling or a control frame, and may also be carried in physical layer control information, without limitation.
In one possible design, the first clock accuracy information may be included in a communication domain system broadcast message, that is, the first clock accuracy information may be included in a system broadcast message transmitted by the second node. Since the first node can receive the system broadcast message, it can be broadly understood that the first clock accuracy information is transmitted from the second node to the first node.
In one possible design, the first clock accuracy information may be included in control signaling, or a control frame (also referred to as a management frame), sent by the second node to the first node. The control signaling or the control frame may contain control information, and the control information may be used to configure necessary parameters for the TT link to perform data communication normally.
It should be noted that the embodiment of the present application does not limit the condition for the second node to send the first clock precision information.
Optionally, the second node receives request information from the third node, and sends the first clock precision information to the first node according to the request information.
Wherein the request information may be used to request the sending of the data packet to the first node.
Specifically, the second node may determine, according to the received request information, that the third node needs to send a data packet to the first node, at this time, the second node may send first clock precision information to the first node to trigger the first node to execute the following step 402, determine a first time window according to the first clock precision information, and start to execute channel detection from a start time of the first time window.
It should be noted that, when the second node serving as the master node communicates with the first node or the third node, the master node may send a connection request message (connect request) in a broadcast event based on a broadcast channel, and after receiving the connection request message, the slave node may establish a connection with the slave node according to the connection request message.
Optionally, fig. 5 is a signaling diagram and a time axis diagram of a wireless communication according to an embodiment of the present application. Wherein, T represents a time axis, T3 represents a third node, and T1 represents a first node; t3 → T1 indicates that the third node transmits data to the first node, and T1 → T3 indicates that the first node transmits data to the third node.
As shown in (a) of fig. 5, the second node (master node) may transmit TT link configuration information to the third node (T3), wherein the configuration information may configure a time window for the third node (T3) to perform data transmission. I.e. the third node (T3) is required to start data transmission within the configured time window. Optionally, the time window may be a time, and it is understood that the first node (T1) may also obtain the time window, and the first node (T1) may open a radio frequency window (Rx window) within the corresponding time window in order to receive the information from the third node (T3). For example, the configured time window may be the aforementioned second time window.
In addition, the second node (master node) may configure a Connection Interval (CI) parameter for the third node (T3) to communicate data with the first node (T1), and the connection interval parameter may indicate the size of the connection interval. The third node (T3) and the first node (T1) may start to interact when each connection interval starts, that is, the third node (T3) sends a data packet to the first node (T1), and the first node (T1) sends a data packet to the third node (T3). The third node (T3) may interact with the first node (T1) multiple times within a single connection interval. A plurality of interactions within one connection interval is called a connection event (CI); a connection interval may also be referred to as a transmission interval and a connection event may also be referred to as a transmission event.
Wherein the connection interval may be the length of time between the starting time points of two consecutive connection events. The connection interval may be configured by the second node or may be protocol agreed. The connection interval may be considered as a portion of the time domain resources used for communication. The connection event may be one or more connection events included in a connection established between the nodes, and in each connection event, the two communication parties interact with each other. A connection event may be the process of sending packets to and from nodes in a connection interval.
In a connection event between the third node (T3) and the first node (T1), an interval between the T3 → T1 data packet P1 and the T1 → T3 data packet P2 (referred to as a preset time interval, also referred to as a fixed time interval) is a time interval T, and the time interval T is mainly used for transceiving conversion. The third node (T3) starts receipt reception after the time interval T has elapsed after completion of data transmission. Alternatively, the first node (T1) starts data transmission after the time interval T elapses after the data reception is completed. The time interval T may be agreed by a protocol, or configured by the second node, or determined by negotiation between the transmitting end and the receiving end. This is not a limitation of the present application. This time interval T may also be referred to as an Inter Frame Space (IFS) time, or an Inter Packet Space (IPS) time, or a switching time interval. Other names are different but are within the scope of the present application as time intervals between receiving and transmitting.
As shown in fig. 5 (a), the first node (T1) may periodically transmit data to the third node (T3) with the connection interval as a period, with a time point of starting to receive the data packet P1 as an initial anchor point (or origin). In a single connection interval, the third node (T3) and the first node (T1) can perform one or more rounds of data interaction, and when no data to be sent exists between the third node (T3) and the first node (T1), the interaction is stopped until the next connection interval. In data transmission. The length of time taken for the third node (T3) to transmit data with the first node (T1) is not fixed, depending on the size of the data packet, but is constrained by the maximum transmission time.
It should be noted that, in order to save power consumption, data interaction is not required to be performed in each connection interval, and a plurality of connection intervals may be skipped, which may be specifically configured by the system. That is, it is not required that the first node need to receive the data of the third node in every connection interval. At this time, the period of interaction between two nodes is lengthened, but the starting position of the possible interaction is still at the possible time points, which are also called anchor points, with the initial anchor point as the starting point and the connection interval as the period.
It will be appreciated that in this implementation, the second node (master node) configures the third node (T3) and the first node (T1) with "shared" time resources. The third node (T3) completes data sending, and after a preset time interval, the first node (T1) can send data. The time at which the first node (T1) starts data transmission is not fixed at each connection event.
It should be understood that the maximum packet size of a single data transmission of the third node and/or the first node may be agreed by a protocol, or may be configured by the second node (master node), and the maximum time length occupied by the third node and the maximum time length occupied by the first node may be determined according to the size of a data packet to be transmitted.
It should be understood that the node may begin data reception or transmission immediately after the preset time interval. In another possible implementation, the node may start receiving or transmitting only at the first integer time slot after the preset time interval, so as to ensure time alignment between the two ends of the transceiver.
As shown in fig. 5 (b), the join interval may be a time interval between start times of two adjacent join events, for example, it may be a join interval (CI) shown in fig. 5 (b), where the first join event includes two rounds of interactions between the third node (T3) and the first node (T1), where the third node (T3) sends data to the first node (T1), and receives the data sent by the first node (T1) is called to complete one round of data interactions, that is, adjacent T3- > T1 and T1- > T3 shown in fig. 5 (b) are one round of data interactions. The second connection event in (b) of fig. 5 includes only one round of data interaction between the third node (T3) and the first node (T1). In this embodiment, the transceiver and the transceiver can share the configured resource in the configured connection event, for example, one Connection Event (CE) can be used for the third node (T3) to send data to the first node (T1), and can also be used for the first node (T1) to send data to the third node (T3). In a specific implementation manner, on the condition that the configured preset time interval is satisfied, the third node (T3) sends data to the first node (T1), and the length of a time resource occupied by the first node (T1) for sending data to the third node (T3) may be variable (depending on the size of a data packet to be sent), and a start time of the first node (T1) sending data to the third node (T3) is also uncertain. For example, the time resources of the first group T3- > T1 and the time resources occupied by the second group T3- > T1 may be different in size.
In another implementation, the connection event may further include a plurality of connection sub-events, and therefore, the connection event information may further include a connection sub-event interval, the number of connection sub-events, a time length for data transmission of the third node (T3) in the connection sub-event, or a time length for data transmission of the first node (T1) in the connection sub-event.
As shown in (c) of fig. 5, a single connection event may include a plurality of connection sub-events, for example, the connection event in (c) of fig. 5 includes 3 rounds of interaction between the third node (T3) and the first node (T1), the single connection sub-event may include one round of interaction between the third node (T3) and the first node (T1), the one round of interaction may be that the third node (T3) sends data to the first node (T1) and then the first node (T1) sends data to the third node (T3), or the first node (T1) sends data to the third node (T3) and then the third node (T3) sends data to the first node (T1). It should be understood that the data transmission sequence between the third node (T3) and the first node (T1) may be configured or agreed by a protocol, and the present application is not limited thereto.
The interval between the start times of two adjacent connected sub-events is called a connected sub-event interval (also called a sub-interval); the maximum time length of data transmission of the third node (T3) and the maximum time length of data transmission of the first node (T1) in a single connection sub-event may also be configured by the second node (master node). Generally, within one connection sub-event, after the third node (T3) completes data transmission, a preset time interval (also referred to as a fixed time interval) is passed, and data transmission is performed by the first node (T1).
Optionally, within a connection sub-event, the time resource for the third node (T3) to send data to the first node (T1) and the time resource for the first node (T1) to send data to the third node (T3) may be pre-configured as periodically occurring time-fixed resources.
For example, the second node may obtain the clock synchronization precision information of the third node by:
the second node sends clock precision request information to the third node, and the clock precision request information is used for inquiring the clock precision of the third node; the third node sends the clock precision information of the third node to the second node and reports the clock precision of the third node.
It should be noted that, in the embodiment of the present application, a manner of sending the first clock precision information to the second node by the third node is not limited.
Step 402, the first node performs channel detection within a first time window from a first time instant.
It can be understood that when the slave nodes communicate directly, there are a sending node and a receiving node, since the slave nodes are low-power consumption devices, the cost is low, and there is uncertainty for the sending node to send data due to clock precision deviation. To avoid such uncertainty, each time the receiving node receives the data sent by the sending node, it needs to widen the time window (including a single time, such as the second time window) on the basis of the "agreed time window", that is, the starting time of the widened time window (such as the first time window) is earlier than the starting time of the time window before widening (such as the second time window), and the receiving node may start to perform channel detection at the starting time of the widened time window to ensure that the receiving node can receive the data packet sent by the sending node.
Generally, in an extreme case, the sending node sends data only at the end of the agreed time window, and at this time, optionally, the end time of the widened time window is later than the time window before widening, so that it can be ensured that the receiving node can always start receiving the data packet sent by the sending node in the widened time window.
In particular, the first node may perform channel sensing on a channel carrying data packets from the third node, which may also be described as channel sensing (detecting).
The first node may determine the first time window according to the first clock precision information sent by the second node.
The first time of the first time window may be earlier than the start time of the second time window by a first windowing amount, the first windowing amount corresponding to the first clock accuracy information, and the second time window being determined based on a predefined rule or parameter.
The second time window may correspond to a period of time, or may be a specific time.
It can be understood that, as shown in (a) of fig. 5, when the third node performs initial communication with the first node, the second node may configure a corresponding time window (which may also be referred to as a transmission time window, a detection time window, and corresponds to the second time window here) for appointing the third node to perform data transmission to the first node within the time window. Accordingly, the first node may also know the time window, so that the first node knows within what time window to receive data from the third node.
It is understood that the second node may configure the time window for the third node to transmit data to a specific time (also referred to as a specific time).
Wherein the second time window may be configured by the second node and communicated to the third node and the first node.
In another scenario, as shown in fig. 5 (b), after the third node completes the initial communication with the first node and determines the initial anchor point of the communication, the third node and the first node may interact with each other multiple times in a connection event, and then the first node may determine that the second time window is a specific time, which is + a fixed time interval when the first node completes data transmission to the third node.
Between a connection event, the first node may determine the second time window as: starting from the initial anchor point, the time points of + integer number of connection intervals.
In the connect sub-event as shown in (c) of fig. 5, the first node may determine the second time window as: the time points of + integer subintervals starting from the initial anchor point may be referred to as sub-anchor points.
Based on the above description, the second time window can be understood as the time point or time window when the third node performs data transmission under the ideal condition (without considering the influence of clock precision) that the first node and the third node "agree well".
On the basis of the second time window, when actual data are received, the first node firstly determines a first windowing amount and further determines the starting time of the first time window, namely determines the first time, in consideration of the influence of clock precision.
It should be noted that, when the first clock precision information indicates a preset clock precision for the clock precision information of the third node or the first clock precision information, the first node may determine the first windowing amount by the following example.
In a first example, the first node may determine the first windowing amount according to clock accuracy information of the first node, clock accuracy information of the third node, and/or first time difference information.
For example, the first amount of windowing = (clock precision of first node + clock precision of third node)/10 ^6 ^ first time difference.
The first time difference information may be used to indicate a first time difference between a second time and a previous synchronization time of the first node and the third node, where the second time is an end time of the second time window.
When the second time window corresponds to a specific time, the start time and the end time of the second time window both correspond to the specific time.
For example, the second node may configure the second time window for the third node to transmit data as a time point.
In another scenario, as shown in (b) of fig. 5, after the third node completes the initial communication with the first node and determines the initial anchor point of the communication, the third node and the first node may interact for multiple times within a connection event, and at this time, it may be determined that the first time difference is equal to the fixed time interval, because the second time is a specific time, which is + a fixed time interval when the first node completes data transmission to the third node; and the time of the previous synchronization of the first node and the third node corresponds to the time of finishing the transmission of the first node to the third node.
Between connection events, the first time difference may be determined as a single connection interval, or an integer multiple of connection intervals (considering that data interaction does not always occur within each connection interval), and thus the second time may be: taking the initial anchor point as a starting point and connecting time points of integral connection intervals; in order to simplify the calculation, the time when the first node and the third node synchronize last corresponds to the anchor point corresponding to the data packet sent by the third node received by the first node last time. It should be noted that, the second node receives the data sent by the third node at the "agreed anchor", and it can be understood that the data packet received at the "agreed anchor" may be considered to correspond to the anchor.
At the connection sub-event shown in (c) of fig. 5, the first node may determine the second time window as: starting from the initial anchor point + an integer number of subintervals. Similar to the above connection event, the first time difference may be determined to be a single connection sub-interval or an integer multiple of connection sub-intervals (considering that data interaction does not always occur in each connection sub-interval), and thus the second time may be: taking the initial anchor point as a starting point and connecting time points of subintervals by integers; and the previous synchronization time of the first node and the third node corresponds to the sub-anchor point corresponding to the data packet sent by the third node received by the first node last time. It should be noted that, the second node receives data sent by the third node at the "agreed sub-anchor", and it can be understood that a data packet received at the "agreed sub-anchor" may be considered to correspond to the sub-anchor.
In a second example, the first node may determine the first windowing amount according to clock precision information of the first node, preset clock precision and/or first time difference information.
For example, the first amount of windowing = (clock precision of the first node + preset clock precision)/10 ^6 ^ first time difference.
For the description of the preset clock precision, reference may be made to the description of the preset clock precision in the second possible design in step 401, which is not described in detail.
In a third example, the first node may determine the first windowing amount according to the clock precision information of the first node, the clock precision information of the third node, and/or the second time difference information.
For example, the first amount of windowing = (clock precision of the first node + clock precision of the third node)/10 ^6 ^ second time difference.
Wherein the second time difference may be configured to the first node by the second node.
For example, the first node may determine the second time difference from a time offset of the position of the transmission time window configured by the second node for the third node with respect to the current time instant.
For another example, the second time difference information may be used to indicate a protocol agreement or a maximum time interval allowed by the protocol, within which the third node must perform one data interaction with the first node, i.e. the third node must perform one data transmission to the first node. Wherein the time interval may be configured by the second node, i.e. the master node.
In a fourth example, the first node may determine the first windowing amount according to clock precision information of the first node, preset clock precision and/or second time difference information.
For example, the first amount of windowing = (clock precision of the first node + preset clock precision)/10 ^6 ^ second time difference.
The description of the preset clock precision may refer to the description of the preset clock precision in the second possible design in step 401, and the description of the second time difference information may refer to the description of the second time difference information, which is not repeated.
In a fifth example, the first node may determine the first windowing amount according to clock accuracy information of the first node, clock accuracy information of the third node, and/or a connection interval.
For example, the first amount of windowing = (clock precision of first node + clock precision of third node)/10 ^6 connection interval.
The connection interval may be a connection interval between the first node and the third node, and the connection interval may be predetermined by a communication protocol or preset by the second node.
The connection interval is equal to or less than the second time difference. From the viewpoint of energy saving, when the nodes communicate with each other, data transmission is not required to be performed in each connection interval, and a plurality of continuous connection intervals can be skipped. The connection interval is equal to the second time difference when data transmission is performed in each connection interval.
In a sixth example, the first node may determine the first windowing amount according to the clock precision information of the first node, a preset clock precision and/or a connection interval.
The description of the preset clock precision may refer to the description of the preset clock precision in the second possible design, which is not described in detail. The description of the connection interval may refer to the description of the connection interval in the fifth example described above.
For example, the first amount of windowing = (clock precision of the first node + preset clock precision)/10 ^6 connection interval.
It should be noted that, considering that each node may be in different modes (e.g., sleep mode and active mode), a fixed amount of time associated with the modes may be additionally introduced when acquiring the first amount of windowing. At this time, the finally determined first windowing amount needs to be additionally increased by a fixed amount of time based on the first windowing amount determined according to at least one of the first example, the second example, the third example, the fourth example, the fifth example, and the sixth example.
For example, when the clock accuracy information of the third node is the ACA information, the fixed amount of time may be 2us; when the clock accuracy information of the third node is the SCA information, the fixed amount of time may be 16us. It is assumed that, based on the sixth example, the second node may determine the first windowing amount according to the clock accuracy information of the first node, the preset clock accuracy, and the connection interval. When the clock precision information of the third node is the SCA information, the first windowing amount = (the clock precision information of the first node + the preset clock precision)/10 ^6 ^ connection interval +16us.
Optionally, the ending time of the first time window is later than the ending time of the second time window by a first window adding amount, so as to ensure that the data packet sent by the third node can be received in the first time window.
In addition, when the second time window is a period of time or a certain time, the end time of the first time window is later than the end time of the second time window by the first windowing amount may also be described as the difference between the window length of the first time window and the window length of the second time window is twice the first windowing amount; when the second time window is a certain time instant, the end time of the first time window being later than the end time of the second time window by the first windowing amount may also be described as the window length of the first time window being equal to twice the first windowing amount.
Optionally, the first node continuously performs channel detection within the first time window to ensure that the data packet sent by the third node can be received within the first time window.
And step 403, the third node sends the data packet to the first node. Accordingly, the first node receives a data packet from the third node.
It should be noted that, in the embodiment of the present application, the precedence relationship between the step 403 and the step 402 is not limited.
The third node may send the data packet to the first node according to the second time window, but due to the clock precision deviation problem, the third node may start sending the data packet to the first node earlier than the start time of the second time window, or may start sending the data packet to the first node later than the start time of the second time window. The first node can ensure that the first node receives the data packet sent by the third node by starting to execute channel detection at the first time.
Based on the embodiment shown in fig. 4, the first node may determine a first time window having a start time earlier than a start time of the second time window by a first windowing amount according to the first clock accuracy information, and perform channel detection within the first time window to receive a data packet from the third node. The first node starts to execute channel detection before the second time window, so that the uncertainty of data transmission of the transmitting node can be overcome, the first node is ensured to receive the data packet transmitted by the third node, the information interaction between the first node and the third node is realized, and the communication success rate between the first node and the third node is improved.
Further, the third node may carry the clock accuracy information of the third node in a data packet to send to the first node, at this time, as shown in fig. 6, the first node may perform the following step 404 to perform channel detection based on the third time window.
And step 404, the first node executes channel detection in a third time window from the third time according to the clock precision information of the third node.
And the third time is earlier than the starting time of the fourth time window by a second windowing amount, and the second windowing amount corresponds to the clock precision information of the third node.
For example, similar to the above-mentioned determination of the first windowing amount, the second windowing amount may be obtained according to the clock accuracy information of the first node, the clock accuracy information of the third node, and/or the third time difference information.
The third time difference information is used for indicating a third time difference between a fourth time and a previous synchronization time of the first node and the third node, and the fourth time is an end time of the fourth time window.
It should be noted that the fourth time window may be a time window configured by the second node to the first node and the third node, the description of the fourth time window may refer to the description of the second time window, the description of the fourth time may refer to the description of the second time, and the description of the third time difference information may refer to the description of the first time difference information, which is not repeated herein.
In yet another example, similar to the determining the first windowing amount described above, the second windowing amount may be derived from clock accuracy information of the first node, clock accuracy information of the third node, and/or second time difference information.
The second windowing amount may be determined by referring to the second time difference information or the description of the second time difference, which is not repeated herein.
In another example, similar to the above-mentioned determining the first windowing amount, the second windowing amount may be obtained according to the clock precision information of the first node, the clock precision information of the third node, and/or the connection interval; wherein the connection interval is a connection interval between the first node and the third node.
Optionally, the second windowing amount is less than or equal to the first windowing amount.
Optionally, the ending time of the third time window is later than the ending time of the second time window by a second windowing amount, so as to ensure that the data packet sent by the third node can be received in the first time window.
In addition, when the fourth time window is a period of time or a certain time, the ending time of the third time window is later than the ending time of the fourth time window by the second windowing amount may also be described as the difference between the window length of the third time window and the window length of the fourth time window is twice the second windowing amount; when the fourth time window is a certain time, the end time of the third time window is later than the end time of the fourth time window by the second windowing amount may also be described as the window length of the third time window being equal to twice the second windowing amount.
Optionally, the first node continuously performs channel detection in the third time window to ensure that the data packet sent by the third node can start to be received in the third time window.
Based on the embodiment shown in fig. 6, when the data packet sent by the third node includes the clock accuracy information of the third node, the first node may determine, according to the clock accuracy information of the third node, a third time window whose start time is earlier than the start time of the second time window by a second windowing amount, and perform channel detection within the third time window to receive the data packet sent by the third node. The first node can more accurately determine the time when the first node starts to execute the channel detection according to the clock precision information of the third node, and compared with the method for executing the channel detection from the first time, the method can shorten the time when the first node detects that the data packet of the third node is really received from the starting to execute the channel detection, and reduce the power consumption of the first node caused by executing the channel detection in advance.
The scheme provided by the embodiment of the application is introduced mainly from the point of interaction between devices. It will be appreciated that each device, in order to carry out the above-described functions, comprises corresponding hardware structures and/or software modules for performing each function. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, functional modules may be divided according to the above method examples, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In the case of dividing each functional module with corresponding functions, fig. 7 shows a communication apparatus 70, and the communication apparatus 70 may include a transceiver module 701 and a processing module 702. The communication device 70 may be the first node, or may be a chip applied in the first node or other combined devices, components, and the like having the functions of the first node. When the communication device 70 is a first node, the transceiver module 701 may be a transceiver, which may include an antenna, a radio frequency circuit, and the like; the processing module 702 may be a processor (or processing circuitry), such as a baseband processor, which may include one or more CPUs therein. When the communication device 70 is a component having the above-described first node function, the transceiver module 701 may be a radio frequency unit; the processing module 702 may be a processor (or processing circuitry), such as a baseband processor. When the communication device 70 is a chip system, the transceiver module 701 may be an input/output interface of a chip (e.g., a baseband chip); the processing module 702 may be a processor (or processing circuit) of a system-on-chip, or a logic circuit, which may include one or more central processing modules. It should be understood that the transceiver module 701 in the embodiments of the present application may be implemented by a transceiver or transceiver-related circuit components; the processing module 702 may be implemented by a processor or a processor-related circuit component (alternatively referred to as a processing circuit).
For example, transceiver module 701 may be used to perform all of the transceiving operations performed by the first node in the embodiments illustrated in fig. 4-6, and/or other processes to support the techniques described herein; processing module 702 may be used to perform all operations performed by the first node in the embodiments shown in fig. 4-6, except transceiving operations, and/or other processes to support the techniques described herein.
As yet another implementation, the transceiver module 701 in fig. 7 may be replaced by a transceiver, which may integrate the functions of the transceiver module 701; the processing module 702 may be replaced by a processor, which may integrate the functionality of the processing module 702. Further, the communication device 70 shown in fig. 7 may further include a memory. When the transceiver module 701 is replaced by a transceiver and the processing module 702 is replaced by a processor, the communication device 70 according to the embodiment of the present application may be the communication device shown in fig. 3.
Alternatively, when the transceiver module 701 is replaced by a transceiver and the processing module 702 is replaced by a processor, the communication device 70 according to the embodiment of the present application may also be the communication device 90 shown in fig. 9, where the processor may be the logic circuit 901 and the transceiver may be the interface circuit 902. Further, the communication device 90 shown in fig. 9 may further include a memory 903.
In the case of dividing each functional module by corresponding functions, fig. 8 shows a communication apparatus 80, and the communication apparatus 80 may include a transceiver module 801 and a processing module 802. The communication device 80 may be, for example, the second node, or may be a chip applied in the second node or other combined device, component, and the like having the functions of the second node. When the communication device 80 is a second node, the transceiver module 801 may be a transceiver, and the transceiver may include an antenna, a radio frequency circuit, and the like; the processing module 802 may be a processor (or processing circuitry), such as a baseband processor, which may include one or more CPUs therein. When the communication device 80 is a component having the function of the second node, the transceiver module 801 may be a radio frequency unit; the processing module 802 may be a processor (or processing circuitry), such as a baseband processor. When the communication device 80 is a chip system, the transceiver module 801 may be an input/output interface of a chip (e.g., a baseband chip); the processing module 802 may be a processor (or processing circuit) of a system-on-chip, or a logic circuit, and may include one or more central processing modules. It should be understood that the transceiver module 801 in the embodiments of the present application may be implemented by a transceiver or transceiver-related circuit components; the processing module 802 may be implemented by a processor or processor-related circuit component (alternatively referred to as a processing circuit).
For example, the transceiving module 801 may be used to perform all transceiving operations performed by the second node in the embodiments illustrated in fig. 4-6, and/or other processes to support the techniques described herein; the processing module 802 may be used to perform all operations performed by the second node in the embodiments shown in fig. 4-6, except transceiving operations, and/or other processes to support the techniques described herein.
As yet another implementation, the transceiver module 801 in fig. 8 may be replaced by a transceiver, which may integrate the functions of the transceiver module 801; the processing module 802 may be replaced by a processor, which may integrate the functionality of the processing module 802. Further, the communication device 80 shown in fig. 8 may further include a memory. When the transceiver module 801 is replaced by a transceiver and the processing module 802 is replaced by a processor, the communication device 80 according to the embodiment of the present application may be the communication device shown in fig. 3.
Alternatively, when the transceiver module 801 is replaced by a transceiver and the processing module 802 is replaced by a processor, the communication device 80 according to the embodiment of the present application may also be the communication device 90 shown in fig. 9, where the processor may be the logic circuit 901 and the transceiver may be the interface circuit 902. Further, the communication device 90 shown in fig. 9 may further include a memory 903.
The embodiment of the application also provides a computer readable storage medium. All or part of the processes in the above method embodiments may be performed by relevant hardware instructed by a computer program, which may be stored in the above computer-readable storage medium, and when executed, may include the processes in the above method embodiments. The computer-readable storage medium may be an internal storage unit of the terminal (including the data sending end and/or the data receiving end) of any previous embodiment, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Memory Card (SMC), a Secure Digital (SD) card, a flash memory card (flash card), and the like, which are provided on the terminal. Further, the computer-readable storage medium may include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium stores the computer program and other programs and data required by the terminal. The above-described computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
The embodiment of the present application further provides a terminal device, where the terminal device may include the first node or include the second node.
Illustratively, a terminal device may also be referred to as a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), or the like. Specifically, the terminal device may be a mobile phone (mobile phone), a smart watch, a tablet computer, or a computer with a wireless transceiving function. The system can also be a Virtual Reality (VR) terminal, an Augmented Reality (AR) terminal, a wireless terminal in industrial control, a wireless terminal in unmanned driving, a wireless terminal in telemedicine, a wireless terminal in a smart grid, a wireless terminal in a smart city (smart city), a wireless terminal in a smart home (smart home), a vehicle-mounted terminal, a vehicle with vehicle-to-vehicle (V2V) communication capability, a smart internet vehicle, a drone with a drone-to-drone (UAV, U2U) communication capability, a smart wearable terminal, a smart home terminal, a smart manufacturing terminal, a smart transportation terminal, and the like, without limitation.
It should be noted that the terms "first" and "second" and the like in the description, claims, and drawings of the present application are used for distinguishing different objects, and are not used for describing a specific order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be understood that in the present application, "at least one" means one or more, "a plurality" means two or more, "at least two" means two or three and three or more, "and/or" for describing an association relationship of associated objects, meaning that three relationships may exist, for example, "a and/or B" may mean: only A, only B and both A and B are present, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of single item(s) or plural items. For example, at least one (one) of a, b, or c, may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
Through the description of the foregoing embodiments, it will be clear to those skilled in the art that, for convenience and simplicity of description, only the division of the functional modules is illustrated, and in practical applications, the above function distribution may be completed by different functional modules as needed, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Claims (26)

1. A method of data transmission, comprising:
receiving first clock accuracy information from a second node;
performing channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the start time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter.
2. The method of claim 1,
the difference between the window length of the first time window and the window length of the second time window is twice the first windowing amount; or
The end time of the first time window is later than the end time of the second time window by the first windowing amount; or
The window length of the first time window is equal to twice the first windowing amount.
3. The method of claim 1 or 2, wherein performing channel detection within the first time window from the first time comprises:
continuously performing channel detection within the first time window.
4. A method according to any of claims 1-3, characterized in that the method is applied to a first node;
the second node is a master node, and the first node and the third node are slave nodes of the second node.
5. The method according to any one of claims 1 to 4,
the first clock precision information is the clock precision information of the third node; or
The first clock accuracy information indicates a preset clock accuracy.
6. The method according to any of claims 1-5, applied to a first node;
the first windowing quantity is obtained according to the first clock precision information, the clock precision information of the first node and/or first time difference information; the first time difference information is used for indicating a time difference between a second time and a previous synchronization time of the first node and the third node, and the second time is an end time of the second time window.
7. The method according to any of claims 1-5, applied to a first node;
the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node and/or second time difference information; the second time difference information is used to indicate a fixed time interval, an integer multiple connection interval, or an integer multiple connection sub-interval, where the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
8. The method according to any of claims 1-5, wherein the method is applied to a first node;
the first windowing quantity is obtained according to the first clock precision information, the clock precision information of the first node and/or a connection interval; wherein the connection interval is a connection interval between the first node and the third node.
9. The method according to any one of claims 1 to 4,
the first clock accuracy information is the first windowing amount.
10. The method of claim 9, wherein prior to receiving the first clock accuracy information from the second node, the method further comprises:
and sending the clock precision information of the first node to the second node.
11. The method of any of claims 1-10, wherein the data packet includes clock accuracy information of the third node, the method further comprising:
performing the channel detection within a third time window from a third time instant; wherein the third time is earlier than a start time of a fourth time window by a second windowing amount, the second windowing amount corresponds to clock accuracy information of the third node, and the fourth time window is determined based on a predefined rule or parameter.
12. The method of claim 11,
the difference between the window length of the third time window and the window length of the fourth time window is twice the second windowing amount; or
The end time of the third time window is later than the end time of the fourth time window by the second windowing amount; or
The window length of the third time window is equal to twice the second windowing amount.
13. The method according to claim 11 or 12, wherein performing channel detection within the third time window starting from the third time instant comprises:
continuously performing channel detection within the third time window.
14. A method of data transmission, comprising:
acquiring first clock precision information; the first clock precision information is clock precision information of a third node, or the first clock precision information indicates preset clock precision;
sending the first windowing amount to the first node; wherein the first windowing amount corresponds to the first clock accuracy information.
15. The method according to claim 14, wherein the method is applied to a second node;
the second node is a master node, and the first node and the third node are slave nodes of the second node.
16. The method according to claim 14 or 15,
the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node and/or first time difference information; the first time difference information is used for indicating a time difference between a second time and a previous synchronization time of the first node and the third node, the second time is an end time of a second time window, and the second time window is determined based on a predefined rule or parameter.
17. The method according to claim 14 or 15,
the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node and/or second time difference information; the second time difference information is used to indicate a fixed time interval, an integer multiple connection interval, or an integer multiple connection sub-interval, where the connection interval is a connection interval between the first node and the third node, and the connection sub-interval is a connection sub-interval between the first node and the third node.
18. The method of claim 14 or 15,
the first windowing quantity is obtained according to the first clock precision information, the clock precision information of the first node and/or a connection interval; wherein the connection interval is a connection interval between the first node and the third node.
19. The method of any of claims 14-18, wherein sending the first amount of windowing to the first node comprises:
receiving request information from the third node; wherein the request information is used for requesting to send a data packet to the first node;
and sending the first windowing amount to the first node according to the request information.
20. A communications apparatus, comprising:
a transceiver module for receiving first clock accuracy information from a second node;
a processing module for performing channel detection within a first time window from a first time instant; the channel is used for carrying a data packet from a third node, the first time is earlier than the start time of a second time window by a first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on a predefined rule or parameter.
21. A communications apparatus, comprising:
the receiving and transmitting module is used for acquiring first clock precision information; the first clock precision information is clock precision information of a third node, or the first clock precision information indicates preset clock precision;
the transceiver module is further configured to send a first windowing amount to the first node; wherein the first windowing amount corresponds to the first clock accuracy information.
22. A communication device, comprising at least one processor and a communication interface; the communication interface is coupled to the at least one processor for executing a computer program or instructions to cause the data transmission method according to any of claims 1-13 to be performed, or the data transmission method according to any of claims 14-19 to be performed.
23. A communication device, characterized in that it comprises an interface circuit for inputting and/or outputting information and a logic circuit for performing a data transmission method according to any of claims 1-13 or a data transmission method according to any of claims 14-19, processing and/or generating said information in dependence on said information.
24. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions or a program which, when run on a computer, causes the data transmission method according to any one of claims 1-13 to be performed, or the data transmission method according to any one of claims 14-19 to be performed.
25. A computer program product, characterized in that the computer program product comprises computer instructions; when part or all of the computer instructions are run on a computer, the data transmission method according to any one of claims 1-13 is executed, or the data transmission method according to any one of claims 14-19 is executed.
26. A terminal device, characterized in that it comprises a communication apparatus according to any one of claims 20 to 23.
CN202110886936.9A 2021-08-03 2021-08-03 Data transmission method and device Pending CN115913449A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110886936.9A CN115913449A (en) 2021-08-03 2021-08-03 Data transmission method and device
PCT/CN2022/107992 WO2023011261A1 (en) 2021-08-03 2022-07-26 Data transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110886936.9A CN115913449A (en) 2021-08-03 2021-08-03 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN115913449A true CN115913449A (en) 2023-04-04

Family

ID=85155193

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110886936.9A Pending CN115913449A (en) 2021-08-03 2021-08-03 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN115913449A (en)
WO (1) WO2023011261A1 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2490974B (en) * 2011-09-08 2014-10-29 Nordic Semiconductor Asa Radio communication system
US9788288B2 (en) * 2014-01-13 2017-10-10 Qualcomm Incorporated Systems and methods for reducing power consumption in wireless communication
US9668209B1 (en) * 2016-06-29 2017-05-30 Silicon Laboratories Finland Oy Listening window adjustments for power savings in bluetooth low energy (BLE) communications
CN110913375B (en) * 2019-11-27 2023-07-04 南京中感微电子有限公司 Wireless communication system and equipment
CN113055117A (en) * 2021-04-25 2021-06-29 电子科技大学 Clock synchronization device and method of wireless distributed network

Also Published As

Publication number Publication date
WO2023011261A1 (en) 2023-02-09

Similar Documents

Publication Publication Date Title
WO2017036272A1 (en) Resource selection method and device
US11272528B2 (en) Scheduling assignment information transmission method and system, and device
WO2020125654A1 (en) Bsr reporting method and device
JP2017539141A (en) Data transmission method, resource measurement method, apparatus, and device
CN113596963A (en) Communication method and device
CN112449425B (en) Communication method and device
CN111432423A (en) Resource allocation method and device
CN112399469B (en) Information transmission method and device
WO2021088028A1 (en) Resource configuration method and apparatus
CN111757470B (en) Resource allocation method and communication device
TWI778962B (en) Device-to-device (d2d) communication method and d2d device
CN115913449A (en) Data transmission method and device
CN114503467B (en) Data transmission method and device
WO2021217534A1 (en) Communication method and apparatus
CN116508377A (en) Resource allocation method and device under multi-connection scene
CN115580931A (en) Information transmission method and device
JP2023535571A (en) Paging method and device
CN115604825A (en) Sideline communication method and device
CN115604664A (en) Multicast service modification notification method and communication device
CN114363943A (en) Method and electronic device for determining transmission delay
WO2023028863A1 (en) Communication method and apparatus
WO2023279359A1 (en) Communication method and apparatus
EP4195719A1 (en) Resource processing method and apparatus, and medium
WO2023030052A1 (en) Communication method and device
WO2023207685A1 (en) Information transmission method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication