[go: up one dir, main page]

CN113099544B - Data transmission method, device, storage medium and wireless node - Google Patents

Data transmission method, device, storage medium and wireless node Download PDF

Info

Publication number
CN113099544B
CN113099544B CN202110328090.7A CN202110328090A CN113099544B CN 113099544 B CN113099544 B CN 113099544B CN 202110328090 A CN202110328090 A CN 202110328090A CN 113099544 B CN113099544 B CN 113099544B
Authority
CN
China
Prior art keywords
wireless node
data
time
frame
txop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110328090.7A
Other languages
Chinese (zh)
Other versions
CN113099544A (en
Inventor
凌德坤
唐振中
郑思
梁虔荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Huge Ic Co ltd
Original Assignee
Zhuhai Huge Ic Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Huge Ic Co ltd filed Critical Zhuhai Huge Ic Co ltd
Priority to CN202110328090.7A priority Critical patent/CN113099544B/en
Publication of CN113099544A publication Critical patent/CN113099544A/en
Priority to PCT/CN2021/132981 priority patent/WO2022199095A1/en
Application granted granted Critical
Publication of CN113099544B publication Critical patent/CN113099544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/002Transmission of channel access control information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/04Scheduled access
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The embodiment of the application discloses a data transmission method, a data transmission device, a storage medium and a wireless node, and belongs to the field of wireless communication. The second wireless node receives data sent by the first wireless node in the TXOP transmission opportunity period; wherein the first wireless node is a holder of the TXOP; when the second wireless node has data to be sent to the first wireless node, the second wireless node determines a time t1 at which the first wireless node completes data sending in the TXOP period; the second wireless node transmitting data to the first wireless node according to time t 2; the time interval between the time t2 and the time t1 is the SIFS minimum inter-frame space, and when the first wireless node finishes sending data to the second wireless node, the second wireless node directly sends the data to the first wireless node without performing channel competition, so that the time delay of data transmission can be reduced.

Description

数据传输方法、装置、存储介质及无线节点Data transmission method, device, storage medium and wireless node

技术领域technical field

本申请涉及无线通信领域,尤其涉及一种数据传输方法、装置、存储介质及无线节点。The present application relates to the field of wireless communication, and in particular, to a data transmission method, device, storage medium and wireless node.

背景技术Background technique

802.11协议中规定,站点(station,简称STA)通过信道竞争的方式获得信道的使用权,成功竞争到信道的使用权的站点发送RTS(require to send,请求发送)帧申请TXOP(transmit opportunity,传输机会)周期,该站点也称为TXOP周期的持有者(TXOP holder)然后站点在TXOP周期内发送数据,数据发送完成后发送CF-END(contention-free periodend,无竞争周期结束)帧指示TXOP周期结束。在TXOP周期结束后,所有站点等待至少一个DIFS(DCF interframe space,分布式协调功能帧间间隔)才能重新执行竞争信道,在成功竞争到信道之后执行下一次数据发送。The 802.11 protocol stipulates that a station (station, STA for short) obtains the right to use the channel through channel competition, and the station that successfully competes for the right to use the channel sends an RTS (require to send, request to send) frame to apply for a TXOP (transmit opportunity, transmission). Opportunity) period, the station is also called the holder of the TXOP period (TXOP holder) and then the station sends data within the TXOP period, and after the data transmission is completed, it sends a CF-END (contention-free periodend, no contention period end) frame to indicate TXOP Cycle ends. After the TXOP period ends, all stations wait for at least one DIFS (DCF interframe space, distributed coordination function interframe space) to re-execute the contention for the channel, and execute the next data transmission after successfully contending for the channel.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了的数据传输方法、装置、存储介质及无线节点,可以解决相关技术中数据传输时延较大的问题。所述技术方案如下:The data transmission method, device, storage medium, and wireless node provided by the embodiments of the present application can solve the problem of relatively large data transmission delay in the related art. The technical solution is as follows:

第一方面,本申请实施例提供了一种数据传输方法,所述方法包括:In a first aspect, an embodiment of the present application provides a data transmission method, the method comprising:

第二无线节点在TXOP周期内接收第一无线节点发送的数据;其中,所述第一无线节点为所述TXOP的持有者;The second wireless node receives the data sent by the first wireless node within the TXOP period; wherein, the first wireless node is the holder of the TXOP;

在所述第二无线节点存在待发送至所述第一无线节点的数据时,所述第二无线节点确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1;When the second wireless node has data to be sent to the first wireless node, the second wireless node determines the time t1 at which the first wireless node completes data sending within the TXOP period;

所述第二无线节点根据时间t2向所述第一无线节点发送数据;其中,时间t2和时间t1之间的时间间隔为SIFS最小帧间间隔。The second wireless node sends data to the first wireless node according to the time t2; wherein, the time interval between the time t2 and the time t1 is the SIFS minimum inter-frame interval.

第二方面,本申请实施例提供了一种数据传输装置,所述数据传输装置包括:In a second aspect, an embodiment of the present application provides a data transmission device, and the data transmission device includes:

收发单元,用于在TXOP周期内接收第一无线节点发送的数据;其中,所述第一无线节点为所述TXOP的持有者;a transceiver unit, configured to receive data sent by a first wireless node within a TXOP period; wherein, the first wireless node is the holder of the TXOP;

处理单元,用于在存在待发送至所述第一无线节点的数据时,确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1;a processing unit, configured to, when there is data to be sent to the first wireless node, determine the time t1 at which the first wireless node completes data sending within the TXOP period;

所述收发单元,还用于根据时间t2向所述第一无线节点发送数据;其中,时间t2和时间t1之间的时间间隔为SIFS最小帧间间隔。The transceiver unit is further configured to send data to the first wireless node according to the time t2; wherein, the time interval between the time t2 and the time t1 is the minimum inter-frame interval of the SIFS.

第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a third aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.

第四方面,本申请实施例提供一种无线节点,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。In a fourth aspect, an embodiment of the present application provides a wireless node, which may include: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .

本申请一些实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by some embodiments of the present application include at least:

第二无线节点接收来自第一无线节点在TXOP周期内发送的数据,第二无线节点在TXOP周期结束之前确定有待发送至第一无线节点的数据,第二无线节点在第一无线节点完成数据的发送后,不需要执行信道竞争,第二无线节点直接由接收方切换为发送方向第一无线节点发送数据,本申请通过减少信道竞争的时间,从而实现降低数据传输时延的目的。The second wireless node receives the data sent from the first wireless node within the TXOP period, the second wireless node determines the data to be sent to the first wireless node before the end of the TXOP period, and the second wireless node completes the data transmission at the first wireless node After sending, there is no need to perform channel competition, and the second wireless node is directly switched from the receiver to the sender to send data to the first wireless node. The present application achieves the purpose of reducing data transmission delay by reducing the time for channel competition.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本申请实施例提供的无线通信系统的架构图;FIG. 1 is an architectural diagram of a wireless communication system provided by an embodiment of the present application;

图2是相关技术中数据传输的时序图;Fig. 2 is the sequence diagram of data transmission in the related art;

图3是本申请实施例提供的一种数据传输方法的另一流程示意图;3 is another schematic flowchart of a data transmission method provided by an embodiment of the present application;

图4~图6是本申请实施例提供的数据传输的时序图;4 to 6 are sequence diagrams of data transmission provided by embodiments of the present application;

图7是本申请提供的一种数据传输装置的结构示意图;7 is a schematic structural diagram of a data transmission device provided by the present application;

图8是本申请提供的一种无线节点的结构示意图。FIG. 8 is a schematic structural diagram of a wireless node provided by the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施例方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

参考图1,图1为无线通信系统的网络架构图。无线通信系统包括至少一个站点和至少一个接入点(access point,简称AP)。例如:无线保真通信系统包括:STA1、STA2、STA3和AP。站点没有与任何一个接入点建立连接之前,站点通过被动扫描或主动扫描的方式选择一个频点连接到接入点,频点即频率范围的中心频率一个频点对应一个信道,例如:站点与接入点建立连接。站点与接入点建立通信连接的情况下,站点根据应用程序触发或框架触发周期性的全信道扫描。站点根据全信道集合进行全信道扫描,全信道集合包括多个信道,全信道集合和终端的支持能力和地区有关。例如:终端支持2.4G和5G的无线保真信道,终端在开机时从用户身份识别卡中(subscriber identification module,SIM)中读取地区码以及从本地的存储器中读取通信能力信息,获取地区码和通信能力信息关联的全信道集合,全信道集合包括14个2.4G的无线保真信道和24个5G的无线保真信道,2.4GHz的无线保真信道具有13个信道,13个信道分布情况如表1所示:Referring to FIG. 1, FIG. 1 is a network architecture diagram of a wireless communication system. A wireless communication system includes at least one station and at least one access point (AP for short). For example, the wireless fidelity communication system includes: STA1, STA2, STA3 and AP. Before the station establishes a connection with any access point, the station selects a frequency point to connect to the access point through passive scanning or active scanning. The frequency point is the center frequency of the frequency range. One frequency point corresponds to one channel. The access point establishes the connection. When the station establishes a communication connection with the access point, the station triggers periodic full-channel scanning according to the application or framework triggers. The station performs full-channel scanning according to the full-channel set. The full-channel set includes multiple channels. The full-channel set is related to the support capability of the terminal and the region. For example, the terminal supports 2.4G and 5G wireless fidelity channels. When the terminal is powered on, it reads the area code from the subscriber identification module (SIM) and reads the communication capability information from the local memory to obtain the area. The full channel set associated with the code and the communication capability information, the full channel set includes 14 2.4G wireless fidelity channels and 24 5G wireless fidelity channels, the 2.4 GHz wireless fidelity channel has 13 channels, and the 13 channels are distributed The situation is shown in Table 1:

Figure BDA0002995363790000031
Figure BDA0002995363790000031

Figure BDA0002995363790000041
Figure BDA0002995363790000041

表1Table 1

其中,站点通过信道竞争的方式争夺信道的使用权,然后在预设时长内在该信道上进行数据传输。参见图2所示,STA1基于EDCA(enhanced distributed channel access,增强型分布式信道接入)机制竞争到信道的使用权后,可以在TXOP周期内执行数据的发送,TXOP周期为一个时间区间,其持续时间可以根据实际需求而定,STA3由于未竞争到该信道,NAV(network allocation vector,网络分配向量)的值为非0。STA1在向STA2发送数据之前,STA1向STA2发送RTS(require to send,请求发送)帧,STA2做好数据接收的准备时,向STA1返回CTS(clearto send,清除发送)帧,STA1接收到来自STA2的CTS帧后就可以向STA2发送DATA(数据)帧,STA2成功接收到该DATA帧后,向STA1返回ACK帧;在TXOP周期结束时,STA1广播CF-END帧,各个站点接收到CF-END帧后,NAV的值变为0,然后等待DIFS后执行EDCA机制竞争信道,由此可见相关技术中相邻的两次数据传输过程至少间隔一个DIFS,因此传输时延较大。The stations compete for the right to use the channel by means of channel competition, and then perform data transmission on the channel within a preset time period. Referring to Figure 2, after STA1 competes for the right to use the channel based on the EDCA (enhanced distributed channel access) mechanism, it can send data within the TXOP period. The TXOP period is a time interval. The duration may be determined according to actual requirements. Since STA3 does not compete for the channel, the value of NAV (network allocation vector, network allocation vector) is non-zero. Before STA1 sends data to STA2, STA1 sends an RTS (require to send) frame to STA2. When STA2 is ready to receive data, it returns a CTS (clear to send) frame to STA1, and STA1 receives the data from STA2. After receiving the CTS frame, it can send a DATA (data) frame to STA2. After STA2 successfully receives the DATA frame, it returns an ACK frame to STA1; at the end of the TXOP period, STA1 broadcasts a CF-END frame, and each station receives the CF-END frame. After the frame, the value of NAV becomes 0, and after waiting for DIFS, the EDCA mechanism is executed to compete for the channel. It can be seen that in the related art, two adjacent data transmission processes are separated by at least one DIFS, so the transmission delay is relatively large.

本申请实施例提供一种数据传输方法,所述数据传输方法可以应用于无线节点,本申请的无线节点可以为站点、接入点或中继节点(具有站点和接入点功能)。所述无线节点可以是路由器、中继放大器、智能手机、平板电脑、游戏设备、AR(Augmented Reality,增强现实)设备、汽车、数据存储装置、音频播放装置、视频播放装置、笔记本、桌面计算设备、可穿戴设备诸如电子手表、电子眼镜、电子头盔、电子手链、电子项链、电子衣物等设备。The embodiment of the present application provides a data transmission method, and the data transmission method can be applied to a wireless node, and the wireless node of the present application can be a station, an access point or a relay node (having the functions of a station and an access point). The wireless node may be a router, a relay amplifier, a smart phone, a tablet computer, a game device, an AR (Augmented Reality, augmented reality) device, a car, a data storage device, an audio playback device, a video playback device, a notebook, and a desktop computing device. , Wearable devices such as electronic watches, electronic glasses, electronic helmets, electronic bracelets, electronic necklaces, electronic clothing and other devices.

下面将结合附图2-附图3,对本申请实施例提供的数据传输方法进行详细介绍。其中,本申请实施例中的执行数据传输方法的装置可以是图1中所示的无线节点。The data transmission method provided by the embodiment of the present application will be described in detail below with reference to FIG. 2 to FIG. 3 . The apparatus for executing the data transmission method in the embodiment of the present application may be the wireless node shown in FIG. 1 .

请参见图3,为本申请实施例提供了一种数据传输方法的流程示意图。如图3所示,本申请实施例的所述方法可以包括以下步骤:Referring to FIG. 3 , a schematic flowchart of a data transmission method is provided in an embodiment of the present application. As shown in FIG. 3 , the method of the embodiment of the present application may include the following steps:

S301、第二无线节点在TXOP周期内接收第一无线节点发送的数据。S301. The second wireless node receives data sent by the first wireless node within the TXOP period.

其中,第一无线节点为TXOP周期的持有者,第一无线节点在向第二无线节点发送数据之前,第一无线节点基于信道竞争机制执行信道竞争,信道竞争机制可以为DCF(distributed coordination function,分布式协调功能)或EDCA(enhanced distributedchannel access,增强型分布式信道接入),第一无线节点竞争到信道的使用权后,在TXOP周期内向第二无线节点发送数据,TXOP周期为一个时间区间,第一无线节点在TXOP周期内具有信道的使用权,此时第一无线节点也称为TXOP周期的持有者,除第一无线节点之外的其他无线节点无法在该TXOP内发送数据。The first wireless node is the holder of the TXOP period. Before the first wireless node sends data to the second wireless node, the first wireless node performs channel competition based on a channel competition mechanism. The channel competition mechanism may be DCF (distributed coordination function). , distributed coordination function) or EDCA (enhanced distributed channel access, enhanced distributed channel access), after the first wireless node competes for the right to use the channel, it sends data to the second wireless node within the TXOP period, and the TXOP period is a time In the interval, the first wireless node has the right to use the channel in the TXOP period. At this time, the first wireless node is also called the holder of the TXOP period, and other wireless nodes except the first wireless node cannot send data in the TXOP. .

第一无线节点在TXOP周期内发送数据的过程可以包括:第一无线节点向第二无线节点发送RTS(require to send,请求发送)帧,RTS帧用于请求向第二无线节点(接收方),第二无线节点接收到RTS帧后检测是否作好接收数据的准备,第二无线节点确定作好接收来自第一无线节点的准备时,向第一无线节点发送CTS(clear to send,清除发送)帧,第一无线节点接收到来自第二无线节点的CTS帧后,向第一无线节点发送一个或多个DATA帧,DATA帧用于承载业务数据。TXOP周期内相邻的两个帧之间的最小时间间隔称为SIFS(shortinterframe space,最小帧间间隔)。The process that the first wireless node sends data within the TXOP period may include: the first wireless node sends an RTS (require to send, request to send) frame to the second wireless node, where the RTS frame is used to request the second wireless node (receiver) , the second wireless node detects whether it is ready to receive data after receiving the RTS frame, and when the second wireless node determines that it is ready to receive data from the first wireless node, it sends a CTS (clear to send, clear to send) to the first wireless node ) frame, after receiving the CTS frame from the second wireless node, the first wireless node sends one or more DATA frames to the first wireless node, where the DATA frames are used to carry service data. The minimum time interval between two adjacent frames in the TXOP period is called SIFS (short interframe space, minimum interframe space).

S302、在第二无线节点存在待发送至所述第一无线节点的数据时,第二无线节点确定第一无线节点在TXOP周期内完成数据发送的时间t1。S302. When the second wireless node has data to be sent to the first wireless node, the second wireless node determines the time t1 at which the first wireless node completes data sending within the TXOP period.

其中,第二无线节点在TXOP周期结束之前,确定存在待发送至第一无线节点的数据,例如:第二无线节点在TXOP周期内的某个时间上确定需要向第一无线节点发送数据,第二无线节点将待发送的数据存储到缓存中。第二无线节点确定第一无线节点在TXOP周期内完成数据发送的结束时间t1。在第一无线节点具有发送CF-END帧的能力时,第二无线节点可以基于CF-END帧的结束时间作为时间t1。在第一无线节点不具有发送CF-END帧的能力时,第二无线节点接收到来自第一无线节点的DATA帧时,解析DATA帧中传输结束指示符的值,该值为第一数值时,确定第一无线节点完成数据传输,然后将DATA帧发送ACK帧,该ACK帧的结束时间作为时间t1。The second wireless node determines that there is data to be sent to the first wireless node before the end of the TXOP period. For example, the second wireless node determines at a certain time in the TXOP period that it needs to send data to the first wireless node, and the The second wireless node stores the data to be sent in the cache. The second wireless node determines the end time t1 at which the first wireless node completes data transmission within the TXOP period. When the first wireless node has the capability to send the CF-END frame, the second wireless node may use the end time of the CF-END frame as time t1. When the first wireless node does not have the ability to send a CF-END frame, when the second wireless node receives a DATA frame from the first wireless node, it parses the value of the transmission end indicator in the DATA frame, and the value is the first value when , it is determined that the first wireless node completes the data transmission, and then the DATA frame is sent to the ACK frame, and the end time of the ACK frame is taken as time t1.

在一种可能的实施方式中,所述第二无线节点确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1,包括:In a possible implementation manner, the second wireless node determines the time t1 at which the first wireless node completes data transmission within the TXOP period, including:

所述第二无线节点接收来自第一无线节点的CF-END无竞争周期结束帧时,确定所述第一无线节点完成数据的发送;When the second wireless node receives the CF-END contention-free period end frame from the first wireless node, it is determined that the first wireless node completes the transmission of data;

将所述CF-END帧的结束时间作为所述时间t1。The end time of the CF-END frame is taken as the time t1.

例如:参见图4和图5所示,STA1在所持有的TXOP周期结束时,以广播的方式发送CF-END(contention-free period end,无竞争周期结束)帧,表示TXOP周期结束,各个站点可重新自由竞争信道。STA2接收到来自STA1的CF-END帧时,确定STA1在TXOP周期内完成数据的发送,CF-END帧具有起始时间和结束时间,CF-END帧的结束时间与TXOP周期的结束时间重合,本实施例将CF-END帧的结束时间作为时间t1。For example, as shown in Figure 4 and Figure 5, STA1 sends a CF-END (contention-free period end, contention-free period end) frame by broadcasting when the TXOP period it holds ends, indicating that the TXOP period ends, and each Stations are free to contend for the channel again. When STA2 receives the CF-END frame from STA1, it is determined that STA1 completes the transmission of data within the TXOP cycle, the CF-END frame has a start time and an end time, and the end time of the CF-END frame coincides with the end time of the TXOP cycle. In this embodiment, the end time of the CF-END frame is taken as time t1.

在一种可能的实施方式中,所述第二无线节点确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1,包括:In a possible implementation manner, the second wireless node determines the time t1 at which the first wireless node completes data transmission within the TXOP period, including:

所述第二无线节点接收所述第一无线节点在TXOP周期内发送的DATA帧;receiving, by the second wireless node, a DATA frame sent by the first wireless node within the TXOP period;

在所述DATA帧中传输结束指示符为第一数值时,确定所述第一无线节点完成数据的发送;When the transmission end indicator in the DATA frame is the first value, determining that the first wireless node completes the sending of data;

所述第二无线节点向所述第一无线节点发送所述DATA帧对应的ACK确认帧;sending, by the second wireless node, an ACK confirmation frame corresponding to the DATA frame to the first wireless node;

将所述ACK帧的结束时间作为所述时间t1。The end time of the ACK frame is taken as the time t1.

例如:参见图6所示,DATA帧中携带的传输结束指示符为MD,第一数值为0,STA2在TXOP周期内接收来自STA1的DATA帧,解析DATA帧中携带的传输结束指示符MD的值,在MD=0时,确定STA1在TXOP周期内完成数据的发送,STA2在成功接收该DATA帧时,向STA1返回该DATA帧关联的ACK帧,ACK帧具有起始时间和结束时间,本申请将ACK帧的结束时间作为时间t1。容易理解的是,时间t1可能位于TXOP周期的结束时间之前,那么STA2可能会在TXOP周期内向STA1发送数据,因此可以利用现有的TXOP周期发送数据,提高TXOP周期的利用率,从而进一步数据发送的时延和提高数据发送的可靠性。For example: as shown in Figure 6, the transmission end indicator carried in the DATA frame is MD, the first value is 0, STA2 receives the DATA frame from STA1 within the TXOP period, and parses the transmission end indicator MD carried in the DATA frame. value, when MD=0, it is determined that STA1 completes data transmission within the TXOP period. When STA2 successfully receives the DATA frame, it returns the ACK frame associated with the DATA frame to STA1. The ACK frame has a start time and an end time. The application takes the end time of the ACK frame as time t1. It is easy to understand that the time t1 may be before the end time of the TXOP cycle, then STA2 may send data to STA1 during the TXOP cycle, so the existing TXOP cycle can be used to send data to improve the utilization of the TXOP cycle, thereby further data transmission. delay and improve the reliability of data transmission.

S303、第二无线节点根据时间t2向第一无线节点发送数据。S303. The second wireless node sends data to the first wireless node according to time t2.

其中,第二无线节点不执行信道竞争过程,根据时间t2直接向第一无线节点发送一个或多个DATA帧,时间t1和时间t2之间的时间间隔为SIFS,而SIFS的长度又小于DIFS,因此对于第二无线节点之外的有发送需求的其他无线节点来说,会检测到信道处于忙碌状态,一直无法成功竞争到信道,直到第二无线节点完成数据传输过程。The second wireless node does not perform the channel competition process, and directly sends one or more DATA frames to the first wireless node according to time t2, the time interval between time t1 and time t2 is SIFS, and the length of SIFS is smaller than DIFS, Therefore, for other wireless nodes other than the second wireless node that have a transmission requirement, it will be detected that the channel is in a busy state and cannot successfully compete for the channel until the second wireless node completes the data transmission process.

在一个或多个可能的实施例中,所述第二无线节点根据时间t2向所述第一无线节点发送数据,包括:In one or more possible embodiments, the second wireless node sends data to the first wireless node according to time t2, including:

所述第二无线节点以时间t2为起始时间向所述第一无线节点发送DATA帧。The second wireless node sends a DATA frame to the first wireless node with time t2 as a starting time.

例如:参见图4所示,STA2以时间t2为起始时间向STA1发送DATA帧,不需要执行信道竞争过程,STA1成功接收来自STA2的DATA帧后,向STA2发送ACK帧。For example, as shown in FIG. 4 , STA2 sends a DATA frame to STA1 with time t2 as the starting time, and does not need to perform a channel contention process. After STA1 successfully receives the DATA frame from STA2, it sends an ACK frame to STA2.

在一个或多个可能的实施例中,所述第二无线节点根据时间t2向所述第一无线节点发送数据,包括:In one or more possible embodiments, the second wireless node sends data to the first wireless node according to time t2, including:

所述第二无线节点以时间t2为起始时间向所述第一无线节点发送RTS请求发送帧;The second wireless node sends an RTS request to send a frame to the first wireless node with time t2 as a starting time;

所述第二无线节点接收所述第一无线节点响应于所述RTS帧返回的CTS帧时,向所述第一无线节点发送DATA帧。The second wireless node sends a DATA frame to the first wireless node when receiving the CTS frame returned by the first wireless node in response to the RTS frame.

例如:参见图5所示,STA2以时间t2为起始时间向STA1发送RTS帧,该RTS帧用于请求向STA1发送数据,STA1作好接收数据的准备时,向STA2返回CTS帧,STA2接收到来自STA1的CTS帧时确定STA作好接收数据的准备,然后STA2向STA1发送DATA帧,STA1成功接收来自STA2的DATA帧时,向STA2返回ACK帧,STA2可以在一个ACK帧中对多个DATA帧的接收状态进行反馈。在本实施例中,STA2在确定STA1完成数据发送后,未执行信道竞争,在执行RTS/CTS流程后,才向STA1发送数据,这样可以信道的干扰较大或存在隐藏节点的情况下,提高数据发送的成功率。For example, as shown in Figure 5, STA2 sends an RTS frame to STA1 with time t2 as the starting time. The RTS frame is used to request to send data to STA1. When STA1 is ready to receive data, it returns a CTS frame to STA2, and STA2 receives the data. When the CTS frame from STA1 arrives, it is determined that the STA is ready to receive data, and then STA2 sends a DATA frame to STA1. When STA1 successfully receives the DATA frame from STA2, it returns an ACK frame to STA2. STA2 can respond to multiple data in one ACK frame. The receiving status of the DATA frame is fed back. In this embodiment, STA2 does not perform channel competition after determining that STA1 completes data transmission, and only sends data to STA1 after performing the RTS/CTS process. The success rate of data transmission.

在一种或多个实施例中,时间t2=ACK帧的时间+SIFS,即第二无线节点在ACK帧发送完毕时等待SIFS,再向第一无线节点发送数据。In one or more embodiments, time t2=time of the ACK frame+SIFS, that is, the second wireless node waits for the SIFS when the ACK frame is sent, and then sends data to the first wireless node.

又例如:参见图6所示,STA2在TXOP周期内接收来自STA1的DATA帧,解析该DATA帧后确定结束传输指示符MD=0,因此确定该DATA帧为STA1发送的最后一个DATA帧,STA2向STA1返回该DATA帧的ACK帧,表示STA2成功接收STA1的最后一个DATA帧,然后STA2在ACK帧的时间+SIFS后向STA1发送DATA帧,STA2转换为发送方,STA1转换为接收方,STA2不需要执行信道竞争过程,因此可以减少数据发送的时延。可以理解的是,如果STA1较早的发送最后一个DATA帧,那么STA2可能会在STA1的TXOP周期结束之前向STA1发送DATA帧,这样可以充分利用STA1所持有的TXOP周期,提高信道利用率。Another example: as shown in FIG. 6 , STA2 receives a DATA frame from STA1 in the TXOP period, and after parsing the DATA frame, it is determined that the transmission end indicator MD=0, so it is determined that the DATA frame is the last DATA frame sent by STA1, and STA2 Return the ACK frame of the DATA frame to STA1, indicating that STA2 successfully received the last DATA frame of STA1, and then STA2 sends a DATA frame to STA1 after the time of the ACK frame + SIFS, STA2 converts to the sender, STA1 converts to the receiver, STA2 There is no need to perform the channel contention process, so the delay of data transmission can be reduced. It can be understood that if STA1 sends the last DATA frame earlier, STA2 may send a DATA frame to STA1 before the TXOP period of STA1 ends, which can make full use of the TXOP period held by STA1 and improve channel utilization.

进一步的,所数据传输方法还包括:Further, the data transmission method further includes:

第二无线节点在预设时长内未接收来自第一无线节点的所述DATA帧对应的ACK确认帧时,获取所述DATA帧的重传次数;When the second wireless node does not receive an ACK acknowledgment frame corresponding to the DATA frame from the first wireless node within a preset time period, obtain the number of retransmissions of the DATA frame;

在重传次数小于预设次数时,所述第二无线节点向所述第一无线节点重传DATA帧;在所述重传次数等于所述预设次数时,输出发送失败提示信息。When the number of retransmissions is less than the preset number of times, the second wireless node retransmits the DATA frame to the first wireless node; when the number of retransmission times is equal to the preset number of times, output sending failure prompt information.

其中,第二无线节点设置有计数器,用于对各个DATA帧的发送次数进行统计,预设时长可以根据实际需求而定,本申请不作限制。第二无线节点在向第一无线节点发送DATA帧后,启动计时器进行计时,在计时器的时长达到预设时长仍未接收到第一无线节点返回的ACK帧时,确定DATA帧发送失败,然后获取当前计数器的计数值,在计数值小于预设次数,例如:预设次数为3,向第一无线节点重传DATA帧,若等于预设次数时,输出发送失败提示信息。The second wireless node is provided with a counter, which is used to count the number of times of sending each DATA frame, and the preset duration may be determined according to actual needs, which is not limited in this application. After sending the DATA frame to the first wireless node, the second wireless node starts a timer for timing, and when the timer reaches the preset time and still does not receive the ACK frame returned by the first wireless node, it is determined that the DATA frame transmission failed, Then, the count value of the current counter is obtained, and when the count value is less than a preset number of times, for example, the preset number of times is 3, the DATA frame is retransmitted to the first wireless node, and if it is equal to the preset number of times, a sending failure prompt message is output.

实施本申请的实施例,第二无线节点接收来自第一无线节点在TXOP周期内发送的数据,第二无线节点在TXOP周期结束之前确定有待发送至第一无线节点的数据,第二无线节点在第一无线节点完成数据的发送后,不需要执行信道竞争,第二无线节点直接由接收方切换为发送方向第一无线节点发送数据,本申请通过减少信道竞争的时间,从而实现降低数据传输时延的目的。Implementing the embodiment of the present application, the second wireless node receives data sent from the first wireless node within the TXOP period, the second wireless node determines the data to be sent to the first wireless node before the end of the TXOP period, and the second wireless node is in the TXOP period. After the first wireless node completes the transmission of data, there is no need to perform channel competition, and the second wireless node is directly switched from the receiver to the sender to send data to the first wireless node. In this application, the time for channel competition is reduced, thereby reducing the time required for data transmission. purpose of extension.

下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are apparatus embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

请参见图7,其示出了本申请一个示例性实施例提供的数据传输装置的结构示意图。该装置可以通过软件、硬件或者两者的结合实现成为无线节点的全部或一部分。数据传输装置7(以下简称装置7)包括收发单元701和处理单元702。Please refer to FIG. 7 , which shows a schematic structural diagram of a data transmission apparatus provided by an exemplary embodiment of the present application. The apparatus can be implemented as all or a part of the wireless node through software, hardware or a combination of the two. The data transmission device 7 (hereinafter referred to as the device 7 ) includes a transceiver unit 701 and a processing unit 702 .

收发单元701,用于在TXOP周期内接收第一无线节点发送的数据;其中,所述第一无线节点为所述TXOP的持有者;A transceiver unit 701, configured to receive data sent by a first wireless node within a TXOP period; wherein, the first wireless node is the holder of the TXOP;

处理单元702,用于在存在待发送至所述第一无线节点的数据时,确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1;A processing unit 702, configured to, when there is data to be sent to the first wireless node, determine the time t1 at which the first wireless node completes data sending within the TXOP period;

所述收发单元701,还用于根据时间t2向所述第一无线节点发送数据;其中,时间t2和时间t1之间的时间间隔为SIFS最小帧间间隔。The transceiver unit 701 is further configured to send data to the first wireless node according to time t2; wherein, the time interval between time t2 and time t1 is the minimum inter-frame interval of SIFS.

在一个或多个可能的实施例中,所述确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1,包括:In one or more possible embodiments, the determining the time t1 at which the first wireless node completes data transmission within the TXOP period includes:

接收来自第一无线节点的CF-END无竞争周期结束帧时,确定所述第一无线节点完成数据的发送;When receiving the CF-END contention-free period end frame from the first wireless node, determine that the first wireless node completes the transmission of data;

将所述CF-END帧的结束时间作为所述时间t1。The end time of the CF-END frame is taken as the time t1.

在一个或多个可能的实施例中,所述确定所述第一无线节点在所述TXOP周期内完成数据发送的时间t1,包括:In one or more possible embodiments, the determining the time t1 at which the first wireless node completes data transmission within the TXOP period includes:

接收所述第一无线节点在TXOP周期内发送的DATA帧;receiving the DATA frame sent by the first wireless node within the TXOP period;

在所述DATA帧中传输结束指示符为第一数值时,确定所述第一无线节点完成数据的发送;When the transmission end indicator in the DATA frame is the first value, determining that the first wireless node completes the sending of data;

向所述第一无线节点发送所述DATA帧对应的ACK确认帧;sending an ACK confirmation frame corresponding to the DATA frame to the first wireless node;

将所述ACK帧的结束时间作为所述时间t1。The end time of the ACK frame is taken as the time t1.

在一个或多个可能的实施例中,根据时间t2向所述第一无线节点发送数据,包括:In one or more possible embodiments, sending data to the first wireless node according to time t2 includes:

以时间t2为起始时间向所述第一无线节点发送DATA帧。Sending a DATA frame to the first wireless node with time t2 as a starting time.

在一个或多个可能的实施例中,所述第二无线节点根据时间t2向所述第一无线节点发送数据,包括:In one or more possible embodiments, the second wireless node sends data to the first wireless node according to time t2, including:

以时间t2为起始时间向所述第一无线节点发送RTS请求发送帧;Sending an RTS request to send a frame to the first wireless node with time t2 as the starting time;

接收所述第一无线节点响应于所述RTS帧返回的CTS帧时,向所述第一无线节点发送DATA帧。When receiving the CTS frame returned by the first wireless node in response to the RTS frame, send a DATA frame to the first wireless node.

在一个或多个可能的实施例中,In one or more possible embodiments,

处理单元702还用于在预设时长内未接收来自第一无线节点的所述DATA帧对应的ACK确认帧时,获取所述DATA帧的重传次数;The processing unit 702 is further configured to acquire the number of retransmissions of the DATA frame when the ACK confirmation frame corresponding to the DATA frame from the first wireless node is not received within a preset duration;

收发单元701,还用于在重传次数小于预设次数时,向所述第一无线节点重传DATA帧。The transceiver unit 701 is further configured to retransmit the DATA frame to the first wireless node when the number of retransmissions is less than the preset number of times.

在一个或多个可能的实施例中,处理单元702还用于:In one or more possible embodiments, the processing unit 702 is further configured to:

在所述重传次数等于所述预设次数时,输出发送失败提示信息。When the number of retransmissions is equal to the preset number of times, output sending failure prompt information.

需要说明的是,上述实施例提供的装置7在执行数据传输方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的数据传输装置与数据传输方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that when the device 7 provided in the above embodiment executes the data transmission method, only the division of the above functional modules is used as an example for illustration. In practical applications, the above functions can be allocated to different functional modules as required. That is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the data transmission apparatus and the data transmission method embodiments provided by the above embodiments belong to the same concept, and the implementation process of the data transmission apparatus is described in the method embodiments, which will not be repeated here.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图3-图6所示实施例的方法步骤,具体执行过程可以参见图3-图6所示实施例的具体说明,在此不进行赘述。An embodiment of the present application further provides a computer storage medium, where the computer storage medium can store multiple instructions, and the instructions are suitable for being loaded by a processor and executing the method steps of the embodiments shown in FIG. 3 to FIG. 6 above. , and the specific execution process may refer to the specific description of the embodiments shown in FIG. 3 to FIG. 6 , which will not be repeated here.

本申请还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的数据传输方法。The present application also provides a computer program product, where the computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the data transmission method described in each of the above embodiments.

参见图8,其示出了本申请实施例所涉及的无线节点的结构示意图,该无线节点9可以用于实施上述实施例中提供的数据传输方法。具体来讲:Referring to FIG. 8 , it shows a schematic structural diagram of a wireless node involved in an embodiment of the present application, and the wireless node 9 may be used to implement the data transmission method provided in the foregoing embodiment. Specifically:

无线节点9包括存储器920、处理器980和WiFi模块970,WiFi模块970是本申请的无线模块。The wireless node 9 includes a memory 920, a processor 980 and a WiFi module 970, which is the wireless module of the present application.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据无线节点的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器920还可以包括存储器控制器,以提供处理器980和输入单元930对存储器920的访问。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; The use of wireless nodes creates data (such as audio data, phonebooks, etc.), and the like. Additionally, memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 920 may also include a memory controller to provide access to the memory 920 by the processor 980 and the input unit 930 .

处理器980是无线节点的控制中心,利用各种接口和线路连接整个无线节点的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及利用存储在存储器920内的数据,执行无线节点的各种功能和处理数据,从而对无线节点进行整体监控。可选的,处理器980可包括一个或多个处理核心;其中,处理器980可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the wireless node, and uses various interfaces and lines to connect various parts of the entire wireless node, by running or executing software programs and/or modules stored in the memory 920, and using the data stored in the memory 920. , perform various functions of the wireless node and process data, so as to monitor the wireless node as a whole. Optionally, the processor 980 may include one or more processing cores; wherein, the processor 980 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. The modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 980.

WiFi属于短距离无线传输技术,无线节点通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。WiFi is a short-distance wireless transmission technology. The wireless node can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970, which provides users with wireless broadband Internet access.

具体在本实施例中,无线节点9包括有存储器,以及一个或者一个以上的程序,其中一个或者一个以上程序存储于存储器中,且经配置以由一个或者一个以上处理器执行述一个或者一个以上程序包含用于执行图2至图7所述的数据传输方法。Specifically in this embodiment, the wireless node 9 includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by one or more processors to execute the one or more programs The program includes a method for performing the data transmission described in FIGS. 2 to 7 .

本申请实施例和图3至图6的方法实施例基于同一构思,其带来的技术效果也相同,具体过程可参照方法图2至图3的方法实施例,此处不再赘述。The embodiments of the present application and the method embodiments in FIGS. 3 to 6 are based on the same concept, and bring about the same technical effects. For specific processes, refer to the method embodiments of the method in FIGS. 2 to 3 , which will not be repeated here.

可选的,无线节点9还包括显示单元940。显示单元940可用于显示由用户输入的信息或提供给用户的信息以及无线节点的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元940可包括显示面板941,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板941。进一步的,触摸装置931可覆盖显示面板941,当触摸装置931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图8中,触摸装置931与显示面板941是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触摸装置931与显示面板941集成而实现输入和输出功能。Optionally, the wireless node 9 further includes a display unit 940 . The display unit 940 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the wireless node, which may be composed of graphics, text, icons, videos, and any combination thereof. The display unit 940 may include a display panel 941. Optionally, the display panel 941 may be configured in the form of an LCD (Liquid Crystal Display, liquid crystal display), an OLED (Organic Light-Emitting Diode, organic light-emitting diode), and the like. Further, the touch device 931 can cover the display panel 941, and when the touch device 931 detects a touch operation on or near it, it transmits it to the processor 980 to determine the type of the touch event, and then the processor 980 selects the type of the touch event according to the type of the touch event. Corresponding visual outputs are provided on display panel 941 . Although in FIG. 8, the touch device 931 and the display panel 941 are used as two independent components to realize the input and input functions, in some embodiments, the touch device 931 and the display panel 941 can be integrated to realize the input and output Function.

可选的,无线节点9还包括:输入单元930。输入单元930可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入单元930可包括触摸装置931(例如:触摸屏、触摸板或触摸框)。触摸装置931,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触摸装置931上或在触摸装置931附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触摸装置931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触摸装置931。Optionally, the wireless node 9 further includes: an input unit 930 . The input unit 930 may be used to receive input numerical or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, the input unit 930 may include a touch device 931 (eg, a touch screen, a touch pad, or a touch frame). The touch device 931, also known as a touch display or a touchpad, collects the user's touch operations on or near it (such as the user using a finger, a stylus, or any suitable object or accessory on the touch device 931 or on the touch device). operation near 931), and drive the corresponding connection device according to the preset program. Optionally, the touch device 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 980, and can receive the command sent by the processor 980 and execute it. In addition, the touch device 931 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.

可选的,无线节点可以包括RF(Radio Frequency,射频)电路910、包括有一个或一个以上计算机可读存储介质的存储器920、输入单元930、显示单元940、传感器950、音频电路960、WiFi(wireless fidelity,无线保真)模块960、包括有一个或者一个以上处理核心的处理器980、以及电源990等部件。本领域技术人员可以理解,图8中示出的无线节点结构并不构成对无线节点的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Optionally, the wireless node may include an RF (Radio Frequency, radio frequency) circuit 910, a memory 920 including one or more computer-readable storage media, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, WiFi ( A wireless fidelity (wireless fidelity) module 960, a processor 980 including one or more processing cores, a power supply 990 and other components. Those skilled in the art can understand that the wireless node structure shown in FIG. 8 does not constitute a limitation on the wireless node, and may include more or less components than shown, or combine some components, or arrange different components.

其中:in:

RF电路910可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器980处理;另外,将涉及上行的数据发送给基站。通常,RF电路910包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于3GPP(3rd Generation Partnership Project,第三代合作伙伴计划,简称3GPP)、3GPP2((3rd Generation Partnership Project 2,第三代合作伙伴计划2,简称3GPP2))、UMTS(Universal Mobile Telecommunications System,通用移动通信系统,简称UMTS)、LTE(Long Term Evolution,长期演进,简称LTE)、LTE-A(LTE-Advanced,长期演进升级版,简称LTE-A)、WIMAX((Worldwide Interoperability forMicrowave Access,全球微波互联接入,简称WIMAX)、HSDPA(High Speed Downlink PacketAccess,高速下行分组接入,简称HSDPA)、HSUPA(High Speed Uplink Packet Access,高速上行分组接入,简称HSUPA)、TDMA(Time Division Multiple Access,时分多址接入,简称TDMA)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址接入,简称WCDMA)、GSM(Global System for Mobile Communication,全球移动通信系统,简称GSM、电子邮件、SMS(Short Messaging Service,短消息服务)等。The RF circuit 910 can be used for receiving and sending signals during transmission and reception of information or during a call. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 980 for processing; in addition, it sends the uplink data to the base station. . Typically, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier) , duplexer, etc. In addition, RF circuitry 910 may communicate with networks and other devices via wireless communications. The wireless communication can use any communication standard or protocol, including but not limited to 3GPP (3rd Generation Partnership Project, 3rd Generation Partnership Project, 3GPP for short), 3GPP2 ((3rd Generation Partnership Project 2, 3rd Generation Partnership Project) 2, referred to as 3GPP2)), UMTS (Universal Mobile Telecommunications System, referred to as UMTS), LTE (Long Term Evolution, long term evolution, referred to as LTE), LTE-A (LTE-Advanced, long term evolution upgrade, referred to as LTE-A), WIMAX ((Worldwide Interoperability for Microwave Access, WIMAX for short), HSDPA (High Speed Downlink Packet Access, HSDPA for short), HSUPA (High Speed Uplink Packet Access, high speed uplink) Packet access, referred to as HSUPA), TDMA (Time Division Multiple Access, referred to as TDMA), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access, referred to as WCDMA), GSM (Global System for Mobile Communication, Global System for Mobile Communications, referred to as GSM, e-mail, SMS (Short Messaging Service, short message service) and so on.

可选的,无线节点9还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在无线节点移动到耳边时,关闭显示面板941和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别无线节点姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于无线节点还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。Optionally, the wireless node 9 may further include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 941 and the proximity sensor when the wireless node moves to the ear. / or backlight. As a kind of motion sensor, the gravitational acceleration sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the posture of wireless nodes (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that can be configured on wireless nodes, here No longer.

音频电路960、扬声器961,传声器962可提供用户与终端设备之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910以发送给比如另一终端设备,或者将音频数据输出至存储器920以便进一步处理。音频电路960还可能包括耳塞插孔,以提供外设耳机与终端设备的通信。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the terminal device. The audio circuit 960 can convert the received audio data into an electrical signal, and transmit it to the speaker 961, and the speaker 961 converts it into a sound signal for output; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 960 After receiving, it is converted into audio data, and then the audio data is output to the processor 980 for processing, and then sent to, for example, another terminal device through the RF circuit 910, or the audio data is output to the memory 920 for further processing. The audio circuit 960 may also include an earplug jack to provide communication between the peripheral headset and the terminal device.

可选的,无线节点9还包括给各个部件供电的电源990(比如电池),其中,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源990还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。Optionally, the wireless node 9 further includes a power supply 990 (such as a battery) for supplying power to various components, wherein the power supply can be logically connected to the processor 980 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. management and other functions. Power supply 990 may also include one or more DC or AC power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and any other components.

可选的,无线节点9还可以包括摄像头991、蓝牙模块等,其中,摄像头991用于对周围环境曝光以得到帧图像,在一种方式中,该摄像头991将曝光得到的帧图像的参数传递给处理器980以使该处理器980对该帧图像做去噪、增强等处理,生成能够展示给用户的图片;在又一种可选的方案中,该摄像头991自带了图像处理器芯片,该图像处理芯片可以对该帧图像做初步处理,对该帧图像做初步处理后在将经处理的数据传递给该处理器980以使该处理器980最终生产能够展示给用户的图像。进一步地,该摄像头991的数量可以为一个也可以为多个。Optionally, the wireless node 9 may also include a camera 991, a Bluetooth module, etc., wherein the camera 991 is used to expose the surrounding environment to obtain a frame image. In one way, the camera 991 transmits the parameters of the frame image obtained by exposure. The processor 980 is given to the processor 980 to perform denoising, enhancement and other processing on the frame image to generate a picture that can be displayed to the user; in another optional solution, the camera 991 comes with an image processor chip , the image processing chip can perform preliminary processing on the frame image, and after performing the preliminary processing on the frame image, transmit the processed data to the processor 980 so that the processor 980 can finally produce an image that can be displayed to the user. Further, the number of the camera 991 may be one or multiple.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

以上所揭露的仅为本申请一种较佳实施例而已,当然不能以此来限定本申请之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本申请权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present application, and of course, it cannot limit the scope of the right of the present application. Those skilled in the art can understand that all or part of the process of implementing the above-mentioned embodiment can be realized according to the right of the present application. The equivalent changes required to be made still belong to the scope covered by the invention.

Claims (9)

1. A method of data transmission, the method comprising:
the second wireless node receives data sent by the first wireless node in the TXOP transmission opportunity period; wherein the first wireless node is a holder of the TXOP;
when the second wireless node has data to be sent to the first wireless node, the second wireless node determines a time t1 at which the first wireless node completes data sending in the TXOP period;
the second wireless node transmitting data to the first wireless node according to time t 2; wherein, the time interval between the time t2 and the time t1 is the SIFS minimum interframe space;
wherein the determining, by the second wireless node, a time t1 at which the first wireless node completes data transmission within the TXOP period comprises:
when the second wireless node receives a CF-END contention free period ending frame from a first wireless node, determining that the first wireless node completes data transmission;
taking the END time of the CF-END frame as the time t 1; wherein the CF-END frame indicates that the TXOP period is over, and stations other than the second wireless node resume performing a contention channel by a DIFS after the time t 1.
2. The method of claim 1, wherein the second wireless node determining a time t1 at which the first wireless node completes data transmission within the TXOP period comprises:
the second wireless node receives a DATA frame sent by the first wireless node in a TXOP period;
determining that the first wireless node completes transmission of DATA when a transmission end indicator in the DATA frame is a first value;
the second wireless node sends an ACK frame corresponding to the DATA frame to the first wireless node;
the end time of the ACK frame is taken as the time t 1.
3. The method of claim 1, wherein the second wireless node sending data to the first wireless node according to time t2, comprising:
the second wireless node transmits a DATA frame to the first wireless node starting at time t 2.
4. The method of claim 1, wherein the second wireless node sending data to the first wireless node according to time t2, comprising:
the second wireless node transmitting an RTS request to send frame to the first wireless node starting at time t 2;
and when the second wireless node receives a CTS frame returned by the first wireless node in response to the RTS frame, the second wireless node sends a DATA frame to the first wireless node.
5. The method of claim 3 or 4, further comprising:
when the second wireless node does not receive the ACK frame corresponding to the DATA frame from the first wireless node within a preset time length, acquiring the retransmission times of the DATA frame;
and when the retransmission times are less than the preset times, the second wireless node retransmits the DATA frame to the first wireless node.
6. The method of claim 5, further comprising:
and outputting sending failure prompt information when the retransmission times are equal to the preset times.
7. A data transmission apparatus, comprising:
a transceiving unit, configured to receive data sent by a first wireless node in a TXOP period; wherein the first wireless node is a holder of the TXOP;
a processing unit, configured to determine, when there is data to be sent to the first wireless node, a time t1 at which the first wireless node completes data sending in the TXOP period;
the transceiving unit is further configured to transmit data to the first wireless node according to time t 2; wherein, the time interval between the time t2 and the time t1 is the SIFS minimum interframe space;
determining, by the second wireless node, a time t1 at which the first wireless node completes data transmission in the TXOP period includes:
when the second wireless node receives a CF-END contention-free period END frame from a first wireless node, determining that the first wireless node completes data transmission;
taking the END time of the CF-END frame as the time t 1; wherein the CF-END frame indicates that the TXOP period is over, and stations other than the second wireless node resume performing a contention channel by a DIFS after the time t 1.
8. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 6.
9. A wireless node, comprising: a processor, a memory, and a wireless module; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 6.
CN202110328090.7A 2021-03-26 2021-03-26 Data transmission method, device, storage medium and wireless node Active CN113099544B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110328090.7A CN113099544B (en) 2021-03-26 2021-03-26 Data transmission method, device, storage medium and wireless node
PCT/CN2021/132981 WO2022199095A1 (en) 2021-03-26 2021-11-25 Data transmission method and apparatus, storage medium, and wireless node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110328090.7A CN113099544B (en) 2021-03-26 2021-03-26 Data transmission method, device, storage medium and wireless node

Publications (2)

Publication Number Publication Date
CN113099544A CN113099544A (en) 2021-07-09
CN113099544B true CN113099544B (en) 2022-08-16

Family

ID=76670325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110328090.7A Active CN113099544B (en) 2021-03-26 2021-03-26 Data transmission method, device, storage medium and wireless node

Country Status (2)

Country Link
CN (1) CN113099544B (en)
WO (1) WO2022199095A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099544B (en) * 2021-03-26 2022-08-16 珠海泰芯半导体有限公司 Data transmission method, device, storage medium and wireless node

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101548573A (en) * 2006-11-15 2009-09-30 高通股份有限公司 Transmissions to multiple stations in wireless communication systems
CN104995982A (en) * 2013-02-15 2015-10-21 Lg电子株式会社 Method and device for transmitting/receiving frame in accordance with bandwidth thereof in WLAN system
GB201517294D0 (en) * 2015-09-30 2015-11-11 Canon Kk Methods and systems for reserving a transmission opportunity for a plurality of wireless communication devices belonging to a collaborative group
CN105493608A (en) * 2013-08-14 2016-04-13 Lg电子株式会社 Method and device for transmitting data in wireless lan
CN106304390A (en) * 2015-06-05 2017-01-04 中兴通讯股份有限公司 A kind of channel access method, website and system
CN112492682A (en) * 2020-06-01 2021-03-12 中兴通讯股份有限公司 Data transmission method and device, data reception method and device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4575265B2 (en) * 2005-09-29 2010-11-04 株式会社東芝 Wireless communication device
EP2863699B1 (en) * 2012-06-18 2018-10-31 LG Electronics Inc. Method and device for controlling channel access in wireless lan system
CN104202822A (en) * 2014-04-30 2014-12-10 中兴通讯股份有限公司 Channel access method, channel access system and stations
US10045374B2 (en) * 2014-07-29 2018-08-07 Qualcomm Incorporated Low latency WLAN medium access
CN105406948B (en) * 2014-09-12 2020-03-06 中兴通讯股份有限公司 Method for realizing parallel multi-user data transmission and main node
CN108495372B (en) * 2018-01-19 2021-04-20 西安电子科技大学 Method for simultaneously transmitting multi-site data in cell in wireless local area network
CN111314966B (en) * 2020-02-20 2022-11-29 展讯通信(上海)有限公司 Wireless data transmission method and device, storage medium, AP and STA
CN113099544B (en) * 2021-03-26 2022-08-16 珠海泰芯半导体有限公司 Data transmission method, device, storage medium and wireless node

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101548573A (en) * 2006-11-15 2009-09-30 高通股份有限公司 Transmissions to multiple stations in wireless communication systems
CN104995982A (en) * 2013-02-15 2015-10-21 Lg电子株式会社 Method and device for transmitting/receiving frame in accordance with bandwidth thereof in WLAN system
CN105493608A (en) * 2013-08-14 2016-04-13 Lg电子株式会社 Method and device for transmitting data in wireless lan
CN106304390A (en) * 2015-06-05 2017-01-04 中兴通讯股份有限公司 A kind of channel access method, website and system
GB201517294D0 (en) * 2015-09-30 2015-11-11 Canon Kk Methods and systems for reserving a transmission opportunity for a plurality of wireless communication devices belonging to a collaborative group
CN112492682A (en) * 2020-06-01 2021-03-12 中兴通讯股份有限公司 Data transmission method and device, data reception method and device

Also Published As

Publication number Publication date
WO2022199095A1 (en) 2022-09-29
CN113099544A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
US20210153259A1 (en) Random access method and related device
US11582791B2 (en) PUCCH collision processing method and terminal
CN110719628B (en) Transmission method, terminal equipment and network equipment
US12004230B2 (en) Random access method and related device
US20200252971A1 (en) Method and device for random access and terminal
CN112996050B (en) Data transmission method, device, storage medium and wireless node
EP3952408B1 (en) Radio link monitoring method, terminal, base station and storage medium
CN110719647B (en) Random access method, terminal and network equipment
WO2021037148A1 (en) Data transmission method and terminal
CN110943816A (en) Resource allocation method, terminal and network equipment
CN111836361B (en) Data receiving method, data sending method, terminal and network equipment
CN110035473B (en) A system information transmission method and user terminal
CN111757535A (en) A random access method, instruction method, network device and terminal
CN112654093B (en) Information transmission and receiving method, terminal and network side equipment
CN113099544B (en) Data transmission method, device, storage medium and wireless node
CN111836397B (en) Random access method, terminal and network side equipment
CN111147195A (en) Data transmission method, receiving method, terminal and network equipment
CN111836311B (en) Capability negotiation method, terminal and network equipment
CN111800831B (en) Path transformation method, device, communication system, and computer-readable storage medium
CN110769518B (en) Random access method, terminal device and network device
CN110475367B (en) Transmission method, mobile communication terminal and network side equipment
CN112804754A (en) Resource determination method, resource configuration method, terminal and network equipment
CN113133126B (en) Method, terminal and network equipment for converting working frequency points
CN112104984B (en) Electronic price tag parallel drawing method and device and computer readable storage medium
CN111614443B (en) Terminal capability reporting and information receiving method, terminal and network equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Data transmission method, device, storage medium, and wireless node

Granted publication date: 20220816

Pledgee: Industrial Bank Co.,Ltd. Zhuhai Branch

Pledgor: ZHUHAI HUGE-IC Co.,Ltd.

Registration number: Y2024980045526

PE01 Entry into force of the registration of the contract for pledge of patent right