Information frame sending method and equipment based on channel state

By directly occupying the channel to send information frames when the channel is idle, the resource waste and delay problems caused by long waiting time in the prior art are solved, and more efficient data transmission is achieved.

CN120282305APending Publication Date: 2025-07-08HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410031981.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-08
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

In the prior art, electronic devices need to wait for a long time when occupying the channel to send information frames, resulting in waste of air interface resources and increasing data transmission delay.

Method used

By monitoring the channel state, if the channel is idle within a fixed time period, the electronic device directly occupies the channel to send information frames at a specified time, avoiding the implementation of the distribution coordination function (DCF) mechanism and reducing random number fallback.

Benefits of technology

It reduces waste of air interface resources, reduces the delay of information frames, and improves data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120282305A_ABST
    Figure CN120282305A_ABST
Patent Text Reader

Abstract

Provided are an information frame sending method and device based on a channel state, applied to the technical field of communications, the method comprising: if it is determined that the channel state of a channel within a fixed duration is an idle state, sending an information frame based on the channel at a specified moment; wherein when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the specified moment is the first moment, and the first moment is the moment when the information frame to be sent triggers the channel access process; when the fixed duration is the duration after the first moment, the initial moment of the fixed duration is the first moment, and the specified moment is the end moment of the fixed duration after the first moment. The electronic device does not need to perform random number fallback. And a DCF mechanism does not need to be executed, so that the waste of air interface resources is reduced, and the time delay of sending the information frame by the electronic equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technologies, and in particular, to a method and device for sending information frames based on channel status. Background Art

[0002] In wireless communication technologies, multiple electronic devices need to transmit information frames on a shared channel (i.e., a shared wireless channel). For example, the information frame is a control frame, a data frame, or a management frame.

[0003] In the prior art, since each of the multiple electronic devices needs to determine whether it can occupy the channel to transmit an information frame, and thus to avoid conflicts, each electronic device executes a distributed coordination function (DCF); that is, the electronic device can, after waiting for a fixed waiting duration, then perform timing based on a backoff window with a random number, and after the timing ends, occupy the channel to send an information frame.

[0004] However, in the prior art, since the electronic device needs to wait for a long time to occupy the channel to send an information frame, it causes waste of air interface resources for transmitting data and increases the delay of data transmission. Summary of the Invention

[0005] Embodiments of this application provide a method and device for sending information frames based on channel status, which can be applied to the field of communication technologies.

[0006] It should be understood that the method in the embodiments of this application can be executed by a communication device, and the communication device can be the entire machine of a computing device or a part of the components in the computing device, such as a chip related to wireless communication functions, such as a system chip or a communication chip. Among them, the system chip is also called a system-on-chip or an SoC (System-on-a-Chip) chip. Specifically, the communication device can be a terminal such as a smart phone, or a system chip or a communication chip that can be set in the terminal. The communication chip can include one or more of a radio frequency processing chip and a baseband processing chip. The baseband processing chip is sometimes also called a modem or a baseband processor. In a physical implementation, the communication chip can be integrated inside the SoC chip or not integrated with the SoC chip. For example, the baseband processing chip is integrated in the SoC chip, and the radio frequency processing chip is not integrated with the SoC chip.

[0007] In a first aspect, this application provides a method for sending an information frame based on channel status, and the method includes:

[0008] If it is determined that the channel status of the channel is an idle state within a fixed duration, then send an information frame based on the channel at a specified moment;

[0009] Wherein, when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the designated moment is the first moment, and the first moment is the moment when the information frame to be sent triggers the channel access process; when the fixed duration is the duration after the first moment, the start moment of the fixed duration is the first moment, and the designated moment is the end moment of the fixed duration after the first moment.

[0010] The electronic device has been listening to the channel before the moment of triggering the channel access process. The electronic device is always in a non-sleep state. Starting from the moment of triggering the channel access process, the electronic device counts back a fixed duration. If it is determined that the channel has been idle during this fixed duration (i.e., it belongs to the channel idle scenario), then the electronic device can directly occupy the channel to send the information frame at the moment of triggering the channel access process. Alternatively, when the electronic device is about to send an information frame at the moment of triggering the channel access process, the electronic device enables the channel listening function at the moment of triggering the channel access process. The electronic device counts forward a fixed duration starting from the moment of triggering the channel access process. If it is determined that the channel has been idle during this fixed duration, it is determined that the current belongs to the channel idle scenario, and the electronic device directly occupies the channel to send the information frame at the end moment of the fixed duration. Thus, there is no need to execute the DCF mechanism, thereby reducing the waste of air interface resources and reducing the delay of the electronic device in sending information frames.

[0011] In a possible implementation, the fixed duration is greater than or equal to the Distributed Coordination Function Interframe Space (DIFS) duration.

[0012] In a possible implementation, the fixed duration is equal to the sum of the DIFS duration and the duration occupied by one time slot.

[0013] In a possible implementation, the fixed duration corresponds to the access category level of the electronic device, and the fixed duration corresponding to the access category level is greater than or equal to the Arbitration Interframe Space (AIFS) duration corresponding to the access category level.

[0014] In a possible implementation, the fixed duration corresponding to the access category level is equal to the sum of the AIFS duration corresponding to the access category level and the duration occupied by one time slot.

[0015] In a possible implementation, when the fixed duration is the duration before the first moment, the electronic device is in a non-sleep state before the start moment of the fixed duration.

[0016] In a possible implementation, when the fixed duration is a duration after the first moment, the electronic device is in a sleep state before the initial moment of the fixed duration.

[0017] In a possible implementation, the method further includes:

[0018] If it is determined that the information frame transmission fails on the channel at the specified moment, the information frame is retransmitted based on the Distributed Coordination Function (DCF) mechanism.

[0019] In a second aspect, the present application provides an information frame transmission device based on the channel state, and the device includes:

[0020] A sending unit, configured to, if it is determined that the channel state of the channel is an idle state within a fixed duration, transmit an information frame on the channel at the specified moment;

[0021] Wherein, when the fixed duration is a duration before the first moment, the end moment of the fixed duration is the first moment, the specified moment is the first moment, and the first moment is the moment for the information frame to be transmitted to trigger the channel access process; when the fixed duration is a duration after the first moment, the initial moment of the fixed duration is the first moment, and the specified moment is the end moment of the fixed duration after the first moment.

[0022] In a possible implementation, the fixed duration is greater than or equal to the Distributed Coordination Function Inter-Frame Space (DIFS) duration.

[0023] In a possible implementation, the fixed duration is equal to the sum of the DIFS duration and the duration occupied by one time slot.

[0024] In a possible implementation, the fixed duration corresponds to the access category level of the electronic device, and the fixed duration corresponding to the access category level is greater than or equal to the Arbitration Inter-Frame Space (AIFS) duration corresponding to the access category level.

[0025] In a possible implementation, the fixed duration corresponding to the access category level is equal to the sum of the AIFS duration corresponding to the access category level and the duration occupied by one time slot.

[0026] In a possible implementation, when the fixed duration is a duration before the first moment, the electronic device is in a non-sleep state before the initial moment of the fixed duration.

[0027] In a possible implementation, when the fixed duration is a duration after the first moment, the electronic device is in a sleep state before the initial moment of the fixed duration.

[0028] In a possible implementation, the sending unit is further configured to:

[0029] If it is determined that the transmission of the information frame based on the channel fails at a specified moment, re-transmit the information frame based on the Distributed Coordination Function (DCF) mechanism.

[0030] In a third aspect, the present application provides an electronic device, including: a processor, a memory, a transmitter, and a receiver; the transmitter and the receiver are coupled to the processor, the processor controls the transmission operation of the transmitter, and the processor controls the reception operation of the receiver;

[0031] Wherein, the memory is used to store computer-executable program code, and the program code includes instructions; when the processor executes the instructions, the instructions cause the electronic device to execute any implementation of the first aspect.

[0032] In a fourth aspect, the present application provides a computer-readable storage medium, in which computer-execution instructions are stored, and when the computer-execution instructions are executed by a processor, they are used to implement any implementation of the first aspect.

[0033] In a fifth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements any implementation of the first aspect.

[0034] In a sixth aspect, the present application provides a program, and when the program is executed by a processor, it is used to execute any implementation of the above first aspect.

[0035] In a seventh aspect, the present application provides a communication system, including: at least one electronic device provided in the third aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.

[0037] Figure 1 It is a timing diagram of the backoff process of the electronic device based on the DCF mechanism provided by the embodiment of the present application;

[0038] Figure 2 It is a schematic diagram of the scenario provided by the embodiment of the present application;

[0039] Figure 3 It is a signaling diagram of a method for transmitting an information frame based on the channel state provided by the embodiment of the present application;

[0040] Figure 4A signaling diagram of another method for sending information frames based on channel status provided by an embodiment of this application;

[0041] Figure 5 A schematic diagram of the packet arrival probability provided by an embodiment of this application;

[0042] Figure 6 A timing diagram of an electronic device sending information frames provided by an embodiment of this application;

[0043] Figure 7 The delay simulation of the AC_BK access category level provided by an embodiment of this application Figure 1 ;

[0044] Figure 8 The delay simulation of the AC_BE access category level provided by an embodiment of this application Figure 1 ;

[0045] Figure 9 The delay simulation of the AC_VI access category level provided by an embodiment of this application Figure 1 ;

[0046] Figure 10 The delay simulation of the AC_VO access category level provided by an embodiment of this application Figure 1 ;

[0047] Figure 11 The delay simulation of the AC_BK access category level provided by an embodiment of this application Figure 2 ;

[0048] Figure 12 The delay simulation of the AC_BE access category level provided by an embodiment of this application Figure 2 ;

[0049] Figure 13 The delay simulation of the AC_VI access category level provided by an embodiment of this application Figure 2 ;

[0050] Figure 14 The delay simulation of the AC_VO access category level provided by an embodiment of this application Figure 2 ;

[0051] Figure 15 A schematic block diagram of a device for sending information frames based on channel status provided by an embodiment of this application;

[0052] Figure 16 A schematic structural diagram of an electronic device provided by an embodiment of this application. Detailed implementation manners

[0053] The following will further illustrate the technical solutions provided in this application with reference to the accompanying drawings and by way of examples. It should be understood that the system structures and application scenarios provided in the embodiments of this application are mainly for illustrating possible implementation manners of the technical solutions of this application, and should not be construed as the only limitation to the technical solutions of this application. Those of ordinary skill in the art will know that with the evolution of the system structure and the emergence of new service scenarios, the technical solutions provided in this application are equally applicable to similar technical problems.

[0054] It should be understood that the embodiments of this application provide a method and device for sending information frames based on channel state, so that an electronic device can transmit information frames in a timely manner, reduce the delay of data transmission, and reduce the waste of radio interface resources.

[0055] Since the principles of these technical solutions for solving problems are the same or similar, in the following introduction of specific embodiments, some repetitions may not be elaborated again, but it should be regarded that there are mutual references between these specific embodiments and they can be combined with each other.

[0056] It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: wireless local area network (WLAN) systems, global system of mobile communication (GSM) systems, code division multiple access (CDMA) systems, wideband code division multiple access (WCDMA) systems, general packet radio service (GPRS), long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication systems, and future 5G communication systems or other systems that may emerge in the future. Some terms in the present application are explained below to facilitate understanding by those skilled in the art. For the convenience of description, the embodiments of the present application are described based on the WLAN communication system as an example, which does not constitute a limitation to the present application. It should be noted that when the solutions of the embodiments of the present application are applied to other systems, the names of the stations and access points may change, but this does not affect the implementation of the solutions of the embodiments of the present application.

[0057] Next, the technical solutions of the embodiments of the present application will be described with reference to the accompanying drawings.

[0058] First, the technical terms involved in the present application are explained:

[0059] 1) A station (STA), also known as a station device; a station can be a device that provides voice and / or data connectivity to users, for example, a handheld device with a wireless connection function, a vehicle-mounted device, etc.; a station can also be a device that detects data, for example, a sensor, etc.; a station can also be an intelligent device, for example, a smart home device deployed indoors, a wearable device, etc. Common terminal devices include, for example: air quality monitoring sensors, temperature sensors, smoke sensors, mobile phones, tablets, laptops, palmtop computers, mobile internet devices (MIDs), wearable devices, among which, wearable devices include, for example: smart watches, smart bracelets, pedometers, etc. The station is a current and future possible wireless communication station or a limited communication station, for example, the station is a WLAN station, a cellular station, etc. The station is, for example, a client / workstation.

[0060] 2) An access point (AP), also known as an access point device, and the access point device can be a network device or a radio access network (RAN) device. An access point is a device that connects a station to a network through authorized and unauthorized spectrums, and it includes network devices in various communication systems, for example, including but not limited to: wireless access points (such as wireless local area network access points), base stations, evolved Node B (eNB), radio network controllers (RNC), Node B (NB), basestation controllers (BSC), base transceiver stations (BTS), home network devices (such as home evolved NodeB or home Node B, HNB), baseband units (BBU), etc.

[0061] 3) An electronic device can be the above-mentioned station or the above-mentioned access point.

[0062] 4) "Multiple" means two or more, and other quantifiers are similar.

[0063] 5) "Corresponding" can refer to an association relationship or a binding relationship. A corresponding to B means that there is an association relationship or a binding relationship between A and B.

[0064] It should be noted that the nouns or terms involved in the embodiments of this application can refer to each other and will not be elaborated here.

[0065] In a WLAN communication network, based on the medium access control (MAC) layer, multiple electronic devices are coordinated to access a shared wireless channel (the wireless channel can also be referred to as a channel). Subsequently, one of the electronic devices occupies the wireless channel (channel), and after the electronic device occupies the wireless channel (channel), it transmits an information frame, where the information frame is a control frame or a data frame, thereby ensuring that the information frame can be effectively transmitted. Among them, the electronic device can be a station (i.e., a client / workstation), or the electronic device can be an access point.

[0066] In the above process, the process of the above electronic device occupying the channel is a channel access mechanism. Among them, the channel access mechanism determines the moment when the electronic device can send an information frame.

[0067] When each electronic device (such as a station) transmits an information frame on the channel, there will be a situation where multiple electronic devices simultaneously occupy the channel to transmit information frames, thereby resulting in a collision. Subsequently, it is necessary to implement carrier sense multiple access with collision avoidance (CSMA / CA).

[0068] Furthermore, the electronic device (such as a station) can perform carrier sensing on the channel. When the electronic device determines that the channel is idle, to avoid collisions, the electronic device does not immediately seize the channel but executes the distributed coordination function (DCF) mechanism; among them, the principle of the DCF mechanism is implemented based on the CSMA / CA mechanism; the DCF mechanism includes two processes: sensing and backoff.

[0069] In one example, when the electronic device determines that the channel is idle, to avoid collisions, the electronic device does not immediately seize the channel; the electronic device first waits for a fixed distributed coordination function inter-frame space (DIFS) duration. After the DIFS duration has passed, it performs backoff using a random number in the backoff window (i.e., counts down based on a random value). When the random value counts down to zero, or when the countdown of the random number is smaller than the countdowns of the random numbers of other electronic devices, the electronic device will occupy the channel to send an information frame. Among them, during the above backoff process of the electronic device, if it determines that the channel is occupied, it pauses the countdown, and thus the backoff process is suspended; then, when the electronic device determines that the channel is idle again, it directly resumes the countdown that was suspended last time.

[0070] Figure 1The timing diagram of the backoff process of the electronic device provided by the embodiment of the present application based on the DCF mechanism is as follows Figure 1 As shown, four electronic devices are provided, namely Electronic Device 1, Electronic Device 2, Electronic Device 3, and Electronic Device 4. For example, Electronic Device 1, Electronic Device 2, Electronic Device 3, and Electronic Device 4 are all stations, or Electronic Device 1 and Electronic Device 2 are access points, and Electronic Device 3 and Electronic Device 4 are stations.

[0071] As Figure 1 shown, Electronic Device 1 first occupies the channel to send a frame of information, and Electronic Device 1 can generate a random number corresponding to Electronic Device 1 first. At this time, the channel is idle. Each of Electronic Device 2, Electronic Device 3, and Electronic Device 4 monitors the idle channel, and then each of Electronic Device 2, Electronic Device 3, and Electronic Device 4 executes the DCF mechanism, that is, each of Electronic Device 2, Electronic Device 3, and Electronic Device 4 waits for a DIFS duration and then counts down based on its respective random number (i.e., each electronic device performs backoff). Then, since the value of the countdown of Electronic Device 3 is the smallest (i.e., Electronic Device 3 is the electronic device with the smallest backoff count), Electronic Device 3 determines that it can send an information frame, and then Electronic Device 3 first occupies the channel to send the information frame; and the backoffs of Electronic Device 2 and Electronic Device 4 are suspended, that is, the countdowns of Electronic Device 2 and Electronic Device 4 are paused.

[0072] Then, after Electronic Device 3 sends the information frame, other electronic devices that need to send information frames need to wait for a DIFS duration; and Electronic Device 3 generates a new random number corresponding to Electronic Device 3; at the same time, the countdowns that were previously suspended for Electronic Device 2 and Electronic Device 4 start again; at the same time, Electronic Device 1 counts down based on the random number corresponding to Electronic Device 1.

[0073] Then, it is determined that the value of the countdown of Electronic Device 4 is the smallest (i.e., Electronic Device 4 is the electronic device with the smallest backoff count), and then Electronic Device 4 determines to occupy the channel to send an information frame. After Electronic Device 4 sends the information frame, other electronic devices that need to send information frames need to wait for a DIFS duration; as Figure 1 shown, the value of the countdown of Electronic Device 2 is the smallest, and then Electronic Device 2 occupies the channel to send an information frame.

[0074] Among them, the DIFS durations used by each of the above electronic devices are the same.

[0075] In the above process, when the electronic device executes the DCF mechanism, when the channel is idle, the electronic device needs to wait for the DIFS duration first, and then perform countdown based on a random number before it can occupy the channel to send an information frame. Therefore, the electronic device needs to wait for a long time to occupy the channel to send an information frame, resulting in waste of air interface resources and an increase in the delay of the electronic device sending the information frame.

[0076] Moreover, since there are multiple electronic devices that need to occupy the channel to transmit information frames, and each electronic device has a large amount of traffic, the air interface traffic also increases. As a result, multiple electronic devices need to occupy the channel to transmit information frames simultaneously, which increases the probability of conflict.

[0077] In one example, if two electronic devices use the same random number, the countdowns of the random numbers of the two electronic devices reach zero simultaneously, or the countdowns of the random numbers of the two electronic devices are both the smallest. As a result, the two electronic devices simultaneously determine that they can occupy the channel to send information frames, leading to the problem of collision of the information frames of the two electronic devices in the air interface, and neither of the two electronic devices can successfully send the information frame. When there are more electronic devices, this probability will be higher. Moreover, when an electronic device generates a random number, if the above conflict occurs, the electronic device will double the value of the random number. If the conflict still occurs, the electronic device will double the value of the random number again. It can be seen that the electronic device will double the backoff window (i.e., the contention window), which further increases the delay. For example, the value range of the backoff window (i.e., the contention window) is [15, 1000]. Electronic device A randomly generates a random number from [0, 15] for the first time. If electronic device A conflicts with other electronic devices on the channel, electronic device A needs to randomly generate a random number from [0, 30], and so on, resulting in an increasingly large random number used by the electronic device, and thus an increase in the delay of the electronic device transmitting the information frame.

[0078] Figure 2 The following is a scenario schematic diagram provided by an embodiment of the present application. As Figure 2 shown, multiple electronic devices need to occupy the channel, and one of the electronic devices will occupy the channel to send an information frame. For example, electronic device 01, electronic device 02, and electronic device 03 all need to occupy channel 02 to send information frames.

[0079] Figure 3 The following is a signaling diagram of a method for sending an information frame based on the channel state provided by an embodiment of the present application. As Figure 3 shown, the method includes:

[0080] S31. If the electronic device determines that the channel state of the channel is idle within a fixed duration, it sends an information frame based on the channel at a specified moment.

[0081] Wherein, when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the designated moment is the first moment, and the first moment is the moment when the information frame to be sent triggers the channel access process; when the fixed duration is the duration after the first moment, the start moment of the fixed duration is the first moment, and the designated moment is the end moment of the fixed duration after the first moment.

[0082] Exemplarily, in this embodiment, the electronic device monitors the channel state of the channel in real time. If the electronic device determines that the channel state of the channel is a busy state, it determines that the channel is occupied by other electronic devices. At this time, the electronic device needs to execute the DCF mechanism, that is, the electronic device first waits for a fixed Distributed Coordination Function Inter-Frame Space (DIFS) time. After the DIFS duration has passed, it performs a backoff using a random number in the backoff window (that is, counts down based on a random value). When the random value counts down to zero, or when the countdown of the random number is smaller than the countdown of the random numbers of other electronic devices, the electronic device will occupy the channel to send an information frame.

[0083] If the electronic device determines that the channel state of the channel is an idle state within the fixed duration, it determines that the channel is not occupied by other electronic devices. At this time, the electronic device does not execute the DCF mechanism, and the electronic device does not send an information frame after counting down based on a random number. If the electronic device determines that the channel state of the channel is an idle state within the fixed duration, it sends an information frame based on the channel at the designated moment; wherein, a fixed "fixed duration" is waited, and there is no random number backoff.

[0084] Among them, for the process of "if the electronic device determines that the channel state of the channel is an idle state within the fixed duration, it sends an information frame based on the channel at the designated moment", the electronic device completes the sending of the information frame based on the following two implementation methods.

[0085] The first implementation method. The "moment when the information frame to be sent triggers the channel access process" of the electronic device is the first moment; wherein, the "information frame to be sent" is the first frame among the information frames in the transmission buffer of the electronic device. The channel access process is triggered by the "first frame". When the electronic device successfully accesses the channel, it enters the information frame sending process; before the information frame sending process is completed, no new channel access process will be triggered due to subsequent information frames. That is: if a channel access process has been triggered based on other information frames before sending a certain information frame, no new channel access process will be triggered before the information sending process ends. The electronic device has been listening to the channel before the first moment. If the electronic device determines that the channel has been idle for a fixed duration before the first moment, the electronic device directly occupies the channel to send the information frame at the first moment. Wherein, the end moment of the fixed duration is the first moment. It can be seen that the electronic device does not perform random number backoff.

[0086] It can be seen that the electronic device has been listening to the channel before the moment of preparing to trigger the channel access process. The electronic device has always been in a non-sleep state. Starting from the moment of preparing to trigger the channel access process, the electronic device counts back a fixed duration. If it is determined that the channel has been idle within this fixed duration (i.e., it belongs to the channel idle scenario), the electronic device can directly occupy the channel to send the information frame at the moment of triggering the channel access process.

[0087] The second implementation method. The "moment when the information frame to be sent triggers the channel access process" of the electronic device is the first moment; wherein, the "information frame to be sent" is the first frame among the information frames in the transmission buffer of the electronic device. The electronic device has not listened to the channel before the first moment, but since an information frame needs to be sent at the first moment, the electronic device can enable the channel listening function. The electronic device starts listening at the first moment, and then determines that the channel has been idle for a fixed duration starting from the first moment, then it can directly occupy the channel to send the information frame at the end moment of the fixed duration, that is, directly occupy the channel to send the information frame at the moment after the fixed duration after the first moment. Wherein, the start moment of the fixed duration is the first moment. It can be seen that the electronic device does not perform random number backoff.

[0088] It can be seen that when the electronic device needs to send an information frame at the first moment, the electronic device enables the channel listening function at the first moment. The electronic device counts a fixed duration starting from the first moment. If it is determined that the channel has been idle within this fixed duration, it is determined that the current belongs to the channel idle scenario, and the electronic device directly occupies the channel to send the information frame at the end moment of the fixed duration.

[0089] In addition, if the electronic device determines that the monitoring situation of the channel does not belong to the above first implementation method and the second implementation method, the electronic device determines that the channel is occupied by other electronic devices, that is, it determines that the current belongs to the scenario where the channel is busy. At this time, the electronic device needs to execute the DCF mechanism. That is, the electronic device first waits for a fixed DIFS duration. After the DIFS duration has passed, a random number is used in the backoff window for backoff (that is, countdown based on a random value). When the random value counts down to zero, or when the countdown of this random number is smaller than the countdown of the random numbers of other electronic devices, the electronic device will occupy the channel to send an information frame.

[0090] S32. If it is determined that sending an information frame based on the channel fails at a specified moment, re-send the information frame based on the Distributed Coordination Function (DCF) mechanism.

[0091] Exemplarily, in the above process, if the electronic device fails to send an information frame based on the channel at a specified moment. For example, if the electronic device and other electronic devices are both occupying the channel, it is determined that a collision has occurred, and then the current electronic device fails to send an information frame based on the channel at the specified moment. Then, the current electronic device needs to execute the DCF mechanism. That is, the electronic device first waits for a fixed DIFS duration. After the DIFS duration has passed, a random number is used in the backoff window for backoff (that is, countdown based on a random value). When the random value counts down to zero, or when the countdown of this random number is smaller than the countdown of the random numbers of other electronic devices, the electronic device will occupy the channel to send an information frame.

[0092] In this embodiment, the electronic device has been monitoring the channel before the moment of triggering the channel access process. The electronic device has been in a non-sleep state. Starting from the moment of triggering the channel access process, the electronic device counts forward for a fixed duration. If it is determined that the channel has been idle during this fixed duration (that is, it belongs to the channel idle scenario), the electronic device can directly occupy the channel to send an information frame at the moment of triggering the channel access process. Or, when the electronic device is about to send an information frame at the moment of triggering the channel access process, the electronic device enables the channel monitoring function at the moment of triggering the channel access process. The electronic device counts backward for a fixed duration starting from the moment of triggering the channel access process. If it is determined that the channel has been idle during this fixed duration, it is determined that the current belongs to the channel idle scenario, and the electronic device directly occupies the channel to send an information frame at the end of the fixed duration. Thus, there is no need to execute the DCF mechanism, thereby reducing the waste of air interface resources and reducing the delay of the electronic device in sending information frames.

[0093] Figure 4A signaling diagram of another method for sending information frames based on channel state provided by an embodiment of the present application, as shown in Figure 4 shown. The method includes:

[0094] S41. If the electronic device determines that the channel state of the channel is idle within a fixed duration, it sends an information frame based on the channel at a specified moment.

[0095] Wherein, when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the specified moment is the first moment, and the first moment is the moment for the information frame to be sent to trigger the channel access process; when the fixed duration is the duration after the first moment, the start moment of the fixed duration is the first moment, and the specified moment is the end moment of the fixed duration after the first moment.

[0096] In one example, the fixed duration is greater than or equal to the Distributed Coordination Function Inter-Frame Space (DIFS) duration. For example, the fixed duration is equal to the sum of the DIFS duration and the duration occupied by one time slot.

[0097] Alternatively, in one example, the fixed duration corresponds to the access category level of the electronic device, and the fixed duration corresponding to the access category level is greater than or equal to the Arbitration Inter-Frame Space (AIFS) duration corresponding to the access category level. For example, the fixed duration corresponding to the access category level is equal to the sum of the AIFS duration corresponding to the access category level and the duration occupied by one time slot.

[0098] In one example, when the fixed duration is the duration before the first moment, the electronic device is in a non-sleep state before the start moment of the fixed duration.

[0099] In one example, when the fixed duration is the duration after the first moment, the electronic device is in a sleep state before the start moment of the fixed duration.

[0100] Exemplarily, in this embodiment, the electronic device monitors the channel state of the channel in real time. If the electronic device determines that the channel state of the channel is busy, it determines that the channel is occupied by other electronic devices. At this time, the electronic device needs to execute the DCF mechanism, that is, the electronic device first waits for a fixed Distributed Coordination Function Inter-Frame Space (DCF inter-frame space, DIFS) time. After the DIFS duration has passed, it performs backoff using a random number in the backoff window (that is, counts down based on a random value). When the random value counts down to zero, or when the countdown of the random number is smaller than the countdown of the random numbers of other electronic devices, the electronic device will occupy the channel to send an information frame.

[0101] If an electronic device determines that the channel state of a channel is an idle state, it determines that the channel is not occupied by other electronic devices. At this time, the electronic device does not execute the DCF mechanism, and the electronic device does not perform countdown based on a random number and then send an information frame. If the electronic device determines that the channel state of the channel is an idle state within a fixed duration, it sends an information frame based on the channel at a specified moment; among them, a fixed "fixed duration" is adopted, and there is no random number backoff.

[0102] Among them, for the process of "if the electronic device determines that the channel state of the channel is an idle state within a fixed duration, it sends an information frame based on the channel at a specified moment", the electronic device completes the sending of the information frame based on the following two implementation methods.

[0103] The first implementation method. The "moment when the information frame to be sent triggers the channel access process" of the electronic device is the first moment; among them, the "information frame to be sent" is the first frame among the information frames in the transmission buffer of the electronic device. The electronic device has been listening to the channel before the first moment. If the electronic device determines that the channel has been in an idle state within a fixed duration before the first moment, the electronic device directly occupies the channel to send an information frame at the first moment. Among them, the end moment of the fixed duration is the first moment. It can be seen that the electronic device does not perform random number backoff.

[0104] Among them, the fixed duration is greater than or equal to the DIFS duration. The fixed duration is a fixed period and does not include a random number. For example, the fixed duration is equal to the sum of the DIFS duration and the duration occupied by a time slot, that is, the fixed duration = DIFS duration + a slot time.

[0105] Or, the electronic device has multiple access category (AC) levels, and each fixed duration corresponds to each AC level. The fixed duration corresponding to the AC level is greater than or equal to the arbitration inter-frame space (AIFS) duration corresponding to the AC level. Among them, the fixed duration is a fixed period and does not include a random number. For example, the fixed duration corresponding to the AC level is equal to the sum of the AIFS duration corresponding to the AC level and the duration occupied by a time slot, that is, the fixed duration corresponding to the AC level = the AIFS duration corresponding to the AC level + a slot time.

[0106] And, because "the electronic device has been listening to the channel before the first moment, and the electronic device determines that the channel has been in an idle state within a fixed duration before the first moment", in this case, the electronic device is in a non-sleep state before the initial moment of the fixed duration.

[0107] It can be known that the electronic device has been listening to the channel before the moment of triggering the channel access process. The electronic device has always been in a non-sleep state. Starting from the moment of triggering the channel access process, the electronic device counts backward for a fixed duration. If it is determined that the channel has been idle during this fixed duration (i.e., it belongs to the channel idle scenario), then the electronic device can directly occupy the channel to send an information frame at the moment of triggering the channel access process.

[0108] The second implementation method. The "moment when the information frame to be sent triggers the channel access process" of the electronic device is the first moment; where the "information frame to be sent" is the first frame among the information frames in the transmission buffer of the electronic device. The electronic device did not listen to the channel before the first moment, but since it needs to send an information frame at the first moment, the electronic device can enable the channel listening function. The electronic device starts listening from the first moment, and then determines that the channel has been idle within a fixed duration starting from the first moment, then it can directly occupy the channel to send an information frame at the end moment of the fixed duration, that is, directly occupy the channel to send an information frame at the moment after the fixed duration following the first moment. Among them, the initial moment of the fixed duration is the first moment. It can be known that the electronic device does not perform random number backoff.

[0109] Among them, the fixed duration is greater than or equal to the DIFS duration. The fixed duration is a fixed period and does not include a random number. For example, the fixed duration is equal to the sum of the DIFS duration and the duration occupied by a time slot, that is, the fixed duration = DIFS duration + a slot time.

[0110] Or, the electronic device has multiple AC levels, and each fixed duration corresponds to each AC level. The fixed duration corresponding to the AC level is greater than or equal to the AIFS duration corresponding to the AC level. Among them, the fixed duration is a fixed period and does not include a random number. For example, the fixed duration corresponding to the AC level is equal to the sum of the AIFS duration corresponding to the AC level and the duration occupied by a time slot, that is, the fixed duration corresponding to the AC level = the AIFS duration corresponding to the AC level + a slot time.

[0111] Moreover, since "the electronic device did not listen to the channel before the first moment, but since it needs to send an information frame at the first moment, the electronic device can enable the channel listening function", in this case, the electronic device is in a sleep state before the initial moment of the fixed duration, or the electronic device is in a non-sleep state before the initial moment of the fixed duration.

[0112] It can be known that when the electronic device is about to send an information frame at the first moment, the electronic device enables the channel listening function at the first moment. The electronic device starts counting a fixed duration from the first moment. If it is determined that the channel has been idle during this fixed duration, it is determined that the current belongs to the channel idle scenario. Then, at the end moment of the fixed duration, the electronic device directly occupies the channel to send the information frame.

[0113] In addition, if the electronic device determines that the channel listening situation does not belong to the above first implementation method and the second implementation method, the electronic device determines that the channel is occupied by other electronic devices, that is, it determines that the current belongs to the channel busy scenario. At this time, the electronic device needs to execute the DCF mechanism. That is, the electronic device first waits for a fixed DIFS duration. After the DIFS duration has passed, a random number in the backoff window is used for backoff (that is, countdown based on a random value). When the random value counts down to zero, or when the countdown of this random number is smaller than the countdown of the random numbers of other electronic devices, the electronic device will occupy the channel to send the information frame.

[0114] S42. If it is determined that sending the information frame based on the channel fails at the specified moment, re-send the information frame based on the Distributed Coordination Function (DCF) mechanism.

[0115] Exemplarily, in the above process, if the electronic device fails to send the information frame based on the channel at the specified moment. For example, if the electronic device and other electronic devices are both occupying the channel, it is determined that a collision has occurred, and thus the current electronic device fails to send the information frame based on the channel at the specified moment. Then, the current electronic device needs to execute the DCF mechanism. That is, the electronic device first waits for a fixed DIFS duration. After the DIFS duration has passed, a random number in the backoff window is used for backoff (that is, countdown based on a random value). When the random value counts down to zero, or when the countdown of this random number is smaller than the countdown of the random numbers of other electronic devices, the electronic device will occupy the channel to send the information frame.

[0116] In this embodiment, the collision probability (i.e., the collision rate) of the channel busy scenario (the channel is occupied by other electronic devices) and the channel idle scenario (the channel is not occupied by other electronic devices) can be analyzed. Among them, the collision probability (i.e., the collision rate) refers to the situation where multiple electronic devices occupy the same channel.

[0117] Figure 5 It is a schematic diagram of the incoming packet probability provided by the embodiment of the present application. As Figure 5 shown, Figure 5 in which (a) is a schematic diagram of the incoming packet probability in the channel busy scenario, Figure 5(b) in it is a schematic diagram of the packet arrival probability in the channel idle scenario. The packet arrival probability refers to the probability that the electronic device receives the information frame to be sent.

[0118] Each electronic device follows the following principle: If it determines that the channel is idle, the electronic device waits for the DIFS duration, and the electronic device directly accesses the channel at the end moment of the DIFS duration; the electronic device does not execute the random number backoff mechanism in the DCF mechanism at the end moment of the DIFS duration.

[0119] According to the above principle, analyze the collision rate of the first electronic device directly sending an information frame at the t3 moment (i.e., the end moment of the DIFS duration) with the information frames sent by other electronic devices in the channel busy scenario and the channel idle scenario, that is, calculate the collision rate of the first electronic device directly sending an information frame at the t3 moment (i.e., the end moment of the DIFS duration).

[0120] For the channel busy scenario, as shown in (a) in Figure 5 The duration of [t1, t2] is the transmission opportunity (TXOP) duration of the previous electronic device occupying the channel, and the transmission opportunity duration is also the packet sending duration. It can be known that the first electronic device has a packet arrival during the period of [t1, t2], that is, the packet arrival moment is within the TXOP period of the previous electronic device occupying the channel; the first electronic device waits for a DIFS duration to directly send an information frame starting from the t2 moment, and the first electronic device does not execute the random number backoff, and it is necessary to calculate the collision rate of the first electronic device directly sending an information frame at the t3 moment (i.e., the end moment of the DIFS duration).

[0121] In the channel busy scenario, other electronic devices that conflict (i.e., collide) with the first electronic device on the channel must have a packet arrival at the t2 moment and before. Therefore, calculating the collision rate of the first electronic device directly sending an information frame at the t3 moment is actually calculating the packet arrival probability Pcollision of other electronic devices at the t2 moment and before.

[0122] Among them, in the channel busy scenario, the packet arrival probability of other electronic devices before the t2 moment includes two parts: one is the packet arrival probability P1 before the t1 moment, and the other is the packet arrival probability P2 during the duration of [t1, t2]; thus, the packet arrival probability Pcollision of other electronic devices before the t2 moment is obtained as Pcollision = P1 + P2.

[0123] Among them, P1 is a value greater than or equal to 0.

[0124] Among them, assuming that the total packet arrival probability density function of other electronic devices is p(t), then it can be calculated that Among them, p(t) at each moment is an assumed value greater than 0. If the duration of t2 - t1 is longer, then P2 is larger, that is, the longer the TXOP duration of the previous electronic device occupying the channel, the greater the probability of incoming packets; if p(t) is larger, that is, the busier the services of other electronic devices, the greater the probability of incoming packets P2.

[0125] Thus, the probability of incoming packets of other electronic devices before the moment of t2 can be obtained. That is, the collision rate of the first electronic device directly sending an information frame at the moment of t3 (i.e., the end moment of the DIFS duration) is obtained.

[0126] It can be seen that as the channel is busier (i.e., the larger p(t) is and the larger the TXOP duration of the previous electronic device occupying the channel is), the greater the probability of generating a conflict by directly transmitting a packet on the channel without random backoff after the DIFS duration. Then in the case of a busy channel scenario, the first electronic device needs to execute the random number backoff mechanism in the DCF mechanism to reduce the probability of transmission conflict on the channel; that is, the first electronic device needs to wait for a DIFS duration starting from the moment of t2, and perform random number backoff based on a random number at the end moment t3 of the DIFS duration.

[0127] For the channel idle scenario, as shown in (b) of Figure 5 an incoming packet arrives at the first electronic device at the moment of t2; the first electronic device waits for a DIFS duration starting from the moment of t2 and directly sends an information frame, and the first electronic device does not perform random number backoff. It is necessary to calculate the collision rate of the first electronic device directly sending an information frame at the moment of t3 (i.e., the end moment of the DIFS duration).

[0128] Among them, in the channel idle scenario, calculating the collision rate of the first electronic device directly sending an information frame at the moment of t3 is actually calculating the probability of incoming packets Pcollision of other electronic devices at and before the moment of t2.

[0129] Among them, the probability of incoming packets of other electronic devices before the moment of t2 includes two parts: one is the probability of incoming packets P3 before the moment of t2, and the other is the probability of incoming packets P4 at the moment of t2; thus, the probability of incoming packets Pcollision of other electronic devices before the moment of t2 is obtained as Pcollision = P3 + P4.

[0130] Among them, since the channel is in an idle state at the moment of t2, and the channel remains in an idle state during the fixed duration of [t2, t3], and all electronic devices follow the rule of "waiting for a fixed duration (for example, the fixed duration is the DIFS duration) after the channel becomes idle and then directly accessing the channel", the probability of incoming packets P3 of other electronic devices before the moment of t2 is 0.

[0131] Assuming that the overall packet arrival probability density function of other electronic devices is p(t), the packet arrival probability of other electronic devices at time t2 can be obtained. Therefore, the packet arrival probability Pcollision = P3 + P4 = 0 of other electronic devices before time t2 can be obtained. That is, the collision rate Pcollision = P3 + P4 = 0 of the first electronic device directly sending an information frame at time t3 (i.e., the end time of the DIFS duration) is obtained.

[0132] It can be seen that as long as it is detected that the channel is idle during a fixed duration after the moment (time t2) triggering the channel access process, it can be determined that the probability of a collision occurring on the channel when sending an information frame at the end time of the DIFS duration (i.e., time t3) is 0. Therefore, in a channel idle scenario, the electronic device does not need to execute the random number backoff mechanism in the DCF mechanism.

[0133] Figure 6 The timing diagram for the electronic device provided by the embodiment of the present application to send an information frame is as Figure 6 shown. The electronic device 1 can be an AP, and the electronic devices 2 and 3 can be STAs. Both the electronic device 2 and the electronic device 3 are associated with the electronic device 1. At the initial moment, both the electronic device 2 and the electronic device 3 turn on the channel listening function (CCA awake) and monitor the busy degree of the air interface in real time. Figure 6 "CCA awake" in this refers to turning on the channel detection function; "channel idle" means the channel is idle; "data arrival" is a packet arrival (i.e., it is determined that there is an information frame to be sent); "CCA sleep" is turning off the channel detection function. CCA is Clear Channel Assessment.

[0134] Among them, at Figure 6At time T(1), the electronic device 3 needs to send an information frame, and the electronic device 3 determines that the channel is idle at time T(1). Since the electronic device 3 has been listening to the channel before time T(1), and it is determined that the channel has been idle within a fixed duration (e.g., fixed duration = DIFS duration + a Slot time) adjacent to the time before T(1), the electronic device 3 does not execute the DCF mechanism and directly occupies the channel at time T(1) to send the information frame. At this time, the electronic device 3 sends a request to send (RTS) frame to the channel at time T(1) to request to send the information frame; the AP feeds back a clear to send (CTS) frame to the electronic device 3 to indicate that the electronic device 3 is allowed to send the information frame; then, the electronic device 3 uploads a presentation protocol data unit (PPDU). Among them, for the PPDU information frame, the AP replies a block acknowledgement (BA) frame to the electronic device 3, and after a certain time, the TXOP duration of the electronic device 3 ends.

[0135] Among them, within the TXOP duration of the electronic device 3, the electronic device 2 enters the sleep state, so the channel detection function of the electronic device 2 is turned off (CCA sleep), that is, the electronic device 2 no longer listens to the channel state. Then, the electronic device 2 receives a packet at time T(2), and then the electronic device 2 wakes up from the sleep state. The electronic device 2 turns on the channel listening function (CCA awake). If the electronic device 2 determines that the channel has been idle within a fixed duration (e.g., fixed duration = DIFS duration + a Slot time) starting from the moment when the channel listening function is turned on, the electronic device 2 does not execute the DCF mechanism and directly occupies the channel at the end of the fixed duration to send the information frame. At this time, the electronic device 2 sends an RTS frame to the channel at the end of the fixed duration to request to send the information frame; the AP feeds back a CTS frame to the electronic device 2 to indicate that the electronic device 2 is allowed to send the information frame; then, the electronic device 2 uploads a PPDU. Among them, for the PPDU information frame, the AP replies a BA frame to the electronic device 2, and after a certain time, the TXOP duration of the electronic device 2 ends.

[0136] Among them, the electronic device 3 receives an upstream packet at time T(3), but time T(3) is within the TXOP time of the electronic device 2. Therefore, the electronic device 3 determines that the channel is occupied, and this is a channel busy scenario at this time. Therefore, after the TXOP time of the electronic device 2 ends, the electronic device 3 needs to execute the DCF mechanism. That is, after the TXOP time of the electronic device 2 ends, the electronic device 3 first waits for a DIFS duration, and then, the electronic device 3 performs countdown based on a random number. After the electronic device 3 determines that the countdown of the random number is 0, if the channel has been idle within the DIFS duration and the duration of the countdown, the electronic device 3 occupies the channel to send an information frame. At this time, the electronic device 3 sends an RTS frame to the upstream channel when the countdown of the random number is 0 to request to send an information frame; the AP feeds back a CTS frame to the electronic device 3 to indicate that the electronic device 3 is allowed to send an information frame; furthermore, the electronic device 3 uploads a PPDU. Among them, for the PPDU information frame, the AP replies a BA frame to the electronic device 3, and after a certain time, the TXOP duration of the electronic device 3 ends.

[0137] It is possible to simulate the delay of obtaining an information frame transmission under different access category levels to determine the delay situation. Among them, based on EDCA (Enhanced Distributed Channel Access), there are four access category levels, namely AC_BK, AC_BE, AC_VI, and AC_VO. Table 1 shows the data values under different AC levels, where the CWmin value, CWmax value, and AIFS value are shown. Among them, CWmin is the minimum value of the contention window, CWmax is the maximum value of the contention window, and AIFSN is the AIFS time corresponding to the AC level.

[0138] AC level CWmin CWmax AIFSN AC_BK 31 1023 7 AC_BE 31 1023 3 AC_VI 15 31 2 AC_VO 7 15 2

[0139] Table 1

[0140] Figure 7 This is the delay simulation of the AC_BK access category level provided by the embodiment of the present application Figure 1 , Figure 7 Figure (a) of is the delay simulation diagram when executing the DCF mechanism in a sparse packet reception scenario (i.e., sparse air interface traffic) and with the access category level being the AC_BK level. Figure 7 The horizontal axis of Figure (a) of is the delay, Figure 7 The vertical axis of Figure (a) of is the frequency. Figure 7 Figure (a) of is the frequency distribution of the transmission delay when sending an information frame with a preset traffic running duration.

[0141] Among them, in AC_BK, AC represents access categories (AC), and BK represents background (BK).

[0142] Figure 7 Figure (b) is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse air interface service) and when the DCF mechanism is not executed at the AC_BK level, that is, the delay simulation diagram of implementing the solution of this embodiment. Figure 7 The horizontal axis of Figure (b) is delay Figure 7 The vertical axis of Figure (b) is frequency. Figure 7 Figure (b) is the frequency distribution of the transmission delay when sending information frames with a preset traffic running duration.

[0143] Among them, the sparse packet arrival scenario (i.e., sparse air interface service) refers to a scenario where the frequency of the electronic device needing to send information frames is relatively low.

[0144] It can be seen from Figure 7 that based on the solution of this embodiment, the delay of sending information frames is lower and the delay is more concentrated. Among them, "the delay is more concentrated" means that the delays of each electronic device are within a small range.

[0145] Figure 8 is the delay simulation of the AC_BE access category level provided by the embodiment of the present application Figure 1 , Figure 8 Figure (a) is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse air interface service) and when the DCF mechanism is executed at the AC_BE level.

[0146] Figure 8 The horizontal axis of Figure (a) is delay Figure 8 The vertical axis of Figure (a) is frequency. Figure 8 Figure (a) is the frequency distribution of the transmission delay when sending information frames with a preset traffic running duration.

[0147] Among them, in AC_BE, AC represents access categories (AC), and BE represents best effort (BE).

[0148] Figure 8 Figure (b) is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse air interface service) and when the DCF mechanism is not executed at the AC_BE level, that is, the delay simulation diagram of implementing the solution of this embodiment. Figure 8 The horizontal axis of Figure (b) is delay Figure 8 The vertical axis of Figure (b) is frequency. Figure 8In (b), it is the frequency distribution of the transmission delay when sending information frames with a preset packet running duration.

[0149] It can be seen from Figure 8 that, based on the solution of this embodiment, the transmission delay of the information frame is lower and the delay is more concentrated. Among them, "the delay is more concentrated" means that the delays of each electronic device are within a small range.

[0150] Figure 9 is the delay simulation of the AC_VI access category level provided by the embodiment of the present application Figure 1 , Figure 9 In (a), it is the delay simulation diagram when executing the DCF mechanism in a sparse packet arrival scenario (i.e., sparse air interface service) and with an access category level of AC_VI.

[0151] Figure 9 In the horizontal axis of (a) is the delay, Figure 9 In the vertical axis of (a) is the frequency. Figure 9 In (a), it is the frequency distribution of the transmission delay when sending information frames with a preset packet running duration.

[0152] Among them, in AC_VI, AC is the access category (access categories, AC), and VI is the video service (video, VI).

[0153] Figure 9 In (b), it is the delay simulation diagram when not executing the DCF mechanism in a sparse packet arrival scenario (i.e., sparse air interface service) and with an access category level of AC_VI, that is, the delay simulation diagram of executing the solution of this embodiment. Figure 9 In the horizontal axis of (b) is the delay, Figure 9 In the vertical axis of (b) is the frequency. Figure 9 In (b), it is the frequency distribution of the transmission delay when sending information frames with a preset packet running duration.

[0154] It can be seen from Figure 9 that, based on the solution of this embodiment, the transmission delay of the information frame is lower and the delay is more concentrated. Among them, "the delay is more concentrated" means that the delays of each electronic device are within a small range.

[0155] Figure 10 is the delay simulation of the AC_VO access category level provided by the embodiment of the present application Figure 1 , Figure 10 In (a), it is the delay simulation diagram when executing the DCF mechanism in a sparse packet arrival scenario (i.e., sparse air interface service) and with an access category level of AC_VO. Figure 10 In the horizontal axis of (a) is the delay, Figure 10The vertical axis of (a) is the frequency. Figure 10 In (a), when sending information frames with a preset running flow duration, it shows the frequency distribution of the transmission delay.

[0156] Among them, in AC_VO, AC stands for access categories, and VO stands for voice.

[0157] Figure 10 In (b), it is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse radio interface traffic) and without executing the DCF mechanism at the AC_VO class level, that is, the delay simulation diagram of implementing the solution of this embodiment. Figure 10 The horizontal axis of (b) is the delay, Figure 10 The vertical axis of (b) is the frequency. Figure 10 In (b), when sending information frames with a preset running flow duration, it shows the frequency distribution of the transmission delay.

[0158] It can be seen from Figure 10 that based on the solution of this embodiment, the delay of sending information frames is lower and more concentrated. Among them, "the delay is more concentrated" means that the delays of each electronic device are within a small range.

[0159] Figure 11 This is the delay simulation of the AC_BK access category level provided by the embodiment of the present application Figure 2 , Figure 11 In (a), it is a delay simulation diagram when in a full-load packet arrival scenario (i.e., radio interface traffic is nearly saturated) and executing the DCF mechanism at the AC_BK class level. Figure 11 The horizontal axis of (a) is the delay, Figure 11 The vertical axis of (a) is the frequency. Figure 11 In (a), when sending information frames with a preset running flow duration, it shows the frequency distribution of the transmission delay.

[0160] Figure 11 In (b), it is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse radio interface traffic) and without executing the DCF mechanism at the AC_BK class level, that is, the delay simulation diagram of implementing the solution of this embodiment. Figure 11 The horizontal axis of (b) is the delay, Figure 11 The vertical axis of (b) is the frequency. Figure 11 In (b), when sending information frames with a preset running flow duration, it shows the frequency distribution of the transmission delay.

[0161] Among them, the full-load packet arrival scenario (i.e., radio interface traffic is nearly saturated) means a scenario where the frequency of electronic devices needing to send information frames is relatively high.

[0162] It can be seen from Figure 11 that the delay of the transmitted information frame based on the solution of this embodiment is more concentrated. Herein, "the delay is more concentrated" means that the delays of each electronic device are within a small interval.

[0163] Figure 12 is the delay simulation of the AC_BE access category level provided by the embodiment of the present application Figure 2 , Figure 12 Figure (a) of which is the delay simulation diagram when the DCF mechanism is executed under the full-load packet arrival scenario (i.e., the air interface service is nearly saturated) and the access category level is the AC_BE level. Figure 12 The horizontal axis of Figure (a) of Figure 12 is the delay, and the vertical axis of Figure (a) of Figure 12 is the frequency. Figure (a) of

[0164] Figure 12 is the delay simulation diagram when the DCF mechanism is not executed under the sparse packet arrival scenario (i.e., the air interface service is sparse) and the access category level is the AC_BE level, that is, the delay simulation diagram of executing the solution of this embodiment. Figure 12 The horizontal axis of Figure (b) of Figure 12 is the delay, and the vertical axis of Figure (b) of Figure 12 is the frequency. Figure (b) of

[0165] It can be seen from Figure 12 that the delay of the transmitted information frame based on the solution of this embodiment is more concentrated. Herein, "the delay is more concentrated" means that the delays of each electronic device are within a small interval.

[0166] Figure 13 is the delay simulation of the AC_VI access category level provided by the embodiment of the present application Figure 2 , Figure 13 Figure (a) of which is the delay simulation diagram when the DCF mechanism is executed under the full-load packet arrival scenario (i.e., the air interface service is nearly saturated) and the access category level is the AC_VI level. Figure 13 The horizontal axis of Figure (a) of Figure 13 is the delay, and the vertical axis of Figure (a) of Figure 13 is the frequency. Figure (a) of

[0167] Figure 13Figure (b) is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse radio access bearer service) and when the access category level is AC_VI level and the DCF mechanism is not executed, that is, the delay simulation diagram of implementing the solution of this embodiment. Figure 13 The horizontal axis of Figure (b) is delay. Figure 13 The vertical axis of Figure (b) is frequency. Figure 13 Figure (b) is the frequency distribution of the transmission delay when sending information frames with a preset traffic flow duration.

[0168] It can be seen from Figure 13 that the transmission delay of the information frames based on the solution of this embodiment is more concentrated. Herein, "the delay is more concentrated" means that the delays of each electronic device are within a small interval.

[0169] Figure 14 is the delay simulation of the AC_VO access category level provided by the embodiment of the present application Figure 2 , Figure 14 Figure (a) is a delay simulation diagram when in a full-load packet arrival scenario (i.e., the radio access bearer service is nearly saturated) and when the access category level is AC_VO level and the DCF mechanism is executed. Figure 14 The horizontal axis of Figure (a) is delay. Figure 14 The vertical axis of Figure (a) is frequency. Figure 14 Figure (a) is the frequency distribution of the transmission delay when sending information frames with a preset traffic flow duration.

[0170] Figure 14 Figure (b) is a delay simulation diagram when in a sparse packet arrival scenario (i.e., sparse radio access bearer service) and when the access category level is AC_VO level and the DCF mechanism is not executed, that is, the delay simulation diagram of implementing the solution of this embodiment. Figure 14 The horizontal axis of Figure (b) is delay. Figure 14 The vertical axis of Figure (b) is frequency. Figure 14 Figure (b) is the frequency distribution of the transmission delay when sending information frames with a preset traffic flow duration.

[0171] It can be seen from Figure 14 that the transmission delay of the information frames based on the solution of this embodiment is more concentrated. Herein, "the delay is more concentrated" means that the delays of each electronic device are within a small interval.

[0172] It can be known from the above simulation diagrams that based on the solution of this embodiment, when the channel is in an idle state, the DCF mechanism is not executed, but the solution of this embodiment is executed, which can make the delay distribution more concentrated in the low value area, and can effectively reduce the delay especially in the sparse packet arrival scenario.

[0173] In this embodiment, the electronic device has been listening to the channel before the moment when the channel access process is triggered. The electronic device is always in a non-sleep state. Starting from the moment when the channel access process is triggered, the electronic device counts backward for a fixed duration. If it is determined that the channel has been in an idle state during this fixed duration (i.e., it belongs to the channel idle scenario), the electronic device can directly occupy the channel to send an information frame at the moment when the channel access process is triggered. Alternatively, when the electronic device is about to send an information frame at the moment when the channel access process is triggered, the electronic device enables the channel listening function at the moment when the channel access process is triggered. The electronic device counts forward for a fixed duration starting from the moment when the channel access process is triggered. If it is determined that the channel has been in an idle state during this fixed duration, it is determined that the current belongs to the channel idle scenario. The electronic device then directly occupies the channel to send an information frame at the end moment of the fixed duration. Thus, there is no need to execute the DCF mechanism, thereby reducing the waste of air interface resources and reducing the delay of the electronic device in sending information frames. Moreover, the DCF mechanism based on doubling a random number will not be executed, further reducing the delay of the electronic device in sending information frames. Also, since the DCF mechanism based on doubling a random number will not be executed, when multiple electronic devices need to occupy the channel to transmit information frames, conflicts can be reduced.

[0174] The method for sending an information frame based on the channel state according to the embodiment of the present application has been described in detail above. Next, the apparatus for sending an information frame based on the channel state according to the embodiment of the present application will be described.

[0175] Figure 15 It is a schematic block diagram of an apparatus for sending an information frame based on the channel state provided by the embodiment of the present application. The apparatus of the embodiment of the present application can be the electronic device in the above method embodiment, or one or more chips in the electronic device. The apparatus can be used to execute some or all of the functions of the terminal device in the above method embodiment. The apparatus can include the following units and modules.

[0176] A sending unit 151, configured to, if it is determined that the channel state of the channel is in an idle state during a fixed duration, send an information frame based on the channel at a specified moment; wherein, when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the specified moment is the first moment, and the first moment is the moment when the information frame to be sent triggers the channel access process; when the fixed duration is the duration after the first moment, the start moment of the fixed duration is the first moment, and the specified moment is the end moment of the fixed duration after the first moment.

[0177] The sending unit 151 is further configured to: if it is determined that the sending of the information frame based on the channel fails at the specified moment, re-send the information frame based on the distributed coordination function (DCF) mechanism.

[0178] A sending module 151, configured to perform the communication actions of the terminal device in the foregoing embodiments.

[0179] In one example, the fixed duration is greater than or equal to the Distributed Coordination Function Inter - Frame Space (DIFS) duration. For example, the fixed duration is equal to the sum of the DIFS duration and the duration occupied by one time slot.

[0180] Alternatively, in one example, the fixed duration corresponds to the access category level of the electronic device, and the fixed duration corresponding to the access category level is greater than or equal to the Arbitration Inter - Frame Space (AIFS) duration corresponding to the access category level. For example, the fixed duration corresponding to the access category level is equal to the sum of the AIFS duration corresponding to the access category level and the duration occupied by one time slot.

[0181] In one example, when the fixed duration is the duration before the first moment, the electronic device is in a non - sleeping state before the initial moment of the fixed duration.

[0182] In one example, when the fixed duration is the duration after the first moment, the electronic device is in a sleeping state before the initial moment of the fixed duration.

[0183] The device in this embodiment can be used to perform the actions of the terminal device in the foregoing method. Its implementation principle and technical effects are similar and will not be elaborated here.

[0184] Figure 16 FIG. is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As Figure 16 shown, the electronic device includes: a processor 1601, a transmitter 1602, and a receiver 1603.

[0185] The processor 1601 can be used to execute the processing process of the electronic device in the foregoing method embodiment, or the programs of the various units and modules shown in the foregoing embodiments. The processor 1601 calls the program to execute the operations of the above - mentioned method embodiment to implement the various units and modules shown in the foregoing embodiments.

[0186] Optionally, the electronic device may further include a memory 1604, and the memory 1604 is used to store the program code and data of the electronic device.

[0187] Optionally, the electronic device may further include a bus 1605. Among them, the processor 1601, the transmitter 1602, the receiver 1603, and the memory 1604 may be interconnected through the bus 1605; the bus 1605 may be a PCI bus or an EISA bus, etc. The above-mentioned bus 1605 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. For ease of representation, Figure 16 it is only represented by a thick line in the figure, but it does not mean that there is only one bus or one type of bus.

[0188] In the embodiments of the present application, the above embodiments can be referred to and learned from each other, and the same or similar steps and terms will not be described in detail one by one.

[0189] Alternatively, some or all of the above modules can also be implemented in the form of integrated circuits embedded in a certain chip of the device. And they can be implemented separately or integrated together. That is, the above modules can be configured as one or more integrated circuits for implementing the above method, for example: one or more application-specific integrated circuits (ASICs), or, one or more digital signal processors (DSPs), or, one or more field programmable gate arrays (FPGAs), etc.

[0190] The embodiments of the present application provide a computer-readable storage medium. When the program code stored in the computer-readable storage medium is executed by the processor of the communication device, the above method is implemented.

[0191] The embodiments of the present application provide a computer program product. When the program code included in the computer program product is executed by the processor in the electronic device, the above method is implemented.

[0192] The embodiments of the present application provide a communication system, and the communication system includes at least one electronic device provided in the above embodiments.

[0193] In the embodiments and the accompanying drawings, the terms "first", "second", "third", "fourth", etc. are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In addition, the terms "include" and "have" and any variations thereof are intended to mean non-exclusive inclusion. For example, including a series of steps or units. A method, system, product, or device is not necessarily limited to those steps or units literally listed, but may include other steps or units not literally listed or inherent to these processes, methods, products, or devices.

[0194] It should be understood that in this application, "at least one" means one or more, and "a plurality" means two or more. "And / or" is used to describe the relationship between associated objects and indicates that there can be three relationships. For example, "A and / or B" can mean: only A exists, only B exists, and both A and B exist at the same time. Among them, A and B can be singular or plural. The character " / " generally means that the associated objects before and after are in an "or" relationship. "At least one (item)" or a similar expression thereof refers to any combination of these items, including any combination of single items or plural items. For example, at least one (item) of a, b, or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, and c can be single or multiple.

[0195] It should be understood that in this application, the magnitudes of the sequence numbers of the above processes do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic and should not constitute any limitation on the implementation process of the embodiments of this application. The term "coupled" mentioned in this application is used to express the interconnection or interaction between different components and can include direct connection or indirect connection through other components.

[0196] In the above embodiments of the present application, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (such as coaxial cable, optical fiber, etc.) or wirelessly (such as infrared, radio, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated available media. The available medium can be a magnetic medium, such as a floppy disk, a hard disk, and a magnetic tape; it can be an optical medium, such as a DVD; or it can be a semiconductor medium, such as a solid-state disk (SSD), etc.

[0197] In the embodiments of the present application, a memory refers to a device or circuit with the ability to store data or information and can provide instructions and data to a processor. The memory includes a read-only memory (ROM), a random access memory (RAM), a non-volatile random access memory (NVRAM), a programmable read-only memory, or an electrically erasable programmable memory, a register, etc.

[0198] As described above, the above are only the specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present invention. Therefore, the protection scope of the present invention should be subject to the protection scope of the claims.

Claims

1. A method for sending information frames based on channel state, characterized in that, The method includes: If it is determined that the channel state of the channel is idle within a fixed duration, an information frame is sent based on the channel at a specified moment; Wherein, when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the specified moment is the first moment, and the first moment is the moment for the information frame to be sent to trigger the channel access process; when the fixed duration is the duration after the first moment, the start moment of the fixed duration is the first moment, and the specified moment is the end moment of the fixed duration after the first moment.

2. The method according to claim 1, wherein The fixed duration is greater than or equal to the Distributed Coordination Function Inter-Frame Space (DIFS) duration.

3. The method according to claim 2, wherein The fixed duration is equal to the sum of the DIFS duration and the duration occupied by one time slot.

4. The method according to claim 1, wherein The fixed duration corresponds to the access category level of the electronic device, and the fixed duration corresponding to the access category level is greater than or equal to the Arbitration Inter-Frame Space (AIFS) duration corresponding to the access category level.

5. The method according to claim 4, wherein The fixed duration corresponding to the access category level is equal to the sum of the AIFS duration corresponding to the access category level and the duration occupied by one time slot.

6. The method according to any one of claims 1 to 5, characterized in that When the fixed duration is the duration before the first moment, the electronic device is in a non-sleep state before the start moment of the fixed duration.

7. The method according to any one of claims 1 to 6, characterized in that When the fixed duration is the duration after the first moment, the electronic device is in a sleep state before the start moment of the fixed duration.

8. The method according to any one of claims 1-7, characterized in that, The method further includes: If it is determined that the sending of the information frame based on the channel at the specified moment fails, the information frame is re-sent based on the Distributed Coordination Function (DCF) mechanism.

9. An information frame sending device based on channel state, characterized in that, The apparatus includes: A sending unit, configured to send an information frame based on the channel at a specified moment if it is determined that the channel state of the channel is idle within a fixed duration; Wherein, when the fixed duration is the duration before the first moment, the end moment of the fixed duration is the first moment, the specified moment is the first moment, and the first moment is the moment for the information frame to be sent to trigger the channel access process; when the fixed duration is the duration after the first moment, the start moment of the fixed duration is the first moment, and the specified moment is the end moment of the fixed duration after the first moment.

10. The device according to claim 9, characterized in that, The fixed duration is greater than or equal to the Distributed Coordination Function Inter-Frame Space (DIFS) duration.

11. The device according to claim 10, characterized in that, The fixed duration is equal to the sum of the DIFS duration and the duration occupied by one time slot.

12. The device according to claim 9, characterized in that, The fixed duration corresponds to the access category level of the electronic device, and the fixed duration corresponding to the access category level is greater than or equal to the Arbitration Inter-Frame Space (AIFS) duration corresponding to the access category level.

13. The device according to claim 12, characterized in that, The fixed duration corresponding to the access category level is equal to the sum of the AIFS duration corresponding to the access category level and the duration occupied by one time slot.

14. The device according to any one of claims 9-13, characterized in that When the fixed duration is the duration before the first moment, the electronic device is in a non-sleep state before the start moment of the fixed duration.

15. The device according to any one of claims 9-14, characterized in that, When the fixed duration is the duration after the first moment, the electronic device is in a sleep state before the start moment of the fixed duration.

16. The device according to any one of claims 9-15, characterized in that, The sending unit is further configured to: If it is determined that the transmission of the information frame based on the channel at the specified moment fails, the information frame is retransmitted based on the Distributed Coordination Function (DCF) mechanism.

17. An electronic device, characterized in that, Comprising: a processor, a memory, a transmitter, and a receiver; the transmitter and the receiver are coupled to the processor, the processor controls the transmission action of the transmitter, and the processor controls the reception action of the receiver; wherein, the memory is used to store computer-executable program code, and the program code includes instructions; when the processor executes the instructions, the instructions cause the electronic device to execute the method according to any one of claims 1-8.

18. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by the processor, they are used to implement the method according to any one of claims 1-8.

19. A computer program product, characterized in that, Comprising a computer program, and when the computer program is executed by the processor, it implements the method according to any one of claims 1-8.