Data transmission control method and apparatus, electronic device, and storage medium
By sending a request frame carrying TWT parameters in the wireless device, the wireless access point is instructed to prioritize data transmission within the TWT service cycle, which solves the problem of low-latency service data packet loss in the Wi-Fi 7 standard and improves service quality.
Patent Information
- Application Number
- PCT/CN2023/130000
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-24
- Filing Date
- 2023-11-06
- Publication Date
- 2024-08-29
AI Technical Summary
In the Wi-Fi 7 standard, low-latency service data packets are lost due to timeout, resulting in a decline in service quality. It is difficult to effectively avoid this problem with existing technology.
By sending a request frame carrying target wake-up time (TWT) parameters in the wireless device, the wireless access point is instructed to prioritize data transmission of the wireless device within the TWT service period to ensure that data packets are sent in a timely manner.
It effectively avoids the problem of data packet loss due to timeout and improves the service quality of low-latency services.
Smart Images

Figure CN2023130000_29082024_PF_FP_ABST
Abstract
Description
Data transmission control method and device, electronic device, and storage medium
[0001] This application claims priority to Chinese patent application number "202310196090.5", filed on February 24, 2023, entitled "Data transmission control method and device, electronic device, storage medium", and the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a data transmission control method, a data transmission control device, an electronic device, and a computer-readable storage medium. Background Art
[0003] The latest Wi-Fi 7 (seventh-generation Wi-Fi) standard defines a maximum latency limit for low-latency service data. Data exceeding this limit will be discarded, leading to increased packet loss. As can be seen, low-latency service data packets are time-sensitive. If they are not sent for a long time, they will be lost, resulting in a decrease in Quality of Service (QoS). Therefore, how to prevent low-latency service data packets from being lost due to timeouts is an urgent technical issue to be solved.
[0004] Summary of the Invention
[0005] The embodiments of the present application respectively provide a data transmission control method, a data transmission control device, an electronic device, a computer-readable storage medium, and a computer program product.
[0006] In a first aspect, an embodiment of the present application provides a data transmission control method, which is applied to a wireless device accessing a wireless access point, the method comprising: sending a request frame carrying a target wake-up time TWT parameter to the wireless access point, wherein the TWT parameter includes an indication parameter for instructing the wireless access point to prioritize scheduling the wireless device for data transmission within a target wake-up time service period TWT SP; receiving a response frame returned by the wireless access point; if the response frame indicates that the wireless access point has confirmed the TWT parameter, sending a data packet to the wireless access point within the TWT SP.
[0007] In second aspect, an embodiment of the present application provides a data transmission control device, which is configured on a wireless device that accesses a wireless access point, and the device includes: a sending module, configured to send a request frame carrying TWT parameters to the wireless access point, wherein the TWT parameters include an indication parameter for instructing the wireless access point to prioritize scheduling the wireless device for data transmission within the TWT SP; a receiving module, configured to receive a response frame returned by the wireless access point; the sending module is also configured to send a data packet to the wireless access point within the TWT SP if the response frame indicates that the wireless access point has confirmed the TWT parameters.
[0008] In a third aspect, an embodiment of the present application provides an electronic device comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the electronic device implements the data transmission control method as described above.
[0009] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer-readable instructions stored thereon. When the computer-readable instructions are executed by a processor of a computer, the computer executes the data transmission control method as described above.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the steps in the data transmission control method described above when executed by a processor.
[0011] In the technical solution provided in the embodiments of the present application, the wireless device instructs the wireless access point through signaling to prioritize scheduling its uplink data. That is, when the response frame received by the wireless device indicates that the wireless access point has confirmed the TWT parameters carried in the request frame sent by the wireless device, it means that the wireless access point has confirmed the priority scheduling of the wireless device within the TWT SP expected by the wireless device. Therefore, the wireless device can send data packets in time within the TWT SP, thereby avoiding the problem of data packet loss due to timeout, thereby improving the service quality of low-latency services.
[0012] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] FIG1 is a schematic diagram of an implementation environment involved in this application;
[0014] FIG2 is a flow chart of a data transmission control method proposed by an exemplary embodiment of the present application;
[0015] FIG3 is a flow chart of a data transmission control method shown in another exemplary embodiment of the present application;
[0016] FIG4 is a schematic diagram of the format of a TWT Element;
[0017] FIG5 is a flowchart of a data transmission control method shown in another exemplary embodiment of the present application;
[0018] FIG6 illustrates a schematic diagram for comparison with the broadcast information subfield specified in the Wi-Fi 6 standard;
[0019] FIG7 is a flowchart of a data transmission control method shown in another exemplary embodiment of the present application;
[0020] FIG8 is a flowchart of a data transmission control method shown in another exemplary embodiment of the present application;
[0021] FIG9 illustrates another schematic diagram for comparison with the broadcast information subfield specified in the Wi-Fi 6 standard;
[0022] FIG10 is a flowchart of a data transmission control method shown in another exemplary embodiment of the present application;
[0023] FIG11 is a schematic diagram of an exemplary format of a broadcast information field;
[0024] FIG12 is a schematic diagram of an exemplary format of a delay information control field;
[0025] FIG13 is a schematic diagram of another exemplary format of a delay information control field;
[0026] FIG14 is a block diagram of a data transmission control device according to an exemplary embodiment of the present application;
[0027] FIG15 shows a schematic structural diagram of a computer system suitable for implementing an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0028] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. When the following description refers to the drawings, identical numerals in different figures represent identical or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0029] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0030] The flowcharts shown in the accompanying drawings are for illustrative purposes only and do not necessarily include all contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may be decomposed, while others may be combined or partially combined. Therefore, the actual execution order may vary depending on the actual situation.
[0031] In this application, "plurality" refers to two or more. "And / or" describes the relationship between related objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally indicates that the related objects are in an "or" relationship.
[0032] The terms "first," "second," "third," and "fourth," etc., in the specification and claims of this application and the accompanying drawings are used to distinguish different objects, not to describe a specific order. The terms "including," "having," and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or apparatus comprising a series of steps or elements is not limited to the listed steps or elements, but may optionally include steps or elements not listed, or may optionally include other steps or elements inherent to the process, method, product, or apparatus.
[0033] First, please refer to Figure 1, which is a schematic diagram of an implementation environment involved in this application. The exemplary implementation environment illustrates a low-latency business scenario.
[0034] Specifically, the wireless device 10 is connected to the wireless access point 20 , and the wireless access point 20 and the service server 30 have previously established a wired or wireless network connection, so that data is transmitted between the wireless device 10 and the service server 30 through the wireless access point 20 .
[0035] In the low-latency service scenario, the wireless device 10 also transmits data related to the low-latency service with the wireless access point 20, including uplink data transmission and downlink data transmission. The uplink data is, for example, application data generated by the low-latency application installed in the wireless device 10, and the downlink data is, for example, service data transmitted by the service server 30 to the wireless device 10.
[0036] It should be noted that the wireless device 10 can be a terminal device such as a smart phone, a tablet computer, a laptop computer, a computer, a smart watch, a smart TV, a smart camera, an aircraft, etc. The wireless access point 20 can be a device with wireless access function such as a wireless router, and the business server 30 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This embodiment does not limit the specific device types of the wireless device 10, the wireless access point 20, and the business server 30.
[0037] It should also be noted that the low-latency services illustrated in Figure 1 can be financial and electronic transaction services, high-definition video services (such as game applications, high-definition video live and on-demand applications, virtual reality applications and other business scenarios), etc. These business scenarios have high requirements for low latency, and this application does not limit specific business scenarios.
[0038] In actual application scenarios, low-latency services have a maximum delay limit. Data packets that exceed the maximum delay will be deleted, resulting in packet loss, which leads to a decrease in service quality.
[0039] For example, in a cloud gaming scenario, wireless device 10 is specifically a cloud gaming terminal, which runs a cloud gaming client program, and service server 30 is specifically a cloud gaming server, which runs a cloud gaming server program. During the game, the cloud gaming terminal needs to send the operation data in the game screen to the cloud gaming server, which then renders the next frame of the game screen based on the received operation data and sends the next frame of the game screen to the cloud gaming terminal. It can be seen that the operation data in the game screen needs to be uploaded to the cloud gaming server in a timely manner, and the game screen generated by the cloud gaming server also needs to be sent to the cloud gaming terminal in a timely manner to ensure that the game user has a smooth gaming experience. Therefore, high requirements are placed on the low latency performance of data transmission.
[0040] For uplink data, data packets generated by low-latency applications enter a queue on the wireless device 10 and wait. Information such as the arrival time and waiting time is only available on the wireless device 10. The wireless access point 20 cannot determine in advance the proportion of data lost due to timeouts. Therefore, it is difficult for the wireless access point 20 to resolve the problem of low-latency service data packet loss due to timeouts.
[0041] Furthermore, under the TWT (Target Wake Time) mechanism, data transmission between the wireless device 10 and the wireless access point 20 needs to be transmitted within a TWT SP (TWT Service Period) agreed upon by both parties. Since the number of wireless devices 10 accessing the wireless access point 20 is usually multiple, and as the number of wireless devices 10 accessing the wireless access point 20 increases, the probability of the wireless access point 20 scheduling a specific wireless device 10 decreases. For the wireless device 10, if a TWT SP is missed, it may need to wait until the next TWT SP, resulting in a large delay and causing the problem of service data timeout and packet loss.
[0042] To solve the above problems, the embodiments of the present application respectively propose a data transmission control method, a data transmission control device, an electronic device, a computer-readable storage medium and a computer program product. These embodiments will be described in detail in the subsequent content.
[0043] In addition, since these embodiments of the present application are proposed based on the TWT mechanism, in order to increase the understanding of these embodiments, a brief introduction to the TWT technology is required before describing the embodiments of the present application.
[0044] First, TWT technology is designed to address channel conflicts between wireless devices (also known as STAs) in large-scale connection scenarios, as well as power consumption issues for power-sensitive wireless devices. TWT technology schedules wireless devices to wake up at different times, effectively reducing the conflicts, backoffs, waits, and retransmissions caused by a large number of competing channels. Furthermore, during the sleep phase, wireless devices turn off the radio frequency, effectively reducing device power consumption.
[0045] The Broadcast TWT working mode of TWT technology is abbreviated as B-TWT. In the B-TWT mode, the wireless access point (also known as AP) uniformly allocates TWT SPs and periodically broadcasts TWT parameters through beacon frames (also known as Beacons). Wireless devices must be allowed to join a TWT group or request to create a new TWT group in order to obtain data sent to the corresponding TWT SP.
[0046] The above process is also called B-TWT negotiation. Different from the conventional handshake negotiation mechanism, B-TWT negotiation only uses one TWT process frame (TWT Setup Frame). The requesting end and the responding end respectively put the TWT parameters into the TWT process frame through the TWT Element (target wake-up time information element) and complete the negotiation based on the changes in the TWT parameters.
[0047] The TWT group joining and data transmission process in B-TWT mode includes the following steps:
[0048] The wireless device initiates a TWT request frame, which includes a TWT Element carrying the parameters of the TWT SP it wishes to join; the wireless access point returns a TWT response frame, which includes a TWT Element carrying the TWT parameters specified by the wireless access point to confirm the establishment of the TWT group; the wireless device then enters a sleep state until the beacon period to which the agreed TWT SP belongs begins, wakes up and receives the beacon frame broadcast by the wireless access point, and reads the TWT Element field carried by the beacon frame to obtain the latest TWT SP information; the wireless device then sleeps again until the TWT SP starts, and then sends a data packet to the wireless access point.
[0049] When the parameters in the TWT Element specify that a trigger frame be sent, the wireless device waits to receive the trigger frame broadcast by the wireless access point. After receiving the trigger frame, it returns a corresponding frame to inform the wireless access point that the wireless device has awakened and can receive downlink data. After the wireless access point finishes sending the data, the wireless device returns to sleep until the next TWT SP begins.
[0050] According to the above introduction to TWT technology, it can be seen that in the current B-TWT negotiation mechanism, the wireless access point cannot grasp the data cache situation on the wireless device side, and therefore cannot actively prioritize the scheduling of wireless devices. And as the number of members in the TWT group increases, the probability of the wireless access point scheduling a specific wireless device decreases. It can be understood that as the number of members in the TWT group increases, the possibility of the wireless access point being unable to schedule a specific wireless device to transmit uplink data within the most recent TWT SP will increase. Therefore, the current B-TWT negotiation mechanism is prone to cause the problem of low-latency service data in wireless devices being lost due to timeout.
[0051] To solve this problem, the inventors of this application have uniquely come up with the idea that wireless devices supporting low-latency services can instruct wireless access points to prioritize scheduling their uplink low-latency service data by improving signaling, ensuring that data packets in wireless devices supporting low-latency services can be sent in a timely manner, avoiding packet loss due to timeouts, and thereby improving the service quality of low-latency services.
[0052] It can also be understood that in non-low-latency service scenarios, the technical solution provided in this embodiment can still be used, that is, the wireless device can still instruct the wireless access point to prioritize its scheduling through signaling, and this application does not limit the application scenarios involved in the relevant embodiments.
[0053] FIG2 is a flow chart of a data transmission control method proposed in an exemplary embodiment of the present application. This method is applied to a wireless device (i.e., a STA) accessing a wireless access point (i.e., an AP), and can be specifically executed by, for example, the wireless device 10 in the implementation environment shown in FIG1 , without limitation herein.
[0054] As shown in FIG2 , the data transmission control method includes S210 to S230 , which are described in detail as follows:
[0055] S210 , sending a request frame carrying TWT parameters to the wireless access point, wherein the TWT parameters include indication parameters for instructing the wireless access point to prioritize scheduling wireless devices for data transmission within the TWT SP.
[0056] First, it should be noted that wireless devices generally queue and cache data packets generated by low-latency applications before sending them. Due to the characteristics of low-latency services, data packets are time-sensitive. If data packets cached in the queue are not sent for a long time, they will cause packet loss.
[0057] As an exemplary implementation, before S210, the method may further include:
[0058] Determine whether a data packet will be lost due to timeout based on the service data characteristics of the wireless device itself. Service data characteristics are information used to describe the characteristics of service-related data in the wireless device.
[0059] If the determination result indicates that the data packet will be lost due to timeout, a request frame carrying a TWT parameter is sent to the wireless access point.
[0060] For example, the wireless device can determine whether the data packet will be lost due to timeout based on its own service data characteristics, and then send a corresponding request frame to the wireless access point based on the judgment result. Specifically, if the judgment result indicates that the data packet will be lost due to timeout, the TWT parameter carried by the request frame sent by the wireless device includes an indication parameter, which is used to instruct the wireless access point to prioritize scheduling the wireless device for data transmission within the TWT SP, so that the data packet cached by the wireless device can be sent out in time through the priority scheduling of the wireless access point. If the judgment result indicates that the data packet will not time out, the request frame sent by the wireless device may not carry the indication parameter, or may still carry the field of this indication parameter, but the value of this field needs to be set to a negative value.
[0061] It is understood that service data characteristics of a wireless device refer to information used to describe the characteristics of service-related data in the wireless device, including, for example, the number of data packets buffered in a queue, the arrival time of data packets, the lifecycle of data packets, etc., which are not listed here. These service data characteristics can be obtained based on the current buffering status of the wireless device or can be obtained based on the expected service data in the wireless device. Since service data in wireless devices is generally periodic, service data characteristics can be expected based on the historical transmission of service data.
[0062] As another exemplary embodiment, the method may further include:
[0063] The wireless device may determine the level for which priority scheduling is required based on its own service data characteristics, and carry the level into the request frame as an indication parameter for instructing the wireless access point to prioritize scheduling of the wireless device.
[0064] Or in other exemplary embodiments, the indication parameters carried by the request frame for instructing the wireless access point to prioritize scheduling of wireless devices within the TWT SP can also be set to one or more of the aforementioned service data characteristics. After these indication parameters are sent to the wireless access point, the wireless access point determines whether to prioritize scheduling of the wireless device based on these indication parameters.
[0065] As can be seen from the above, regardless of the implementation method, the wireless device can instruct the wireless access point to prioritize its scheduling based on its own service data characteristics, thereby avoiding the problem of data packets in the wireless device being lost due to timeout. In addition, because the priority scheduling request is initiated by the wireless device, the wireless access point can clearly know the wireless device that requires priority scheduling, thus avoiding the problem of the wireless access point being unable to achieve accurate scheduling due to the uncertainty of TWT SP scheduling.
[0066] It should also be noted that other TWT parameters carried in the request frame in addition to the indication parameters can refer to the relevant provisions in the TWT technical standards, such as the TWT SP that the wireless device expects to join, etc., which are not listed here one by one. It should be understood that the TWT SP that the wireless device expects to join is also uniformly allocated by the wireless access point and broadcast to the wireless device through the beacon frame.
[0067] S220: Receive a response frame returned by the wireless access point.
[0068] After receiving the request frame sent by the wireless device, the wireless access point returns a corresponding response frame to the wireless device. The response frame carries the TWT parameters confirmed by the wireless access point to confirm the establishment of the TWT group relationship to the wireless device.
[0069] If the response frame indicates that the wireless access point agrees and confirms the content requested by the wireless device through the request frame, that is, the wireless device learns through the response frame that the wireless access point has confirmed the TWT parameters carried in the request frame, the wireless device will enter a sleep state after receiving the response frame to reduce device power consumption. In addition, TWT technology stipulates that the wireless device wakes up at the beginning of the beacon period to which the agreed TWT SP belongs, and receives the beacon frame sent by the wireless access point. By reading the TWT Element field carried by the beacon frame, it obtains the latest TWT SP information. After that, the wireless device goes into sleep again until the TWT SP starts sending data packets to the wireless access point.
[0070] If the response frame indicates that the wireless access point disagrees with the content requested by the wireless device, the wireless device may resend the request frame to the wireless access point to re-request the wireless access point to prioritize scheduling its data transmission within the TWT SP.
[0071] It should be understood that in actual application scenarios, the specific content of the response frame returned by the wireless access point in response to the request frame sent by the wireless device can be implemented according to the specific wireless protocol standard implemented, and will not be elaborated on here.
[0072] S230: If the response frame indicates that the wireless access point has confirmed the TWT parameters, a data packet is sent to the wireless access point within the TWT SP.
[0073] As previously mentioned, if the response frame indicates that the wireless access point has confirmed the TWT parameters carried by the wireless device in the request frame, it means that the wireless access point has confirmed that the wireless device will be prioritized within the TWT SP. Therefore, when the TWT SP arrives, the wireless device sends its own cached data packet to the wireless access point. Because the wireless access point prioritizes scheduling within the TWT SP according to the wireless device's instructions, the wireless device can avoid timeouts when sending data packets within the TWT SP, thereby preventing the problem of service quality degradation caused by timeout and packet loss.
[0074] It can be seen from the above that in the technical solution provided in this embodiment, the wireless device instructs the wireless access point through signaling to prioritize scheduling its uplink data. That is, when the response frame received by the wireless device indicates that the wireless access point has confirmed the TWT parameters carried in the request frame sent by the wireless device, it means that the wireless access point has not only obtained and confirmed the TWT SP expected by the wireless device, but also obtained and confirmed the expectation of prioritizing scheduling of the wireless device within the TWT SP. Therefore, the wireless device can send data packets in time within the TWT SP, thereby avoiding the problem of data packet loss due to timeout, thereby improving the service quality of low-latency services.
[0075] FIG3 is a flow chart of a data transmission control method shown in another exemplary embodiment of the present application, which illustrates that S210 in the embodiment shown in FIG2 further includes the following steps:
[0076] S211, carry indication parameters in TWT Element;
[0077] S212: Generate a request frame based on the TWT Element and send the request frame to the wireless access point.
[0078] As mentioned above, in the B-TWT mode, the requesting end and the responding end respectively put the TWT parameters into the TWT process frame through the TWT Element, and complete the negotiation based on the changes in the TWT parameters. Therefore, the indication parameters involved in this embodiment are also carried in the TWT Element. The request frame generated by this embodiment based on the TWT Element is also a TWT process frame.
[0079] Figure 4 is a format diagram of TWT Element. As shown in Figure 4, TWT Element is defined as a general format consisting of an Element ID field of 1 Octet (representing an octet used in Internet standards), an Octet Length field, an Octet Control field, and a variable-length TWT Parameter Information field.
[0080] Still referring to Figure 4, the Control field consists of a 1-bit (bit is a bit in a binary number) NDP Paging Indicator subfield, a 1-bit Responder PM Mode subfield, a 2-bit Negotiation Type subfield, a 1-bit TWT Information Frame Disabled subfield, a 1-bit Wake Duration Unit subfield, and a 2-bit Reserved subfield. The Negotiation Type subfield indicates which working mode the information in the TWT Elements corresponds to. If the Broadcast Field of the Negotiation Type subfield is set to 1, it indicates the B-TWT working mode, and the TWT Parameter Information field of the TWT Element contains the broadcast TWT parameter set. The TWT Information Frame Disabled subfield indicates whether the wireless device has disabled the reception of TWT information frames. The Wake Duration Unit subfield indicates the unit of the Nominal Minimum TWT Wake Duration subfield in the TWT Parameter Information field.
[0081] The format of the TWT Parameter Information field is still as shown in Figure 4, consisting of a Request Type subfield of 2 Octets, a Target Wake Time subfield of 2 Octets, a Nominal Minimum TWT Wake Duration subfield of 1 Octet, a TWT Wake Interval Mantissa subfield of 2 Octets, and a Broadcast TWT Info subfield of 2 Octets. The format of the Broadcast TWT Info subfield is still as shown in Figure 4, consisting of a Reserved field of 3 bits, a Broadcast TWT ID field of 5 bits, and a Broadcast TWT Persistance field of 8 bits. It should be understood that the format of the TWT Element shown above is specified by the Wi-Fi 6 (sixth-generation Wi-Fi wireless network) standard, and the detailed functions and usage of each field will not be described in detail here.
[0082] In an embodiment of the present application, the TWT Parameter Information field is referred to as the parameter information field, and the Broadcast TWT Info subfield is referred to as the broadcast information subfield. These fields are important fields for carrying TWT parameters.
[0083] In an exemplary embodiment, S211 specifically includes S2111-S2112:
[0084] S2111, searching the broadcast information subfield in the parameter information field contained in the TWT Element, and including the first indication field in the broadcast information subfield;
[0085] S2112: Configure the value of the first indication field according to the service data characteristics of the wireless device, so as to use the value of the first indication field as an indication parameter.
[0086] This embodiment carries the indication parameter in the request frame by including the first indication field in the broadcast information subfield and setting the value of the first indication field to carry the indication parameter in the TWT Element. However, it should be noted that since there are only 3 bits of space left in the Broadcast TWT Info subfield specified by the Wi-Fi 6 standard, the length of the first indication field can be set to 1 bit or more than 1 bit, but cannot be set to more than 3 bits.
[0087] As an exemplary implementation, as shown in FIG5 , S2112 is specifically implemented through S310 to S330:
[0088] S310, determining, based on the service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP;
[0089] S320, calculating the ratio between the number of active packet losses and a preset number;
[0090] S330, if the ratio is greater than the preset maximum packet loss rate, configure the value of the first indication field to the first value; if the ratio is less than or equal to the maximum packet loss rate, configure the value of the first indication field to the second value.
[0091] First, it should be noted that the preset number mentioned in this exemplary embodiment represents the total number of data packets generated by the low-latency service in one cycle, and the preset maximum packet loss rate represents the maximum packet loss rate required by the low-latency service.
[0092] Since the data of low-latency services is periodic, that is, the total amount of upper-layer data packets arriving within a period is stable, but the arrival time of the data packets is random within the period, the total number of data packets generated by low-latency services within a period can be known.
[0093] The inability of a wireless device to be scheduled by the access point within the TWT SP simulates the inability of data packets from the wireless device to exchange data with the access point using the standard TWT mechanism. This is called the number of active packet losses. Under these conditions, the wireless device can use the number of active packet losses to determine whether the access point should prioritize its data transmission.
[0094] Specifically, the ratio between the number of active packet losses of the wireless device and the preset number represents the packet loss rate. If the ratio of the number of active packet losses when the wireless device cannot be scheduled by the wireless access point to the total number of data packets generated by the low-latency service within one cycle is greater than the maximum packet loss rate required by the low-latency service, it means that the packet loss rate of the uplink data of the wireless device cannot meet the requirements of the low-latency service, and it is necessary to instruct the wireless access point to give priority to it. Therefore, the first indication field is included in the Broadcast TWT Info subfield, and the value of the first indication field is set to the first value, for example, the value 1.
[0095] If the ratio of the number of active packet losses when the wireless device cannot be scheduled by the wireless access point to the total number of data packets generated by the low-latency service within one period is less than or equal to the maximum packet loss rate required by the low-latency service, it means that the packet loss rate of the uplink data of the wireless device can meet the requirements of the low-latency service. At this time, the first indication field may not be added to the Broadcast TWT Info subfield, or the value of the first indication field may be set to a second value, such as a value of 0.
[0096] That is, this embodiment instructs the wireless access point to prioritize scheduling its uplink data within the TWT SP by including a first indication field with a field value of 1 in the Broadcast TWT Info subfield, thereby avoiding the problem of data packets cached in the wireless device being lost due to timeout, thereby enabling the wireless device to meet the requirements of low-latency services.
[0097] It is also understandable that, taking the first value representing the value 1 as an example, since the maximum length of the first indicator field does not exceed 3 bits, when the length of the first indicator field is set to 1 bit, the value of the first indicator field is specifically set to "1", when the length of the first indicator field is set to 2 bits, the value of the first indicator field is specifically set to "01", and when the length of the first indicator field is set to 3 bits, the value of the first indicator field is specifically set to "001". The method for setting the value of the first indicator field to the value 0 is similar and is not further described here.
[0098] In addition, when the length of the first indication field is set to 2 bits or 3 bits, the first value can also be set to a value other than 1, for example, 2, in which case the value of the first indication field is specifically set to "10", or 7, in which case the value of the first indication field is specifically set to "111". This embodiment does not limit the specific value represented by the first value, but requires that the first value be distinguished from the second value.
[0099] As shown in Figure 6, the format of the Broadcast TWT Info subfield specified by the Wi-Fi 6 standard is the first format shown in Figure 6. According to this embodiment, the format of the Broadcast TWT Info subfield after including the first indication field is the second format shown in Figure 6. Comparing the two formats, it can be seen that this exemplary embodiment is to include the first indication field Priority in the Broadcast TWT Info subfield to realize the carrying of indication information for instructing the wireless access point to prioritize scheduling wireless devices within the TWT SP in the Broadcast TWT Info subfield.
[0100] FIG7 shows a process of determining the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP according to the service data characteristics of the wireless device in S310, including S311-S313 as shown below:
[0101] S311, calculating the expected packet loss time of each data packet based on the arrival time and life cycle of the data packet in the wireless device;
[0102] S312, calculating the end time of TWT SP;
[0103] S313: Count the total number of data packets whose expected packet loss time is less than the end time, and use the total number of data packets as the number of active packet losses.
[0104] In another exemplary embodiment, the process of calculating the expected packet loss time of each data packet based on the arrival time and life cycle of the data packet in the wireless device in S311 includes: obtaining the expected packet loss time of each data packet by calculating the sum of the arrival time of each data packet in the wireless device and the life cycle of each data packet.
[0105] It should be noted that the arrival time of a data packet in a wireless device refers to the time it takes for the data packet to be transmitted from the application layer to the MAC (Media Access Control) layer. The lifecycle of a data packet can be understood as the duration of the data packet. In this embodiment, the expected packet loss time of each data packet is obtained by calculating the sum of the arrival time of each data packet cached in the wireless device and the lifecycle of each data packet.
[0106] For ease of understanding, after a data packet is generated at the application layer and reaches the MAC layer, if it stays in the wireless device for longer than its lifecycle, the data packet will be deleted and lost. Therefore, the sum of the data packet's arrival time and its lifecycle can be expressed as the expected packet loss time.
[0107] For the i-th data packet buffered in the wireless device, if its arrival time is expressed as Its life cycle is represented by T i , and its expected packet loss time is expressed as The expected packet loss time of the data packet can be calculated by the following formula:
[0108] As mentioned above, in the B-TWT mode, the TWP SP is obtained through negotiation between the wireless device and the wireless access point. The wireless device sends the expected TWT parameters to the wireless access point through the TWT process frame. These expected TWT parameters contain TWP SP information, so the wireless device can calculate the end time of the TWT SP based on this information.
[0109] For example, the end time t of TWT SP can be calculated by the following formula: end : t end =[targetwaketime]+[intervalMantissa]×2[intervalexponent]
[0110] Among them, targetwaketime is the value of the Target Wake Time subfield shown in Figure 4, which indicates the target wake-up time, intervalMantissa is the value of the TWT Wake Interval Mantissa subfield shown in Figure 4, which indicates the last digit of the TWT wake-up interval, and intervalexponent is the parameter contained in the Request Type subfield shown in 4, which indicates the TWT wake-up interval index.
[0111] If the expected packet loss time of the data packet is less than the end time of the TWT SP, it means that the expected packet loss time will arrive before the end time of the TWT SP, which may cause the data packet to be lost due to timeout. Therefore, by counting the total number of data packets whose expected packet loss time is less than the end time, the number of active packet losses of the wireless device can be obtained, and then the value of the first indication field can be configured according to the number of active packet losses to carry the indication information in the TWT Element. For the process of configuring the value of the first indication field, please refer to the records in the aforementioned embodiment and will not be repeated here.
[0112] As another exemplary implementation, as shown in FIG8 , S2112 is implemented through S340 to S360 :
[0113] S340, determining, based on the service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP;
[0114] S350, calculating the ratio between the number of active packet losses and a preset number;
[0115] S360: Configure a value of the first indication field according to the ratio, where different values of the first indication field represent different priority scheduling levels.
[0116] In this exemplary embodiment, the calculation process involved in S340-S350 is the same as that in S310-S320 and will not be repeated here. In S360, a first indication field is configured in the Broadcast TWT Info subfield based on the ratio obtained in S350, and different values of the first indication field indicate different priority scheduling levels, thereby providing the wireless access point with more possibilities for priority scheduling methods.
[0117] In large-scale connection scenarios, the number of wireless devices connected to the wireless access point is often large. These wireless devices can compete for priority scheduling opportunities with the wireless access point by using the value of the first indication field carried in the request frame. The higher the priority scheduling level, the more priority the wireless access point will give to data transmission within the TWT SP. If the priority scheduling levels are the same, the wireless access point can schedule different wireless devices within the TWT SP on a first-come, first-served basis.
[0118] For example, the value of the first indication field can be one of the first priority scheduling level, the second priority scheduling level, the third priority scheduling level and the fourth priority scheduling level. The first wireless device, the second wireless device, the third wireless device and the fourth wireless device all access the wireless access point. If the value of the first indication field in the request frame sent by the first wireless device to the wireless access point represents the first priority scheduling level, the value of the first indication field in the request frame sent by the second wireless device and the third wireless device represents the second priority scheduling level, and the value of the first indication field in the request frame sent by the fourth wireless device represents the fourth priority scheduling level, the wireless access point prioritizes scheduling the TWT SP for the fourth wireless device, and then schedules the TWT SP for the second wireless device and the third wireless device in the order of receiving the request frames, and finally schedules the TWT SP for the first wireless device.
[0119] In an exemplary embodiment, S360 includes the following process:
[0120] If the ratio is less than the preset first packet loss rate, configuring the value of the first indication field to be a third value;
[0121] If the ratio is greater than the first packet loss rate and less than the preset second packet loss rate, configuring the value of the first indication field to be a fourth value;
[0122] If the ratio is greater than the second packet loss rate and less than the preset third packet loss rate, configuring the value of the first indication field to be a fifth value;
[0123] If the ratio is greater than the third packet loss rate, the value of the first indication field is configured to be the sixth value.
[0124] The above-mentioned third value, fourth value, fifth value and sixth value represent different priority scheduling levels. In an exemplary embodiment, the smaller the value of the first indication field, the higher the priority scheduling level represented. For example, the first value can be set to 0, the second value can be set to 1, the third value can be set to 2, and the fourth value can be set to 3. In other exemplary embodiments, the larger the value of the first indication field, the higher the priority scheduling level represented. For example, the first value can be set to 3, the second value can be set to 2, the third value can be set to 1, and the fourth value can be set to 0. It should be noted that in actual application scenarios, different values of the first indication field can be set according to actual needs to represent different priority scheduling levels, and this is not limited here.
[0125] In the above process, the value of the first indicator field is configured based on the comparison result between the ratio obtained in S350 and different preset packet loss rates, so that the packet loss situation of the wireless device can be mapped based on the different values of the first indicator field, and different priority scheduling levels can be determined. For example, the preset first packet loss rate, second packet loss rate, and third packet loss rate are 1 / 10000, 1 / 1000, and 1 / 100, respectively. When the ratio obtained in S350 is less than 1 / 10000, it indicates that the packet loss rate of the data in the wireless device is very low. Similarly, when the ratio obtained in S350 is greater than 1 / 100, it indicates that the packet loss rate of the data in the wireless device is very high. Therefore, the priority scheduling levels corresponding to the third to sixth values of the first indicator field increase in sequence.
[0126] In other exemplary embodiments, S360 may further perform a calculation on the ratio obtained in S350 and configure the value of the first indication field according to the calculation result. For example, a logarithmic calculation or other calculation methods may be performed on the ratio.
[0127] For example, if a logarithmic operation is performed on the ratio obtained in S350, S360 includes the following process:
[0128] If the obtained operation result is less than -3, the value of the second indication field is set to the third value;
[0129] If the obtained operation result is greater than -3 and less than -2, the value of the second indication field is set to the fourth value;
[0130] If the obtained operation result is greater than -2 and less than -1, the value of the second indication field is set to the fifth value;
[0131] If the obtained operation result is greater than -1, the value of the second indication field is set to the sixth value.
[0132] Similarly, in some exemplary embodiments, the smaller the value of the first indication field, the higher the priority scheduling level represented. For example, the first value can be set to 0, the second value can be set to 1, the third value can be set to 2, and the fourth value can be set to 3. In other exemplary embodiments, the larger the value of the first indication field, the higher the priority scheduling level represented. For example, the first value can be set to 3, the second value can be set to 2, the third value can be set to 1, and the fourth value can be set to 0. It should be noted that in actual application scenarios, different values of the first indication field can be set according to actual needs to represent different priority scheduling levels, and this is not limited here.
[0133] The wireless access point can determine the priority scheduling level of the wireless device based on the expected packet loss rate of the wireless device. For ease of understanding, for example, if a method is selected in which a smaller value of the first indicator field represents a higher priority scheduling level, and the first value is set to 0, the second value is set to 1, the third value is set to 2, and the fourth value is set to 3, then it can be preset that when the first indicator field is 3, the expected packet loss rate of the wireless device is 1 / 10, when the first indicator field is 2, the expected packet loss rate of the wireless device is 1 / 100, when the first indicator field is 1, the expected packet loss rate of the wireless device is 1 / 1000, and when the first indicator field is 0, the expected packet loss rate of the wireless device is 1 / 10000. It can be seen that the smaller the value of the first indicator field, the greater the expected packet loss rate of the corresponding wireless device, and the higher the priority scheduling level represented.
[0134] As can be seen from the above, this embodiment further enables the wireless access point to accurately schedule the TWT SP of the wireless device based on the priority scheduling level by setting the first indication field that can indicate different priority scheduling levels in the Broadcast TWT Info subfield. For example, in an application scenario where multiple wireless devices join the same TWT group, the wireless access point may receive request frames carrying the first indication field sent by multiple wireless devices. At this time, the wireless access point can allocate TWT SP to the multiple wireless devices according to the priority scheduling level indicated by the first indication field corresponding to each wireless device. This can maximize the stability of low-latency services in multi-wireless device connection scenarios.
[0135] In addition, as shown in Figure 9, the format of the Broadcast TWT Info subfield specified by the Wi-Fi 6 standard is the first format shown in Figure 9, and the format of the Broadcast TWT Info subfield after the first indication field is added according to this embodiment is the second format shown in Figure 9. Comparing the two formats, it can be seen that this exemplary embodiment is to add the first indication field Drop Rate to carry indication information for instructing the wireless access point to prioritize scheduling wireless devices within the TWT SP in the Broadcast TWT Info subfield.
[0136] It should also be noted that because there are only 3 bits of space left in the Broadcast TWT Info subfield specified by the Wi-Fi 6 standard, the length of the first indication field in this embodiment can be set to at least 2 bits, but cannot be set to more than 3 bits.
[0137] As another exemplary embodiment, as shown in FIG10 , S211 specifically includes S2113 to S2115:
[0138] S2113, searching the broadcast information subfield in the parameter information field contained in the TWT Element, and including a second indication field in the broadcast information subfield for indicating that delay information is included;
[0139] S2114, configure the value of the second indication field to be 1, and include the delay information subfield in the parameter information field;
[0140] S2115: Configure the delay information subfield to carry an indication parameter.
[0141] This embodiment includes a second indication field in the Broadcast TWT Info subfield. When the value of the second indication field is configured to be 1, the second indication field is used to indicate the existence of delay information, so that the wireless access point can notice the existence of delay information when processing the request frame and perform corresponding processing on this delay information.
[0142] In another exemplary embodiment, the delay information subfield carries a delay processing parameter to send reference information for determining whether to prioritize scheduling the wireless device within the TWT SP to the wireless access point through the delay processing parameter, so that whether to prioritize scheduling the wireless device is determined by the wireless access point based on the reference information carried by the request frame.
[0143] Specifically, since the delay information subfield is also included at the end of the TWT Parameter Information field, the delay information subfield is used to carry delay processing parameters. When the wireless access point processes the request frame, it obtains the delay information by parsing the Broadcast TWT Info subfield, and further parses the delay information subfield at the end of the TWT Parameter Information field to obtain the specific delay processing parameters.
[0144] For wireless devices, on the one hand, a second indication field is added to the Broadcast TWT Info subfield to indicate that the wireless access point needs to further parse the request frame. On the other hand, the delay information subfield at the end of the TWT Parameter Information field carries specific delay processing parameters to send reference information for determining whether to prioritize scheduling wireless devices within the TWT SP. In this way, whether to prioritize scheduling wireless devices is determined by the wireless access point based on the information carried in the request frame.
[0145] As shown in Figure 11, exemplarily, this embodiment adds a second indication field Delay Info Present in the Broadcast TWT Info subfield, and adds a delay information subfield Delay Info Subfield at the end of the TWT Parameter Information field, and configures the delay information subfield Delay Info Subfield to carry indication information.
[0146] Illustratively, the aforementioned delay processing parameter includes the accumulated delay in a designated queue used for data buffering in the wireless device. The designated queue can be understood as at least one queue in the wireless device, for example, including the two queues with the highest priority. It is understood that uplink data of the wireless device is buffered in the queue used for data buffering before being transmitted, and the wireless device typically has multiple queues, each of which often has different priorities.
[0147] As shown in FIG11 , the delay information subfield consists of a Delay Info Control field of 1 Octet, an AC_VO Delay field of 3 Octets, an AC_VI Delay field of 3 Octets, and a Delay Bound field of 3 Octets, where AC_VO and AC_VI represent the two highest priority queues in the wireless device.
[0148] In this embodiment, the Delay Info Control field is referred to as a delay information control field, which is used to define a delay information subfield, and the AC_VO Delay field and the AC_VI Delay field are referred to as queue delay fields corresponding to queue AC_VO and queue AC_VI, respectively.
[0149] Figure 12 shows the format of the Delay Info Control field. It can be seen that the Delay Info Control field includes a 6-bit Reserved subfield, a 1-bit AC_VO Delay Valid subfield, and a 1-bit AC_VI Delay Valid subfield. The AC_VO Delay Valid subfield and the AC_VI Delay Valid subfield are called delay validity subfields and are used to define the validity of the AC_VI Delay field and the AC_VI Delay field.
[0150] It should be noted that FIG12 shows that the AC_VO Delay Valid subfield and the AC_VI Delay Valid subfield are set in the high order of the Delay Info Control field. Of course, as another exemplary embodiment, as shown in FIG13 , the AC_VO Delay Valid subfield and the AC_VI Delay Valid subfield may also be set in the low order of the Delay Info Control field, which is not limited here.
[0151] In an exemplary embodiment, based on the format of the delay information subfield as exemplified above, the process of configuring the delay information subfield to carry the indication parameter in S2115 includes the following steps S410-S420:
[0152] S410, determining the accumulated delay in a designated queue in the wireless device;
[0153] S420: Configure the value of the delay validity subfield corresponding to the specified queue to 1, and configure the value of the queue delay field corresponding to the specified queue to the accumulated delay.
[0154] The cumulative delay in a given queue in a wireless device may be determined according to the following process:
[0155] Calculate the queueing time of each data packet in the specified queue based on the arrival time of each data packet cached in the specified queue and the current system time;
[0156] The queueing time of the data packets in the specified queue is summed to obtain the cumulative delay.
[0157] In another exemplary embodiment, the queuing time of each data packet in the designated queue is calculated based on the arrival time of each data packet cached in the designated queue and the current system time, including: obtaining the queuing time of each data packet in the designated queue based on the difference between the current system time and the arrival time of each data packet cached in the designated queue.
[0158] If the arrival time of the i-th data packet cached in the specified queue is expressed as Denote the current system time as t now In this embodiment, the queuing time of the i-th data packet in the specified queue can be calculated according to the following formula:
[0159] The cumulative delay in a designated queue in the wireless device is calculated by summing the queuing time of packets in the designated queue. In a wireless device, the highest-priority queue typically buffers the largest number of packets. Therefore, this embodiment does not require calculating the cumulative delay for all queues. Instead, it only calculates the cumulative delay for multiple designated queues with the highest priority. For example, the two highest-priority queues can be designated as the designated queues. There is no limit on the number of designated queues.
[0160] Still referring to Figures 11 and 12, if the designated queue includes AC_VO, the AC_VO Delay field is valid and the value of the AC_VO Delay field can be set to the accumulated delay of the AC_VO queue only when the value of the AC_VO Delay Valid subfield is 1. Similarly, if the designated queue includes AC_VI, the AC_VI Delay field is valid and the value of the AC_VI Delay field can be set to the accumulated delay of the AC_VI queue only when the value of the AC_VI Delay Valid subfield is 1.
[0161] If the service data characteristics of the wireless device are not related to the specified queue, for example, there is no service data cached in the specified queue in the wireless device, for example, the queue AC_VO or queue AC_VI in the aforementioned example does not exist in the wireless device, then the value of the AC_VO Delay Valid subfield or the AC_VI Delay Valid subfield is configured to 0, and the AC_VO Delay field or the AC_VI Delay field is configured to be an empty field.
[0162] In addition, referring to Figure 11, in another exemplary embodiment, the indication parameter also includes the minimum lifetime of the data packet cached by the wireless device or the maximum queuing time of the queue, and the Delay Info Subfield also includes a Delay Bound field. The Delay Bound field can be called a delay constraint field. The indication parameter can be carried in the Delay Bound field, that is, the minimum lifetime or the maximum queuing time of the queue is set to the value of the Delay Bound field.
[0163] As can be seen from the above, this embodiment includes a second indication field in the Broadcast TWT Info subfield and configures the value of the second indication field to be 1. At the same time, it also includes a Delay Info Subfield subfield at the end of the TWT Parameter Information field. By configuring the Delay Info Subfield subfield, the indication parameters used to indicate priority scheduling within the TWT SP can be carried, so that the wireless access point can prioritize scheduling the current wireless device based on these indication parameters.
[0164] FIG14 is a block diagram of a data transmission control apparatus according to an exemplary embodiment of the present application. The data transmission control apparatus is configured on a wireless device for accessing a wireless access point, for example, the wireless device 10 in the implementation environment shown in FIG1 .
[0165] As shown in FIG14 , the data transmission control device includes a sending module 1410 and a receiving module 1420. The sending module 1410 is configured to send a request frame carrying TWT parameters to a wireless access point, wherein the TWT parameters include an indication parameter for instructing the wireless access point to prioritize scheduling wireless devices for data transmission within a TWT SP. The receiving module 1420 is configured to receive a response frame returned by the wireless access point. The sending module 1410 is further configured to send a data packet to the wireless access point within the TWT SP if the response frame indicates that the wireless access point has confirmed the TWT parameters.
[0166] In another exemplary embodiment, the sending module 1410 includes a carrying unit and a generating unit. The carrying unit is configured to carry the indication parameter in a target wake-up time information element (TWT Element). The generating unit is configured to generate a request frame based on the TWT Element and send the request frame to the wireless access point.
[0167] In another exemplary embodiment, the carrying unit includes a first search subunit and a first setting subunit. The first search subunit is configured to search for a broadcast information subfield in a parameter information field contained in a TWT Element and include a first indication field in the broadcast information subfield. The first setting subunit is configured to configure a value of the first indication field according to a service data feature of the wireless device so as to use the value of the first indication field as an indication parameter.
[0168] In another exemplary embodiment, the first setting subunit includes a determination subunit, a first calculation subunit, and a first configuration subunit. The determination subunit is configured to determine, based on service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP. The first calculation subunit is configured to calculate a ratio between the number of active packet losses and a preset number. The first configuration subunit is configured to configure the value of the first indication field to a first value if the ratio is greater than a preset maximum packet loss rate; and to configure the value of the first indication field to a second value if the ratio is less than or equal to the maximum packet loss rate.
[0169] In another exemplary embodiment, the determination subunit includes a second calculation subunit, a third calculation subunit, and a statistics subunit. The second calculation subunit is configured to calculate the expected packet loss time of each data packet based on the arrival time and life cycle of each data packet cached by the wireless device. The third calculation subunit is configured to calculate the end time of the TWT SP. The statistics subunit is configured to count the total number of data packets whose expected packet loss time is less than the end time, and use the total number of data packets as the number of active packet losses.
[0170] In another exemplary embodiment, the second calculation subunit is configured to obtain the expected packet loss time of each data packet by calculating the sum of the arrival time of each data packet and the life cycle of each data packet in the wireless device.
[0171] In another exemplary embodiment, the first setting subunit includes a determining subunit, a first calculating subunit, and a second configuring subunit. The determining subunit is configured to determine, based on service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP. The first calculating subunit is configured to calculate a ratio between the number of active packet losses and a preset number. The second configuring subunit is configured to configure a value of a first indication field based on the ratio, where different values of the first indication field represent different priority scheduling levels.
[0172] In another exemplary embodiment, the second configuration subunit is specifically configured to implement the following process: if the ratio is less than a preset first packet loss rate, the value of the first indication field is configured to be a third value; if the ratio is greater than the first packet loss rate and less than a preset second packet loss rate, the value of the first indication field is configured to be a fourth value; if the ratio is greater than the second packet loss rate and less than a preset third packet loss rate, the value of the first indication field is configured to be a fifth value; if the ratio is greater than the third packet loss rate, the value of the first indication field is configured to be a sixth value.
[0173] In another exemplary embodiment, the carrying unit includes a second search subunit, a second setting subunit, and a third configuration subunit. The second search subunit is configured to search for the broadcast information subfield in the parameter information field contained in the TWT Element, and include a second indication field for indicating that delay information is included in the broadcast information subfield. The second setting subunit is configured to configure the value of the second indication field to be 1, and include a delay information subfield in the parameter information field. The third configuration subunit is configured to configure the delay information subfield to carry the indication parameter.
[0174] In another exemplary embodiment, the delay information subfield includes a delay information control field and a queue delay field, and the delay information control field includes a delay validity subfield for defining the validity of the queue delay field; the third configuration subunit is configured to determine the cumulative delay in a specified queue in the wireless device, configure the value of the delay validity subfield corresponding to the specified queue to 1, and configure the value of the queue delay field corresponding to the specified queue to the cumulative delay.
[0175] In another exemplary embodiment, the third configuration subunit is further configured to configure the value of the delay validity subfield corresponding to the specified queue to 0 and the queue delay field corresponding to the specified queue to an empty field if the service data characteristics of the wireless device are not related to the specified queue.
[0176] In another exemplary embodiment, the third configuration subunit is configured to calculate the queuing time of each data packet in the specified queue based on the arrival time of each data packet cached in the specified queue and the current system time, and sum the queuing time of the data packets in the specified queue to obtain the cumulative delay.
[0177] In another exemplary embodiment, the third configuration subunit is configured to obtain the queuing time of each data packet in the designated queue according to the difference between the current system time and the arrival time of each data packet buffered in the designated queue.
[0178] In another exemplary embodiment, the delay information subfield includes a delay constraint field; the carrying unit also includes a constraint subunit, which is configured to determine the minimum lifetime of the data packet cached by the wireless device or the maximum queuing time of the queue, and configure the minimum lifetime or the maximum queuing time of the queue as the value of the delay constraint field.
[0179] In another exemplary embodiment, the delay information subfield carries a delay processing parameter to send reference information for determining whether to prioritize scheduling the wireless device within the TWT SP to the wireless access point through the delay processing parameter, so that whether to prioritize scheduling the wireless device is determined by the wireless access point based on the reference information carried by the request frame.
[0180] In another exemplary embodiment, the sending module 1410 further includes a determination unit and a sending unit. The determination unit is configured to determine whether a data packet will be lost due to a timeout based on the service data characteristics of the wireless device itself. The service data characteristics are information used to describe the characteristics of service-related data in the wireless device. The sending unit is configured to send a request frame carrying a TWT parameter to the wireless access point if the determination result indicates that the data packet will be lost due to a timeout.
[0181] In another exemplary embodiment, the carrying unit is further configured to determine the level of priority scheduling required according to service data characteristics, and carry the priority scheduling level into the request frame as an indication parameter for instructing the wireless access point to prioritize scheduling of the wireless device.
[0182] It should be noted that the data transmission control device provided in the above embodiment and the data transmission control method provided in the above embodiment are based on the same concept. The specific manner in which the various modules and units perform their operations has been described in detail in the method embodiments and will not be repeated here. In actual applications, the data transmission control device provided in the above embodiment can, as needed, allocate the above functions to different functional modules, i.e., divide the internal structure of the device into different functional modules to complete all or part of the functions described above. This is not a limitation herein.
[0183] By setting up the data transmission control device provided in the embodiment of the present application, the wireless device can instruct the wireless access point through signaling to give priority to scheduling its uplink data. That is, when the response frame received by the wireless device indicates that the wireless access point has confirmed the TWT parameters carried by the request frame sent by the wireless device, it means that the wireless access point has confirmed the priority scheduling of the wireless device within the TWT SP expected by the wireless device. Therefore, the wireless device can send data packets in time within the TWT SP, thereby avoiding the problem of data packet loss due to timeout, thereby improving the service quality of low-latency services.
[0184] An embodiment of the present application also provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the data transmission control method provided in the above-mentioned embodiments.
[0185] Figure 15 shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application. It should be noted that the computer system 1500 of the electronic device shown in Figure 15 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present application.
[0186] As shown in Figure 15, computer system 1500 includes a central processing unit (CPU) 1501, which can perform various appropriate actions and processes according to programs stored in read-only memory (ROM) 1502 or programs loaded from storage unit 1508 into random access memory (RAM) 1503, such as executing the methods described in the above embodiments. Various programs and data required for system operation are also stored in RAM 1503. CPU 1501, ROM 1502, and RAM 1503 are connected to each other via bus 1504. Input / output (I / O) interface 1505 is also connected to bus 1504.
[0187] The following components are connected to the I / O interface 1505: an input section 1506 including a keyboard, a mouse, and the like; an output section 1507 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 1508 including a hard disk; and a communication section 1509 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 1509 performs communication processing via a network such as the Internet. A drive 1510 is also connected to the I / O interface 1505 as needed. Removable media 1511, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 1510 as needed, so that computer programs read from the removable media can be installed in the storage section 1508 as needed.
[0188] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 1509, and / or installed from a removable medium 1511. When the computer program is executed by the central processing unit (CPU) 1501, the various functions defined in the system of the present application are executed.
[0189] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0190] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, program segment, or part of the code, and the above-mentioned module, program segment, or part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0191] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. In some cases, the names of these units do not constitute limitations on the units themselves.
[0192] Another aspect of the present application provides a computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program implements the aforementioned data transmission control method. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently and not be incorporated into the electronic device.
[0193] Another aspect of the present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the data transmission control method provided in each of the above embodiments.
[0194] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. Ordinary technicians in this field can easily make corresponding changes or modifications based on the main concept of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
[0195] It should also be noted that in the specific implementation of this application, data related to data packets, request frames, response frames, indication parameters, etc., when the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
Claims
1. A data transmission control method, characterized in that: A wireless device applied to access a wireless access point, the method comprising: Sending a request frame carrying a target wake-up time TWT parameter to the wireless access point, wherein the TWT parameter includes an indication parameter for instructing the wireless access point to preferentially schedule the wireless device for data transmission within a target wake-up time service period TWT SP; receiving a response frame returned by the wireless access point; If the response frame indicates that the wireless access point has confirmed the TWT parameters, a data packet is sent to the wireless access point within the TWT SP.
2. The method according to claim 1, characterized in that The sending a request frame carrying a target wake-up time TWT parameter to the wireless access point includes: Carrying the indication parameter in the target wake-up time information element TWT Element; The request frame is generated based on the TWT Element, and the request frame is sent to the wireless access point.
3. The method according to claim 2, characterized in that The indication parameter is carried in the target wake-up time information element TWT Element, including: Searching for a broadcast information subfield in the parameter information field contained in the TWT Element, and including a first indication field in the broadcast information subfield; The value of the first indication field is configured according to the service data characteristics of the wireless device, so as to use the value of the first indication field as the indication parameter.
4. The method according to claim 3, characterized in that The configuring the value of the first indication field according to the service data characteristics of the wireless device includes: Determine, according to the service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP; Calculating the ratio between the number of active packet losses and a preset number; If the ratio is greater than a preset maximum packet loss rate, configuring the value of the first indication field to be a first value; If the ratio is less than or equal to the maximum packet loss rate, the value of the first indication field is configured as a second value.
5. The method according to claim 4, characterized in that The determining, according to the service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP includes: Calculating the expected packet loss time of each data packet according to the arrival time and life cycle of the data packet in the wireless device; Calculating the end time of the TWT SP; The total amount of data packets whose expected packet loss time is less than the end time is counted, and the total amount of data packets is used as the active packet loss number.
6. The method according to claim 5, characterized in that The calculating the expected packet loss time of each data packet according to the arrival time and the life cycle of the data packet in the wireless device includes: The expected packet loss time of each data packet is obtained by calculating the sum of the arrival time of each data packet in the wireless device and the life cycle of each data packet.
7. The method according to claim 3, characterized in that The configuring the value of the first indication field according to the service data characteristics of the wireless device includes: Determine, according to the service data characteristics of the wireless device, the number of active packet losses when the wireless device cannot be scheduled by the wireless access point within the TWT SP; Calculating the ratio between the number of active packet losses and a preset number; The value of the first indication field is configured according to the ratio, and different values of the first indication field represent different priority scheduling levels.
8. The method according to claim 7, characterized in that The configuring the value of the first indication field according to the ratio includes: If the ratio is less than a preset first packet loss rate, configuring the value of the first indication field to be a third value; If the ratio is greater than the first packet loss rate and less than a preset second packet loss rate, configuring the value of the first indication field to be a fourth value; If the ratio is greater than the second packet loss rate and less than a preset third packet loss rate, configuring the value of the first indication field to be a fifth value; If the ratio is greater than the third packet loss rate, the value of the first indication field is configured to be a sixth value.
9. The method according to claim 2, characterized in that: The indication parameter is carried in the target wake-up time information element TWT Element, including: Searching for a broadcast information subfield in the parameter information field contained in the TWT Element, and including a second indication field in the broadcast information subfield for indicating that delay information is included; Configure the value of the second indication field to be 1, and include a delay information subfield in the parameter information field; The delay information subfield is configured to carry the indication parameter.
10. The method according to claim 9, characterized in that The delay information subfield includes a delay information control field and a queue delay field, and the delay information control field includes a delay validity subfield for defining the validity of the queue delay field; The configuring the delay information subfield to carry the indication parameter includes: determining a cumulative delay in a specified queue in the wireless device; The value of the delay validity subfield corresponding to the designated queue is configured as 1, and the value of the queue delay field corresponding to the designated queue is configured as the accumulated delay.
11. The method according to claim 10, characterized in that The method further comprises: If the service data characteristics of the wireless device are not related to the designated queue, the value of the delay validity subfield corresponding to the designated queue is configured to 0, and the queue delay field corresponding to the designated queue is configured to an empty field.
12. The method according to claim 10, characterized in that The determining of the accumulated delay in the specified queue in the wireless device includes: Calculate the queuing time of each data packet in the designated queue according to the arrival time of each data packet cached in the designated queue and the current system time; The queuing time of the data packets in the designated queue is summed to obtain the cumulative delay.
13. The method according to claim 12, characterized in that The step of calculating the queuing time of each data packet in the designated queue according to the arrival time of each data packet cached in the designated queue and the current system time includes: The queuing time of each data packet in the designated queue is obtained according to the difference between the current system time and the arrival time of each data packet cached in the designated queue.
14. The method according to claim 9, characterized in that The delay information subfield includes a delay constraint field; and the method further includes: Determine a minimum life cycle of a data packet cached by the wireless device or a maximum queue time of a queue; The minimum lifetime or the maximum queuing time of the queue is configured as the value of the delay constraint field.
15. The method according to claim 9, characterized in that The delay information subfield carries a delay processing parameter, so as to send reference information for determining whether to prioritize scheduling the wireless device within the TWT SP to the wireless access point through the delay processing parameter, so that whether to prioritize scheduling the wireless device is determined by the wireless access point based on the reference information carried by the request frame.
16. The method according to claim 1, characterized in that Before sending the request frame carrying the target wake-up time TWT parameter to the wireless access point, the method further includes: Determining whether a data packet is lost due to timeout according to the service data characteristics of the wireless device itself, wherein the service data characteristics are information used to describe the characteristics of service-related data in the wireless device; If the judgment result indicates that the data packet will be lost due to timeout, a request frame carrying the TWT parameters is sent to the wireless access point.
17. The method according to claim 16, characterized in that The method further comprises: The priority scheduling level required is determined according to the service data characteristics, and the priority scheduling level is carried in the request frame as an indication parameter for instructing the wireless access point to prioritize scheduling of the wireless device.
18. A data transmission control device, characterized in that: The device is configured on a wireless device accessing a wireless access point, and includes: a sending module configured to send a request frame carrying TWT parameters to the wireless access point, wherein the TWT parameters include an indication parameter for instructing the wireless access point to preferentially schedule the wireless device for data transmission within the TWT SP; A receiving module, configured to receive a response frame returned by the wireless access point; The sending module is further configured to send a data packet to the wireless access point within the TWT SP if the response frame indicates that the wireless access point has confirmed the TWT parameters.
19. An electronic device, characterized in that: include: one or more processors; A memory for storing one or more programs, which, when executed by the one or more processors, enables the electronic device to implement the data transmission control method as described in any one of claims 1 to 17.
20. A computer-readable storage medium, characterized in that: Computer-readable instructions are stored thereon, and when the computer-readable instructions are executed by a processor of a computer, the computer is caused to execute the data transmission control method according to any one of claims 1 to 17.
Citation Information
Patent Citations
Target Wake Time (TWT) Scheduling For Orthogonal Frequency-Division Multiple Access (OFDMA) Channelization
CN107743721A
Method for negotiating target wake-up time, access point and station
CN112055401A
Wireless communication involving a wake time period for a station
WO2017172785A1
