WO2023011261A1 - 数据传输方法和装置 - Google Patents

数据传输方法和装置 Download PDF

Info

Publication number
WO2023011261A1
WO2023011261A1 PCT/CN2022/107992 CN2022107992W WO2023011261A1 WO 2023011261 A1 WO2023011261 A1 WO 2023011261A1 CN 2022107992 W CN2022107992 W CN 2022107992W WO 2023011261 A1 WO2023011261 A1 WO 2023011261A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
information
time
time window
windowing
Prior art date
Application number
PCT/CN2022/107992
Other languages
English (en)
French (fr)
Inventor
刘航
高磊
程型清
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023011261A1 publication Critical patent/WO2023011261A1/zh

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

Definitions

  • the present application relates to the technical field of communications, and in particular to a data transmission method and device.
  • a wireless communication system may include a master node and a slave node, wherein the master node has a resource scheduling (also referred to as resource allocation) capability.
  • the master node can schedule (also called allocation) time-frequency resources for the slave nodes, the slave nodes obey the scheduling of the master node, and the slave nodes can use the time-frequency resources scheduled (allocated) by the master node for communication.
  • each master node may correspond to one or more slave nodes, and the master node may perform data interaction with one or more slave nodes corresponding to it.
  • the receiving node may miss receiving data from the sending node, resulting in communication failure.
  • the slave node misses the moment of data reception, so it cannot receive the data sent by the master node, cannot work normally, and the user experience is poor.
  • the embodiment of the present application provides a data transmission method and device, which can improve the communication system composed of a master node and multiple slave nodes. Communication failure problem.
  • the embodiment of the present application provides a data transmission method, the method includes: the first node receives the first clock accuracy information from the second node; the first node is within the first time window starting from the first moment Perform channel detection; wherein, the channel is used to carry data packets from the third node, the first moment is earlier than the start moment of the second time window by the first windowing amount, the first windowing amount corresponds to the first clock accuracy information, and the first The second time window is determined based on predefined rules or parameters.
  • the first node may determine the first time window whose start time is earlier than the start time of the second time window by the first windowing amount according to the first clock accuracy information, and perform channel Detect to receive a packet from a third node.
  • the first node can ensure that the first node receives the data packet sent by the third node, realize the information interaction between the first node and the third node, and improve the communication between the first node and the second node.
  • 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 moment of the first time window is shorter than the end time of the second time window The time is later than the first window amount; or, the window length of the first time window is equal to twice the first window amount.
  • the start time and end time of the second time window are the same.
  • the end time of the first time window can be later than the end time of the second time window by the first window amount, so as to ensure that the first node can start receiving the data packet sent by the third node within the first time window .
  • the end moment of the first time window is later than the end moment of the second time window by the first windowing amount, which can also be described as the window length of the first time window and the length of the second time window
  • the difference between the window lengths is twice the first window addition amount; when the second time window is a certain moment, the end moment of the first time window is later than the end moment of the second time window by the first window addition amount can also be described as
  • the window length of the first time window is equal to twice the first windowing amount.
  • the problem of high power consumption of the first node due to the excessive length of the first time window can be avoided. While ensuring that the first node can receive the data packet sent by the third node, the power consumption of the first node is reduced.
  • the first node continuously performs channel detection within the first time window.
  • the first node can continuously perform channel detection within the first time window, so as to ensure that it can begin to receive the data packets sent by the third node within the first time window.
  • the second node is the master node
  • the first node and the third node are slave nodes of the second node.
  • the first node and the third node can be the slave nodes of the second node, and based on the above first time window, information exchange can be performed between the slave nodes and the slave nodes, thereby avoiding the communication between the slave nodes through the master node.
  • the transfer of data between them improves the efficiency of data transmission and user experience.
  • the first clock precision information is clock precision information of the third node; or, the first clock precision information indicates a preset clock precision.
  • the first clock precision information may be the clock precision information of the third node, or may indicate a preset clock precision, so as to provide a feasible solution for the first clock precision information.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the first time difference information; wherein, the first time difference information is used to indicate the distance at the second moment The time difference between the previous synchronization moment of the first node and the third node, and the second moment is the end moment of the second time window.
  • 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; wherein, the second time difference information is used to indicate a fixed time interval, An integer multiple of the connection interval or an integer multiple of the connection sub-interval, the connection interval being the connection interval between the first node and the third node, and the connection sub-interval being the connection sub-interval between the first node and the third node.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the connection interval; wherein, the connection interval is between the first node and the third node connection interval.
  • the first windowing amount can 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 can be obtained according to the first clock precision information, the first The clock precision information and/or the second time difference information of a node can also be obtained according to the first clock precision information, the clock precision information of the first node and/or the connection interval, and multiple windows are provided for obtaining the first windowing amount a feasible solution.
  • the first clock accuracy information is the first windowing amount.
  • the first windowing amount may be determined by the second node, and the first node may directly determine the first time window according to the received first windowing amount, thereby reducing the computational complexity of the first node.
  • the first node before the first node receives the first clock precision information from the second node, the first node sends the clock precision information of the first node to the second node.
  • the first node can send the clock precision information of the first node to the second node, so that the second node can determine the first windowing amount according to the clock precision information of the first node, and send it to the first node .
  • the data packet includes the clock accuracy information of the third node, and the first node performs channel detection in the third time window starting from the third moment; wherein, the third moment is shorter than the start of the fourth time window
  • the time is advanced by a second windowing amount, the second windowing amount corresponds to the clock accuracy information of the third node, and the fourth time window is determined based on a predefined rule or parameter.
  • the first node when the data packet sent by the third node includes the clock accuracy information of the third node, the first node can determine that the starting time is higher than the starting time of the fourth time window according to the clock precision information of the third node Advance the third time window by the second windowing amount, and perform channel detection in the third time window, so as to receive the data packet sent by the third node.
  • the first node According to the clock accuracy information of the third node, the first node can more accurately determine the moment when the first node starts to perform channel detection. The time when the data packet of the third node is actually received is detected, and the power consumption caused by the first node performing channel detection in advance is reduced.
  • 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 moment of the third time window is shorter than the end time of the fourth time window The time is later than the second window addition; or, the window length of the third time window is equal to twice the second window addition.
  • the start time and end time of the fourth time window are the same.
  • the end moment of the third time window can be later than the end moment of the fourth time window by the second window amount, so as to ensure that the first node can start receiving the data packet sent by the third node within the third time window .
  • the second time window is a period of time
  • the end moment of the third time window is later than the end moment of the fourth time window by the second windowing amount, which can also be described as the window length of the third time window and the length of the fourth time window
  • the difference between the window lengths is twice the second window addition amount; when the second time window is a certain moment, the end moment of the third time window is later than the end moment of the fourth time window by the second window addition amount can also be described as
  • the window length of the third time window is equal to twice the second windowing amount.
  • the end time of the third time window 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 window amount, the problem of large power consumption of the first node due to the excessive length of the third time window can be avoided. While ensuring that the first node can receive the data packet sent by the third node, the power consumption of the first node is reduced.
  • the first node continuously performs channel detection within the third time window.
  • the first node can continuously perform channel detection within the third time window, so as to ensure that it can begin to receive the data packet sent by the third node within the third time window.
  • the embodiment of the present application provides a communication device, which can realize the functions performed by the first node in the first aspect or the possible design of the first aspect, and the functions can execute corresponding software through hardware accomplish.
  • the hardware or software includes one or more modules with corresponding functions above.
  • transceiver module is used to receive the first clock accuracy information from the second node; the processing module is used to perform channel detection within the first time window starting from the first moment; wherein the channel is used to carry data from the third node package, the first time is earlier than the start time of the second time window by the first windowing amount, the first windowing amount corresponds to the first clock precision information, and the second time window is determined based on predefined rules or parameters.
  • 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 moment of the first time window is shorter than the end time of the second time window The time is later than the first window amount; or, the window length of the first time window is equal to twice the first window amount.
  • the processing module is further configured to continuously perform channel detection within the first time window.
  • the second node is the master node
  • the first node and the third node are slave nodes of the second node.
  • the first clock precision information is clock precision information of the third node; or, the first clock precision information indicates a preset clock precision.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the first time difference information; wherein, the first time difference information is used to indicate the distance at the second moment The time difference between the previous synchronization moment of the first node and the third node, and the second moment is the end moment of the second time window.
  • 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; wherein, the second time difference information is used to indicate a fixed time interval, An integer multiple of the connection interval or an integer multiple of the connection sub-interval, the connection interval being the connection interval between the first node and the third node, and the connection sub-interval being the connection sub-interval between the first node and the third node.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the connection interval; wherein, the connection interval is between the first node and the third node connection interval.
  • the first clock accuracy information is the first windowing amount.
  • the transceiver module before the transceiver module receives the first clock precision information from the second node, it is further configured to send the clock precision information of the first node to the second node.
  • the data packet includes the clock accuracy information of the third node
  • the processing module is also used to perform channel detection in the third time window starting from the third moment; wherein, the third moment is faster than the fourth time window
  • the start time of is advanced by a second windowing amount
  • the second windowing amount corresponds to the clock accuracy information of the third node
  • the fourth time window is determined based on a predefined rule or parameter.
  • 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 moment of the third time window is shorter than the end time of the fourth time window The time is later than the second window addition; or, the window length of the third time window is equal to twice the second window addition.
  • the processing module is further configured to continuously perform channel detection within the third time window.
  • the specific implementation of the first node can also refer to the first aspect or the behavior function of the first node in the data transmission method provided by any possible design of the first aspect.
  • the first node brings The technical effects can also refer to the technical effects brought about by any possible design of the first aspect above, and will not be repeated here.
  • the embodiment of the present application provides a communication device, and the communication device may be a first node or a chip or a system on a chip in the first node.
  • the communication device may implement the above aspects or the functions performed by the first node in each possible design, and the functions may be implemented by hardware.
  • the communication device may include: a transceiver and a processor. The transceiver and the processor may be used to support the communication device to implement the functions involved in the first aspect or any possible design of the first aspect.
  • the transceiver can be used to receive the first clock accuracy information from the second node; the processor can be used to perform channel detection within the first time window starting from the first moment; wherein, the channel is used to carry information from the third node data packets, the first time is earlier than the start time of the second time window by a first windowing amount, the first windowing amount corresponds to the first clock accuracy information, and the second time window is determined based on a predefined rule or parameter.
  • the communication device may further include a memory, and the memory is used to store necessary computer-executed instructions and data of the communication device. When the communication device is running, the transceiver and the processor execute the computer-executable instructions stored in the memory, so that the communication device performs the data transmission described in the first aspect or any possible design of the first aspect method.
  • the specific implementation manner of the communication device in the third aspect may refer to the behavior function of the first node in the data transmission method provided by the first aspect or any possible design of the first aspect.
  • the embodiment of the present application provides a data transmission method, which may include: the second node acquires the first clock accuracy information; the second node sends the first windowing amount to the first node; wherein, the first clock The precision information is clock precision information of the third node, or the first clock precision information indicates preset clock precision; the first windowing amount corresponds to the first clock precision information.
  • the second node can determine the 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 can determine the starting window amount according to the first windowing amount
  • the start time is earlier than the start time of the second time window by the first time window of the first windowing amount, and channel detection is performed in the first time window to receive the data packet from the third node, so as to realize the connection between the first node and the second node.
  • the information interaction between the three nodes improves the communication success rate between the first node and the third node.
  • the second node is the master node
  • the first node and the third node are slave nodes of the second node.
  • the first node and the third node can be the slave nodes of the second node, and based on the above-mentioned first windowing amount, information interaction between the slave nodes can be carried out through the first time window, thereby avoiding the
  • the master node transfers data between slave nodes, improving data transmission efficiency and user experience.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the first time difference information; wherein, the first time difference information is used to indicate the distance at the second moment The time difference between the previous synchronization moment of the first node and the third node, and the second moment is the end moment of the second time window, and the second time window is determined based on predefined rules or parameters.
  • 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; wherein, the second time difference information is used to indicate a fixed time interval, An integer multiple of the connection interval or an integer multiple of the connection sub-interval, the connection interval being the connection interval between the first node and the third node, and the connection sub-interval being the connection sub-interval between the first node and the third node.
  • the first windowing amount is obtained according to the first clock precision information, the clock precision information of the first node and the connection interval; wherein, the connection interval is the connection interval between the first node and the third node .
  • the first windowing amount can 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 can be obtained according to the first clock precision information, the first The clock accuracy information of a node and/or the second time difference information can also be obtained based on the first clock accuracy information, the clock accuracy information of the first node, and the connection interval, providing multiple feasible options for obtaining the first windowing amount gender program.
  • the second node receives request information from the third node; the second node sends the first windowing amount to the first node according to the request information; wherein, the request information is used to request to send data to the first node Bag.
  • the second node when it receives the request information sent by the third node, it can send the first windowing amount to the first node, triggering the first node to start performing channel detection at the first moment of the first time window , to receive the data packet sent by the third node.
  • the embodiment of the present application provides a communication device, which can realize the function performed by the second node in the fourth aspect or the possible design of the fourth aspect, and the function can execute corresponding software through hardware accomplish.
  • the hardware or software includes one or more modules with corresponding functions above.
  • the transceiver module can be used to obtain the first clock accuracy information; the transceiver module can also be used to send the first windowing amount to the first node; wherein the first clock accuracy information is the clock accuracy information of the third node, or, the first The clock precision information indicates preset clock precision; the first windowing amount corresponds to the first clock precision information.
  • the second node is the master node
  • the first node and the third node are slave nodes of the second node.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the first time difference information; wherein, the first time difference information is used to indicate the distance at the second moment The time difference between the previous synchronization moment of the first node and the third node, and the second moment is the end moment of the second time window, and the second time window is determined based on predefined rules or parameters.
  • 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; wherein, the second time difference information is used to indicate a fixed time interval, An integer multiple of the connection interval or an integer multiple of the connection sub-interval, the connection interval being the connection interval between the first node and the third node, and the connection sub-interval being the connection sub-interval between the first node and the third node.
  • the first windowing amount is obtained according to the first clock accuracy information, the clock accuracy information of the first node, and/or the connection interval; wherein, the connection interval is between the first node and the third node connection interval.
  • the transceiver module is also used to receive request information from the third node; the transceiver module is also used to send the first windowing amount to the first node according to the request information; wherein the request information is used to request Send a data packet to the first node.
  • the specific implementation of the second node can also refer to the fourth aspect or the behavior function of the second node in the data transmission method provided by any possible design of the fourth aspect.
  • the second node brings The technical effects can also refer to the technical effects brought about by any possible design of the fourth aspect above, which will not be repeated here.
  • the embodiment of the present application provides a communication device, where the communication device may be the second node or a chip or a system on a chip in the second node.
  • the communication device may implement the above aspects or the functions performed by the second node in each possible design, and the functions may be implemented by hardware.
  • the communication device may include: a transceiver. The transceiver may be used to support the communication device to implement the functions involved in the fourth aspect or any possible design of the fourth aspect.
  • the transceiver can be used to acquire the first clock precision information; the transceiver can also be used to send the first windowing amount to the first node; wherein, the first clock precision information is the clock precision information of the third node, or, the first The clock precision information indicates preset clock precision; the first windowing amount corresponds to the first clock precision information.
  • the communication device may further include a processor and a memory, where the processor and the memory are used to store necessary computer-executed instructions and data of the communication device. When the communication device is running, the transceiver and processor execute the computer-executable instructions stored in the memory, so that the communication device performs the data transmission described in the fourth aspect or any possible design of the fourth aspect method.
  • the specific implementation manner of the communication device in the sixth aspect may refer to the fourth aspect or the behavior function of the second node in the data transmission method provided by any possible design of the fourth aspect.
  • a communication device in a seventh aspect, includes one or more processors, one or more processors for running computer programs or instructions, when one or more processors execute computer instructions or instructions , so that the communication device executes the data transmission method as described in the first aspect or any possible design of the first aspect, or executes the data transmission method as described in the fourth aspect or any possible design of the fourth aspect.
  • the communication device also includes one or more communication interfaces; the one or more communication interfaces are coupled with one or more processors, and the one or more communication interfaces are used to communicate with other modules outside the communication device to communicate.
  • the communication device further includes one or more memories, the one or more memories are coupled to the one or more processors, and the one or more memories are used to store the above computer programs or instructions.
  • the memory is located outside the communication device.
  • the memory is located in the communication device.
  • the processor and the memory may also be integrated into one device, that is, the processor and the memory may also be integrated together.
  • a communication device in an eighth aspect, includes an interface circuit and a logic circuit; the interface circuit is coupled to the logic circuit; and the logic circuit is used to perform the method described in the first aspect or any possible design of the first aspect.
  • a ninth aspect provides a computer-readable storage medium, the computer-readable storage medium stores computer instructions or programs, and when the computer instructions or programs are run on a computer, the computer executes the computer according to the first aspect or the first aspect.
  • a computer program product containing computer instructions, which, when run on a computer, cause the computer to execute the data transmission method described in the first aspect or any possible design of the first aspect, or to execute The data transmission method as described in the fourth aspect or any possible design of the fourth aspect.
  • the embodiment of the present application provides a computer program that, when running on a computer, enables the computer to execute the data transmission method described in the first aspect or any possible design of the first aspect, or to execute the data transmission method as described in The data transmission method described in the fourth aspect or any possible design of the fourth aspect.
  • the technical effect brought by any one of the design methods from the seventh to the eleventh aspect can refer to the technical effect brought by any possible design of the above-mentioned first aspect, or refer to any of the above-mentioned fourth aspects.
  • the technical effect brought by a possible design will not be repeated.
  • the embodiment of the present application provides a terminal device, which may include the communication device described in any one of the second to third aspects, or any one of the fifth to sixth aspects The communication device described in the aspect.
  • the embodiment of the present application provides a communication system, which may include the communication device described in any one of the second to third aspects, and any one of the fifth to sixth aspects The communication device described in the aspect.
  • FIG. 1 is a schematic diagram of a communication system provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a communication system provided by an embodiment of the present application.
  • FIG. 3 is a structural diagram of a communication device provided in an embodiment of the present application.
  • FIG. 4 is a flowchart of a data transmission method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of signaling and a schematic time axis of a wireless communication provided by an embodiment of the present application
  • FIG. 6 is a flowchart of a data transmission method provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of the composition of a first node provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of the composition of a second node provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • Master node and slave node refer to two types of nodes that are distinguished from logical functions.
  • the master node has resource scheduling (also called resource allocation) capability.
  • the master node can schedule (allocate) time-frequency resources for the slave nodes, and the slave nodes obey the scheduling of the master node, and the slave nodes can use the time-frequency resources scheduled (allocated) by the master node for communication.
  • the time-frequency resources here may be resources in the time domain and/or resources in the frequency domain.
  • Wireless communication technology plays an important role in people's daily life, especially in the fields of smart terminals, smart homes, smart manufacturing, and smart cars.
  • a wireless communication system it can include a master node (Master) and a slave node (Slave), each master node can correspond to one or more slave nodes, and the master node can communicate with one or more slave nodes corresponding to it to realize corresponding data transmission.
  • Master master node
  • Slave slave node
  • the slave node is generally a low-power device with low cost. Due to the clock accuracy offset problem, when the slave node does not know the clock accuracy of the master node, the slave node cannot determine the uncertainty of the time when the master node sends data , the slave node may miss the data reception, so that it cannot receive the data sent by the master node, which may cause some slave nodes to receive data to work normally, and some slave nodes not to receive data and cannot work normally, affecting user experience. Therefore, data interaction is also required between slave nodes.
  • the mobile phone can be used as the master node, and the earphone 1 and the earphone 2 can be used as the slave nodes of the mobile phone.
  • the earphone 1 is the main ear and the earphone 2 is the secondary ear
  • the two earphones There may also be a need for data interaction between the two earphones. For example, it is necessary to interact between the two earphones whether they have received the data sent by the mobile phone, so as to determine whether to play the received data or discard it.
  • the mobile phone can send different audio content (for example, audio content of different channels) to the earphone 1 and the earphone 2 respectively, and there may be that the earphone 1 receives the audio content sent by the mobile phone and plays it normally, while Headphone 2 misses the moment of data reception, does not receive the audio content sent by the mobile phone, and cannot play normally, that is, the situation of single-ear playback occurs, which affects the user experience.
  • audio content for example, audio content of different channels
  • the slave nodes are generally low-power devices with low cost, there may be a problem of clock accuracy offset between slave nodes.
  • the slave node at the receiving end does not know the clock accuracy of the slave node at the sending end, the slave node at the receiving end may The moment of data reception will be missed, so that the data sent by the slave node of the sending end cannot be received, and the information interaction with the slave node of the sending end cannot be performed, which affects the user experience.
  • an embodiment of the present application provides a data transmission method and device, wherein the first node can receive the first clock accuracy information from the second node; and within the first time window starting from the first moment Perform channel detection; wherein, the channel is used to carry data packets from the third node, the first moment is earlier than the start moment of the second time window by the first windowing amount, the first windowing amount corresponds to the first clock accuracy information, and the first The second time window is determined based on predefined rules or parameters.
  • the first node may determine the first time window whose starting time is earlier than the starting time of the second time window by the first windowing amount according to the first clock accuracy information, and execute within the first time window Channel detection to receive data packets from the third node.
  • the first node can ensure that the first node receives the data packet sent by the third node, and realize the information exchange between the first node and the third node, thus avoiding the transmission through the master node. Data transfer between nodes improves data transmission efficiency and user experience.
  • the data transmission method provided by the embodiment of the present application can be used in any wireless communication system, and the wireless communication system can be a short-distance communication system, a cellular communication system (for example, a long term evolution (long term evolution, LTE) system, a new radio interface (new radio) access technology, NR)), global interconnection microwave access (worldwide interoperability for microwave access, WiMAX) communication system and various types of next-generation communication systems (for example, the sixth generation (the sixth generation, 6G) mobile communication system), etc. , without restriction.
  • a short-distance communication system for example, a long term evolution (long term evolution, LTE) system, a new radio interface (new radio) access technology, NR)
  • NR new radio interface
  • WiMAX global interconnection microwave access
  • next-generation communication systems for example, the sixth generation (the sixth generation, 6G) mobile communication system
  • the short-range communication system may be a Bluetooth communication system, a Bluetooth low-power communication system, a wireless-fidelity (Wi-Fi) communication system, a general-purpose short-distance communication system, a vehicle-mounted general-purpose short-distance communication system, a star flash ( Spark link) short-range communication technology and various types of next-generation short-range communication systems, etc., are not restricted.
  • the communication system provided by the embodiment of the present application is described below by taking FIG. 2 as an example.
  • Figure 2 is a schematic diagram of a communication system provided by the embodiment of the present application.
  • the communication system may include a master node and a slave node, the master node may correspond to one or more slave nodes, and the master node may communicate with the slave nodes Communication can also be carried out between slave nodes and slave nodes.
  • the one or more slave nodes may form a communication domain with the master node to enable a specific application function.
  • a master node mobile phone
  • two slave nodes left ear and right ear
  • the master node in FIG. 2 can be used to be responsible for scheduling resources (grant wireless resources) or allocation, and the master node can respectively establish a communication connection with each slave node for data interaction.
  • the master node may also be called a scheduling (grant, G) node.
  • the slave node in FIG. 2 can perform data interaction with the master node, such as receiving data sent by the master node or sending data to the master node.
  • Slave nodes can also establish communication connections with other slave nodes. Resources for communication between slave nodes may be uniformly scheduled (allocated) by the master node.
  • a slave node may also be called a terminal (terminal, T) node, and a communication link between slave nodes may also be called a TT link.
  • FIG. 3 is a schematic diagram of the composition of a communication device 300 provided in the embodiment of the present application.
  • the communication device 300 can be a master node or a chip or a system-on-chip in a master node; it can also be a slave node or a chip or a system-on-chip in a slave node .
  • the communication device 300 includes a processor 301 , a transceiver 302 and a communication line 303 .
  • the communication device 300 may further include a memory 304 .
  • the processor 301 , the memory 304 and the transceiver 302 may be connected through a communication line 303 .
  • the processor 301 is a central processing unit (central processing unit, CPU), a general-purpose processor, a network processor (network processor, NP), a digital signal processor (digital signal processing, DSP), a microprocessor, a microcontroller, Programmable logic device (programmable logic device, PLD) or any combination thereof.
  • the processor 301 may also be other devices with processing functions, such as circuits, devices or software modules, which are not limited.
  • the transceiver 302 is used for communicating with other devices or other communication networks.
  • the other communication network may be an Ethernet, a radio access network (radio access network, RAN), a wireless local area network (wireless local area networks, WLAN), and the like.
  • the transceiver 302 may be a module, a circuit, a transceiver or any device capable of realizing communication.
  • the communication line 303 is used to transmit information between the components included in the communication device 300 .
  • the memory 304 is used for storing instructions.
  • the instruction may be a computer program.
  • the memory 304 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and/or instructions, or a random access memory (random access memory, RAM) or Other types of dynamic storage devices that store information and/or instructions can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD- ROM) or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disc storage media or other magnetic storage devices, etc., without limitation.
  • EEPROM electrically erasable programmable read-only memory
  • CD- ROM compact disc read-only memory
  • optical disc storage including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.
  • magnetic disc storage media or other magnetic storage devices etc., without limitation.
  • the memory 304 may exist independently of the processor 301 or may be integrated with the processor 301 .
  • the memory 304 can be used to store instructions or program codes or some data and so on.
  • the memory 304 may be located in the communication device 300 or outside the communication device 300, without limitation.
  • the processor 301 is configured to execute instructions stored in the memory 304, so as to implement the data transmission method provided by the following embodiments of the present application.
  • the processor 301 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 3 .
  • the communications apparatus 300 includes multiple processors, for example, in addition to the processor 301 in FIG. 3 , it may further include a processor 307 .
  • the communication apparatus 300 further includes an output device 305 and an input device 306 .
  • the input device 306 is a device such as a keyboard, a mouse, a microphone, or a joystick
  • the output device 305 is a device such as a display screen and a speaker (speaker).
  • the communication device 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 having a structure similar to that shown in FIG. 3 .
  • the composition structure shown in FIG. 3 does not constitute a limitation to the communication device.
  • the communication device may include more or less components than those shown in the illustration, or combine certain components , or different component arrangements.
  • system-on-a-chip may be composed of chips, or may include chips and other discrete devices.
  • actions, terms, etc. involved in various embodiments of the present application may refer to each other without limitation.
  • the names of messages exchanged between various devices or the names of parameters in messages are just examples, and other names may also be used in specific implementations, which are not limited.
  • the second node can be any master node in the communication system shown in FIG. 2
  • the first node It may be any slave node of the second node in the communication system shown in FIG. 2
  • the third node may be any slave node except the first node among the slave nodes of the second node in the communication system shown in FIG.
  • the three nodes can send data to the first node, and the first node can receive data from the third node.
  • the first node, the second node, and the third node described in the following embodiments may all have the components shown in FIG. 3 .
  • Fig. 4 is a flowchart of a data transmission method provided by the embodiment of the present application. As shown in Fig. 4, the method may include:
  • Step 401 the second node sends first clock accuracy information to the first node.
  • the first clock precision information may be the clock precision information of the third node, may also indicate a preset clock precision, and may also be the first windowing amount.
  • the second node may be a master node, and the first node and the third node may be slave nodes of the second node. It should be noted that the fact that the first node is the slave node of the second node means that in the communication relationship, the second node is the master node and the first node is the slave node. It should be noted that in different scenarios, the master-slave relationship may also change. The solution of this application is based on a certain scenario. In this scenario, the second node is the master node, and the first node and the third node is the slave node of the second node.
  • the first clock precision information is clock precision information of the third node.
  • the clock accuracy information of the third node may be acquired 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 accuracy information.
  • the clock accuracy information of the third node can be used to indicate the active clock accuracy (active clock accuracy, ACA) when the third node is in the active state (active), or used to indicate the third node is in sleep state (sleep) Clock accuracy (sleep clock accuracy, SCA).
  • ACA active clock accuracy
  • SCA sleep state Clock accuracy
  • the ACA and the SCA of the third node may be the same or different, without limitation.
  • the first clock precision information indicates a preset clock precision.
  • the first clock precision information may be preset by the communication protocol, or may be preset by the second node.
  • the second node may determine the first clock accuracy information according to the communication protocol, and send the first clock accuracy information to the first node. If the first clock accuracy information is preset by the second node, the second node may send the preset first clock accuracy information to the first node.
  • step 401 is an optional step, or, step 401 may be replaced by: the first node acquires the first clock accuracy information.
  • the preset clock precision may be coarse clock precision.
  • the coarse clock precision may be the maximum value of the clock precision of the first node and the clock precision of the third node, or may be the preset worst clock precision.
  • the second node can receive the clock precision information of the first node sent by the first node, and receive the third node’s clock precision information sent by the third node.
  • the clock precision information of the node, and 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 is sent to the first node as the first clock precision information.
  • the clock accuracy information of the first node can be used to indicate the ACA of the first node, or used to indicate the SCA of the first node.
  • ACA and SCA can be the same or different without limitation.
  • 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 The first clock accuracy information corresponding to the type.
  • the second node can determine the corresponding first clock accuracy 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 can determine that the first clock accuracy information is 500ppm. When the device type of the three nodes is type 2, the second node may determine that the first clock precision information is 200ppm.
  • the worst clock accuracy is 500ppm
  • the worst clock accuracy is 200ppm.
  • the first clock precision information and the clock precision information of the first node may be a specific clock precision or an index of the clock precision.
  • the first node may read the bits carrying the clock precision information, and determine the clock precision indicated by the clock precision information.
  • the 10 bits can indicate any clock accuracy in the range of 0ppm-1023ppm, and the first node can determine the specific clock by reading the 10-bit clock accuracy information precision. Assuming that the 10 bits are 1000000000, the first node can determine that the clock accuracy is 1023ppm.
  • the unit of clock accuracy can be ppm, which is a more convenient method to compare the accuracy of different crystal specifications.
  • 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.
  • the first clock precision information is the clock precision information of the third node as an example, assuming that the clock precision of the third node is 300ppm, according to Table 1, It can be determined that the index of the clock precision of the third node is 0, then the second node can send the index 0 as the first clock precision information to the first node, and after the first node receives the first clock precision information, it can follow the worst case Analysis is performed, that is, the first node determines that the clock precision indicated by the first clock precision information is 500ppm.
  • the table is only a manifestation of the corresponding relationship, and the corresponding relationship can be reflected in any way in essence, not only limited to the use of the table, and the actual corresponding relationship can include the table in the application. Some of the correspondences shown, not all need to be satisfied.
  • index clock accuracy 0 251ppm 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
  • the clock precision information of the first node is index 0
  • the clock precision information of the third node is index 4
  • the second node can determine the maximum value of the clock precision of the first node and the clock precision of the third node according to index 0 and index 4 to be 251ppm to 500ppm; or,
  • the maximum value that the second node can determine the clock accuracy of the first node and the clock accuracy of the third node is 500ppm.
  • the clock accuracy in this embodiment of the present application may indicate a clock accuracy interval, or may indicate an upper bound of the clock accuracy interval, that is, the worst clock accuracy.
  • the first clock accuracy information is a first window widening.
  • 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.
  • the first windowing amount (clock precision of the first node+clock precision of the third node)/10 ⁇ 6*first time difference.
  • the second node may receive the clock accuracy information of the first node sent by the first node, and receive the clock accuracy information of the third node sent by the third node.
  • the first time difference information may be used to indicate the first time difference between the second moment and the previous synchronization moment between the first node and the third node
  • the second moment may be the end moment of the second time window
  • the second time window may be based on Determined by predefined rules or parameters
  • the third node can send data packets to the first node based on the second time window
  • the previous synchronization time between the first node and the third node can also be described as the first node and the third node at The time of the last synchronization before time two.
  • the second moment is the 13s
  • the first node and the third node were last synchronized before the second moment
  • the synchronization time is 10s
  • the first time difference between the second time point and the previous synchronization time between the first node and the third node is 3s.
  • the second node may determine the first windowing amount according to clock accuracy information of the first node, preset clock accuracy and/or first time difference information.
  • the first windowing amount (clock precision of the first node+preset clock precision)/10 ⁇ 6*first time difference.
  • 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 second time difference information.
  • the first windowing amount (clock precision of the first node+clock precision of the third node)/10 ⁇ 6*second time difference.
  • the second node may receive the clock accuracy information of the first node sent by the first node, and receive the clock accuracy information of the third node sent by the third node.
  • the second time difference information may be used to indicate the maximum time interval stipulated by the communication protocol or allowed by the communication protocol, and within this time interval, the third node needs to perform a data interaction with the first node, that is, the third node needs to communicate with the first node.
  • the node sends data once.
  • the time interval may be configured by the second node (ie, the master node).
  • the second time difference information can be used to indicate a fixed time interval, an integer multiple connection interval or an integer multiple connection sub-interval
  • the connection interval is the connection interval between the first node and the third node
  • the connection sub-interval is the connection interval between the first node and the second node. Connectivity subinterval between three nodes.
  • connection interval may be the time length between start time points of two consecutive connection events.
  • the connection interval may be configured by the second node, or may be stipulated by a protocol.
  • the connection interval can be considered as part 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 first node and the third node, and in each connection event, the first node interacts with the third node.
  • a connection event may be a process in which the first node and the third node send data packets to each other in a connection interval.
  • a connection event may also include multiple connection sub-events, and the connection sub-interval may be the time length between start time points of two consecutive connection sub-events.
  • connection event the connection interval, the connection sub-event and the connection sub-interval
  • connection interval the connection sub-event and the connection sub-interval
  • the second time difference may be configured by the second node to the first node.
  • the first node may determine the second time difference according to the time offset of the position of the sending time window configured by the second node for the third node relative to the current moment.
  • the second node may determine the first windowing amount according to clock accuracy information of the first node, preset clock accuracy and/or second time difference information.
  • the first windowing amount (clock precision information of the first node+preset clock precision)/10 ⁇ 6*second time difference.
  • 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.
  • the first windowing amount (clock precision of the first node+clock precision of the third node)/10 ⁇ 6*connection interval.
  • connection interval may be the connection interval between the first node and the third node, and the connection interval may be pre-agreed by the communication protocol, or pre-set by the second node.
  • connection interval is less than or equal to the second time difference. From the perspective of energy saving, when communicating between slave nodes, data transmission does not need to be performed in every connection interval, so several consecutive connection intervals can be skipped. When data transmission is performed within each connection interval, the connection interval may be equal to the second time difference.
  • the second node may determine the first windowing amount according to clock precision information of the first node, preset clock precision and/or connection interval.
  • the first windowing amount (clock precision of the first node+preset clock precision)/10 ⁇ 6*connection interval.
  • connection interval refer to the description of the connection interval in the fifth example above.
  • each node may be in different modes (for example, sleep mode and active mode)
  • an additional fixed amount of time related to the mode may be introduced.
  • the final determined first windowing amount needs to be determined according to at least one of the above-mentioned first example, second example, third example, fourth example, fifth example, and sixth example
  • an additional fixed amount of time is added.
  • the fixed amount of time may be 2us; when the clock accuracy information of the third node is SCA information, the fixed amount of time may be 16us.
  • the second node may determine the first windowing amount according to the clock precision information of the first node, the preset clock precision, and the connection interval.
  • the second node carries the first clock accuracy information in the configuration information, and uses one or more of broadcast, multicast, or unicast to send the configuration information to to the first node.
  • the configuration information may be carried in a system message, may also be carried in a control signaling or a control frame, or may be carried in a physical layer control information, without limitation.
  • the first clock accuracy information may be included in a communication domain system broadcast message, that is, the system broadcast message sent by the second node may include the first clock accuracy information. Since the first node can receive the system broadcast message, it can be understood in a broad sense that the first clock accuracy information is sent by the second node to the first node.
  • the first clock accuracy information may be included in a 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 normal data communication of the TT link.
  • the embodiment of the present application does not limit the conditions for the second node to send the first clock accuracy information.
  • the second node receives the request information from the third node, and sends the first clock accuracy information to the first node according to the request information.
  • the request information may be used to request to send the data packet to the first node.
  • the second node may determine that the third node needs to send a data packet to the first node according to the received request information, and at this time, the second node may send the first clock accuracy information to the first node to trigger the first node to
  • the following step 402 is executed to determine the first time window according to the first clock accuracy information, and start to perform channel detection from the starting moment of the first time window.
  • the master node can send a connection request message (connect request) in a broadcast event based on the broadcast channel, and the slave node receives the connection request After the request message, a connection can be established with the slave node according to the connection request message.
  • connection request message connect request
  • the slave node receives the connection request After the request message, a connection can be established with the slave node according to the connection request message.
  • FIG. 5 is a schematic diagram of signaling and a schematic time axis of wireless communication provided in this embodiment of the present application.
  • t represents the time axis
  • T3 represents the third node
  • T1 represents the first node
  • T3 ⁇ T1 represents the third node to send data to the first node
  • T1 ⁇ T3 represents the first node to send data to the third node send.
  • the second node can send TT link configuration information to the third node (T3), where the configuration information can configure the time for the third node (T3) to perform data transmission window. That is, the third node (T3) is required to start sending data within the configured time window.
  • the time window can be a moment.
  • the first node (T1) can also obtain the time window, and the first node (T1) can open a radio frequency window (Rx window) within the corresponding time window, in order to receive Information from the third node (T3).
  • the configured time window may be the aforementioned second time window.
  • the second node may configure a connection interval (connection interval, CI) parameter for data communication between the third node (T3) and 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) can start interacting at the beginning of each connection interval, that is, the third node (T3) sends a data packet to the first node (T1), and the first node (T1 ) and then send a data packet to the third node (T3).
  • the third node (T3) can interact with the first node (T1) multiple times. Multiple interactions within a connection interval are called connection events (CI); a connection interval can also be called a transmission interval, and a connection event can also be called a transmission event.
  • connection interval may be the time length between start time points of two consecutive connection events.
  • the connection interval may be configured by the second node, or may be stipulated by a protocol.
  • the connection interval can be considered as part of the time domain resources used for communication.
  • a connection event may be one or more connection events included in a connection established between nodes, and in each connection event, the communication parties interact.
  • a connection event can be the process of nodes sending packets to each other during a connection interval.
  • the third node ( T3 ) starts to receive the receipt after the time interval T has elapsed after completing the data transmission.
  • the first node ( T1 ) starts to send data after the time interval T passes after finishing receiving data.
  • the time interval T may be stipulated in the protocol, configured by the second node, or determined through negotiation between the sending and receiving ends. This application is not limited to this.
  • the time interval T may also be called an inter frame space (inter frame space, IFS) time, or an inter packet space (inter packet space, IPS) time, or a conversion time interval.
  • IFS inter frame space
  • IPS inter packet space
  • Other names are different but are all within the protection scope of this application as the time interval between receiving and sending.
  • the first node (T1) can use the time point when it starts to receive the data packet P1 as the initial anchor point (or origin), and periodically give the first node (T1) the time point to receive the first node with the connection interval as the cycle.
  • the third node (T3) and the first node (T1) can perform one or more rounds of data interaction, when neither the third node (T3) nor the first node (T1) has data to be sent , stop interacting until the next connection interval. in data transmission.
  • the length of time occupied by the third node (T3) and the first node (T1) for sending data is not fixed, depends on the size of the data packet, but is limited by the maximum transmission time.
  • connection interval In order to save power consumption, data interaction is not required in every connection interval, and several connection intervals can be skipped, which can be configured through the system. That is, it is not required that the first node needs to receive the data of the third node in every connection interval. At this time, the period of interaction between the two nodes will be lengthened, but the starting position of the possible interaction is still at the possible time point with the initial anchor point as the starting point and the connection interval as the cycle. These time points are also called anchor.
  • the second node configures a "shared" time resource for the third node (T3) and the first node (T1).
  • the third node (T3) finishes sending data, and after a preset time interval, the first node (T1) can send data.
  • the time at which the first node (T1) starts to send data in each connection event is not fixed.
  • the maximum data packet size for a single data transmission by the third node and/or the first node may be agreed upon by the protocol, or may be configured by the second node (master node).
  • the maximum time length occupied by the third node and the first node may be determined according to the size of the data packet to be sent.
  • the node may start to receive or send data immediately after the preset time interval.
  • the node may start receiving or sending at the first integer time slot after the preset time interval, so as to ensure time alignment between the sending and receiving ends.
  • the connection interval may be the time interval between the starting moments of two adjacent connection events, for example, it may be the connection interval (connection interval) shown in (b) in Figure 5 interval, CI)
  • the first connection event includes two rounds of interaction between the third node (T3) and the first node (T1), where the third node (T3) sends data to the first node (T1), and Receiving the data sent by the first node (T1) is called completing a round of data interaction, that is, the adjacent T3->T1 and T1->T3 shown in (b) in FIG. 5 constitute a round of data interaction.
  • connection event connection event, CE
  • connection event CE
  • the third node (T3) sends data to the first node (T1) under the condition that the configured preset time interval is met, and the first node (T1) sends data to the third node (T3)
  • the length of the time resources occupied by sending data may vary (depending on the size of the data packet sent), and the start time of sending data from the first node (T1) to the third node (T3) is also uncertain.
  • the time resources of the first group T3->T1 may be different from the time resources occupied by the second group T3->T1.
  • connection event may also include multiple connection sub-events. Therefore, the connection event information may also include the connection sub-event interval, the number of connection sub-events, and the connection sub-event used for the third node (T3 ) data sending time length, or the time length used for the first node (T1) data sending in the connection sub-event, etc.
  • a single connection event can contain multiple connection sub-events, for example, the connection event in (c) in Figure 5 includes 3 connections between the third node (T3) and the first node (T1) Round interaction, a single connection sub-event may include a round of interaction between the third node (T3) and the first node (T1), this round of interaction may be after the third node (T3) sends data to the first node (T1) The first node (T1) then sends data to the third node (T3), or the third node (T3) sends data to the first node (T1) after the first node (T1) sends data to the third node (T3) send data. It should be understood that the order of sending data between the third node (T3) and the first node (T1) may be configured or agreed upon in a protocol, which is not limited in this application.
  • connection sub-event interval also known as the sub-interval
  • T3 the longest data transmission length of the third node
  • T1 the length of the first node
  • the time resource used for the third node (T3) to send data to the first node (T1) is the same as the time resource used for the first node (T1) to send data to the third node (T3)
  • Temporal resources may be preconfigured as periodically occurring resources that are fixed in time.
  • the clock synchronization accuracy information of the third node obtained by the second node may be obtained in the following manner:
  • the second node sends clock accuracy request information to the third node to query the clock accuracy of the third node; the third node sends clock accuracy information of the third node to the second node to report its clock accuracy.
  • the embodiment of the present application does not limit the manner in which the third node sends the first clock accuracy information to the second node.
  • Step 402 the first node performs channel detection within the first time window starting from the first moment.
  • the sending nodes send data There are uncertainties. In order to avoid this uncertainty, each time the receiving node receives the data sent by the sending node, it needs to widen on the basis of the "agreed time window (including a single moment, such as the second time window)".
  • the start moment of the widened time window (such as the first time window) is earlier than the start moment of the time window before widening (such as the second time window), and the receiving node can Start to perform channel detection to ensure that the receiving node can receive the data packet sent by the sending node.
  • the sending node sends data at the end of the agreed time window.
  • the end time of the widened time window is later than the time window before the widening, so as to ensure The receiving node can always start receiving packets sent by the sending node within the widened time window.
  • the first node may perform channel detection on the channel carrying the data packet from the third node, and the channel detection (detection) may also be described as channel listening (listening).
  • the first node may determine the first time window according to the first clock accuracy information sent by the second node.
  • the first moment of the first time window may be earlier than the start moment of the second time window by a first windowing amount
  • the first windowing amount corresponds to the first clock accuracy information
  • the second time window is based on a predefined rule or The parameters are determined.
  • the second time window may correspond to a period of time, or may be a specific moment.
  • the second node may configure a corresponding time window (also referred to as a transmission time window, a detection time window, corresponds to the second time window here), and is used to agree that the third node sends data to the first node within the time window.
  • the first node may also know the time window, so that the first node knows in what time window to receive data from the third node.
  • the second node may configure the time window for the third node to send data as a specific moment (also called a specific time point).
  • the second time window may be configured by the second node and notified to the third node and the first node.
  • the third node when the third node completes the initial communication with the first node and determines the initial anchor point of communication, within a connection event, the third node and the first node Multiple interactions may be performed, and the first node may determine that the second time window is a specific time, which is the time when the first node finishes sending data to the third node + a fixed time interval.
  • the first node may determine that the second time window is: a time point starting from the initial anchor point + an integer number of connection intervals.
  • the first node can determine that the second time window is: the time point with the initial anchor point as the starting point + an integer number of sub-intervals, these time points can be called sub-anchors point.
  • the second time window can be understood as the time point or time window when the first node and the third node "agreed" to send data under ideal conditions (regardless of the impact of clock accuracy).
  • the first node on the basis of the second time window, when the actual data is received, considering the influence of the clock accuracy, the first node first determines the first windowing amount, and then determines the starting time of the first time window, that is, determines the first time.
  • the first node may determine the first windowing amount through the following example.
  • the first 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.
  • the first windowing amount (clock precision of the first node+clock precision of the third node)/10 ⁇ 6*first time difference.
  • the first time difference information may be used to indicate the first time difference between the second moment and the previous synchronization moment between the first node and the third node, and the second moment is the end moment of the second time window.
  • both the start time and the end time of the second time window correspond to the specific time.
  • the second node may configure the second time window for the third node to send data as a time point.
  • the first time difference can be determined as a single connection interval, or an integer multiple of connection intervals (considering that data interaction is not always performed within each connection interval), therefore, the second moment can be: with the initial anchor
  • the point is the time point of the starting point + an integer number of connection intervals; and to simplify the calculation, the previous synchronization time between the first node and the third node corresponds to the anchor point corresponding to the data packet sent by the third node last received by the first node.
  • the second node receives the data sent by the third node on the "agreed anchor point"
  • the data packet received on the "agreed anchor point” can be considered as the same as the anchor point Correspondence exists.
  • the first node may determine that the second time window is: a time point starting from the initial anchor point + an integer number of sub-intervals. Similar to the connection event above, it can be determined that the first time difference is a single connection subinterval, or an integer multiple of connection subintervals (considering that data interaction is not always performed within each connection subinterval), therefore, the second moment can be It is: the initial anchor point as the starting point + the time point of an integer number of connection sub-intervals; and the previous synchronization time between the first node and the third node corresponds to the last time the first node received the data packet sent by the third node. anchor.
  • the first node may determine the first windowing amount according to clock accuracy information of the first node, preset clock accuracy and/or first time difference information.
  • the first windowing amount (clock precision of the first node+preset clock precision)/10 ⁇ 6*first time difference.
  • the first 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 second time difference information.
  • the first windowing amount (clock precision of the first node+clock precision of the third node)/10 ⁇ 6*second time difference.
  • the second time difference may be configured by the second node to the first node.
  • the first node may determine the second time difference according to the time offset of the position of the sending time window configured by the second node for the third node relative to the current moment.
  • the second time difference information may be used to indicate that the protocol agrees or the protocol allows the maximum time interval, within which the third node must perform a data interaction with the first node, that is, the third node must exchange data with the first node.
  • the time interval may be configured by the second node (ie, the master node).
  • the first node may determine the first windowing amount according to clock accuracy information of the first node, preset clock accuracy and/or second time difference information.
  • the first windowing amount (clock precision of the first node+preset clock precision)/10 ⁇ 6*second time difference.
  • the description of the preset clock precision can refer to the description of the preset clock precision in the second possible design in the above step 401
  • the description of the second time difference information can refer to the above description of the second time difference information, I won't go into details.
  • the first 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.
  • the first windowing amount (clock precision of the first node+clock precision of the third node)/10 ⁇ 6*connection interval.
  • connection interval may be the connection interval between the first node and the third node, and the connection interval may be pre-agreed by the communication protocol, or pre-set by the second node.
  • connection interval is less than or equal to the second time difference. From the point of view of energy saving, when communicating between slave nodes, data transmission does not need to be performed in every connection interval, and several consecutive connection intervals can be skipped. When data transmission is performed within each connection interval, the connection interval is equal to the second time difference.
  • the first node may determine the first windowing amount according to clock accuracy information of the first node, preset clock accuracy and/or connection interval.
  • connection interval refer to the description of the connection interval in the fifth example above.
  • the first windowing amount (clock precision of the first node+preset clock precision)/10 ⁇ 6*connection interval.
  • each node may be in different modes (for example, sleep mode and active mode)
  • an additional fixed amount of time related to the mode may be introduced.
  • the final determined first windowing amount needs to be determined according to at least one of the above-mentioned first example, second example, third example, fourth example, fifth example, and sixth example
  • an additional fixed amount of time is added.
  • the fixed amount of time may be 2us; when the clock accuracy information of the third node is SCA information, the fixed amount of time may be 16us.
  • the second node may determine the first windowing amount according to the clock precision information of the first node, the preset clock precision, and the connection interval.
  • the end time of the first time window is later than the end time of the second time window by a first window amount, so as to ensure that the data packets sent by the third node can be received within the first time window.
  • the end moment of the first time window is later than the end moment of the second time window by the first windowing amount, which can also be described as the difference between the window length of the first time window and the second time window.
  • the difference between the window lengths of the two time windows is twice the first window addition amount; when the second time window is a certain moment, the end moment of the first time window is later than the end moment of the second time window by the first window addition amount It can also be described as that the window length of the first time window is equal to twice the first windowing amount.
  • the first node continues to perform channel detection within the first time window, so as to ensure that it can begin to receive the data packet sent by the third node within the first time window.
  • Step 403 the third node sends a data packet to the first node.
  • the first node receives the data packet from the third node.
  • step 403 does not limit the sequence relationship between step 403 and step 402 .
  • the third node can send data packets to the first node according to the second time window, but due to clock precision offset, the third node may start sending data packets to the first node earlier than the start time of the second time window, and also The sending of data packets to the first node may start later than the start moment of the second time window.
  • the first node can ensure that the first node receives the data packet sent by the third node.
  • the first node can determine the first time window whose start time is earlier than the start time of the second time window by the first windowing amount according to the first clock accuracy information, and at the first time Channel detection is performed within the window to receive data packets from the third node.
  • the first node can overcome the uncertainty of data transmission by the sending node, ensure that the first node receives the data packet sent by the third node, and realize communication between the first node and the third node.
  • the information exchange between the first node and the third node improves the communication success rate.
  • the third node may carry the clock accuracy information of the third node in a data packet and send it to the first node.
  • the first node may perform the following step 404 to window to perform channel detection.
  • Step 404 the first node performs channel detection within the third time window starting from the third moment according to the clock accuracy information of the third node.
  • the third time is earlier than the start time of the fourth time window by a second windowing amount, and the second windowing amount corresponds to the clock accuracy information of the third node.
  • the second windowing amount may be obtained according to clock accuracy information of the first node, clock accuracy information of the third node, and/or third time difference information.
  • the third time difference information is used to indicate the third time difference between the fourth moment and the previous synchronization moment between the first node and the third node, and the fourth moment is the end moment of the fourth time window.
  • the fourth time window may be the time window configured by the second node to the first node and the third node, and the description of the fourth time window may refer to the above-mentioned description of the second time window.
  • the description refer to the foregoing description of the second moment, and for the description of the third time difference information, refer to the foregoing description of the first time difference information, and details are not repeated here.
  • 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 second time difference information .
  • the second windowing amount may be determined with reference to the foregoing description of the second time difference information or the second time difference, and details are not repeated here.
  • 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 connection interval; wherein , the connection interval is the connection interval between the first node and the third node.
  • the second windowing amount is less than or equal to the first windowing amount.
  • the end time of the third time window is later than the end time of the second time window by a second window amount, so as to ensure that the data packets sent by the third node can be received within the first time window.
  • the end moment of the third time window is later than the end moment of the fourth time window by the second windowing amount, which can also be described as the difference between the window length of the third time window and the first time window.
  • the difference between the window lengths of the four time windows is twice the second window addition amount; when the fourth time window is a certain moment, the end moment of the third time window is later than the end moment of the fourth time window by the second window addition amount It can also be described as that the window length of the third time window is equal to twice the second windowing amount.
  • the first node continues to perform channel detection within the third time window, so as to ensure that it can begin to receive the data packet sent by the third node within the third time window.
  • the first node when the data packet sent by the third node includes the clock accuracy information of the third node, the first node can determine that the starting time is higher than the second time window according to the clock accuracy information of the third node. The starting time is advanced by the third time window by the second windowing amount, and channel detection is performed in the third time window to receive the data packet sent by the third node. According to the clock accuracy information of the third node, the first node can more accurately determine the moment when the first node starts to perform channel detection. The time when the data packet of the third node is actually received is detected, and the power consumption caused by the first node performing channel detection in advance is reduced.
  • each device includes a corresponding hardware structure and/or software module for performing each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • each device may be divided according to the above method example.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 7 shows a communication device 70
  • the communication device 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 to the first node, or other combined devices, components, etc. having the functions of the first node.
  • the transceiver module 701 may be a transceiver, and the transceiver may include an antenna and a radio frequency circuit, etc.
  • the processing module 702 may be a processor (or, a processing circuit), such as a baseband processor, a baseband processor can include one or more CPUs.
  • the transceiver module 701 may be a radio frequency unit; the processing module 702 may be a processor (or, a processing circuit), such as a baseband processor.
  • the transceiver module 701 may be an input and output interface of a chip (such as a baseband chip); the processing module 702 may be a processor (or, a processing circuit) or a logic circuit of the chip system, and may include one or Multiple central processing modules.
  • transceiver module 701 in the embodiment of the present application may be implemented by a transceiver or a transceiver-related circuit component; the processing module 702 may be implemented by a processor or a processor-related circuit component (or called a processing circuit).
  • the transceiver module 701 may be used to perform all the transceiver operations performed by the first node in the embodiments shown in FIGS. 4-6 , and/or to support other processes of the technology described herein; For performing all the operations performed by the first node in the embodiments shown in FIGS. 4-6 except the transceiving operation, and/or other processes for supporting the technology described herein.
  • the transceiver module 701 in FIG. 7 can be replaced by a transceiver, and the transceiver can integrate the functions of the transceiver module 701; the processing module 702 can be replaced by a processor, and the processor can integrate the functions of the processing module 702. Function.
  • the communication device 70 shown in FIG. 7 may further include a memory.
  • the transceiver module 701 is replaced by a transceiver and the processing module 702 is replaced by a processor
  • the communication device 70 involved in this embodiment of the present application may be the communication device shown in FIG. 3 .
  • the communication device 70 involved in this embodiment of the present application may also be the communication device 90 shown in FIG. 9 , wherein the processor may be The logic circuit 901 and the transceiver may be an interface circuit 902 . Further, the communication device 90 shown in FIG. 9 may further include a memory 903 .
  • FIG. 8 shows a communication device 80
  • the communication device 80 may include a transceiver module 801 and a processing module 802 .
  • the communication device 80 may be the second node, or may be a chip applied to the second node, or other combined devices, components, etc. having the function of the second node.
  • the transceiver module 801 may be a transceiver, and the transceiver may include an antenna and a radio frequency circuit, etc.
  • the processing module 802 may be a processor (or, a processing circuit), such as a baseband processor, a baseband processor can include one or more CPUs.
  • the transceiver module 801 may be a radio frequency unit; the processing module 802 may be a processor (or, a processing circuit), such as a baseband processor.
  • the transceiver module 801 may be an input and output interface of a chip (such as a baseband chip); the processing module 802 may be a processor (or, a processing circuit) or a logic circuit of the chip system, and may include one or Multiple central processing modules.
  • transceiver module 801 in the embodiment of the present application may be implemented by a transceiver or a transceiver-related circuit component; the processing module 802 may be implemented by a processor or a processor-related circuit component (or called a processing circuit).
  • the transceiver module 801 may be used to perform all the transceiver operations performed by the second node in the embodiments shown in FIGS. 4-6 , and/or to support other processes of the technology described herein; For performing all the operations performed by the second node in the embodiments shown in FIGS. 4-6 except the transceiving operation, and/or other processes for supporting the technology described herein.
  • the transceiver module 801 in FIG. 8 can be replaced by a transceiver, and the transceiver can integrate the functions of the transceiver module 801; the processing module 802 can be replaced by a processor, and the processor can integrate the functions of the processing module 802. Function.
  • the communication device 80 shown in FIG. 8 may further include a memory.
  • the transceiver module 801 is replaced by a transceiver and the processing module 802 is replaced by a processor
  • the communication device 80 involved in this embodiment of the present application may be the communication device shown in FIG. 3 .
  • the communication device 80 involved in this embodiment of the present application may also be the communication device 90 shown in FIG. 9 , wherein the processor may be The logic circuit 901 and the transceiver may be an interface circuit 902 . Further, the communication device 90 shown in FIG. 9 may further include a memory 903 .
  • the embodiment of the present application also provides a computer-readable storage medium. All or part of the processes in the above method embodiments can be completed by computer programs to instruct related hardware, and the program can be stored in the above computer-readable storage medium. When the program is executed, it can include the processes of 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) in any of the foregoing embodiments, such as a hard disk or memory of the terminal.
  • the above-mentioned computer-readable storage medium may also be an external storage device of the above-mentioned terminal, such as a plug-in hard disk equipped on the above-mentioned terminal, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash memory card (flash card) etc. Further, the above-mentioned computer-readable storage medium may also include both an internal storage unit of the above-mentioned terminal and an external storage device.
  • the above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned terminal.
  • the computer-readable storage medium described above can also be used to temporarily store data that has been output or will be output.
  • An embodiment of the present application further provides a terminal device, and the terminal device may include the above-mentioned first node, or include the above-mentioned second node.
  • the terminal device may also be called user equipment (user equipment, UE) or mobile station (mobile station, MS) or mobile terminal (mobile terminal, MT), etc.
  • the terminal device may be a mobile phone, a smart watch, a tablet computer or a computer with a wireless transceiver function.
  • VR virtual reality
  • AR augmented reality
  • wireless terminal in industrial control wireless terminal in unmanned driving
  • wireless terminal in telemedicine wireless terminal in smart grid Terminals, wireless terminals in smart cities, wireless terminals in smart homes, vehicle-mounted terminals, vehicles with vehicle-to-vehicle (V2V) communication capabilities, intelligent networked vehicles, UAVs with UAV to UAV (U2U) communication capabilities, smart wearable terminals, smart home terminals, smart manufacturing terminals, smart transportation terminals, etc.
  • V2V vehicle-to-vehicle
  • At least one (item) means one or more
  • “multiple” means two or more
  • at least two (items) means two or three And three or more
  • "and/or” is used to describe the association relationship of associated objects, indicating that there can be three types of relationships, for example, "A and/or B” can mean: only A exists, only B exists, and A exists at the same time and B, where A and B can be singular or plural.
  • the character “/” generally indicates that the contextual objects are an "or” relationship.
  • “At least one of the following” or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • At least one item (piece) of a, b or c can mean: a, b, c, "a and b", “a and c", “b and c", or "a and b and c ", where a, b, c can be single or multiple.
  • the disclosed devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be Incorporation or may be integrated into another device, or some features may be omitted, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places . Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a readable storage medium.
  • the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium Among them, several instructions are included to make a device (which may be a single-chip microcomputer, a chip, etc.) or a processor (processor) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: various media capable of storing program codes such as U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk.

Landscapes

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

Abstract

本申请实施例提供了一种数据传输方法和装置,涉及通信技术领域,能够改善在一个主节点和多个从节点组成的通信系统中,由于从节点的时钟精度偏移而导致的从节点之间通信失败的问题。该方法可以包括:接收来自第二节点的第一时钟精度信息;在从第一时刻开始的第一时间窗内执行信道检测;其中,信道用于承载来自第三节点的数据包,第一时刻比第二时间窗的起始时刻提前第一加窗量,第一加窗量对应第一时钟精度信息,第二时间窗是基于预先定义的规则或参数确定的。

Description

数据传输方法和装置
本申请要求于2021年08月03日提交国家知识产权局、申请号为202110886936.9、申请名称为“数据传输方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其是涉及一种数据传输方法和装置。
背景技术
无线通信系统可以包括主节点和从节点,其中,主节点具有资源调度(也可以称为资源分配)能力。主节点可以为从节点调度(也可以称为分配)时频资源,从节点听从主节点的调度,从节点可以使用主节点调度(分配)的时频资源进行通信。
具体的,每个主节点可以对应一个或多个从节点,主节点可以与其对应的一个或多个从节点进行数据交互。但是,由于时钟精度偏移问题,可能会导致接收节点错过接收来自发送节点的数据,导致通信失败。例如,从节点错过数据接收的时刻,从而无法接收到主节点发送的数据,无法正常工作,用户体验感较差。
在一个主节点和多个从节点组成的通信系统中,从节点之间也需要进行数据交互,如何保障从节点之间的数据的成功传输是需要解决的问题。
发明内容
有鉴于此,本申请实施例提供了一种数据传输方法和装置,能够改善由一个主节点和多个从节点组成的通信系统中,由于从节点的时钟精度偏移而导致的从节点之间通信失败的问题。
第一方面,本申请实施例提供了一种数据传输方法,该方法包括:第一节点接收来自第二节点的第一时钟精度信息;第一节点在从第一时刻开始的第一时间窗内执行信道检测;其中,信道用于承载来自第三节点的数据包,第一时刻比第二时间窗的起始时刻提前第一加窗量,第一加窗量对应第一时钟精度信息,第二时间窗是基于预先定义的规则或参数确定的。
基于第一方面,第一节点可以根据第一时钟精度信息,确定起始时刻比第二时间窗的起始时刻提前第一加窗量的第一时间窗,并在第一时间窗内执行信道检测,以接收来自第三节点的数据包。第一节点通过在第二时间窗之前开始执行信道检测,可以保证第一节点接收到第三节点发送的数据包,实现第一节点与第三节点之间的信息交互,提高第一节点与第三节点之间的通信成功率。
一种可能的设计中,第一时间窗的窗长与第二时间窗的窗长之差为第一加窗量的两倍;或者,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量;或者,第一时间窗的窗长等于第一加窗量的两倍。
需要说明的是,当第二时间窗为某一时刻时,该第二时间窗的起始时刻和结束时刻相同。
基于该可能的设计,第一时间窗的结束时刻可以比第二时间窗的结束时刻晚第一加窗量,从而保证第一节点可以在第一时间窗内开始接收第三节点发送的数据包。另外,当第 二时间窗为一段时间时,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量还可以描述为第一时间窗的窗长与第二时间窗的窗长之差为第一加窗量的两倍;当第二时间窗为某一时刻时,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量还可以描述为第一时间窗的窗长等于第一加窗量的两倍。通过将第一时间窗的结束时刻设置为比第二时间窗的结束时刻晚第一加窗量的时刻,可以避免因第一时间窗过长,导致第一节点功耗较大的问题,在保证第一节点可以接收到第三节点发送的数据包的同时,降低第一节点的功耗。
一种可能的设计中,第一节点在第一时间窗内持续执行信道检测。
基于该可能的设计,第一节点可以在第一时间窗内持续执行信道检测,以保障可以在第一时间窗内开始接收第三节点发送的数据包。
一种可能的设计中,第二节点为主节点,第一节点和第三节点为第二节点的从节点。
基于该可能的设计,第一节点和第三节点可以为第二节点的从节点,基于上述第一时间窗,从节点与从节点之间可以进行信息交互,从而避免经过主节点进行从节点之间的数据中转,提高了数据传输效率和用户体验。
一种可能的设计中,第一时钟精度信息为第三节点的时钟精度信息;或者,第一时钟精度信息指示预先设置的时钟精度。
基于该可能的设计,第一时钟精度信息可以是第三节点的时钟精度信息,也可以指示预先设置的时钟精度,为第一时钟精度信息提供可行性方案。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第一时间差信息得到的;其中,第一时间差信息用于指示第二时刻距离第一节点与第三节点前一次同步时刻的时间差,第二时刻为第二时间窗的结束时刻。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第二时间差信息得到的;其中,第二时间差信息用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,连接间隔为第一节点与第三节点之间的连接间隔,连接子间隔为第一节点与第三节点之间的连接子间隔。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或连接间隔得到的;其中,连接间隔为第一节点与第三节点之间的连接间隔。
基于上述三种可能的设计,第一加窗量可以是根据第一时钟精度信息、第一节点的时钟精度信息和/或第一时间差信息得到的,也可以是根据第一时钟精度信息、第一节点的时钟精度信息和/或第二时间差信息得到的,也可以是根据第一时钟精度信息、第一节点的时钟精度信息和/或连接间隔得到的,为得到第一加窗量提供多种可行性方案。
一种可能的设计中,第一时钟精度信息为第一加窗量。
基于该可能的设计,第一加窗量可以是第二节点确定的,第一节点可以直接根据接收到的第一加窗量确定第一时间窗,从而降低第一节点的计算复杂度。
一种可能的设计中,第一节点接收来自第二节点的第一时钟精度信息之前,第一节点发送第一节点的时钟精度信息给第二节点。
基于该可能的设计,第一节点可以将第一节点的时钟精度信息发送给第二节点,以使第二节点根据第一节点的时钟精度信息确定第一加窗量,并发送给第一节点。
一种可能的设计中,数据包包括第三节点的时钟精度信息,第一节点在从第三时刻开 始的第三时间窗内执行信道检测;其中,第三时刻比第四时间窗的起始时刻提前第二加窗量,第二加窗量对应第三节点的时钟精度信息,第四时间窗是基于预先定义的规则或参数确定的。
基于该可能的设计,当第三节点发送的数据包包括第三节点的时钟精度信息时,第一节点可以根据第三节点的时钟精度信息,确定起始时刻比第四时间窗的起始时刻提前第二加窗量的第三时间窗,并在第三时间窗内执行信道检测,以接收第三节点发送的数据包。第一节点根据第三节点的时钟精度信息,可以更为准确的确定第一节点开始执行信道检测的时刻,相比于上述从第一时刻开始执行信道检测,可以缩短第一节点从开始执行信道检测到真正接收到第三节点的数据包的时间,降低第一节点因提前执行信道检测而带来的功耗。
一种可能的设计中,第三时间窗的窗长与第四时间窗的窗长之差为第二加窗量的两倍;或者,第三时间窗的结束时刻比第四时间窗的结束时刻晚第二加窗量;或者,第三时间窗的窗长等于第二加窗量的两倍。
需要说明的是,当第四时间窗为某一时刻时,该第四时间窗的起始时刻和结束时刻相同。
基于该可能的设计,第三时间窗的结束时刻可以比第四时间窗的结束时刻晚第二加窗量,从而保证第一节点可以在第三时间窗内开始接收第三节点发送的数据包。另外,当第二时间窗为一段时间时,第三时间窗的结束时刻比第四时间窗的结束时刻晚第二加窗量还可以描述为第三时间窗的窗长与第四时间窗的窗长之差为第二加窗量的两倍;当第二时间窗为某一时刻时,第三时间窗的结束时刻比第四时间窗的结束时刻晚第二加窗量还可以描述为第三时间窗的窗长等于第二加窗量的两倍。通过将第三时间窗的结束时刻设置为比第四时间窗的结束时刻晚第二加窗量的时刻,可以避免因第三时间窗过长,导致第一节点功耗较大的问题,在保证第一节点可以接收到第三节点发送的数据包的同时,降低第一节点的功耗。
一种可能的设计中,第一节点在第三时间窗内持续执行信道检测。
基于该可能的设计,第一节点可以在第三时间窗内持续执行信道检测,以保障可以在第三时间窗内开始接收第三节点发送的数据包。
第二方面,本申请实施例提供了一种通信装置,该通信装置可以实现上述第一方面或者第一方面可能的设计中第一节点所执行的功能,所述功能可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如,收发模块和处理模块。收发模块,用于接收来自第二节点的第一时钟精度信息;处理模块,用于在从第一时刻开始的第一时间窗内执行信道检测;其中,信道用于承载来自第三节点的数据包,第一时刻比第二时间窗的起始时刻提前第一加窗量,第一加窗量对应第一时钟精度信息,第二时间窗是基于预先定义的规则或参数确定的。
一种可能的设计中,第一时间窗的窗长与第二时间窗的窗长之差为第一加窗量的两倍;或者,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量;或者,第一时间窗的窗长等于第一加窗量的两倍。
一种可能的设计中,处理模块,还用于在第一时间窗内持续执行信道检测。
一种可能的设计中,第二节点为主节点,第一节点和第三节点为第二节点的从节点。
一种可能的设计中,第一时钟精度信息为第三节点的时钟精度信息;或者,第一时钟精度信息指示预先设置的时钟精度。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第一时间差信息得到的;其中,第一时间差信息用于指示第二时刻距离第一节点与第三节点前一次同步时刻的时间差,第二时刻为第二时间窗的结束时刻。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第二时间差信息得到的;其中,第二时间差信息用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,连接间隔为第一节点与第三节点之间的连接间隔,连接子间隔为第一节点与第三节点之间的连接子间隔。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或连接间隔得到的;其中,连接间隔为第一节点与第三节点之间的连接间隔。
一种可能的设计中,第一时钟精度信息为第一加窗量。
一种可能的设计中,收发模块接收来自第二节点的第一时钟精度信息之前,还用于发送第一节点的时钟精度信息给第二节点。
一种可能的设计中,数据包包括第三节点的时钟精度信息,处理模块,还用于在从第三时刻开始的第三时间窗内执行信道检测;其中,第三时刻比第四时间窗的起始时刻提前第二加窗量,第二加窗量对应第三节点的时钟精度信息,第四时间窗是基于预先定义的规则或参数确定的。
一种可能的设计中,第三时间窗的窗长与第四时间窗的窗长之差为第二加窗量的两倍;或者,第三时间窗的结束时刻比第四时间窗的结束时刻晚第二加窗量;或者,第三时间窗的窗长等于第二加窗量的两倍。
一种可能的设计中,处理模块,还用于在第三时间窗内持续执行信道检测。
需要说明的是,该第一节点的具体实现方式还可参考第一方面或第一方面的任一种可能的设计提供的数据传输方法中第一节点的行为功能,该第一节点所带来的技术效果也可参见上述第一方面的任一种可能的设计所带来的技术效果,不予赘述。
第三方面,本申请实施例提供了一种通信装置,该通信装置可以为第一节点或者第一节点中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中第一节点所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:收发器和处理器。收发器和处理器可以用于支持通信装置实现上述第一方面或者第一方面的任一种可能的设计中所涉及的功能。例如:收发器可以用于接收来自第二节点的第一时钟精度信息;处理器可以用于在从第一时刻开始的第一时间窗内执行信道检测;其中,信道用于承载来自第三节点的数据包,第一时刻比第二时间窗的起始时刻提前第一加窗量,第一加窗量对应第一时钟精度信息,第二时间窗是基于预先定义的规则或参数确定的。在又一种可能的设计中,所述通信装置还可以包括存储器,存储器用于保存通信装置必要的计算机执行指令和数据。当该通信装置运行时,该收发器和处理器执行该存储器存储的该计算机执行指令,以使该通信装置执行如上述第一方面或者第一方面的任一种可能的设计所述的数据传输方法。
其中,第三方面中通信装置的具体实现方式可参考第一方面或第一方面的任一种可能的设计提供的数据传输方法中第一节点的行为功能。
第四方面,本申请实施例提供了一种数据传输方法,该方法可以包括:第二节点获取第一时钟精度信息;第二节点发送第一加窗量给第一节点;其中,第一时钟精度信息为第三节点的时钟精度信息,或者,第一时钟精度信息指示预先设置的时钟精度;第一加窗量与第一时钟精度信息对应。
基于第四方面,第二节点可以根据第一时钟精度信息确定第一加窗量,并将第一加窗量发送给第一节点,以使第一节点可以根据第一加窗量,确定起始时刻比第二时间窗的起始时刻提前第一加窗量的第一时间窗,并在第一时间窗内执行信道检测,以接收来自第三节点的数据包,实现第一节点与第三节点之间的信息交互,提高第一节点与第三节点之间的通信成功率。
一种可能的设计中,第二节点为主节点,第一节点和第三节点为第二节点的从节点。
基于该可能的设计,第一节点和第三节点可以为第二节点的从节点,基于上述第一加窗量,从节点与从节点之间可以通过第一时间窗进行信息交互,从而避免经过主节点进行从节点之间的数据中转,提高了数据传输效率和用户体验。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第一时间差信息得到的;其中,第一时间差信息用于指示第二时刻距离第一节点与第三节点前一次同步时刻的时间差,第二时刻为第二时间窗的结束时刻,第二时间窗是基于预先定义的规则或参数确定的。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第二时间差信息得到的;其中,第二时间差信息用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,连接间隔为第一节点与第三节点之间的连接间隔,连接子间隔为第一节点与第三节点之间的连接子间隔。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和连接间隔得到的;其中,连接间隔为第一节点与第三节点之间的连接间隔。
基于上述三种可能的设计,第一加窗量可以是根据第一时钟精度信息、第一节点的时钟精度信息和/或第一时间差信息得到的,也可以是根据第一时钟精度信息、第一节点的时钟精度信息和/或第二时间差信息得到的,也可以是根据第一时钟精度信息、第一节点的时钟精度信息和连接间隔得到的,为得到第一加窗量提供多种可行性方案。
一种可能的设计中,第二节点接收来自第三节点的请求信息;第二节点根据请求信息,向第一节点发送第一加窗量;其中,请求信息用于请求向第一节点发送数据包。
基于该可能的设计,第二节点可以在接收到第三节点发送的请求信息时,向第一节点发送第一加窗量,触发第一节点在第一时间窗的第一时刻开始执行信道检测,以接收第三节点发送的数据包。
第五方面,本申请实施例提供了一种通信装置,该通信装置可以实现上述第四方面或者第四方面可能的设计中第二节点所执行的功能,所述功能可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相应的模块。如,收发模块。收发模块,可以用于获取第一时钟精度信息;收发模块,还可以用于发送第一加窗量给第一节点;其中,第一时钟精度信息为第三节点的时钟精度信息,或者,第一时钟精度信息指示预先设置的时钟精度;第一加窗量与第一时钟精度信息对应。
一种可能的设计中,第二节点为主节点,第一节点和第三节点为第二节点的从节点。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第一时间差信息得到的;其中,第一时间差信息用于指示第二时刻距离第一节点与第三节点前一次同步时刻的时间差,第二时刻为第二时间窗的结束时刻,第二时间窗是基于预先定义的规则或参数确定的。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或第二时间差信息得到的;其中,第二时间差信息用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,连接间隔为第一节点与第三节点之间的连接间隔,连接子间隔为第一节点与第三节点之间的连接子间隔。
一种可能的设计中,第一加窗量是根据第一时钟精度信息、第一节点的时钟精度信息和/或连接间隔得到的;其中,连接间隔为第一节点与第三节点之间的连接间隔。
一种可能的设计中,收发模块,还用于接收来自第三节点的请求信息;收发模块,还用于根据请求信息,向第一节点发送第一加窗量;其中,请求信息用于请求向第一节点发送数据包。
需要说明的是,该第二节点的具体实现方式还可参考第四方面或第四方面的任一种可能的设计提供的数据传输方法中第二节点的行为功能,该第二节点所带来的技术效果也可参见上述第四方面的任一种可能的设计所带来的技术效果,不予赘述。
第六方面,本申请实施例提供了一种通信装置,该通信装置可以为第二节点或者第二节点中的芯片或者片上系统。该通信装置可以实现上述各方面或者各可能的设计中第二节点所执行的功能,所述功能可以通过硬件实现。一种可能的设计中,该通信装置可以包括:收发器。收发器可以用于支持通信装置实现上述第四方面或者第四方面的任一种可能的设计中所涉及的功能。例如:收发器可以用于获取第一时钟精度信息;收发器还可以用于发送第一加窗量给第一节点;其中,第一时钟精度信息为第三节点的时钟精度信息,或者,第一时钟精度信息指示预先设置的时钟精度;第一加窗量与第一时钟精度信息对应。在又一种可能的设计中,所述通信装置还可以包括处理器和存储器,处理器和存储器用于保存通信装置必要的计算机执行指令和数据。当该通信装置运行时,该收发器和处理器执行该存储器存储的该计算机执行指令,以使该通信装置执行如上述第四方面或者第四方面的任一种可能的设计所述的数据传输方法。
其中,第六方面中的通信装置的具体实现方式可参考第四方面或第四方面的任一种可能的设计提供的数据传输方法中第二节点的行为功能。
第七方面,提供了一种通信装置,该通信装置包括一个或多个处理器,一个或多个处理器,用于运行计算机程序或指令,当一个或多个处理器执行计算机指令或指令时,使得通信装置执行如第一方面或者第一方面的任一可能的设计所述的数据传输方法,或者执行如第四方面或者第四方面的任一可能的设计所述的数据传输方法。
一种可能的设计中,该通信装置还包括一个或多个通信接口;一个或多个通信接口和一个或多个处理器耦合,一个或多个通信接口用于与通信装置之外的其它模块进行通信。
一种可能的设计中,该通信装置还包括一个或多个存储器,一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储上述计算机程序或指令。在一种可能的实现方式中,存储器位于所述通信装置之外。在另一种可能的实现方式中,存储器位于所述通信装置之内。本申请实施例中,处理器和存储器还可能集成于一个器件中,即处理器和 存储器还可以被集成在一起。
第八方面,提供了一种通信装置,该通信装置包括接口电路和逻辑电路;接口电路与逻辑电路耦合;逻辑电路用于执行如第一方面或者第一方面的任一可能的设计所述的数据传输方法,或者执行如第四方面或者第四方面的任一可能的设计所述的数据传输方法;接口电路用于与通信装置之外的其它模块进行通信。
第九方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,使得计算机执行如第一方面或者第一方面的任一可能的设计所述的数据传输方法,或者执行如第四方面或者第四方面的任一可能的设计所述的数据传输方法。
第十方面,提供了一种包含计算机指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第一方面或者第一方面的任一可能的设计所述的数据传输方法,或者执行如第四方面或者第四方面的任一可能的设计所述的数据传输方法。
第十一方面,本申请实施例提供一种计算机程序,当其在计算机上运行时,使得计算机执行如第一方面或者第一方面的任一可能的设计所述的数据传输方法,或者执行如第四方面或者第四方面的任一可能的设计所述的数据传输方法。
其中,第七方面至第十一方面中任一种设计方式所带来的技术效果可参见上述第一方面的任一种可能的设计所带来的技术效果,或者参见上述第四方面的任一种可能的设计所带来的技术效果,不予赘述。
第十二方面,本申请实施例提供一种终端设备,该终端设备可以包括如第二方面至第三方面的任一方面所述的通信装置、或者包括第五方面至第六方面的任一方面所述的通信装置。
第十三方面,本申请实施例提供一种通信系统,该通信系统可以包括如第二方面至第三方面的任一方面所述的通信装置、以及如第五方面至第六方面的任一方面所述的通信装置。
附图说明
图1为本申请实施例提供的一种通信系统示意图;
图2为本申请实施例提供的一种通信系统示意图;
图3为本申请实施例提供的一种通信装置组成结构图;
图4为本申请实施例提供的一种数据传输方法的流程图;
图5为本申请实施例提供的一种无线通信的信令示意图和时间轴示意图;
图6为本申请实施例提供的一种数据传输方法的流程图;
图7为本申请实施例提供的一种第一节点的组成示意图;
图8为本申请实施例提供的一种第二节点的组成示意图;
图9为本申请实施例提供的一种通信装置的组成示意图。
具体实施方式
为了使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例作进一步地详细描述。
以下,对本申请实施例中的部分用语进行解释说明,以便于本领域技术人员理解。
主节点和从节点,指从逻辑功能上区分的两类节点。其中,主节点具有资源调度(也 称为资源分配)能力。主节点可以为从节点调度(分配)时频资源,从节点听从主节点的调度,从节点可以使用主节点调度(分配)的时频资源进行通信。可以理解的,这里的时频资源可以是时间域上的资源和/或频率域上的资源。
无线通信技术在人们的日常生活中发挥着重要的作用,尤其在智能终端、智能家居、智能制造、智能汽车等领域都有通信的需求。
在无线通信系统中,可以包括主节点(Master)和从节点(Slave),每个主节点可以对应一个或多个从节点,主节点可以与其对应的一个或多个从节点进行通信,实现相应的数据传输。
但是,从节点一般为低功耗设备,成本较低,由于时钟精度偏移问题,当从节点不清楚主节点的时钟精度时,由于从节点无法确定主节点进行数据发送的时刻的不确定性,从节点可能会错过数据接收,从而无法接收到主节点发送的数据,可能会导致部分从节点接收到数据正常工作,部分从节点没有接收到数据无法正常工作,影响用户体验。因此,从节点之间也需要进行数据交互。
示例性的,如图1所示,以手机与耳机的通信为例,手机可以作为主节点,耳机1和耳机2可以作为手机的从节点,假设耳机1为主耳,耳机2为副耳,两个耳机之间可能也存在数据交互的需求,例如,两个耳机之间需要交互是否都收到了手机发送的数据,从而确定对接收到的数据进行播放,还是丢弃。否则可能出现如下情形:手机可以分别向耳机1和耳机2发送的不同的音频内容(例如,不同声道的音频内容),可能会存在耳机1接收到了手机发送的音频内容,并正常播放,而耳机2错过数据接收的时刻,没有接收到手机发送的音频内容,无法正常播放,即出现单耳播放的情况,影响用户体验。
因此,在由一个主节点和多个从节点组成的通信系统中,从节点之间也需要进行数据交互,如何保障从节点之间的数据的成功传输是需要解决的问题。
但是,由于从节点一般为低功耗设备,成本较低,各个从节点之间可能存在时钟精度偏移问题,当接收端的从节点不清楚发送端的从节点的时钟精度时,接收端的从节点可能会错过数据接收的时刻,从而无法接收到发送端的从节点发送的数据,无法与发送端的从节点进行信息交互,影响用户体验。
为解决上述问题,本申请实施例提供了一种数据传输方法和装置,其中,第一节点可以接收来自第二节点的第一时钟精度信息;并在从第一时刻开始的第一时间窗内执行信道检测;其中,信道用于承载来自第三节点的数据包,第一时刻比第二时间窗的起始时刻提前第一加窗量,第一加窗量对应第一时钟精度信息,第二时间窗是基于预先定义的规则或参数确定的。
本申请实施例中,第一节点可以根据第一时钟精度信息,确定起始时刻比第二时间窗的起始时刻提前第一加窗量的第一时间窗,并在第一时间窗内执行信道检测,以接收来自第三节点的数据包。第一节点通过在第二时间窗之前开始执行信道检测,可以保证第一节点接收到第三节点发送的数据包,实现第一节点与第三节点之间的信息交互,从而避免经过主节点进行从节点之间的数据中转,提高了数据传输效率和用户体验。
下面结合说明书附图对本申请实施例的实施方式进行详细描述。
本申请实施例提供的数据传输方法可用于任一无线通信系统,该无线通信系统可以为短距通信系统、蜂窝通信系统(例如,长期演进(long term evolution,LTE)系统、新空口 (new radio access technology,NR))、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统以及各种类型的下一代通信系统(例如,第六代(the sixth generation,6G)移动通信系统)等,不予限制。其中,短距通信系统可以为蓝牙通信系统、低功耗蓝牙通信系统、无线保真(wireless-fidelity,Wi-Fi)通信系统、通用短距通信系统、车载通用短距通信系统、星闪(spark link)短距通信技术以及各种类型的下一代短距通信系统等,不予限制。
下面以图2为例,对本申请实施例提供的通信系统进行描述。
图2为本申请实施例提供的一种通信系统的示意图,如图2所示,该通信系统可以包括主节点和从节点,主节点可以对应一个或多个从节点,主节点可以与从节点进行通信,从节点与从节点之间也可以进行通信。
其中,该一个或多个从节点可以与主节点组成一个通信域,来使能某个具体的应用功能。例如,一个主节点(手机)与两个从节点(左耳和右耳)来使能双声道音频播放业务。
其中,图2中的主节点可以用于负责调度资源(grant wireless resources)或分配,主节点可以分别与各个从节点建立通信连接,以进行数据交互。主节点也可以称为调度(grant,G)节点。
其中,图2中的从节点可以与主节点进行数据交互,例如接收主节点发送的数据或者向主节点发送数据。从节点也可以与其他从节点建立通信连接。从节点之间进行通信的资源可以是由主节点进行统一调度(分配)的。从节点也可以称为终端(terminal,T)节点,从节点与从节点之间的通信链路也可以称为TT链路。
具体实现时,图2所示,如:主节点、各个从节点均可以采用图3所示的组成结构,或者包括图3所示的部件。图3为本申请实施例提供的一种通信装置300的组成示意图,该通信装置300可以为主节点或者主节点中的芯片或者片上系统;也可以为从节点或者从节点中的芯片或者片上系统。如图3所示,该通信装置300包括处理器301,收发器302以及通信线路303。
进一步的,该通信装置300还可以包括存储器304。其中,处理器301,存储器304以及收发器302之间可以通过通信线路303连接。
其中,处理器301是中央处理器(central processing unit,CPU)、通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal processing,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器301还可以是其它具有处理功能的装置,例如电路、器件或软件模块,不予限制。
收发器302,用于与其他设备或其它通信网络进行通信。该其它通信网络可以为以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。收发器302可以是模块、电路、收发器或者任何能够实现通信的装置。
通信线路303,用于在通信装置300所包括的各部件之间传送信息。
存储器304,用于存储指令。其中,指令可以是计算机程序。
其中,存储器304可以是只读存储器(read-only memory,ROM)或可存储静态信息和/或指令的其他类型的静态存储设备,也可以是随机存取存储器(random access memory,RAM)或可存储信息和/或指令的其他类型的动态存储设备,还可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact  disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或其他磁存储设备等,不予限制。
需要指出的是,存储器304可以独立于处理器301存在,也可以和处理器301集成在一起。存储器304可以用于存储指令或者程序代码或者一些数据等。存储器304可以位于通信装置300内,也可以位于通信装置300外,不予限制。处理器301,用于执行存储器304中存储的指令,以实现本申请下述实施例提供的数据传输方法。
在一种示例中,处理器301可以包括一个或多个CPU,例如图3中的CPU0和CPU1。
作为一种可选的实现方式,通信装置300包括多个处理器,例如,除图3中的处理器301之外,还可以包括处理器307。
作为一种可选的实现方式,通信装置300还包括输出设备305和输入设备306。示例性地,输入设备306是键盘、鼠标、麦克风或操作杆等设备,输出设备305是显示屏、扬声器(speaker)等设备。
需要指出的是,通信装置300可以是台式机、便携式电脑、网络服务器、移动手机、平板电脑、无线终端、嵌入式设备、芯片系统或有图3中类似结构的设备。此外,图3中示出的组成结构并不构成对该通信装置的限定,除图3所示部件之外,该通信装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。
此外,本申请的各实施例之间涉及的动作、术语等均可以相互参考,不予限制。本申请的实施例中各个设备之间交互的消息名称或消息中的参数名称等只是一个示例,具体实现中也可以采用其他的名称,不予限制。
下面结合图2所示通信系统,参照下述图4,对本申请实施例提供的数据传输方法进行描述,其中,第二节点可以为图2所示通信系统中的任一主节点,第一节点可以为图2所示通信系统中第二节点的任一从节点,第三节点可以为图2所示通信系统中第二节点的从节点中除第一节点以外的任一从节点,该第三节点可以向第一节点进行数据发送,第一节点可以接收来自第三节点的数据。下述实施例所述的第一节点、第二节点、第三节点均可以具备图3所示部件。
图4为本申请实施例提供的一种数据传输方法的流程图,如图4所示,该方法可以包括:
步骤401、第二节点向第一节点发送第一时钟精度信息。
其中,第一时钟精度信息可以是第三节点的时钟精度信息,也可以指示预先设置的时钟精度,还可以是第一加窗量。第二节点可以是主节点,第一节点和第三节点可以是第二节点的从节点。需要说明的是,第一节点是第二节点的从节点是指在通信关系中,第二节点为主节点,第一节点为从节点。需要说明的是,在不同的场景下,主从关系也可能会发生变化,本申请的方案是以一定场景为基础,在该场景下,第二节点为主节点,第一节点和第三节点为第二节点的从节点。
一种可能的设计中,第一时钟精度信息是第三节点的时钟精度信息。
其中,第三节点的时钟精度信息可以是第二节点从第三节点获取的。本申请实施例不限制第二节点获取第一时钟精度信息的方法。
其中,第三节点的时钟精度信息可以用于指示第三节点处于活动态(active)时的活动 时钟精度(active clock accuracy,ACA),或者用于指示第三节点处于休眠态(sleep)的睡眠时钟精度(sleep clock accuracy,SCA)。第三节点的ACA与SCA可以相同,也可以不同,不予限制。
第二种可能的设计中,第一时钟精度信息指示预先设置的时钟精度。
其中,第一时钟精度信息可以是通信协议预先设置的,也可以是第二节点预先设置的。
若第一时钟精度信息是通信协议预先设置的,第二节点可以根据通信协议确定第一时钟精度信息,并将第一时钟精度信息发送给第一节点。若第一时钟精度信息是第二节点预先设置的,第二节点可以将预先设置的第一时钟精度信息发送给第一节点。
需要说明的是,若第一时钟精度信息是通信协议预先设置的,第一节点也可以根据通信协议确定第一时钟精度信息,此时,第二节点可以无需向第一节点发送第一时钟精度信息,从而减少第一节点与第二节点之间的信令交互,降低信令开销。因此,在该情况下,步骤401为可选的步骤,或者,步骤401可以替换为:第一节点获取第一时钟精度信息。
示例性的,预先设置的时钟精度可以为粗时钟精度。
例如,粗时钟精度可以是第一节点的时钟精度与第三节点的时钟精度的最大值,也可以是预先设置的最差时钟精度。
其中,若粗时钟精度是第一节点的时钟精度与第三节点的时钟精度的最大值,第二节点可以接收第一节点发送的第一节点的时钟精度信息,接收第三节点发送的第三节点的时钟精度信息,并将第一节点的时钟精度与第三节点的时钟精度的最大值对应的时钟精度信息作为第一时钟精度信息发送给第一节点。
需要说明的是,与上述对第三节点的时钟精度信息的描述类似,第一节点的时钟精度信息可以用于指示第一节点的ACA,或者用于指示第一节点的SCA,第一节点的ACA与SCA可以相同,也可以不同,不予限制。
在另外一种可能的实现方式中,第一时钟精度信息是通信协议预先设置的,但是可能是与不同的设备类型关联的,第二节点可以根据第三节点的设备类型,确定与所述设备类型对应的第一时钟精度信息。
例如,以时钟精度的单位为百万分之一(parts per million,ppm)为例,假设对于类型1设备,最差时钟精度为500ppm,对于类型2设备,最差时钟精度为200ppm,此时第二节点可以根据第三节点的设备类型,确定其对应的第一时钟精度信息,如当第三节点的设备类型为类型1时,第二节点可以确定第一时钟精度信息为500ppm,当第三节点的设备类型为类型2时,第二节点可以确定第一时钟精度信息为200ppm。上述只是一种示例,本申请不限制设备类型的数量以及具体的时钟精度。
基于上述两种可能的设计,第一时钟精度信息和第一节点的时钟精度信息可以是具体的时钟精度,也可以是时钟精度的索引。
示例性的,以时钟精度信息是具体的时钟精度为例,第一节点可以读取承载时钟精度信息的比特,确定该时钟精度信息指示的时钟精度。
例如,以承载时钟精度信息的比特数为10为例,该10比特可以指示0ppm-1023ppm范围内的任一时钟精度,第一节点通过读取10比特的时钟精度信息,便可确定具体的时钟精度。假设该10比特为1000000000,则第一节点可以确定时钟精度为1023ppm。
其中,时钟精度的单位可以为ppm,是一种较为方便的方法来比较不同晶体规格的精 度。
又一种示例中,以时钟精度信息是时钟精度的索引为例,不同的索引可以对应不同的时钟精度或者时钟精度区间,第一节点可以根据索引确定时钟精度。
例如,以时钟精度与索引之间的对应关系如下述表1所示,且第一时钟精度信息是第三节点的时钟精度信息为例,假设第三节点的时钟精度是300ppm,根据表1,可以确定第三节点的时钟精度的索引为0,则第二节点可以将索引0作为第一时钟精度信息发送给第一节点,第一节点接收到第一时钟精度信息后,可以按照最差情况进行解析,即第一节点确定第一时钟精度信息指示的时钟精度为500ppm。这里需要说明的是,表格仅仅是一种对应关系的体现形式,实质上可以通过任何方式体现对应关系,而不仅仅限制使用表格,并且,实际的对应关系可以包含本申请所涉及的表格中的所展示的一部分对应关系,并非全部都需要满足。
表1
索引 时钟精度
0 251ppm至500ppm
1 151ppm至250ppm
2 101ppm至150ppm
3 76ppm至100ppm
4 51ppm至75ppm
5 31ppm至50ppm
6 21ppm至30ppm
7 0ppm至20ppm
又例如,基于上述对第一节点的时钟精度和第三节点的时钟精度的最大值的描述,当时钟精度信息采用的是索引的方式时,参照上述表1,假设第一节点的时钟精度信息为索引0,第三节点的时钟精度信息为索引4,第二节点根据索引0和索引4可以确定第一节点的时钟精度和第三节点的时钟精度的最大值为251ppm至500ppm;或者,第二节点可以确定第一节点的时钟精度和第三节点的时钟精度的最大值为500ppm。
需要说明的是,本申请实施例中的时钟精度可以指示一个时钟精度区间,也可以指示时钟精度区间的上界,即最差的时钟精度。
第三种可能的设计中,第一时钟精度信息是第一加窗量(window widening)。
第一种示例中,第二节点可以根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或第一时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+第三节点的时钟精度)/10^6*第一时间差。
其中,第二节点可以接收第一节点发送的第一节点的时钟精度信息,接收第三节点发送的第三节点的时钟精度信息。
其中,第一时间差信息可以用于指示第二时刻距离第一节点与第三节点前一次同步时刻的第一时间差,第二时刻可以为第二时间窗的结束时刻,第二时间窗可以是基于预先定义的规则或参数确定的,第三节点可以基于第二时间窗向第一节点发送数据包,第一节点与第三节点前一次同步时刻也可以描述为第一节点与第三节点在第二时刻之前最后一次进行同步的时刻。
例如,以第一节点与第三节点分别在第5s、第10s和第15s进行同步为例,假设第二时刻为第13s,则可以确定第一节点与第三节点在第二时刻之前最后一次进行同步的时刻为10s,第二时刻距离第一节点与第三节点前一次同步时刻的第一时间差为3s。
第二种示例中,第二节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和/或第一时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+预先设置的时钟精度)/10^6*第一时间差。
其中,对预先设置的时钟精度的描述可以参照上述第二种可能的设计中对预先设置的时钟精度的描述,不予赘述。
第三种示例中,第二节点可以根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或第二时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+第三节点的时钟精度)/10^6*第二时间差。
其中,第二节点可以接收第一节点发送的第一节点的时钟精度信息,接收第三节点发送的第三节点的时钟精度信息。其中,该第二时间差信息可以用于指示通信协议约定或者通信协议允许的最长时间间隔,在该时间间隔内第三节点需与第一节点进行一次数据交互,即第三节点需向第一节点进行一次数据发送。该时间间隔可以是第二节点(即主节点)配置的。
其中,第二时间差信息可以用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,连接间隔为第一节点与第三节点之间的连接间隔,连接子间隔为第一节点与第三节点之间的连接子间隔。
其中,连接间隔可以是两个连续的连接事件的开始时间点之间的时间长度。连接间隔可以是由第二节点配置的,也可以是协议约定的。连接间隔可以视为用于通信的时域资源的一部分。连接事件可以是第一节点与第三节点之间建立的一个连接包括的一个或多个连接事件,在每个连接事件中第一节点与第三节点进行交互。一个连接事件可以是在一个连接间隔中第一节点与第三节点之间相互发送数据包的过程。
一个连接事件还可以包括多个连接子事件,连接子间隔可以为两个连续的连接子事件的开始时间点之间的时间长度。
具体的,对连接事件、连接间隔、连接子事件和连接子间隔的具体描述可以参照下述图5中的相关描述,在此不予赘述。
在另外一种可能的情形下,第二时间差可以是由第二节点配置给第一节点的。
例如,第一节点可以根据第二节点为第三节点配置的发送时间窗的位置相对于当前时刻的时间偏移来确定第二时间差。
第四种示例中,第二节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和/或第二时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度信息+预先设置的时钟精度)/10^6*第二时间差。
其中,对预先设置的时钟精度的描述可以参照上述第二种可能的设计中对预先设置的时钟精度的描述,不予赘述。
第五种示例中,第二节点可以根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或连接间隔,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+第三节点的时钟精度)/10^6*连接间隔。
其中,连接间隔可以是第一节点与第三节点之间的连接间隔,该连接间隔可以是通信协议预先约定的,也可以是第二节点预先设置的。
需要说明的是,连接间隔小于等于第二时间差。从节能的角度考虑,从节点之间进行通信时,并不需要在每个连接间隔内都进行数据传输,因而可以跳过若干个连续的连接间隔。当在每个连接间隔内都进行数据传输时,连接间隔可以等于第二时间差。
第六种示例中,第二节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和/或连接间隔,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+预先设置的时钟精度)/10^6*连接间隔。
其中,对预先设置的时钟精度的描述可以参照上述第二种可能的设计中对预先设置的时钟精度的描述,不予赘述。对连接间隔的描述可以参照上述第五种示例中对连接间隔的描述。
需要说明的是,考虑到各个节点可能处于不同的模式(例如,休眠模式和活动模式),在计算第一加窗量时,可能还会额外引入与模式相关的固定时间量。此时,最终确定的第一加窗量需要在根据上述第一种示例、第二种示例、第三种示例、第四种示例、第五种示例、第六种示例中的至少一种确定的第一加窗量的基础上再额外增加固定时间量。
例如,当第三节点的时钟精度信息为ACA信息时,固定时间量可以为2us;当第三节点的时钟精度信息为SCA信息时,固定时间量可以为16us。假设基于第六种示例,第二节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和连接间隔,确定第一加窗量。当第三节点的时钟精度信息为SCA信息时,第一加窗量=(第一节点的时钟精度+预先设置的时钟精度)/10^6*连接间隔+16us。
可选的,基于上述三种可能的设计,第二节点将第一时钟精度信息携带在配置信息中,采用广播方式、组播方式或单播方式中的一种或多种,将配置信息发送给第一节点。
其中,该配置信息可以承载在系统消息中,也可以承载在控制信令或控制帧,也可以承载在物理层控制信息中,不予限制。
在一种可能的设计中,第一时钟精度信息可以包含在通信域系统广播消息中,即第二节点发送的系统广播消息中可以包含第一时钟精度信息。由于第一节点可以接收该系统广播消息,则此时可以广义的理解为该第一时钟精度信息是第二节点向第一节点发送的。
在一种可能的设计中,第一时钟精度信息可以包含在第二节点向第一节点发送的控制信令,或者控制帧(也称为管理帧)中。其中,控制信令或者控制帧可以包含控制信息,控制信息可以用于配置TT链路正常进行数据通信的必要参数。
需要说明的是,本申请实施例不限制第二节点发送第一时钟精度信息的条件。
可选的,第二节点接收来自第三节点的请求信息,根据请求信息,向第一节点发送第一时钟精度信息。
其中,请求信息可以用于请求向第一节点发送数据包。
具体的,第二节点可以根据接收到的请求信息,确定第三节点需向第一节点发送数据包,此时,第二节点可以向第一节点发送第一时钟精度信息,以触发第一节点执行下述步骤402,根据第一时钟精度信息确定第一时间窗,并从第一时间窗的起始时刻开始执行信道检测。
需要说明的是,作为主节点的第二节点与其从节点第一节点或者第三节点进行通信时,主节点可以基于广播信道在广播事件中发送连接请求消息(connect request),从节点接收到连接请求消息后,可以根据连接请求消息与从节点建立连接。
可选的,图5为本申请实施例提供的一种无线通信的信令示意图和时间轴示意图。其中所示,t代表时间轴,T3表示第三节点,T1表示第一节点;T3→T1,表示第三节点向第一节点进行数据发送,T1→T3表示第一节点向第三节点进行数据发送。
如图5中的(a)所示,第二节点(主节点)可以向第三节点(T3)发送TT链路配置信息,其中,配置信息可以配置第三节点(T3)进行数据传输的时间窗。即要求第三节点(T3)在配置的时间窗内开始进行数据发送。可选的,时间窗可以是一个时刻,可以理解的,第一节点(T1)也可以获取时间窗,第一节点(T1)可以在对应的时间窗内开启射频窗口(Rx窗口),以期接收来自第三节点(T3)的信息。例如,配置的时间窗可以是前述第二时间窗。
另外,第二节点(主节点)可以配置第三节点(T3)与第一节点(T1)进行数据通信的连接间隔(connection interval,CI)参数,连接间隔参数可以指示连接间隔的大小。第三节点(T3)和第一节点(T1)在每一个连接间隔开始的时候,可以开始交互,即第三节点(T3)给第一节点(T1)发送一个数据包,第一节点(T1)再给第三节点(T3)发送一个数据包。在单个连接间隔内,第三节点(T3)可以和第一节点(T1)进行多次交互。在一个连接间隔内的多次交互称为连接事件(connection event,CI);连接间隔也可以称为传输间隔,连接事件也可以称为传输事件。
其中,连接间隔可以是两个连续的连接事件的开始时间点之间的时间长度。连接间隔可以是由第二节点配置的,也可以是协议约定的。连接间隔可以视为用于通信的时域资源的一部分。连接事件可以是节点之间建立的一个连接包括的一个或多个连接事件,在每个连接事件中通信双方进行交互。一个连接事件可以是在一个连接间隔中节点之间相互发送数据包的过程。
第三节点(T3)与第一节点(T1)在一个连接事件内,T3→T1数据包P1与T1→T3的数据包P2的间隔(称为预设时间间隔,也称为固定时间间隔)为时间间隔T,时间间隔T主要用来进行收发转换。第三节点(T3)在完成数据发送之后,经过该时间间隔T之后,开始进行收据接收。或者,第一节点(T1)在完成数据接收之后,经过该时间间隔T之后,开始进行数据发送。其中,该时间间隔T可以是协议约定的,或者由第二节点配置的,也可以是收发两端协商确定的。本申请对此不作限定。该时间间隔T也可以被称为帧间间隔(inter frame space,IFS)时间,或者包间间隔(inter packet space,IPS)时间,或者转换时间间隔。其他名称不同但作为接收与发送之间的时间间隔都在本申请保护范围之内。
其中,如图5中的(a)所示,第一节点(T1)可以将开始接收数据包P1的时间点作为初始锚点(或原点),以连接间隔为周期,周期性地给接收第三节点(T3)发送的数据。在单个连接间隔内,第三节点(T3)与第一节点(T1)可以进行一轮或者多轮数据交互,当第三节点(T3)与第一节点(T1)都不存在待发送的数据时,停止交互,直到下个连接间隔。在数据传输中。第三节点(T3)与第一节点(T1)发送数据占据的时间长度是不固定的,取决于数据包的大小,但是受最大传输时间的约束。
需要说明的是,为了节省功耗,并不要求在每个连接间隔内都进行数据交互,可以跳 过若干个连接间隔,具体可以通过系统配置。即,并不要求在每个连接间隔内第一节点都需要接收第三节点的数据。此时,两个节点之间交互的周期会拉长,但是可能的交互的起始位置仍然在以初始锚点为起点,连接间隔为周期的,可能的时间点上,这些时间点也称为锚点。
应理解,在这种实现方式中,第二节点(主节点)为第三节点(T3)和第一节点(T1)配置“共享”的时间资源。第三节点(T3)完成数据发送,经过预设时间间隔,第一节点(T1)就可以进行数据发送。在每个连接事件中第一节点(T1)开始进行数据发送的时间并不是固定的。
应理解,第三节点和/或第一节点单次数据发送的最大数据包大小可以是协议约定的,也可以是第二节点(主节点)配置的,第三节点占用的最大时间长度和第一节点占用的最大时间长度可以是根据待发送的数据包的大小确定的。
应理解,节点可以在该预设时间间隔之后立即开始进行数据接收或发送。在另外一种可能的实施方式中,节点可以在预设时间间隔之后的第一个整数时隙上才开始接收或者发送,从而保障收发两端时间对齐。
如图5中的(b)所示,连接间隔可以是相邻的两个连接事件的起始时刻之间的时间间隔,比如,可以是图5中的(b)所示的连接间隔(connection interval,CI),第一个连接事件中包括第三节点(T3)与第一节点(T1)之间的两轮交互,其中第三节点(T3)向第一节点(T1)发送数据,并接收第一节点(T1)发送的数据称为完成一轮数据交互,即图5中的(b)所示的相邻的T3->T1与T1->T3为一轮数据交互。图5中的(b)中的第二个连接事件中仅包括第三节点(T3)与第一节点(T1)之间的一轮数据交互。在该实施方式中,配置的连接事件中收发双方可以共享配置的资源,比如,一个连接事件(connection event,CE)内可用于第三节点(T3)向第一节点(T1)发送数据,也可以用于第一节点(T1)向第三节点(T3)发送数据。在一个具体的实现方式中,在满足配置的预设时间间隔的条件下,第三节点(T3)向第一节点(T1)发送数据,和第一节点(T1)向第三节点(T3)发送数据占用的时间资源的长度可以是变化的(取决于发送的数据包大小),第一节点(T1)向第三节点(T3)发送数据的开始时间也是不确定的。比如,第一组T3->T1的时间资源与第二组的T3->T1占用的时间资源的大小可以不同。
在另外一种实现方式中,连接事件中还可能包括多个连接子事件,因此,连接事件信息还可以包括连接子事件间隔、连接子事件个数、连接子事件中用于第三节点(T3)数据发送的时间长度、或者连接子事件中用于第一节点(T1)数据发送的时间长度等。
如图5中的(c)所示,单个连接事件可以包含多个连接子事件,比如图5中的(c)中的连接事件包括第三节点(T3)与第一节点(T1)的3轮交互,单个连接子事件中可以包括第三节点(T3)和第一节点(T1)的一轮交互,该一轮交互可以是第三节点(T3)向第一节点(T1)发送数据后第一节点(T1)再向第三节点(T3)发送数据,也可以是第一节点(T1)向第三节点(T3)发送数据后第三节点(T3)再向第一节点(T1)发送数据。应理解,第三节点(T3)与第一节点(T1)数据发送顺序可以是配置的,也可以是协议约定的,本申请对此不作限定。
相邻的两个连接子事件开始时刻的间隔称为连接子事件间隔(也称为子间隔);单个连接子事件中第三节点(T3)数据发送的最长时间长度和第一节点(T1)数据发送的最长时 间长度也可以通过第二节点(主节点)进行配置。一般的,在一个连接子事件内部,当第三节点(T3)完成数据发送后,经过预设时间间隔(也称为固定时间间隔),由第一节点(T1)进行数据发送。
可选的,在一个连接子事件内部,用于第三节点(T3)向第一节点(T1)发送数据的时间资源与用于第一节点(T1)向第三节点(T3)发送数据的时间资源可以预先配置为周期出现的在时间上固定的资源。
示例性的,第二节点获取第三节点的时钟同步精度信息可以通过以下方式获取:
第二节点向第三节点发送时钟精度请求信息,用于查询第三节点的时钟精度;第三节点向第二节点发送第三节点的时钟精度信息,报告其时钟精度。
需要说明的是,本申请实施例不限制第三节点向第二节点发送第一时钟精度信息的方式。
步骤402、第一节点在从第一时刻开始的第一时间窗内执行信道检测。
可以理解的,在从节点之间直接通信时,存在发送节点和接收节点,由于从节点为低功耗设备,成本较低,由于时钟精度偏移,对于发送节点而言,发送节点进行数据发送存在不确定性。为了避免这种不确定性,接收节点每次在接收发送节点发送的数据时,需要在“约定好的时间窗(包括单个时刻,如第二时间窗)”的基础上进行加宽,即加宽后的时间窗(如第一时间窗)的起始时刻早于加宽前的时间窗(如第二时间窗)的起始时刻,接收节点可以在加宽后的时间窗的起始时刻开始执行信道检测,以保证接收节点可以接收到发送节点发送的数据包。
一般的,极端情况下,发送节点在约定好的时间窗的末尾才进行数据发送,此时,可选的,加宽后的时间窗的结束时刻晚于加宽前的时间窗,从而可以保障接收节点始终可以在加宽后的时间窗内开始接收发送节点发送的数据包。
具体的,第一节点可以对承载来自第三节点的数据包的信道执行信道检测,该信道检测(detection)也可以描述为信道侦听(listening)。
其中,第一节点可以根据第二节点发送的第一时钟精度信息,确定第一时间窗。
其中,第一时间窗的第一时刻可以比第二时间窗的起始时刻提前第一加窗量,第一加窗量对应第一时钟精度信息,第二时间窗是基于预先定义的规则或参数确定的。
其中,第二时间窗可以对应一段时间,也可以是一个具体的时刻。
可以理解的,如图5中的(a)所示,在第三节点与第一节点进行初次通信时,第二节点可以配置相应的时间窗(也可以称为传输时间窗,检测时间窗,对应于这里的第二时间窗),用于约定第三节点在该时间窗内向第一节点进行数据发送。相应的,第一节点也可以获知该时间窗,从而使得第一节点知道在什么时间窗内接收来自第三节点的数据。
可以理解的,第二节点可以配置第三节点进行数据发送的时间窗为一个具体的时刻(也可以称为一个具体的时间点)。
其中,第二时间窗可以是第二节点配置的,并且告知第三节点和第一节点的。
在另外一种场景下,如图5中的(b)所示,当第三节点与第一节点完成初次通信,确定通信初始锚点之后,在一个连接事件内,第三节点与第一节点可以进行多次交互,则第一节点可以确定第二时间窗为一个具体时刻,该时刻为第一节点向第三节点完成数据发送的时刻+一个固定的时间间隔。
在一个连接事件之间,第一节点可以确定第二时间窗为:以初始锚点为起点+整数个连接间隔的时间点。
在如图5中的(c)所示的连接子事件中,第一节点可以确定第二时间窗为:以初始锚点为起点+整数个子间隔的时间点,这些时间点可以称为子锚点。
基于上述描述,第二时间窗可以理解为第一节点与第三节点“约定好”的在理想情况下(不考虑时钟精度的影响),第三节点进行数据发送的时间点或者时间窗。
其中,在第二时间窗的基础上,在实际数据接收时,考虑到时钟精度的影响,第一节点首先确定第一加窗量,进而确定第一时间窗的起始时刻,即确定第一时刻。
需要说明的是,当第一时钟精度信息为第三节点的时钟精度信息或第一时钟精度信息指示预先设置的时钟精度时,第一节点可通过如下示例确定第一加窗量。
第一种示例中,第一节点可以根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或第一时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+第三节点的时钟精度)/10^6*第一时间差。
其中,第一时间差信息可以用于指示第二时刻距离第一节点与第三节点前一次同步时刻的第一时间差,第二时刻为第二时间窗的结束时刻。
其中,当第二时间窗对应一个具体时刻时,第二时间窗的开始时刻和结束时刻都对应于该具体时刻。
示例性的,第二节点可以配置第三节点进行数据发送的第二时间窗为一个时间点。
在另外一种场景下,如图5中的(b)所示,当第三节点与第一节点完成初次通信,确定通信初始锚点之后,在一个连接事件内,第三节点与第一节点可以进行多次交互,此时可以确定第一时间差等于该固定时间间隔,因为此时第二时刻为一个具体时刻,该时刻为第一节点向第三节点完成数据发送的时刻+一个固定的时间间隔;而第一节点与所述第三节点前一次同步的时刻对应于完成第一节点向第三节点数据发送的时刻。
在连接事件之间,可以确定第一时间差为单个连接间隔,或者整数倍个连接间隔(考虑到并不总在每个连接间隔内进行数据交互),因此,第二时刻可以为:以初始锚点为起点+整数个连接间隔的时间点;而为了简化计算,第一节点与第三节点前一次同步的时刻对应于上次第一节点接收到第三节点发送的数据包对应的锚点。这里需要说明的是,第二节点在“约定的锚点”上接收第三节点发送的数据,则可以理解的,在该“约定的锚点”上接收到的数据包可以认为与该锚点存在对应。
在图5中的(c)所示的连接子事件时,第一节点可以确定第二时间窗为:以初始锚点为起点+整数个子间隔的时间点。与上面连接事件类似,此时可以确定第一时间差为单个连接子间隔,或者整数倍个连接子间隔(考虑到并不总在每个连接子间隔内进行数据交互),因此,第二时刻可以为:以初始锚点为起点+整数个连接子间隔的时间点;而第一节点与第三节点前一次同步的时刻对应于上次第一节点接收到第三节点发送的数据包对应的子锚点。这里需要说明的是,第二节点在“约定的子锚点”上接收第三节点发送的数据,则可以理解的,在该“约定的子锚点”上接收到的数据包可以认为与该子锚点存在对应。
第二种示例中,第一节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和/或第一时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+预先设置的时钟精度)/10^6*第一时间差。
其中,对预先设置的时钟精度的描述可以参照上述步骤401中第二种可能的设计中对预先设置的时钟精度的描述,不予赘述。
第三种示例中,第一节点可以根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或第二时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+第三节点的时钟精度)/10^6*第二时间差。
其中,第二时间差可以是由第二节点配置给第一节点的。
例如,第一节点可以根据第二节点为第三节点配置的发送时间窗的位置相对于当前时刻的时间偏移来确定第二时间差。
又例如,该第二时间差信息可以用于指示协议约定或者协议允许最长时间间隔,在该时间间隔内第三节点必须与第一节点进行一次数据交互,即第三节点必须向第一节点进行一次数据发送。其中所述时间间隔可以是第二节点(即主节点)配置的。
第四种示例中,第一节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和/或第二时间差信息,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+预先设置的时钟精度)/10^6*第二时间差。
其中,对预先设置的时钟精度的描述可以参照上述步骤401中第二种可能的设计中对预先设置的时钟精度的描述,对第二时间差信息的描述可以参照上述对第二时间差信息的描述,不予赘述。
第五种示例中,第一节点可以根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或连接间隔,确定第一加窗量。
例如,第一加窗量=(第一节点的时钟精度+第三节点的时钟精度)/10^6*连接间隔。
其中,连接间隔可以是第一节点与第三节点之间的连接间隔,该连接间隔可以是通信协议预先约定的,也可以是第二节点预先设置的。
需要说明的是,连接间隔小于等于第二时间差。从节能的角度考虑,从节点之间通信时,并不需要在每个连接间隔内都进行数据传输,可以跳过若干个连续的连接间隔。当在每个连接间隔内都进行数据传输时,连接间隔等于所述第二时间差。
第六种示例中,第一节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和/或连接间隔,确定第一加窗量。
其中,对预先设置的时钟精度的描述可以参照上述第二种可能的设计中对预先设置的时钟精度的描述,不予赘述。对连接间隔的描述可以参照上述第五种示例中对连接间隔的描述。
例如,第一加窗量=(第一节点的时钟精度+预先设置的时钟精度)/10^6*连接间隔。
需要说明的是,考虑到各个节点可能处于不同的模式(例如,休眠模式和活动模式),在获取第一加窗量时,可能还会额外引入与模式相关的固定时间量。此时,最终确定的第一加窗量需要在根据上述第一种示例、第二种示例、第三种示例、第四种示例、第五种示例、第六种示例中的至少一种确定的第一加窗量的基础上再额外增加固定时间量。
例如,当第三节点的时钟精度信息为ACA信息时,固定时间量可以为2us;当第三节点的时钟精度信息为SCA信息时,固定时间量可以为16us。假设基于第六种示例,第二节点可以根据第一节点的时钟精度信息、预先设置的时钟精度和连接间隔,确定第一加窗量。当第三节点的时钟精度信息为SCA信息时,第一加窗量=(第一节点的时钟精度信息 +预先设置的时钟精度)/10^6*连接间隔+16us。
可选的,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量,以保障可以在第一时间窗内开始接收第三节点发送的数据包。
另外,当第二时间窗为一段时间或某一时刻时,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量还可以描述为第一时间窗的窗长与第二时间窗的窗长之差为第一加窗量的两倍;当第二时间窗为某一时刻时,第一时间窗的结束时刻比第二时间窗的结束时刻晚第一加窗量还可以描述为第一时间窗的窗长等于第一加窗量的两倍。
可选的,第一节点在第一时间窗内持续进行信道检测,以保障可以在第一时间窗内开始接收第三节点发送的数据包。
步骤403、第三节点向第一节点发送数据包。相应的,第一节点接收来自第三节点的数据包。
需要说明的是,本申请实施例不限定步骤403和步骤402的先后关系。
其中,第三节点可以根据第二时间窗向第一节点发送数据包,但是时钟精度偏移问题,第三节点可能早于第二时间窗的起始时刻开始向第一节点发送数据包,也可以晚于第二时间窗的起始时刻开始向第一节点发送数据包。第一节点通过在第一时刻便开始执行信道检测,可以保障第一节点接收到第三节点发送的数据包。
基于图4所示的实施例,第一节点可以根据第一时钟精度信息,确定起始时刻比第二时间窗的起始时刻提前第一加窗量的第一时间窗,并在第一时间窗内执行信道检测,以接收来自第三节点的数据包。第一节点通过在第二时间窗之前开始执行信道检测,可以克服发送节点数据发送的不确定性,保证第一节点接收到第三节点发送的数据包,实现第一节点与第三节点之间的信息交互,提高第一节点与第三节点之间的通信成功率。
进一步的,第三节点可以将第三节点的时钟精度信息携带在数据包中发送给第一节点,此时,如图6所示,第一节点可以执行下述步骤404,以基于第三时间窗执行信道检测。
步骤404、第一节点根据第三节点的时钟精度信息,在从第三时刻开始的第三时间窗内执行信道检测。
其中,第三时刻比第四时间窗的起始时刻提前第二加窗量,第二加窗量对应第三节点的时钟精度信息。
示例性的,与上述确定第一加窗量相类似的,第二加窗量可以是根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或第三时间差信息得到的。
其中,第三时间差信息用于指示第四时刻距离第一节点与第三节点前一次同步时刻的第三时间差,第四时刻为第四时间窗的结束时刻。
需要说明的是,第四时间窗可以为第二节点配置给第一节点和第三节点的时间窗,对第四时间窗的描述可以参照上述对第二时间窗的描述,对第四时刻的描述可以参照上述对第二时刻的描述,对第三时间差信息的描述可以参照上述对第一时间差信息的描述,不予赘述。
又一种示例中,与上述确定第一加窗量相类似的,第二加窗量可以是根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或第二时间差信息得到的。
其中,可以参照上述对第二时间差信息或第二时间差的描述,确定第二加窗量,不予赘述。
再一种示例中,与上述确定第一加窗量相类似的,第二加窗量可以是根据第一节点的时钟精度信息、第三节点的时钟精度信息和/或连接间隔得到的;其中,连接间隔为第一节点与第三节点之间的连接间隔。
可选的,第二加窗量小于或等于第一加窗量。
可选的,第三时间窗的结束时刻比第二时间窗的结束时刻晚第二加窗量,以保障可以在第一时间窗内开始接收第三节点发送的数据包。
另外,当第四时间窗为一段时间或某一时刻时,第三时间窗的结束时刻比第四时间窗的结束时刻晚第二加窗量还可以描述为第三时间窗的窗长与第四时间窗的窗长之差为第二加窗量的两倍;当第四时间窗为某一时刻时,第三时间窗的结束时刻比第四时间窗的结束时刻晚第二加窗量还可以描述为第三时间窗的窗长等于第二加窗量的两倍。
可选的,第一节点在第三时间窗内持续进行信道检测,以保障可以在第三时间窗内开始接收第三节点发送的数据包。
基于图6所示的实施例,当第三节点发送的数据包包括第三节点的时钟精度信息时,第一节点可以根据第三节点的时钟精度信息,确定起始时刻比第二时间窗的起始时刻提前第二加窗量的第三时间窗,并在第三时间窗内执行信道检测,以接收第三节点发送的数据包。第一节点根据第三节点的时钟精度信息,可以更为准确的确定第一节点开始执行信道检测的时刻,相比于上述从第一时刻开始执行信道检测,可以缩短第一节点从开始执行信道检测到真正接收到第三节点的数据包的时间,降低第一节点因提前执行信道检测而带来的功耗。
上述主要从设备之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,各个设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对各个设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图7示出了一种通信装置70,通信装置70可以包括收发模块701和处理模块702。示例性地,通信装置70可以是第一节点,也可以是应用于第一节点中的芯片或者其他具有上述第一节点功能的组合器件、部件等。当通信装置70是第一节点时,收发模块701可以是收发器,收发器可以包括天线和射频电路等;处理模块702可以是处理器(或者,处理电路),例如基带处理器,基带处理器中可以包括一个或多个CPU。当通信装置70是具有上述第一节点功能的部件时,收发模块701可以是射频单元;处理模块702可以是处理器(或者,处理电路),例如基带处理器。当通信装置70是芯片系统时,收发模块701可以是芯片(例如基带芯片)的输入输出 接口;处理模块702可以是芯片系统的处理器(或者,处理电路),或者逻辑电路,可以包括一个或多个中央处理模块。应理解,本申请实施例中的收发模块701可以由收发器或收发器相关电路组件实现;处理模块702可以由处理器或处理器相关电路组件(或者,称为处理电路)实现。
例如,收发模块701可以用于执行图4-图6所示的实施例中由第一节点所执行的全部收发操作,和/或用于支持本文所描述的技术的其它过程;处理模块702可以用于执行图4-图6所示的实施例中由第一节点所执行的除了收发操作之外的全部操作,和/或用于支持本文所描述的技术的其它过程。
作为又一种可实现方式,图7中的收发模块701可以由收发器代替,该收发器可以集成收发模块701的功能;处理模块702可以由处理器代替,该处理器可以集成处理模块702的功能。进一步的,图7所示通信装置70还可以包括存储器。当收发模块701由收发器代替,处理模块702由处理器代替时,本申请实施例所涉及的通信装置70可以为图3所示通信装置。
可替换的,当收发模块701由收发器代替,处理模块702由处理器代替时,本申请实施例所涉及的通信装置70还可以为图9所示的通信装置90,其中,处理器可以为逻辑电路901,收发器可以是接口电路902。进一步的,图9所示通信装置90还可以包括存储器903。
在采用对应各个功能划分各个功能模块的情况下,图8示出了一种通信装置80,通信装置80可以包括收发模块801和处理模块802。示例性地,通信装置80可以是第二节点,也可以是应用于第二节点中的芯片或者其他具有上述第二节点功能的组合器件、部件等。当通信装置80是第二节点时,收发模块801可以是收发器,收发器可以包括天线和射频电路等;处理模块802可以是处理器(或者,处理电路),例如基带处理器,基带处理器中可以包括一个或多个CPU。当通信装置80是具有上述第二节点功能的部件时,收发模块801可以是射频单元;处理模块802可以是处理器(或者,处理电路),例如基带处理器。当通信装置80是芯片系统时,收发模块801可以是芯片(例如基带芯片)的输入输出接口;处理模块802可以是芯片系统的处理器(或者,处理电路),或者逻辑电路,可以包括一个或多个中央处理模块。应理解,本申请实施例中的收发模块801可以由收发器或收发器相关电路组件实现;处理模块802可以由处理器或处理器相关电路组件(或者,称为处理电路)实现。
例如,收发模块801可以用于执行图4-图6所示的实施例中由第二节点所执行的全部收发操作,和/或用于支持本文所描述的技术的其它过程;处理模块802可以用于执行图4-图6所示的实施例中由第二节点所执行的除了收发操作之外的全部操作,和/或用于支持本文所描述的技术的其它过程。
作为又一种可实现方式,图8中的收发模块801可以由收发器代替,该收发器可以集成收发模块801的功能;处理模块802可以由处理器代替,该处理器可以集成处理模块802的功能。进一步的,图8所示通信装置80还可以包括存储器。当收发模块801由收发器代替,处理模块802由处理器代替时,本申请实施例所涉及的通信装置80可以为图3所示通信装置。
可替换的,当收发模块801由收发器代替,处理模块802由处理器代替时,本申请实 施例所涉及的通信装置80还可以为图9所示的通信装置90,其中,处理器可以为逻辑电路901,收发器可以是接口电路902。进一步的,图9所示通信装置90还可以包括存储器903。
本申请实施例还提供了一种计算机可读存储介质。上述方法实施例中的全部或者部分流程可以由计算机程序来指令相关的硬件完成,该程序可存储于上述计算机可读存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。计算机可读存储介质可以是前述任一实施例的终端(包括数据发送端和/或数据接收端)的内部存储单元,例如终端的硬盘或内存。上述计算机可读存储介质也可以是上述终端的外部存储设备,例如上述终端上配备的插接式硬盘,智能存储卡(smart media card,SMC),安全数字(secure digital,SD)卡,闪存卡(flash card)等。进一步地,上述计算机可读存储介质还可以既包括上述终端的内部存储单元也包括外部存储设备。上述计算机可读存储介质用于存储上述计算机程序以及上述终端所需的其他程序和数据。上述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。
本申请实施例还提供了一种终端设备,终端设备可以包括上述第一节点,或者包括上述第二节点。
示例性的,终端设备还可以称为用户设备(user equipment,UE)或者移动台(mobile station,MS)或者移动终端(mobile terminal,MT)等。具体的,终端设备可以是手机(mobile phone)、智能手表、平板电脑或带无线收发功能的电脑。还可以是虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制中的无线终端、无人驾驶中的无线终端、远程医疗中的无线终端、智能电网中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、车载终端、具有车对车(vehicle-to-vehicle,V2V)通信能力的车辆、智能网联车、有无人机对无人机(UAV to UAV,U2U)通信能力的无人机、智能穿戴终端、智能家居终端、智能制造终端、智能运输终端等等,不予限制。
需要说明的是,本申请的说明书、权利要求书及附图中的术语“第一”和“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。
应当理解,在本申请中,“至少一个(项)”是指一个或者多个,“多个”是指两个或两个以上,“至少两个(项)”是指两个或三个及三个以上,“和/或”,用于描述关联对象的关联关系,表示可以存在三种关系,例如,“A和/或B”可以表示:只存在A,只存在B以及同时存在A和B三种情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b或c中的至少一项(个),可以表示:a,b,c,“a和b”,“a和c”,“b和c”,或“a和b和c”,其中a,b,c可以是单个,也可以是多个。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述 功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。

Claims (26)

  1. 一种数据传输方法,其特征在于,包括:
    接收来自第二节点的第一时钟精度信息;
    在从第一时刻开始的第一时间窗内执行信道检测;其中,所述信道用于承载来自第三节点的数据包,所述第一时刻比第二时间窗的起始时刻提前第一加窗量,所述第一加窗量对应所述第一时钟精度信息,所述第二时间窗是基于预先定义的规则或参数确定的。
  2. 根据权利要求1所述的方法,其特征在于,
    所述第一时间窗的窗长与所述第二时间窗的窗长之差为所述第一加窗量的两倍;或者
    所述第一时间窗的结束时刻比所述第二时间窗的结束时刻晚所述第一加窗量;或者
    所述第一时间窗的窗长等于所述第一加窗量的两倍。
  3. 根据权利要求1或2所述的方法,其特征在于,在从所述第一时刻开始的所述第一时间窗内执行信道检测,包括:
    在所述第一时间窗内持续执行信道检测。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法应用于第一节点;
    所述第二节点为主节点,所述第一节点和所述第三节点为所述第二节点的从节点。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,
    所述第一时钟精度信息为所述第三节点的时钟精度信息;或者
    所述第一时钟精度信息指示预先设置的时钟精度。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法应用于第一节点;
    所述第一加窗量是根据所述第一时钟精度信息、所述第一节点的时钟精度信息和/或第一时间差信息得到的;其中,所述第一时间差信息用于指示第二时刻距离所述第一节点与所述第三节点前一次同步时刻的时间差,所述第二时刻为所述第二时间窗的结束时刻。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法应用于第一节点;
    所述第一加窗量是根据所述第一时钟精度信息、所述第一节点的时钟精度信息和/或第二时间差信息得到的;其中,所述第二时间差信息用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,所述连接间隔为所述第一节点与所述第三节点之间的连接间隔,所述连接子间隔为所述第一节点与所述第三节点之间的连接子间隔。
  8. 根据权利要求1-5任一项所述的方法,其特征在于,所述方法应用于第一节点;
    所述第一加窗量是根据所述第一时钟精度信息、所述第一节点的时钟精度信息和/或连接间隔得到的;其中,所述连接间隔为所述第一节点与所述第三节点之间的连接间隔。
  9. 根据权利要求1-4任一项所述的方法,其特征在于,
    所述第一时钟精度信息为所述第一加窗量。
  10. 根据权利要求9所述的方法,其特征在于,接收来自所述第二节点的所述第一时钟精度信息之前,所述方法还包括:
    发送第一节点的时钟精度信息给所述第二节点。
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述数据包包括所述第三节点的时钟精度信息,所述方法还包括:
    在从第三时刻开始的第三时间窗内执行所述信道检测;其中,所述第三时刻比第四时间窗的起始时刻提前第二加窗量,所述第二加窗量对应所述第三节点的时钟精度信息,所 述第四时间窗是基于预先定义的规则或参数确定的。
  12. 根据权利要求11所述的方法,其特征在于,
    所述第三时间窗的窗长与所述第四时间窗的窗长之差为所述第二加窗量的两倍;或者
    所述第三时间窗的结束时刻比所述第四时间窗的结束时刻晚所述第二加窗量;或者
    所述第三时间窗的窗长等于所述第二加窗量的两倍。
  13. 根据权利要求11或12所述的方法,其特征在于,在从所述第三时刻开始的所述第三时间窗内执行信道检测,包括:
    在所述第三时间窗内持续执行信道检测。
  14. 一种数据传输方法,其特征在于,包括:
    获取第一时钟精度信息;其中,所述第一时钟精度信息为第三节点的时钟精度信息,或者所述第一时钟精度信息指示预先设置的时钟精度;
    发送第一加窗量给第一节点;其中,所述第一加窗量与所述第一时钟精度信息对应。
  15. 根据权利要求14所述的方法,其特征在于,所述方法应用于第二节点;
    所述第二节点为主节点,所述第一节点和所述第三节点为所述第二节点的从节点。
  16. 根据权利要求14或15所述的方法,其特征在于,
    所述第一加窗量是根据所述第一时钟精度信息、所述第一节点的时钟精度信息和/或第一时间差信息得到的;其中,所述第一时间差信息用于指示第二时刻距离所述第一节点与所述第三节点前一次同步时刻的时间差,所述第二时刻为第二时间窗的结束时刻,所述第二时间窗是基于预先定义的规则或参数确定的。
  17. 根据权利要求14或15所述的方法,其特征在于,
    所述第一加窗量是根据所述第一时钟精度信息、所述第一节点的时钟精度信息和/或第二时间差信息得到的;其中,所述第二时间差信息用于指示固定时间间隔、整数倍连接间隔或整数倍连接子间隔,所述连接间隔为所述第一节点与所述第三节点之间的连接间隔,所述连接子间隔为所述第一节点与所述第三节点之间的连接子间隔。
  18. 根据权利要求14或15所述的方法,其特征在于,
    所述第一加窗量是根据所述第一时钟精度信息、所述第一节点的时钟精度信息和/或连接间隔得到的;其中,所述连接间隔为所述第一节点与所述第三节点之间的连接间隔。
  19. 根据权利要求14-18任一项所述的方法,其特征在于,发送所述第一加窗量给所述第一节点,包括:
    接收来自所述第三节点的请求信息;其中,所述请求信息用于请求向所述第一节点发送数据包;
    根据所述请求信息,向所述第一节点发送所述第一加窗量。
  20. 一种通信装置,其特征在于,包括:
    收发模块,用于接收来自第二节点的第一时钟精度信息;
    处理模块,用于在从第一时刻开始的第一时间窗内执行信道检测;其中,所述信道用于承载来自第三节点的数据包,所述第一时刻比第二时间窗的起始时刻提前第一加窗量,所述第一加窗量对应所述第一时钟精度信息,所述第二时间窗是基于预先定义的规则或参数确定的。
  21. 一种通信装置,其特征在于,包括:
    收发模块,用于获取第一时钟精度信息;其中,所述第一时钟精度信息为第三节点的时钟精度信息,或者所述第一时钟精度信息指示预先设置的时钟精度;
    所述收发模块,还用于发送第一加窗量给第一节点;其中,所述第一加窗量与所述第一时钟精度信息对应。
  22. 一种通信装置,其特征在于,所述通信装置包括至少一个处理器和通信接口;所述通信接口和所述至少一个处理器耦合,所述至少一个处理器用于运行计算机程序或指令,以使如权利要求1-13任一项所述的数据传输方法被执行,或者如权利要求14-19任一项所述的数据传输方法被执行。
  23. 一种通信装置,其特征在于,所述通信装置包括接口电路和逻辑电路,所述接口电路,用于输入和/或输出信息,所述逻辑电路用于执行如权利要求1-13任一项所述的数据传输方法,或者执行如权利要求14-19任一项所述的数据传输方法,根据所述信息进行处理和/或生成所述信息。
  24. 一种计算机可读存储介质,其特征在于,计算机可读存储介质存储有计算机指令或程序,当计算机指令或程序在计算机上运行时,以使如权利要求1-13任一项所述的数据传输方法被执行,或者如权利要求14-19任一项所述的数据传输方法被执行。
  25. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令;当部分或全部所述计算机指令在计算机上运行时,以使如权利要求1-13任一项所述的数据传输方法被执行,或者如权利要求14-19任一项所述的数据传输方法被执行。
  26. 一种终端设备,其特征在于,包括权利要求20-23任一项所述的通信装置。
PCT/CN2022/107992 2021-08-03 2022-07-26 数据传输方法和装置 WO2023011261A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110886936.9 2021-08-03
CN202110886936.9A CN115913449A (zh) 2021-08-03 2021-08-03 数据传输方法和装置

Publications (1)

Publication Number Publication Date
WO2023011261A1 true WO2023011261A1 (zh) 2023-02-09

Family

ID=85155193

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/107992 WO2023011261A1 (zh) 2021-08-03 2022-07-26 数据传输方法和装置

Country Status (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103947262A (zh) * 2011-09-08 2014-07-23 北欧半导体公司 无线电通讯系统
CN105900495A (zh) * 2014-01-13 2016-08-24 高通股份有限公司 用于降低无线通信中的功耗的系统和方法
US9668209B1 (en) * 2016-06-29 2017-05-30 Silicon Laboratories Finland Oy Listening window adjustments for power savings in bluetooth low energy (BLE) communications
CN110913375A (zh) * 2019-11-27 2020-03-24 南京中感微电子有限公司 一种无线通信系统及设备
CN113055117A (zh) * 2021-04-25 2021-06-29 电子科技大学 一种无线分布式网络的时钟同步装置及方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103947262A (zh) * 2011-09-08 2014-07-23 北欧半导体公司 无线电通讯系统
CN105900495A (zh) * 2014-01-13 2016-08-24 高通股份有限公司 用于降低无线通信中的功耗的系统和方法
US9668209B1 (en) * 2016-06-29 2017-05-30 Silicon Laboratories Finland Oy Listening window adjustments for power savings in bluetooth low energy (BLE) communications
CN110913375A (zh) * 2019-11-27 2020-03-24 南京中感微电子有限公司 一种无线通信系统及设备
CN113055117A (zh) * 2021-04-25 2021-06-29 电子科技大学 一种无线分布式网络的时钟同步装置及方法

Also Published As

Publication number Publication date
CN115913449A (zh) 2023-04-04

Similar Documents

Publication Publication Date Title
US20200053676A1 (en) Method and apparatus for dynamic media access control in a multiple access system
US20230413922A1 (en) Data capture across devices
TW201935978A (zh) 一種資源預留方法及裝置、電腦存儲媒介
JP2018523354A (ja) チャネル効率の高い分散方式のピアステーション間のデータ伝送の方法及びシステム
WO2014135086A1 (zh) 无线信号收发方法和装置以及终端设备
CN113596963A (zh) 通信方法及装置
JP2017539141A (ja) データ送信方法、リソース測定方法、装置、及びデバイス
KR20150134316A (ko) 슬롯 기반의 d2d 통신 방법 및 장치
WO2019062151A1 (zh) 一种资源指示方法、通信装置及网络设备
WO2020083388A1 (zh) 非授权频谱中无线链路检测的方法和通信装置
CN114189938A (zh) 载波确定方法、通信装置及存储介质
TWI778962B (zh) 設備對設備(d2d)通信的方法和d2d設備
WO2023011261A1 (zh) 数据传输方法和装置
US20230074305A1 (en) Resource determining method, apparatus, and system
WO2013068925A2 (en) Method and apparatus for controlling wireless devices
WO2022078183A1 (zh) 用于确定传输时延的方法和电子设备
CN114503467B (zh) 一种数据传输方法以及装置
JP2023535571A (ja) ページング方法及び装置
CN115580931A (zh) 信息传输的方法和装置
WO2023028863A1 (zh) 通信方法及装置
TWI779160B (zh) 一種同步載波選取方法及裝置、電腦存儲媒介
WO2023279359A1 (zh) 通信方法和装置
WO2022252841A1 (zh) 一种随机接入方法及装置
US20230170933A1 (en) Ultra-wideband device for transmitting/receiving multiple packets and method for operating same
US20230319856A1 (en) Resource Processing Method, Apparatus, and Medium

Legal Events

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

Ref document number: 22851975

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE