WO2023160338A1 - Communication method and apparatus - Google Patents

Communication method and apparatus Download PDF

Info

Publication number
WO2023160338A1
WO2023160338A1 PCT/CN2023/073995 CN2023073995W WO2023160338A1 WO 2023160338 A1 WO2023160338 A1 WO 2023160338A1 CN 2023073995 W CN2023073995 W CN 2023073995W WO 2023160338 A1 WO2023160338 A1 WO 2023160338A1
Authority
WO
WIPO (PCT)
Prior art keywords
air interface
virtual
interference
real
contention
Prior art date
Application number
PCT/CN2023/073995
Other languages
French (fr)
Chinese (zh)
Inventor
程经纬
汤中民
吕捷
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023160338A1 publication Critical patent/WO2023160338A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Definitions

  • the present application relates to the technical field of communication, and, more specifically, to a communication method and device.
  • a wireless access point (access point, AP) is deployed to provide a wireless network for each station (station, STA).
  • STA station
  • Wi-Fi For Wi-Fi, the most commonly used WLAN technology, in the actual communication process, whether it is between APs or between STAs or between STAs and APs, the throughput will be reduced and the time will be reduced due to mutual interference. Problems such as extended delay make the user experience poor. Therefore, how to characterize the degree to which a communication device is affected by interference from other devices, and improve communication quality based on the degree of interference, thereby further improving user experience, has become a crucial issue.
  • the present application provides a communication method and device. Based on the interference parameters, it is possible to more accurately determine the busy state of the air interface of the communication device and the degree of influence by interference from other devices, thereby improving communication quality and user experience.
  • the embodiment of the present application provides a communication method.
  • the method is applied to the first device, or may also be executed by a chip or a circuit configured in the first device, which is not limited in the present application.
  • the first device is a WLAN device capable of sending data packets.
  • the method includes: the first device acquires virtual interference parameters.
  • the first device determines the air interface busy state of the first device according to the virtual interference parameter.
  • the first device sends the message according to the busy state of the air interface.
  • the first device determines the busy state of the air interface of the first device through the obtained virtual interference parameters, that is, the degree of interference of the first device by other devices, so that the first device can send a message according to
  • the obtained air interface busy status is used to select an appropriate communication opportunity, thereby improving communication quality and user experience.
  • the virtual interference parameter includes: at least one of virtual air interface contention delay and virtual air interface collision rate.
  • the virtual air interface contention delay is an air interface contention delay when the first device simulates sending packets.
  • the virtual air interface contention delay is the difference between the time when the simulated contention air interface is completed and the time when the simulated contention air interface starts, and the time when the simulated contention air interface is completed Time is the time when the counter counts to the end.
  • the first device in this application can measure the degree of interference from other devices according to the virtual air interface contention delay, so that the first device can dynamically obtain the busy status of the air interface in real time.
  • the virtual air interface conflict rate of the first device is A ratio between the number of times of air interface collisions during which packets are simulated to be sent within the first time period and the number of times the first device is simulated to send packets within the first time period.
  • the first device in this application can measure the degree of interference from other devices according to the collision rate of the virtual air interface, so that the first device can dynamically obtain the busy status of the air interface in real time.
  • the number of air interface collisions for the simulated packet sending is the number of times the first device and the second device simultaneously compete for an air interface packet sending opportunity.
  • the acquiring the virtual interference parameter by the first device includes: determining, by the first device, the virtual interference parameter according to a preset first parameter, so that The first parameter includes at least one of the following: channel utilization, number of interferences, and interference intensity.
  • the method further includes: the first device acquires a real interference parameter, and determines an air interface busy state of the first device according to the real interference parameter.
  • the real interference parameter includes: at least one of a real air interface contention delay and a real air interface collision rate.
  • the real air interface contention delay is an air interface contention delay when the first device sends a packet.
  • the real air interface collision rate is the same as the number of air interface collisions that the first device sends data packets within the first time period The ratio between the number of packets sent in the first time period.
  • the communication method provided by this application can measure the amount of interference currently received by other devices through the real air interface contention delay and the real air interface collision rate when the first device needs to send data packets. Based on the degree of interference received, the first device can flexibly select a communication opportunity during the communication process, thereby improving communication quality.
  • the embodiment of the present application provides a communication device.
  • the device includes: an acquisition module, used to acquire virtual interference parameters.
  • a processing module configured to determine the air interface busy state of the device according to the virtual interference parameter.
  • a transceiver module configured to send packets according to the busy state of the air interface.
  • the virtual interference parameter includes: at least one of virtual air interface contention delay and virtual air interface collision rate.
  • the virtual air interface contention delay is an air interface contention delay when the device simulates sending packets.
  • the virtual air interface contention delay is the difference between the time when the simulated contention air interface is completed and the time when the simulated contention air interface starts, and the time when the simulated contention air interface is completed Time is the time when the counter counts to the end.
  • the virtual air interface conflict rate is the same as the number of air interface conflicts that the device simulates sending packets within the first time period and the number of times the device simulates sending packets within the first time period. The ratio between the times of simulated packet sending.
  • the number of air interface conflicts for the simulated packet sending is the number of times that the device and other devices compete for an air interface packet sending opportunity at the same time.
  • the acquiring module is specifically configured to determine the virtual interference parameter according to a preset first parameter, where the first parameter includes at least one of the following: channel Utilization rate, number of interferences, interference intensity.
  • the acquiring module is further configured to acquire real interference parameters.
  • the processing module is further configured to determine an air interface busy state of the device according to the real interference parameter.
  • the real interference parameter includes: at least one of a real air interface contention delay and a real air interface collision rate.
  • the real air interface contention delay is an air interface contention delay when the device sends a packet.
  • the real air interface collision rate is the same as the number of air interface collisions that the device sends data packets within the first time period The ratio between the number of packets sent within.
  • the embodiment of the present application provides a communication device, where the device includes a processor and a memory, where the memory stores program codes.
  • the processor is configured to read and execute the program code stored in the memory, and execute the first aspect and the method in any possible implementation manner of the first aspect.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program (also referred to as code, or instruction) when it runs on a computer, so that the computer executes the above-mentioned
  • a computer program also referred to as code, or instruction
  • the embodiment of the present application provides a computer program product
  • the computer program product includes: a computer program (also referred to as code, or instruction), when the computer program is executed, the computer executes the above-mentioned first aspect And the method in any possible implementation manner in the first aspect.
  • FIG. 1 shows a schematic diagram of an architecture of a communication system provided by an embodiment of the present application.
  • FIG. 2 shows a schematic flow diagram of a communication method 200 provided by an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of a method 300 for obtaining contention delay of a virtual air interface provided by an embodiment of the present application.
  • FIG. 4 shows a schematic diagram of a backoff count provided by an embodiment of the present application.
  • FIG. 5 shows a schematic diagram of AIFS for four different data types applicable to the embodiment of the present application.
  • FIG. 6 shows a schematic flowchart of a method 600 for obtaining a virtual air interface collision rate provided by an embodiment of the present application.
  • FIG. 7 shows a schematic flow diagram of a communication method 700 provided by an embodiment of the present application.
  • FIG. 8 shows a schematic diagram of a real air interface contention delay provided by an embodiment of the present application.
  • Fig. 9 shows a schematic block diagram of a communication device provided by an embodiment of the present application.
  • FIG. 10 shows a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • words such as “exemplary” or “for example” are used to indicate examples, illustrations or illustrations, and the embodiments or designs described as “exemplary” or “for example” should not be construed as preferred or advantageous over other embodiments or designs.
  • the use of words such as “exemplary” or “for example” is intended to present related concepts in a specific manner for easy understanding.
  • the character "/" generally indicates that the context-related objects are an “or” relationship.
  • “virtual air interface competition” corresponds to "real air interface competition", which means that the device does not currently send packets or data packets, but only simulates the real sending scenario. That is, “virtual” only represents the simulated state.
  • the "virtual air interface contention delay” and “virtual air interface collision rate” in the following embodiments of this application are all relative to the actual sending of packets by the device in this scenario.
  • the interference parameters obtained in the simulated packet sending scenario are virtual interference parameters
  • the interference parameters obtained in the actual packet sending scenario are real interference parameters.
  • the technical solution of the present application may be applied to a WLAN network, an IoT network, an Internet of Vehicles network, or other networks, etc., and is not specifically limited in this application.
  • the application scenario of this application may be a WLAN network based on the IEEE802.11ax standard, or an IoT network based on the IEEE802.11ax standard, or a vehicle-to-X (V2X) network based on the IEEE802.11ax standard network, or other networks based on the IEEE802.11ax standard, or a next-generation WLAN network based on 802.11ax, or an IoT network based on the next-generation standard of IEEE802.11ax, or a vehicle based on the next-generation standard of IEEE802.11ax A networking (Vehicle-to-X, V2X) network, or other networks based on the next-generation standards of IEEE802.11ax, or other WLAN networks of future standard protocols.
  • V2X vehicle-to-X
  • FIG. 1 shows a schematic diagram of an architecture of a communication system provided by an embodiment of the present application.
  • the architecture of the communication system shown in FIG. 1 includes three APs and two STAs. These two devices are further introduced below.
  • the STA involved in this embodiment of the present application is a device with a wireless communication function, which may refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, Terminal, wireless communication device, user agent or user device.
  • the station can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication capable Handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in the future 6G network or terminals in the future evolved public land mobile network (PLMN) equipment, etc., which are not limited in this embodiment of the present application.
  • SIP session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • the AP involved in this embodiment of the present application may be a device for communicating with an STA.
  • the AP can be any device with wireless transceiver function or a chip that can be set on the device, the device includes but not limited to: evolved Node B (evolved Node B, eNB), wireless network controller (radio network controller, RNC), node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB or home Node B, HNB), Base band unit (base band unit, BBU), access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP) in wireless fidelity (wireless fidelity, WIFI) system Or sending and receiving point (transmission and reception point, TRP), etc., can also be 5G, such as NR, gNB in the system, or transmission point (TRP or TP), one or a
  • FIG. 1 is only an example rather than a limitation, and in the same WLAN system, there may be more STAs accessing the network through the AP. There will be mutual interference between each STA and AP, or between each STA, or between each AP when sending wireless signals. Therefore, in order to ensure that the transmitted wireless signal is not affected by other devices, for the transmission For devices with wireless signals (including STAs and APs), how to determine air interface interference more accurately becomes a crucial issue.
  • the interference of the WLAN network is usually measured by counting the number of interferences, interference intensity, or interference duty cycle.
  • the number of interferences and interference intensity can only measure whether there is interference, but cannot reflect the number of interference packets, because, for an AP, the same interference always sends data or does not send data and only sends beacons (beacon), for this AP
  • the difference in impact is huge.
  • the interference duty cycle cannot represent the preemption capability of the interference, nor can it represent the impact of the current interference on the device.
  • the communication method and device provided by this application can determine the busy state of the air interface of the device through interference parameters, improve the accuracy of measuring WLAN network interference, and at the same time make the timing of the device sending wireless signals more accurate, further To improve communication quality and user experience.
  • FIG. 2 shows a schematic flow diagram of a communication method 200 provided by an embodiment of the present application. As shown in Figure 2, the method includes the following steps.
  • the first device acquires virtual interference parameters.
  • the first device acquires virtual interference parameters.
  • the first device may include a device/module for obtaining virtual interference parameters, that is, the device/module for obtaining virtual interference parameters is a component of the first device, and the device/module for obtaining virtual interference parameters may implement the embodiment of the present application
  • the device/module for obtaining virtual interference parameters is independent of the first device, the device/module for obtaining virtual interference parameters executes the method for obtaining virtual interference parameters, and the first device can obtain virtual interference parameters from the device/module for obtaining virtual interference parameters interference parameters.
  • the acquisition of the virtual interference parameter by the first device is taken as an example for description in the following embodiments.
  • the virtual interference parameter may be a virtual air interface contention delay.
  • the process of obtaining the contention delay of the virtual air interface may be shown in the flow chart of FIG. 3 .
  • FIG. 3 shows a schematic flowchart of a method 300 for acquiring virtual air interface contention delay by using a counter according to an embodiment of the present application, and the method 300 includes the following steps.
  • the first device may initiate a virtual air interface competition, and this process is a simulated process of real message sending.
  • the first device After the first device initiates the virtual air interface competition without packets, the first device records the time t1 when the virtual air interface competition starts.
  • the virtual air interface competition is used to simulate a real packet sending scenario. Therefore, after the first device initiates a virtual air interface competition without packets, the first device will start a carrier sense multiple access with collision avoidance (CSMA/CA) random number, the random number is The set backoff time, which must be an integer multiple of the slot time. After the backoff time is selected, it is equivalent to setting a backoff timer (backoff timer), and the moment when the virtual air interface competition starts is the moment when the counter is started.
  • CSMA/CA carrier sense multiple access with collision avoidance
  • the time when the counter is started may be the time when a certain period of the counter is started.
  • the time to start the counter is the time when the previous competition ends, that is, when the previous competition ends, the next competition is started immediately.
  • the previous competition may be a competition process of actually sending packets, or a virtual air interface competition process.
  • the time to start the counter may also be the time when a clear channel assessment (clear channel assessment, CCA) detects that the air interface is idle.
  • CCA clear channel assessment
  • the first device detects the channel every time a time slot passes. This can happen in two cases: if the When the channel is detected to be free, the backoff timer continues to count down. If it is detected that the channel is busy, the remaining time of the backoff timer is frozen, and after waiting for the channel to become idle again, the countdown continues from the remaining time. If the time of the backoff timer decreases to zero, the message is sent. Specifically, when the first device detects that the air interface is idle, that is, there is no interference from other devices, the counting time slot of the counter is decremented by 1. If the first device detects that the air interface is busy, that is, other devices are communicating, the counter stops counting down, and continues counting down until the interference transmission is completed.
  • the countdown process can be referred to as shown in FIG. 4 .
  • the channel idle time that the first device must wait is defined as an arbitration inter frame space (arbitration inter frame space, AIFS).
  • AIFS arbitration inter frame space
  • the first device when the first device counts down to 7, it detects that the air interface is busy, and waits for the interference transmission (interference transmission time is 5 ms) to complete, and continues to count down. When continuing to count down to 3, the first device detects that another device is transmitting interference (interference transmission time is 2 ms), and waits until the second interference transmission is completed until the countdown reaches 0.
  • the number of time slots included in the AIFS varies according to the types of data packets to be sent. Specifically, as shown in FIG. 5 . As shown in Figure 5, it includes four different data types, which can also be called 4 types of access categories (access category, AC), including AC[0]-AC[3], which respectively represent the following data types:
  • AC3 voice (voice traffic) data.
  • the first device judges whether the counter is decremented to 0, and if the counter is decremented to 0, execute S305; otherwise, execute S303.
  • the first device determines that the counter has decreased to 0, it determines that the virtual air interface competition is completed at this time.
  • the time t2 of the completion is recorded as the time when the virtual air interface competition is completed.
  • the first device calculates the virtual air interface contention delay as t2-t1 according to the acquired time t2 when the virtual air interface contention is completed and the time t1 when the virtual air interface contention starts.
  • the virtual air interface contention delay may or may not include the duration of the AIFS.
  • the virtual interference parameter may be a virtual air interface collision rate.
  • the process of obtaining the virtual air interface collision rate may be the method 600 shown in the flow chart of FIG. 6 .
  • the method 600 includes the following steps:
  • S601 start to simulate sending packets.
  • the first device may start simulating packet sending at any time, which is not limited in this application.
  • it may be the start time of the virtual air interface competition (the time when the countdown counter is started).
  • it may be the moment when the next competition starts immediately after the last competition ends, wherein, it is not limited whether the last competition is a real competition or a virtual competition. or an air interface is detected in the CCA When idle, start to simulate sending packets and so on.
  • the first device determines whether the air interface is busy.
  • the first device judges whether the air interface is busy. For example, when the first device backs off to 0, if it detects that the air interface is busy, the first device executes S603. Otherwise, the first device executes S604.
  • the first device detects that the air interface is busy, which means that other APs/STAs are sending at this time, or the second device also backs off to 0.
  • the first device when the first device conflicts with other APs/STAs, that is, when the first device competes with other APs/STAs for an air interface packet sending opportunity at the same time, it indicates that the air interface of the first device is busy, and the virtual conflict count of the first device is incremented by 1. .
  • the virtual non-collision count of the first device is incremented by 1.
  • the first device executes the steps from S601 to S604, until the end of the first time period, the first device counts the virtual conflict count N and the virtual non-conflict count M, and based on the virtual conflict count N and the virtual non-collision count M calculate the virtual air interface collision rate R through the following formula (1).
  • (N+M) represents the total number of times the first device simulates sending packets within the first time period.
  • the acquisition of at least one of the foregoing virtual parameters (virtual air interface contention delay and virtual air interface collision rate) by the first device may be determined according to a preset first parameter.
  • the first parameter includes at least one of the following: channel utilization rate, number of interferences, interference intensity, and the like.
  • the first device may acquire the magnitude of the virtual interference parameter according to the manner shown in Table 1 or Table 2 below.
  • Table 1 shows the correspondence between channel utilization and virtual interference parameters.
  • Table 2 shows the correspondence between the channel utilization rate, the number of interferences and the virtual interference parameters.
  • machine learning and other methods can also be used to learn the relationship between other interference parameters, conflict parameters, and competition delay parameters to obtain virtual interference parameters.
  • the first device determines the busy state of the air interface of the first device according to the virtual interference parameter.
  • the first device may determine the busy state of the air interface only according to the virtual air interface contention delay. For example, when the first device determines that the virtual air interface contention delay is greater than a first threshold, the first device determines that the degree of interference is relatively large.
  • the first device may determine the busy state of the air interface only according to the virtual air interface collision rate. For example, when the first device determines that the virtual air interface collision rate is greater than the second threshold, the first device determines that the degree of interference is relatively large.
  • the first device may refer to the virtual air interface contention delay and the virtual air interface collision rate while determining that the air interface is busy, that is, the first device determines that the virtual air interface contention delay is greater than the first threshold and determines that the virtual air interface When the air interface collision rate is greater than the second threshold, the first device determines that the degree of interference is relatively large.
  • first threshold and second threshold may be “preset”, and the “preset” may include a pre-definition, for example, a protocol definition.
  • predefinition can be realized by pre-saving corresponding codes, tables or other methods that can be used to indicate related information in the device, and this application does not limit its specific implementation.
  • the first device after determining the busy state of the air interface, the first device sends the message according to whether the air interface is busy. For example, when the first device determines that the air interface is busy, the first device may not send the next message, and wait for the air interface to be free before sending the message. Or, when the air interface is busy, the first device repeatedly sends, etc. in order to ensure the communication quality.
  • the communication method provided by the embodiment of the present application can judge the busyness of the air interface when the first device has not sent a packet through the virtual interference parameter obtained by the first device, so that the first device can communicate according to the busyness of the air interface Timing adjustments to improve communication quality.
  • FIG. 7 shows a schematic flow diagram of a communication method 700 provided by an embodiment of the present application. As shown in Fig. 7, the method includes the following steps.
  • the first device acquires real interference parameters.
  • the real interference parameter may include at least one of real air interface contention delay and real air interface collision rate.
  • the real air interface contention delay is an air interface contention delay when the first device sends a packet.
  • the process for the first device to obtain the real air interface contention delay may refer to the method 300 for obtaining the virtual air interface contention delay by using a counter shown in FIG. 3 , which will not be repeated here.
  • the time when the upper layer generates an Ethernet message or the time when it arrives at the WiFi layer may be taken as t1.
  • the first device will compete for time t2 at the end.
  • the WiFi layer has a message queue
  • the time when the first message of the physical layer protocol data unit (physical layer protocol data unit, PPDU) reaches the WiFi sending queue can be taken as t1.
  • the process for the first device to acquire the real air interface contention delay may also be as shown in FIG. 8 .
  • the first device has two messages waiting to be sent. For the first message, the first device records the time when the first message arrives at the WiFi layer as t11, and starts sending the first device after the competition is over.
  • the time of the first packet is recorded as t12, and the real air interface contention delay is t12-t11.
  • the first device can record the time when the second message reaches the WiFi layer as t21, and the time when the first device finishes the competition and starts sending the first message is t22, then the real air interface competition The time delay is t22-t21.
  • the first device may use an indirect method to obtain the time when the space competition ends. That is, the time at which the first message is sent is subtracted from the time when the message is sent Long, you can get the start time of message sending. Specifically, in FIG. 8 , the time when the first packet starts to be sent is t13- ⁇ t1. Similarly, the start time of the second message can also be calculated by the same method, which is not limited in this application.
  • the above-mentioned duration of sending the first message includes the time of acknowledgment (acknowledgment, ACK) or block acknowledgment (block acknowledgment, BA) between the first device and other communication devices, or may also include a short frame
  • the length of the short inter frame space (SIFS) is not limited in this application.
  • the real air interface collision rate is a ratio between the number of air interface collisions of data packets sent by the first device within the first time period and the number of data packets sent by the first device within the first time period.
  • the above-mentioned real interference parameters can also be obtained using the above-mentioned tables such as Table 1 or Table 2, and can be obtained by means of machine learning and the like.
  • the communication method provided by the embodiment of the present application can determine the interference situation of other devices currently received by the device sending the message through the real interference parameter, so that the device sending the message can determine the timing of sending the message according to the degree of interference, Communication quality can be improved, thereby improving user experience.
  • step numbers of the various flow charts described in the embodiments of the present application are only an example of the execution process, and do not constitute a reference to the steps The order of execution is limited. In the embodiment of the present application, there is no strict execution order between the steps that have no time sequence dependency relationship with each other. In addition, not all the steps illustrated in each flow chart are steps that must be executed, and some steps may be added or deleted on the basis of each flow chart according to actual needs.
  • FIG. 9 and FIG. 10 are schematic structural diagrams of a possible communication device provided by an embodiment of the present application.
  • a communication device 900 includes a processing unit 910 and a transceiver unit 920 .
  • the communication device 900 is a module used to implement the functions or operations of the first device in the method embodiments shown in FIG. 2 and FIG. 7 above, and the module may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
  • the processing module 910 is used to determine the air interface busy state of the first device according to the virtual interference parameter.
  • the transceiver module 920 is configured to send packets according to the busy state of the air interface.
  • the acquiring module 930 is configured to acquire virtual interference parameters.
  • the processing module 910 is used to determine the air interface busy state of the apparatus according to the real interference parameter.
  • An acquisition module 930 configured to acquire real interference parameters.
  • FIG. 10 is a schematic structural diagram of another possible communication device provided by an embodiment of the present application.
  • a communication device 1000 includes a processor 1010 and an interface circuit 1020 .
  • the processor 1010 and the interface circuit 1020 are coupled to each other.
  • the interface circuit 1020 may be a transceiver or an input-output interface.
  • the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute the instructions or storing data generated by the processor 1010 after executing the instructions.
  • the processor 1010 is used to realize the function of the above-mentioned processing module 910 or the function of the above-mentioned acquisition module 930, and the interface circuit 1020 is used to realize the above-mentioned transceiver module. 920 features.
  • the memory 1030 may be coupled with the processor 1010 .
  • the coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the processor 1010 may operate in cooperation with the memory 1030 .
  • the memory 1030 may be a non-volatile memory, such as a hard disk (hard disk drive, HDD), etc., or a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM).
  • the memory 1030 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
  • the processor can be random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable In addition to programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art middle.
  • An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and storage medium can be located in the ASIC.
  • the ASIC can be located in a network device or a terminal device. Certainly, the processor and the storage medium may also exist in the network device or the terminal device as discrete components.
  • the embodiment of the present application further provides a computer storage medium.
  • a software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the method provided by any one or more embodiments above can be implemented.
  • the computer storage medium may include: various media capable of storing program codes such as U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.
  • the embodiment of the present application further provides a chip.
  • the chip includes a processor, configured to implement the functions involved in any one or more of the foregoing embodiments.
  • the chip further includes a memory for necessary program instructions and data executed by the processor.
  • the chip may consist of chips, or may include chips and other discrete devices.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
  • the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby
  • the instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

Landscapes

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

Abstract

The present application provides a communication method and apparatus. The method comprises: a first device acquires a virtual interference parameter, determines an air interface busy state of the first device according to the virtual interference parameter, and sends a message according to the air interface busy state. The communication method provided by the present application may accurately determine an air interface busy state of a communication device and an influence degree of interference from other devices, so as to enhance communication quality and improve user experience.

Description

一种通信的方法和装置A communication method and device
本申请要求于2022年2月22日提交中国国家知识产权局、申请号为202210159630.8、申请名称为“一种通信的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China on February 22, 2022, with the application number 202210159630.8 and the application title "A Communication Method and Device", the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本申请涉及通信技术领域,并且,更具体地,涉及一种通信的方法和装置。The present application relates to the technical field of communication, and, more specifically, to a communication method and device.
背景技术Background technique
一般来说,在同一个无线局域网(Wireless Local Area Network,WLAN)中会通过部署无线接入点(access point,AP)来为各个站点(station,STA)提供无线网络。随着无线网络的需求越来越大,AP和STA的部署也变得越来越密集。Generally speaking, in the same wireless local area network (Wireless Local Area Network, WLAN), a wireless access point (access point, AP) is deployed to provide a wireless network for each station (station, STA). As the demand for wireless networks increases, the deployment of APs and STAs becomes denser.
对最常用的WLAN技术Wi-Fi来讲,在实际通信过程中,无论是AP之间或者STA之间或者各个STA与AP之间,都会由于受到相互之间的干扰而导致吞吐量变小、时延变长等问题,使得用户体验较差。因此,如何表征通信设备受到其他设备干扰的影响程度,并基于该干扰程度的大小提高通信质量,从而进一步提升用户体验,成为了一个至关重要的问题。For Wi-Fi, the most commonly used WLAN technology, in the actual communication process, whether it is between APs or between STAs or between STAs and APs, the throughput will be reduced and the time will be reduced due to mutual interference. Problems such as extended delay make the user experience poor. Therefore, how to characterize the degree to which a communication device is affected by interference from other devices, and improve communication quality based on the degree of interference, thereby further improving user experience, has become a crucial issue.
发明内容Contents of the invention
本申请提供一种通信的方法和装置。基于干扰参数能够较为准确的确定通信设备的空口繁忙状态以及受到其他设备的干扰的影响程度,从而提高通信质量,提升用户体验。The present application provides a communication method and device. Based on the interference parameters, it is possible to more accurately determine the busy state of the air interface of the communication device and the degree of influence by interference from other devices, thereby improving communication quality and user experience.
第一方面,本申请实施例提供了一种通信的方法。所述方法应用于第一设备,或者,也可以由配置于第一设备中的芯片或电路执行,本申请对此不作限定,其中。该第一设备为能够发送数据包的WLAN设备。该方法包括:第一设备获取虚拟干扰参数。所述第一设备根据所述虚拟干扰参数确定所述第一设备的空口繁忙状态。所述第一设备根据所述空口繁忙状态进行报文的发送。In a first aspect, the embodiment of the present application provides a communication method. The method is applied to the first device, or may also be executed by a chip or a circuit configured in the first device, which is not limited in the present application. The first device is a WLAN device capable of sending data packets. The method includes: the first device acquires virtual interference parameters. The first device determines the air interface busy state of the first device according to the virtual interference parameter. The first device sends the message according to the busy state of the air interface.
基于上述方案,本申请中第一设备通过获取的虚拟干扰参数确定第一设备的空口繁忙状态,即该第一设备受到其他设备的干扰程度,使得第一设备在需要发送报文的时候能够依据获取的空口繁忙状态选择恰当的通信时机,以此提高通信质量,提升用户体验。Based on the above solution, in this application, the first device determines the busy state of the air interface of the first device through the obtained virtual interference parameters, that is, the degree of interference of the first device by other devices, so that the first device can send a message according to The obtained air interface busy status is used to select an appropriate communication opportunity, thereby improving communication quality and user experience.
结合第一方面,在第一方面的某些实现方式中,所述虚拟干扰参数包括:虚拟空口竞争时延和虚拟空口冲突率中的至少一个。With reference to the first aspect, in some implementation manners of the first aspect, the virtual interference parameter includes: at least one of virtual air interface contention delay and virtual air interface collision rate.
结合第一方面,在第一方面的某些实现方式中,所述虚拟空口竞争时延为所述第一设备模拟发送报文时的空口竞争时延。With reference to the first aspect, in some implementation manners of the first aspect, the virtual air interface contention delay is an air interface contention delay when the first device simulates sending packets.
结合第一方面,在第一方面的某些实现方式中,所述虚拟空口竞争时延为模拟竞争空口完成的时刻与模拟竞争空口开始的时刻之间的差值,所述模拟竞争空口完成的时刻为计数器计数结束的时刻。With reference to the first aspect, in some implementation manners of the first aspect, the virtual air interface contention delay is the difference between the time when the simulated contention air interface is completed and the time when the simulated contention air interface starts, and the time when the simulated contention air interface is completed Time is the time when the counter counts to the end.
基于上述方案,本申请中第一设备可根据虚拟空口竞争时延的大小来衡量受到其他设备干扰的大小,从而使第一设备可以动态实时获取空口繁忙状态。Based on the above solution, the first device in this application can measure the degree of interference from other devices according to the virtual air interface contention delay, so that the first device can dynamically obtain the busy status of the air interface in real time.
结合第一方面,在第一方面的某些实现方式中,所述虚拟空口冲突率为所述第一设备在 第一时间段内模拟发包的空口冲突次数与所述第一设备在所述第一时间段内模拟发包的次数之间的比值。With reference to the first aspect, in some implementation manners of the first aspect, the virtual air interface conflict rate of the first device is A ratio between the number of times of air interface collisions during which packets are simulated to be sent within the first time period and the number of times the first device is simulated to send packets within the first time period.
基于上述方案,本申请中第一设备可根据虚拟空口冲突率的大小来衡量受到其他设备干扰的大小,从而使第一设备可以动态实时获取空口繁忙状态。Based on the above solution, the first device in this application can measure the degree of interference from other devices according to the collision rate of the virtual air interface, so that the first device can dynamically obtain the busy status of the air interface in real time.
结合第一方面,在第一方面的某些实现方式中,所述模拟发包的空口冲突次数为所述第一设备与第二设备同时竞争到空口发包机会的次数。With reference to the first aspect, in some implementation manners of the first aspect, the number of air interface collisions for the simulated packet sending is the number of times the first device and the second device simultaneously compete for an air interface packet sending opportunity.
结合第一方面,在第一方面的某些实现方式中,所述第一设备获取所述虚拟干扰参数,包括:所述第一设备根据预设的第一参数确定所述虚拟干扰参数,所述第一参数包括以下至少一项:信道利用率、干扰个数、干扰强度。With reference to the first aspect, in some implementation manners of the first aspect, the acquiring the virtual interference parameter by the first device includes: determining, by the first device, the virtual interference parameter according to a preset first parameter, so that The first parameter includes at least one of the following: channel utilization, number of interferences, and interference intensity.
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第一设备获取真实干扰参数,并根据所述真实干扰参数确定所述第一设备的空口繁忙状态。With reference to the first aspect, in some implementation manners of the first aspect, the method further includes: the first device acquires a real interference parameter, and determines an air interface busy state of the first device according to the real interference parameter.
结合第一方面,在第一方面的某些实现方式中,所述真实干扰参数包括:真实空口竞争时延和真实空口冲突率中的至少一个。With reference to the first aspect, in some implementation manners of the first aspect, the real interference parameter includes: at least one of a real air interface contention delay and a real air interface collision rate.
结合第一方面,在第一方面的某些实现方式中,所述真实空口竞争时延为所述第一设备发送报文时的空口竞争时延。With reference to the first aspect, in some implementation manners of the first aspect, the real air interface contention delay is an air interface contention delay when the first device sends a packet.
结合第一方面,在第一方面的某些实现方式中,所述真实空口冲突率为所述第一设备在第一时间段内发送数据包的空口冲突次数与所述第一设备在所述第一时间段内发送数据包的数量之间的比值。With reference to the first aspect, in some implementation manners of the first aspect, the real air interface collision rate is the same as the number of air interface collisions that the first device sends data packets within the first time period The ratio between the number of packets sent in the first time period.
基于上述方案,本申请提供的通信方法,可以在第一设备需要发送数据包时,通过真实空口竞争时延和真实空口冲突率来衡量当前受到的其他设备的干扰的大小。第一设备基于受到的干扰程度,能够在通信过程中,较为灵活的选择通信的时机,从而提升通信质量。Based on the above solution, the communication method provided by this application can measure the amount of interference currently received by other devices through the real air interface contention delay and the real air interface collision rate when the first device needs to send data packets. Based on the degree of interference received, the first device can flexibly select a communication opportunity during the communication process, thereby improving communication quality.
第二方面,本申请实施例提供了一种通信的装置。该装置包括:获取模块,用于获取虚拟干扰参数。处理模块,用于根据所述虚拟干扰参数确定所述装置的空口繁忙状态。收发模块,用于根据所述空口繁忙状态进行报文的发送。In a second aspect, the embodiment of the present application provides a communication device. The device includes: an acquisition module, used to acquire virtual interference parameters. A processing module, configured to determine the air interface busy state of the device according to the virtual interference parameter. A transceiver module, configured to send packets according to the busy state of the air interface.
结合第二方面,在第二方面的某些实现方式中,所述虚拟干扰参数包括:虚拟空口竞争时延和虚拟空口冲突率中的至少一个。With reference to the second aspect, in some implementation manners of the second aspect, the virtual interference parameter includes: at least one of virtual air interface contention delay and virtual air interface collision rate.
结合第二方面,在第二方面的某些实现方式中,所述虚拟空口竞争时延为所述装置模拟发送报文时的空口竞争时延。With reference to the second aspect, in some implementation manners of the second aspect, the virtual air interface contention delay is an air interface contention delay when the device simulates sending packets.
结合第二方面,在第二方面的某些实现方式中,所述虚拟空口竞争时延为模拟竞争空口完成的时刻与模拟竞争空口开始的时刻之间的差值,所述模拟竞争空口完成的时刻为计数器计数结束的时刻。With reference to the second aspect, in some implementation manners of the second aspect, the virtual air interface contention delay is the difference between the time when the simulated contention air interface is completed and the time when the simulated contention air interface starts, and the time when the simulated contention air interface is completed Time is the time when the counter counts to the end.
结合第二方面,在第二方面的某些实现方式中,所述虚拟空口冲突率为所述装置在第一时间段内模拟发包的空口冲突次数与所述装置在所述第一时间段内模拟发包的次数之间的比值。With reference to the second aspect, in some implementations of the second aspect, the virtual air interface conflict rate is the same as the number of air interface conflicts that the device simulates sending packets within the first time period and the number of times the device simulates sending packets within the first time period. The ratio between the times of simulated packet sending.
结合第二方面,在第二方面的某些实现方式中,所述模拟发包的空口冲突次数为所述装置与除所述装置之外的装置同时竞争到空口发包机会的次数。With reference to the second aspect, in some implementation manners of the second aspect, the number of air interface conflicts for the simulated packet sending is the number of times that the device and other devices compete for an air interface packet sending opportunity at the same time.
结合第二方面,在第二方面的某些实现方式中,所述获取模块具体用于,根据预设的第一参数确定所述虚拟干扰参数,所述第一参数包括以下至少一项:信道利用率、干扰个数、干扰强度。With reference to the second aspect, in some implementation manners of the second aspect, the acquiring module is specifically configured to determine the virtual interference parameter according to a preset first parameter, where the first parameter includes at least one of the following: channel Utilization rate, number of interferences, interference intensity.
结合第二方面,在第二方面的某些实现方式中,所述获取模块,还用于获取真实干扰参数。所述处理模块,还用于根据所述真实干扰参数确定所述装置的空口繁忙状态。 With reference to the second aspect, in some implementation manners of the second aspect, the acquiring module is further configured to acquire real interference parameters. The processing module is further configured to determine an air interface busy state of the device according to the real interference parameter.
结合第二方面,在第二方面的某些实现方式中,所述真实干扰参数包括:真实空口竞争时延和真实空口冲突率中的至少一个。With reference to the second aspect, in some implementation manners of the second aspect, the real interference parameter includes: at least one of a real air interface contention delay and a real air interface collision rate.
结合第二方面,在第二方面的某些实现方式中,所述真实空口竞争时延为所述装置发送报文时的空口竞争时延。With reference to the second aspect, in some implementation manners of the second aspect, the real air interface contention delay is an air interface contention delay when the device sends a packet.
结合第二方面,在第二方面的某些实现方式中,所述真实空口冲突率为所述装置在第一时间段内发送数据包的空口冲突次数与所述装置在所述第一时间段内发送数据包的数量之间的比值。With reference to the second aspect, in some implementations of the second aspect, the real air interface collision rate is the same as the number of air interface collisions that the device sends data packets within the first time period The ratio between the number of packets sent within.
第三方面,本申请实施例提供了一种通信的装置,该装置包括处理器以及存储器,其中,所述存储器,存储有程序代码。所述处理器,用于读取并执行所述存储器存储的程序代码,以及执行上述第一方面及第一方面中任一种可能实现方式中的方法。In a third aspect, the embodiment of the present application provides a communication device, where the device includes a processor and a memory, where the memory stores program codes. The processor is configured to read and execute the program code stored in the memory, and execute the first aspect and the method in any possible implementation manner of the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面以及第一方面中任一种可能实现方式中的方法。In a fourth aspect, the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program (also referred to as code, or instruction) when it runs on a computer, so that the computer executes the above-mentioned The first aspect and the method in any possible implementation manner of the first aspect.
第五方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括:计算机程序(也可以称为代码,或指令),当该计算机程序被运行时,使得计算机执行上述第一方面以及第一方面中任一种可能实现方式中的方法。In the fifth aspect, the embodiment of the present application provides a computer program product, the computer program product includes: a computer program (also referred to as code, or instruction), when the computer program is executed, the computer executes the above-mentioned first aspect And the method in any possible implementation manner in the first aspect.
上述第二方面至第五方面带来的有益效果具体可以参考第一方面中有益效果的描述,此处不再赘述。For the beneficial effects brought about by the above-mentioned second aspect to the fifth aspect, reference may be made to the description of the beneficial effects in the first aspect, and details are not repeated here.
附图说明Description of drawings
图1示出了本申请实施例提供的一种通信系统的架构的示意图。FIG. 1 shows a schematic diagram of an architecture of a communication system provided by an embodiment of the present application.
图2示出了本申请实施例提供的一种通信的方法200的示意性流程框图。FIG. 2 shows a schematic flow diagram of a communication method 200 provided by an embodiment of the present application.
图3示出了本申请实施例提供的一种获取虚拟空口竞争时延的方法300的流程示意图。FIG. 3 shows a schematic flowchart of a method 300 for obtaining contention delay of a virtual air interface provided by an embodiment of the present application.
图4示出了本申请实施例提供的一种退避计数的示意图。FIG. 4 shows a schematic diagram of a backoff count provided by an embodiment of the present application.
图5示出了适用于本申请实施例的四种不同数据类型的AIFS示意图。FIG. 5 shows a schematic diagram of AIFS for four different data types applicable to the embodiment of the present application.
图6示出了本申请实施例提供的一种获取虚拟空口冲突率的方法600的流程示意图。FIG. 6 shows a schematic flowchart of a method 600 for obtaining a virtual air interface collision rate provided by an embodiment of the present application.
图7示出了本申请实施例提供的一种通信的方法700的示意性流程框图。FIG. 7 shows a schematic flow diagram of a communication method 700 provided by an embodiment of the present application.
图8示出了本申请实施例提供的一种真实空口竞争时延的示意图。FIG. 8 shows a schematic diagram of a real air interface contention delay provided by an embodiment of the present application.
图9示出了本申请实施例提供的一种通信装置的示意性框图。Fig. 9 shows a schematic block diagram of a communication device provided by an embodiment of the present application.
图10示出了本申请实施例提供的另一种通信装置的结构示意图。FIG. 10 shows a schematic structural diagram of another communication device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below with reference to the accompanying drawings.
为了便于理解本申请实施例,作出以下说明。In order to facilitate understanding of the embodiments of the present application, the following descriptions are made.
第一、在下文示出的本申请实施例中的文字说明或者附图中的术语,“第一”、“第二”、“第三”、“第四”等以及各种数字编号仅为描述方便进行的区分,而不必用于描述特定的顺序或者先后次序,并不用来限制本申请实施例的范围。例如,区分不同的设备等等。First, the text descriptions in the embodiments of the application shown below or the terms in the drawings, "first", "second", "third", "fourth", etc. and various numbers are only The distinctions are described for convenience, but are not necessarily used to describe a specific sequence or sequence, and are not used to limit the scope of the embodiments of the present application. For example, distinguishing between different devices and so on.
第二、下文示出的本申请实施例中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可以包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其他步骤或者单元。 Second, the terms "comprising" and "having" and any variations thereof in the embodiments of the present application shown below are intended to cover non-exclusive inclusion, for example, a process, method, or system that includes a series of steps or units The process, method, product or device are not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to the process, method, product or device.
第三、在本申请实施例中,“示例性的”或者“例如”等词用于表示例子、例证或说明,被描述为“示例性的”或者“例如”的实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。Third, in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations, and the embodiments or designs described as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present related concepts in a specific manner for easy understanding.
第四、在本申请实施例中,字符“/”一般表示前后关联对象是一种“或”的关系。Fourth, in the embodiment of the present application, the character "/" generally indicates that the context-related objects are an "or" relationship.
第五、在本申请实施例中,“虚拟空口竞争”与“真实空口竞争”相对应,表示设备当前并不发送报文或者数据包,仅模拟真实发送的场景。即“虚拟”仅代表模拟的状态。例如,在本申请下文实施例中的“虚拟空口竞争时延”、“虚拟空口冲突率”等,都是在该场景下相对于设备真实发送报文来说的。在模拟发送报文的场景中获取的干扰参数为虚拟干扰参数,在真实发送报文的场景中获取的干扰参数为真实干扰参数。Fifth, in the embodiment of this application, "virtual air interface competition" corresponds to "real air interface competition", which means that the device does not currently send packets or data packets, but only simulates the real sending scenario. That is, "virtual" only represents the simulated state. For example, the "virtual air interface contention delay" and "virtual air interface collision rate" in the following embodiments of this application are all relative to the actual sending of packets by the device in this scenario. The interference parameters obtained in the simulated packet sending scenario are virtual interference parameters, and the interference parameters obtained in the actual packet sending scenario are real interference parameters.
本申请的技术方案可以应用于WLAN网络,可以应用于IoT网络,还可以应用于车联网网络,还可以应用于其他网络等,本申请并不具体限定。举例来说,本申请的应用场景可以是基于IEEE802.11ax标准的WLAN网络,或者是基于IEEE802.11ax标准的IoT网络,或者是基于IEEE802.11ax标准的车联网(Vehicle-to-X,V2X)网络,或者是基于IEEE802.11ax标准的其它网络,还可以是基于802.11ax的下一代WLAN网络,或者是基于IEEE802.11ax下一代标准的IoT网络,或者是基于IEEE802.11ax的下一代标准的车联网(Vehicle-to-X,V2X)网络,或者是基于IEEE802.11ax的下一代标准的其它网络,还可以是未来标准协议的其他WLAN网络。The technical solution of the present application may be applied to a WLAN network, an IoT network, an Internet of Vehicles network, or other networks, etc., and is not specifically limited in this application. For example, the application scenario of this application may be a WLAN network based on the IEEE802.11ax standard, or an IoT network based on the IEEE802.11ax standard, or a vehicle-to-X (V2X) network based on the IEEE802.11ax standard network, or other networks based on the IEEE802.11ax standard, or a next-generation WLAN network based on 802.11ax, or an IoT network based on the next-generation standard of IEEE802.11ax, or a vehicle based on the next-generation standard of IEEE802.11ax A networking (Vehicle-to-X, V2X) network, or other networks based on the next-generation standards of IEEE802.11ax, or other WLAN networks of future standard protocols.
图1示出了本申请实施例提供的通信系统的架构的示意图。在图1所示的通信系统的架构中包括三个AP和两个STA。以下对这两种设备进行进一步的介绍。FIG. 1 shows a schematic diagram of an architecture of a communication system provided by an embodiment of the present application. The architecture of the communication system shown in FIG. 1 includes three APs and two STAs. These two devices are further introduced below.
其中,本申请实施例涉及的STA为具有无线通信功能的装置,可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。站点还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,未来6G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。Wherein, the STA involved in this embodiment of the present application is a device with a wireless communication function, which may refer to user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, Terminal, wireless communication device, user agent or user device. The station can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a wireless communication capable Handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in the future 6G network or terminals in the future evolved public land mobile network (PLMN) equipment, etc., which are not limited in this embodiment of the present application.
本申请实施例涉及的AP可以是用于与STA通信的设备。该AP可以是任意一种具有无线收发功能的设备或可设置于该设备的芯片,该设备包括但不限于:演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB或home Node B,HNB)、基带单元(base band Unit,BBU),无线保真(wireless fidelity,WIFI)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G,如,NR,系统中的gNB,或,传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(distributed unit,DU)。或者还可以是为未来6G中的网络节点等。The AP involved in this embodiment of the present application may be a device for communicating with an STA. The AP can be any device with wireless transceiver function or a chip that can be set on the device, the device includes but not limited to: evolved Node B (evolved Node B, eNB), wireless network controller (radio network controller, RNC), node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved NodeB or home Node B, HNB), Base band unit (base band unit, BBU), access point (access point, AP), wireless relay node, wireless backhaul node, transmission point (transmission point, TP) in wireless fidelity (wireless fidelity, WIFI) system Or sending and receiving point (transmission and reception point, TRP), etc., can also be 5G, such as NR, gNB in the system, or transmission point (TRP or TP), one or a group of base stations in the 5G system (including Multiple antenna panels) Antenna panels, or, may also be a network node constituting a gNB or a transmission point, such as a baseband unit (BBU), or a distributed unit (distributed unit, DU). Or it can also be a network node in the future 6G, etc.
应理解,图1仅作为示例而非限定,在同一个WLAN系统中,还可以存在数量更多的STA通过AP接入网络。各个STA与AP之间,或者各个STA之间,或者各个AP之间发送无线信号时会相互干扰。因此,为了确保发送的无线信号不受到其他设备的影响,对于发送 无线信号的设备(包括STA和AP)来说,如何较为准确的确定空口干扰成为一个至关重要的问题。当前,衡量WLAN网络的干扰通常是通过统计干扰个数、干扰强度或者干扰占空比来衡量干扰。而干扰个数、干扰强度只能衡量是否存在干扰,无法体现干扰发包的多少,因为,对于AP来讲,同样一个干扰一直发送数据和一直不发送数据只发送信标(beacon),对于该AP的影响差异是很大的。而干扰占空比不能表征干扰的抢占能力,也无法表征当前干扰对本设备的影响的大小。It should be understood that FIG. 1 is only an example rather than a limitation, and in the same WLAN system, there may be more STAs accessing the network through the AP. There will be mutual interference between each STA and AP, or between each STA, or between each AP when sending wireless signals. Therefore, in order to ensure that the transmitted wireless signal is not affected by other devices, for the transmission For devices with wireless signals (including STAs and APs), how to determine air interface interference more accurately becomes a crucial issue. Currently, the interference of the WLAN network is usually measured by counting the number of interferences, interference intensity, or interference duty cycle. The number of interferences and interference intensity can only measure whether there is interference, but cannot reflect the number of interference packets, because, for an AP, the same interference always sends data or does not send data and only sends beacons (beacon), for this AP The difference in impact is huge. However, the interference duty cycle cannot represent the preemption capability of the interference, nor can it represent the impact of the current interference on the device.
基于此,本申请提供的通信方法和设备,能够通过干扰参数来确定设备的空口繁忙状态,提高了衡量WLAN网络干扰的准确性,同时可以使得设备在发送无线信号时的时机更为准确,进一步地,提升通信质量以及用户体验。Based on this, the communication method and device provided by this application can determine the busy state of the air interface of the device through interference parameters, improve the accuracy of measuring WLAN network interference, and at the same time make the timing of the device sending wireless signals more accurate, further To improve communication quality and user experience.
图2示出了本申请实施例提供的一种通信方法200的示意性流程框图。如图2所示,该方法包括如下多个步骤。FIG. 2 shows a schematic flow diagram of a communication method 200 provided by an embodiment of the present application. As shown in Figure 2, the method includes the following steps.
S201,第一设备获取虚拟干扰参数。S201. The first device acquires virtual interference parameters.
具体地,在本申请实施例中,第一设备获取虚拟干扰参数。其中,该第一设备可以包括获取虚拟干扰参数的装置/模块,即该获取虚拟干扰参数的装置/模块是第一设备的组成部分,该获取虚拟干扰参数的装置/模块可以执行本申请实施例中的获取虚拟干扰参数的方法。或者获取虚拟干扰参数的装置/模块是独立于第一设备的,该获取虚拟干扰参数的装置/模块执行获取虚拟干扰参数的方法,第一设备可以从获取虚拟干扰参数的装置/模块获取到虚拟干扰参数。为了说明的简便性,此后下文实施例中仅以第一设备获取虚拟干扰参数为例进行说明。Specifically, in this embodiment of the present application, the first device acquires virtual interference parameters. Wherein, the first device may include a device/module for obtaining virtual interference parameters, that is, the device/module for obtaining virtual interference parameters is a component of the first device, and the device/module for obtaining virtual interference parameters may implement the embodiment of the present application The method for obtaining virtual disturbance parameters in . Or the device/module for obtaining virtual interference parameters is independent of the first device, the device/module for obtaining virtual interference parameters executes the method for obtaining virtual interference parameters, and the first device can obtain virtual interference parameters from the device/module for obtaining virtual interference parameters interference parameters. For the sake of simplicity of description, only the acquisition of the virtual interference parameter by the first device is taken as an example for description in the following embodiments.
在一种可实现的方式中,该虚拟干扰参数可以为虚拟空口竞争时延。具体地,获取该虚拟空口竞争时延的过程可以如图3的流程图所示。其中,该图3示出了本申请实施例利用计数器获取虚拟空口竞争时延的方法300的流程示意图,该方法300包括如下多个步骤。In a practicable manner, the virtual interference parameter may be a virtual air interface contention delay. Specifically, the process of obtaining the contention delay of the virtual air interface may be shown in the flow chart of FIG. 3 . Wherein, FIG. 3 shows a schematic flowchart of a method 300 for acquiring virtual air interface contention delay by using a counter according to an embodiment of the present application, and the method 300 includes the following steps.
S301,开始虚拟空口竞争。S301, start virtual air interface competition.
具体地,当第一设备在无报文发送情况下需要获知空口繁忙状态时,该第一设备可以发起虚拟空口竞争,该过程为真实报文发送的模拟过程。Specifically, when the first device needs to know the busy state of the air interface when no message is sent, the first device may initiate a virtual air interface competition, and this process is a simulated process of real message sending.
S302,记录虚拟空口竞争开始的时刻t1。S302. Record the time t1 when the virtual air interface competition starts.
具体地,当第一设备发起无报文虚拟空口竞争后,第一设备记录该虚拟空口竞争开始的时刻t1。Specifically, after the first device initiates the virtual air interface competition without packets, the first device records the time t1 when the virtual air interface competition starts.
需要说明的是,由于虚拟空口竞争用于模拟真实报文发送的场景。因此,当第一设备发起无报文虚拟空口竞争后,第一设备会启动一个载波侦听多路访问/冲突避免(carrier sense multiple access with collision avoidance,CSMA/CA)随机数,该随机数为设置的退避时间,该退避时间必须是整数倍的时隙时间。退避时间选定后,就相当于设置了一个退避计时器(backoff timer),该虚拟空口竞争开始的时刻为启动该计数器的时刻。It should be noted that the virtual air interface competition is used to simulate a real packet sending scenario. Therefore, after the first device initiates a virtual air interface competition without packets, the first device will start a carrier sense multiple access with collision avoidance (CSMA/CA) random number, the random number is The set backoff time, which must be an integer multiple of the slot time. After the backoff time is selected, it is equivalent to setting a backoff timer (backoff timer), and the moment when the virtual air interface competition starts is the moment when the counter is started.
在一种可实现的方式中,当计数器为周期启动的计数器时,该启动计数器的时刻可以是周期启动计数器的某个周期开始的时刻。In a practicable manner, when the counter is a counter that is started periodically, the time when the counter is started may be the time when a certain period of the counter is started.
或者,在另一种可实现的方式中,该启动计数器的时刻为前一次竞争结束时的时刻,即前一次竞争结束时,立刻启动下一次竞争。其中,前一次竞争可以为真实发送报文的竞争过程,也可以是虚拟空口竞争的过程。Or, in another practicable manner, the time to start the counter is the time when the previous competition ends, that is, when the previous competition ends, the next competition is started immediately. Wherein, the previous competition may be a competition process of actually sending packets, or a virtual air interface competition process.
在其他的可实现的方式中,该启动计数器的时刻还可以是空闲信道评估(clear channel assessment,CCA)检测到空口空闲时的时刻。In other practicable manners, the time to start the counter may also be the time when a clear channel assessment (clear channel assessment, CCA) detects that the air interface is idle.
S303,计数器开始退避。S303, the counter starts backing off.
具体地,第一设备每经历一个时隙的时间就检测一次信道。这可能发生两种情况:若检 测到信道空闲,退避计时器就继续倒计时。若检测到信道忙,就冻结退避计时器的剩余时间,重新等待信道变为空闲后,从剩余时间开始继续倒计时。如果退避计时器的时间减小到零时,就开始发送报文。具体地,当第一设备检测到空口空闲,即未有其他设备干扰时,该计数器的计数时隙减去1。如果第一设备检测到空口繁忙,即存在其他的设备正在通信,那么该计数器停止倒计数,直到干扰发送完毕后再继续倒计数。Specifically, the first device detects the channel every time a time slot passes. This can happen in two cases: if the When the channel is detected to be free, the backoff timer continues to count down. If it is detected that the channel is busy, the remaining time of the backoff timer is frozen, and after waiting for the channel to become idle again, the countdown continues from the remaining time. If the time of the backoff timer decreases to zero, the message is sent. Specifically, when the first device detects that the air interface is idle, that is, there is no interference from other devices, the counting time slot of the counter is decremented by 1. If the first device detects that the air interface is busy, that is, other devices are communicating, the counter stops counting down, and continues counting down until the interference transmission is completed.
该倒计时的过程可以参见图4所示。具体地,第一设备启动计数器后,该第一设备必须等待的信道空闲时间定义为一个仲裁帧间间隔(arbitration inter frame space,AIFS),当第一设备确定空口空闲后,开始倒计数。The countdown process can be referred to as shown in FIG. 4 . Specifically, after the first device starts the counter, the channel idle time that the first device must wait is defined as an arbitration inter frame space (arbitration inter frame space, AIFS). When the first device determines that the air interface is idle, it starts counting down.
在图4中,当第一设备倒计数到7时,检测到空口繁忙,此时等待干扰发送(干扰发送时间为5ms)完毕,继续倒计数。继续倒计数至3时,第一设备再一次检测到存在另一个设备的干扰正在发送(干扰发送时间为2ms),并等待该第二个干扰发送完毕后直到倒计数到0。In FIG. 4 , when the first device counts down to 7, it detects that the air interface is busy, and waits for the interference transmission (interference transmission time is 5 ms) to complete, and continues to count down. When continuing to count down to 3, the first device detects that another device is transmitting interference (interference transmission time is 2 ms), and waits until the second interference transmission is completed until the countdown reaches 0.
此外,上述AIFS包括的时隙的数量根据需要发送的数据包的类型的不同而存在区别。具体地,如图5所示。如图5所示,共包括四种不同的数据类型,也可以称为4类接入类别(access category,AC),包括AC[0]-AC[3],分别代表如下数据类型:In addition, the number of time slots included in the AIFS varies according to the types of data packets to be sent. Specifically, as shown in FIG. 5 . As shown in Figure 5, it includes four different data types, which can also be called 4 types of access categories (access category, AC), including AC[0]-AC[3], which respectively represent the following data types:
1)AC0:背景流(background traffic)数据。1) AC0: Background traffic data.
2)AC1:尽力而为(best effort traffic)的数据。2) AC1: Best effort traffic data.
3)AC2:视频(video traffic)数据。3) AC2: video (video traffic) data.
4)AC3:语音(voice traffic)数据。4) AC3: voice (voice traffic) data.
S304,判断退避计数是否等于0。S304, judging whether the backoff count is equal to 0.
具体地,计数器每退避计数一次,该第一设备都会判断一次计数器是否递减到0,如果计数器倒退到0,则执行S305,否则,执行S303。Specifically, every time the counter backs off and counts once, the first device judges whether the counter is decremented to 0, and if the counter is decremented to 0, execute S305; otherwise, execute S303.
S305,完成虚拟空口竞争。S305, completing the virtual air interface competition.
具体地,当第一设备判断计数器减到0时,确定此时完成虚拟空口竞争。Specifically, when the first device determines that the counter has decreased to 0, it determines that the virtual air interface competition is completed at this time.
S306,记录虚拟空口竞争完成的时刻t2。S306. Record the time t2 when the virtual air interface competition is completed.
具体地,第一设备确定完成虚拟空口竞争时,记录该完成的时刻t2为虚拟空口竞争完成的时刻。Specifically, when the first device determines that the virtual air interface competition is completed, the time t2 of the completion is recorded as the time when the virtual air interface competition is completed.
S307,计算虚拟空口竞争时延。S307. Calculate virtual air interface contention delay.
具体地,第一设备根据获取的虚拟空口竞争完成的时刻t2以及虚拟空口竞争开始的时刻t1,计算虚拟空口竞争时延为t2-t1。Specifically, the first device calculates the virtual air interface contention delay as t2-t1 according to the acquired time t2 when the virtual air interface contention is completed and the time t1 when the virtual air interface contention starts.
因此,在本申请实施例中,虚拟空口竞争时延可以包括该AIFS的持续时间,也可以不包括该AIFS的持续时间。示例性地,当需要比较该第一设备在两个不同时间段内的虚拟空口竞争时延时,若该第一设备设定需要发送的第一时间段内的数据包和第二时间段内的数据包的类型相同,此时,由于相同类型的数据包对应的AIFS的持续时间相同,因此,在计算和比较虚拟空口竞争时延可以不包括AIFS的持续时间。在另一种可实现的方式中,该虚拟干扰参数可以为虚拟空口冲突率。具体地,获取该虚拟空口冲突率的过程可以如图6的流程图所示的方法600。该方法600包括如下多个步骤:Therefore, in the embodiment of the present application, the virtual air interface contention delay may or may not include the duration of the AIFS. Exemplarily, when it is necessary to compare the virtual air interface contention delay of the first device in two different time periods, if the first device sets the data packets to be sent in the first time period and in the second time period The types of the data packets are the same. At this time, since the duration of the AIFS corresponding to the same type of data packets is the same, the duration of the AIFS may not be included in the calculation and comparison of the virtual air interface contention delay. In another practicable manner, the virtual interference parameter may be a virtual air interface collision rate. Specifically, the process of obtaining the virtual air interface collision rate may be the method 600 shown in the flow chart of FIG. 6 . The method 600 includes the following steps:
S601,开始模拟发包。S601, start to simulate sending packets.
具体地,第一设备可以在任意时刻开始模拟发包,本申请并不限定。例如可以是虚拟空口竞争的开始时间(启动倒计数器的时间)。或者可以是在上一次竞争结束后马上启动下一次竞争的时刻,其中,不限定上一次竞争是真实竞争还是虚拟竞争。或者在CCA检测到空口 空闲时开始模拟发包等等。Specifically, the first device may start simulating packet sending at any time, which is not limited in this application. For example, it may be the start time of the virtual air interface competition (the time when the countdown counter is started). Or it may be the moment when the next competition starts immediately after the last competition ends, wherein, it is not limited whether the last competition is a real competition or a virtual competition. or an air interface is detected in the CCA When idle, start to simulate sending packets and so on.
S602,第一设备判断空口是否忙。S602. The first device determines whether the air interface is busy.
具体地,第一设备判断空口是否忙。例如,当第一设备退避到0时,如果检测到空口忙,该第一设备执行S603。否则,该第一设备执行S604。Specifically, the first device judges whether the air interface is busy. For example, when the first device backs off to 0, if it detects that the air interface is busy, the first device executes S603. Otherwise, the first device executes S604.
应理解,该第一设备检测到空口忙,代表此时有其他AP/STA在进行发送,或者第二设备也退避到0。It should be understood that the first device detects that the air interface is busy, which means that other APs/STAs are sending at this time, or the second device also backs off to 0.
S603,虚拟冲突计数递加。S603, incrementing the virtual conflict count.
具体地,第一设备与其他AP/STA产生冲突时,即第一设备与其他AP/STA同时竞争到空口发包机会时表示第一设备空口忙,此时第一设备的虚拟冲突计数递加1。Specifically, when the first device conflicts with other APs/STAs, that is, when the first device competes with other APs/STAs for an air interface packet sending opportunity at the same time, it indicates that the air interface of the first device is busy, and the virtual conflict count of the first device is incremented by 1. .
S604,虚拟未冲突计数递加。S604. Increment the virtual non-conflict count.
具体地,第一设备与其他AP/STA没有产生冲突时,表示第一设备空口空闲,此时第一设备的虚拟未冲突计数递加1。Specifically, when no conflict occurs between the first device and other APs/STAs, it means that the air interface of the first device is idle, and at this time, the virtual non-collision count of the first device is incremented by 1.
S605,计算虚拟空口冲突率。S605. Calculate the virtual air interface collision rate.
具体地,在第一时间段内,该第一设备执行S601至S604的步骤,直到第一时间段结束时,该第一设备统计虚拟冲突计数N以及虚拟未冲突计数M,并基于虚拟冲突计数N以及虚拟未冲突计数M通过下式(1)计算虚拟空口冲突率R。Specifically, within the first time period, the first device executes the steps from S601 to S604, until the end of the first time period, the first device counts the virtual conflict count N and the virtual non-conflict count M, and based on the virtual conflict count N and the virtual non-collision count M calculate the virtual air interface collision rate R through the following formula (1).
R=N/(N+M)   (1)R=N/(N+M) (1)
式中,(N+M)表示第一设备在第一时间段内模拟发包的总次数。In the formula, (N+M) represents the total number of times the first device simulates sending packets within the first time period.
在其他的一种可实现的方式中,该第一设备获取上述虚拟参数中的至少一个(虚拟空口竞争时延和虚拟空口冲突率)可以根据预设的第一参数确定。In another practicable manner, the acquisition of at least one of the foregoing virtual parameters (virtual air interface contention delay and virtual air interface collision rate) by the first device may be determined according to a preset first parameter.
其中,该第一参数包括以下至少一项:信道利用率、干扰个数、干扰强度等。该第一设备可以根据如下表1或表2中所示的方式获取虚拟干扰参数的大小。Wherein, the first parameter includes at least one of the following: channel utilization rate, number of interferences, interference intensity, and the like. The first device may acquire the magnitude of the virtual interference parameter according to the manner shown in Table 1 or Table 2 below.
表1示出了信道利用率与虚拟干扰参数之间的对应关系。Table 1 shows the correspondence between channel utilization and virtual interference parameters.
表1
Table 1
表2示出了信道利用率和干扰个数与虚拟干扰参数之间的对应关系。Table 2 shows the correspondence between the channel utilization rate, the number of interferences and the virtual interference parameters.
表2
Table 2
应理解,上述表1或表2中的虚拟干扰参数仅作为示例而非限定。即上述虚拟干扰参数的数值仅为示例,只要是通过上述第一参数获取的虚拟干扰参数均应在本申请的保护范围之 内。It should be understood that the virtual interference parameters in the foregoing Table 1 or Table 2 are only examples rather than limitations. That is, the values of the above-mentioned virtual interference parameters are only examples, as long as the virtual interference parameters obtained through the above-mentioned first parameters should be within the scope of protection of this application Inside.
此外,除了使用上述经验预先生成表格1或表格2外,也可以用机器学习等方式,学习其他干扰参数和冲突参数、竞争时延参数的关系,来获取虚拟干扰参数。In addition, in addition to using the above experience to pre-generate Table 1 or Table 2, machine learning and other methods can also be used to learn the relationship between other interference parameters, conflict parameters, and competition delay parameters to obtain virtual interference parameters.
S202,第一设备根据虚拟干扰参数确定第一设备的空口繁忙状态。S202. The first device determines the busy state of the air interface of the first device according to the virtual interference parameter.
具体地,在一种可实现的方式中,该第一设备可以只根据虚拟空口竞争时延确定空口繁忙状态。例如,该第一设备确定虚拟空口竞争时延大于第一阈值时,该第一设备确定干扰程度较大。Specifically, in a practicable manner, the first device may determine the busy state of the air interface only according to the virtual air interface contention delay. For example, when the first device determines that the virtual air interface contention delay is greater than a first threshold, the first device determines that the degree of interference is relatively large.
在另一种可实现的方式中,该第一设备可以只根据虚拟空口冲突率确定空口繁忙状态。例如,该第一设备确定虚拟空口冲突率大于第二阈值时,该第一设备确定干扰程度较大。In another implementable manner, the first device may determine the busy state of the air interface only according to the virtual air interface collision rate. For example, when the first device determines that the virtual air interface collision rate is greater than the second threshold, the first device determines that the degree of interference is relatively large.
在另一种可实现的方式中,该第一设备确定空口繁忙状态可以同时参考虚拟空口竞争时延和虚拟空口冲突率,即该第一设备确定虚拟空口竞争时延大于第一阈值且确定虚拟空口冲突率大于第二阈值时,该第一设备确定干扰程度较大。In another practicable manner, the first device may refer to the virtual air interface contention delay and the virtual air interface collision rate while determining that the air interface is busy, that is, the first device determines that the virtual air interface contention delay is greater than the first threshold and determines that the virtual air interface When the air interface collision rate is greater than the second threshold, the first device determines that the degree of interference is relatively large.
需要说明的是,上述第一阈值与第二阈值可以是“预设的”,该“预设”可包括预先定义,例如,协议定义。其中,“预先定义”可以通过在设备中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。It should be noted that, the above-mentioned first threshold and second threshold may be "preset", and the "preset" may include a pre-definition, for example, a protocol definition. Wherein, "predefinition" can be realized by pre-saving corresponding codes, tables or other methods that can be used to indicate related information in the device, and this application does not limit its specific implementation.
S203,第一设备空口繁忙状态进行报文的发送。S203, the air interface of the first device is busy and sends the message.
具体地,该第一设备判断空口的繁忙状态后,根据空口是否繁忙进行报文的发送。例如,当第一设备确定空口繁忙时,该第一设备可不进行下一次报文的发送,等待空口空闲后再进行报文的发送。或者该第一设备在空口繁忙时,为了保证通信的质量,重复进行发送等。Specifically, after determining the busy state of the air interface, the first device sends the message according to whether the air interface is busy. For example, when the first device determines that the air interface is busy, the first device may not send the next message, and wait for the air interface to be free before sending the message. Or, when the air interface is busy, the first device repeatedly sends, etc. in order to ensure the communication quality.
基于上述方案,本申请实施例提供的通信方法,通过第一设备获取的虚拟干扰参数,可以在第一设备未发包的情况下判断空口繁忙程度,使得第一设备可以根据空口的繁忙程度进行通信时机的调整,从而提升通信质量。Based on the above solution, the communication method provided by the embodiment of the present application can judge the busyness of the air interface when the first device has not sent a packet through the virtual interference parameter obtained by the first device, so that the first device can communicate according to the busyness of the air interface Timing adjustments to improve communication quality.
图7示出了本申请实施例提供的一种通信方法700的示意性流程框图。如图7所示,该方法包括如下多个步骤。FIG. 7 shows a schematic flow diagram of a communication method 700 provided by an embodiment of the present application. As shown in Fig. 7, the method includes the following steps.
S701,第一设备获取真实干扰参数。S701. The first device acquires real interference parameters.
具体地,该真实干扰参数可以包括真实空口竞争时延和真实空口冲突率中的至少一个。其中,真实空口竞争时延为第一设备发送报文时的空口竞争时延。Specifically, the real interference parameter may include at least one of real air interface contention delay and real air interface collision rate. Wherein, the real air interface contention delay is an air interface contention delay when the first device sends a packet.
首先,对第一设备获取真实空口竞争时延进行说明。First, the contention delay of obtaining the real air interface by the first device is described.
在一种可实现的方式中,第一设备获取真实空口竞争时延的过程可以参考图3所示的利用计数器获取虚拟空口竞争时延的方法300,此处不再赘述。In an implementable manner, the process for the first device to obtain the real air interface contention delay may refer to the method 300 for obtaining the virtual air interface contention delay by using a counter shown in FIG. 3 , which will not be repeated here.
在另一种可实现的方式中,第一设备有报文需要发送时,还可以把上层有以太网报文生成的时刻,或到达WiFi层的时刻作为t1。第一设备将竞争结束的时刻t2。或者当WiFi层有一个报文队列,可以把物理层协议数据单元(physical layer protocol data unit,PPDU)的第一个报文达到WiFi发送队列的时间作为t1。具体地,第一设备获取真实空口竞争时延的过程还可以如图8所示。在图8中,该第一设备有两个报文等待发送,对于第一报文来说,第一设备将第一报文到达WiFi层的时刻记为t11,将第一设备竞争结束开始发送第一报文的时刻记为t12,则真实空口竞争时延为t12-t11。同理,对于第二报文发送时,第一设备可以将第二报文到达WiFi层的时刻记为t21,将第一设备竞争结束开始发送第一报文的时刻为t22,则真实空口竞争时延为t22-t21。In another practicable manner, when the first device has a message to send, the time when the upper layer generates an Ethernet message or the time when it arrives at the WiFi layer may be taken as t1. The first device will compete for time t2 at the end. Or when the WiFi layer has a message queue, the time when the first message of the physical layer protocol data unit (physical layer protocol data unit, PPDU) reaches the WiFi sending queue can be taken as t1. Specifically, the process for the first device to acquire the real air interface contention delay may also be as shown in FIG. 8 . In Figure 8, the first device has two messages waiting to be sent. For the first message, the first device records the time when the first message arrives at the WiFi layer as t11, and starts sending the first device after the competition is over. The time of the first packet is recorded as t12, and the real air interface contention delay is t12-t11. Similarly, when the second message is sent, the first device can record the time when the second message reaches the WiFi layer as t21, and the time when the first device finishes the competition and starts sending the first message is t22, then the real air interface competition The time delay is t22-t21.
若该第一设备无法获取竞争开始的时刻,即上述图8中的t12或者t22时,第一设备可以采用间接方式获取空间竞争结束的时刻。即通过报文发送结束的时间减去第一报文发送的时 长,就可以得到报文发送的开始时刻。具体地,在图8中,该第一报文开始发送的时刻为t13-Δt1。类似的对于第二报文开始的时刻也可通过同样的方法计算,本申请不作限定。If the first device cannot obtain the time when the competition starts, that is, t12 or t22 in FIG. 8 , the first device may use an indirect method to obtain the time when the space competition ends. That is, the time at which the first message is sent is subtracted from the time when the message is sent Long, you can get the start time of message sending. Specifically, in FIG. 8 , the time when the first packet starts to be sent is t13-Δt1. Similarly, the start time of the second message can also be calculated by the same method, which is not limited in this application.
需要说明的是,上述第一报文发送的时长中包括第一设备与其他通信设备之间的确认(acknowledgment,ACK)或者块确认(block acknowledgment,BA)的时间,或者还可能包括一个短帧间间隔(short inter frame space,SIFS)时长,本申请不做限定。It should be noted that the above-mentioned duration of sending the first message includes the time of acknowledgment (acknowledgment, ACK) or block acknowledgment (block acknowledgment, BA) between the first device and other communication devices, or may also include a short frame The length of the short inter frame space (SIFS) is not limited in this application.
在另一种可能的实现方式中,当上层源源不断的发送报文时,第一报文发送完毕后,会立刻启动竞争下一次空口。此时,第一报文发送结束的时刻即为第二报文开始竞争的时刻。In another possible implementation manner, when the upper layer continuously sends packets, after the first packet is sent, it will immediately start competing for the next air interface. At this time, the moment when the sending of the first packet ends is the moment when the competition of the second packet starts.
接下来,对第一设备获取真实空口冲突率进行说明。Next, the acquisition of the real air interface collision rate by the first device will be described.
该过程可以参考上述图6中第一设备获取虚拟空口冲突率的流程。需要说明的是,该真实空口冲突率为第一设备在第一时间段内发送数据包的空口冲突次数与第一设备在所述第一时间段内发送数据包的数量之间的比值。For this process, reference may be made to the above-mentioned flow of the first device obtaining the virtual air interface collision rate in FIG. 6 . It should be noted that the real air interface collision rate is a ratio between the number of air interface collisions of data packets sent by the first device within the first time period and the number of data packets sent by the first device within the first time period.
此外,上述真实干扰参数同样可以使用上述例如表1或表2的表格获取,以及可以通过机器学习等方式获取。In addition, the above-mentioned real interference parameters can also be obtained using the above-mentioned tables such as Table 1 or Table 2, and can be obtained by means of machine learning and the like.
基于上述方案,本申请实施例提供的通信方法,能够通过真实干扰参数确定发送报文的设备当前受到的其他设备的干扰情况,使得发送报文的设备可根据干扰程度确定报文的发送时机,能够提高通信质量,从而提升用户体验。Based on the above solution, the communication method provided by the embodiment of the present application can determine the interference situation of other devices currently received by the device sending the message through the real interference parameter, so that the device sending the message can determine the timing of sending the message according to the degree of interference, Communication quality can be improved, thereby improving user experience.
针对于上述图2、图3、图6、图7的实施例,需要说明的是:本申请实施例所描述的各个流程图的步骤编号仅为执行流程的一种示例,并不构成对步骤执行的先后顺序的限制,本申请实施例中相互之间没有时序依赖关系的步骤之间没有严格的执行顺序。此外,各个流程图中所示意的步骤并非全部是必须执行的步骤,可以根据实际需要在各个流程图的基础上增添或者删除部分步骤。Regarding the above-mentioned embodiments in Fig. 2, Fig. 3, Fig. 6, and Fig. 7, it should be noted that: the step numbers of the various flow charts described in the embodiments of the present application are only an example of the execution process, and do not constitute a reference to the steps The order of execution is limited. In the embodiment of the present application, there is no strict execution order between the steps that have no time sequence dependency relationship with each other. In addition, not all the steps illustrated in each flow chart are steps that must be executed, and some steps may be added or deleted on the basis of each flow chart according to actual needs.
以上,结合图2至图8详细说明了本申请实施提供的通信方法,以下,结合图9和图10详细说明本申请实施例提供的通信装置。Above, the communication method provided by the implementation of the present application is described in detail with reference to FIG. 2 to FIG. 8 , and the communication device provided in the embodiment of the present application is described in detail below with reference to FIG. 9 and FIG. 10 .
图9和图10为本申请实施例提供的可能的通信装置的结构示意图。如图9所示,通信装置900包括处理单元910和收发单元920。FIG. 9 and FIG. 10 are schematic structural diagrams of a possible communication device provided by an embodiment of the present application. As shown in FIG. 9 , a communication device 900 includes a processing unit 910 and a transceiver unit 920 .
通信装置900用于实现上述图2和图7所示的方法实施例中第一设备的功能或操作的模块,该模块可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。The communication device 900 is a module used to implement the functions or operations of the first device in the method embodiments shown in FIG. 2 and FIG. 7 above, and the module may be implemented in whole or in part by software, hardware, firmware or any combination thereof.
当通信装置900用于实现图2所示的方法实施例中第一设备的功能时,处理模块910用于根据所述虚拟干扰参数确定所述第一设备的空口繁忙状态。收发模块920用于根据所述空口繁忙状态进行报文的发送。获取模块930,用于获取虚拟干扰参数。When the communication apparatus 900 is used to realize the function of the first device in the method embodiment shown in FIG. 2 , the processing module 910 is used to determine the air interface busy state of the first device according to the virtual interference parameter. The transceiver module 920 is configured to send packets according to the busy state of the air interface. The acquiring module 930 is configured to acquire virtual interference parameters.
当通信装置900用于实现图7所示的方法实施例中第一设备的功能时,处理模块910用于根据所述真实干扰参数确定所述装置的空口繁忙状态。获取模块930,用于获取真实干扰参数。When the communication apparatus 900 is used to realize the function of the first device in the method embodiment shown in FIG. 7 , the processing module 910 is used to determine the air interface busy state of the apparatus according to the real interference parameter. An acquisition module 930, configured to acquire real interference parameters.
图10为本申请实施例提供的另一种可能的通信装置的结构示意图。如图10所示,通信装置1000包括处理器1010和接口电路1020。处理器1010和接口电路1020之间相互耦合。可以理解的是,接口电路1020可以为收发器或输入输出接口。可选的,通信装置1000还可以包括存储器1030,用于存储处理器1010执行的指令或存储处理器1010运行指令所需要的输入数据或存储处理器1010运行指令后产生的数据。FIG. 10 is a schematic structural diagram of another possible communication device provided by an embodiment of the present application. As shown in FIG. 10 , a communication device 1000 includes a processor 1010 and an interface circuit 1020 . The processor 1010 and the interface circuit 1020 are coupled to each other. It can be understood that the interface circuit 1020 may be a transceiver or an input-output interface. Optionally, the communication device 1000 may further include a memory 1030 for storing instructions executed by the processor 1010 or storing input data required by the processor 1010 to execute the instructions or storing data generated by the processor 1010 after executing the instructions.
当通信装置1000用于实现图2或图7所示的方法时,处理器1010用于实现上述处理模块910的功能或者也可以实现上述获取模块930的功能,接口电路1020用于实现上述收发模块920的功能。 When the communication device 1000 is used to realize the method shown in FIG. 2 or FIG. 7, the processor 1010 is used to realize the function of the above-mentioned processing module 910 or the function of the above-mentioned acquisition module 930, and the interface circuit 1020 is used to realize the above-mentioned transceiver module. 920 features.
具体地,存储器1030可以与处理器1010耦合。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。或者,处理器1010可以与存储器1030协同操作。存储器1030可以是非易失性存储器,比如硬盘(hard disk drive,HDD)等,还可以是易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM)。存储器1030是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。Specifically, the memory 1030 may be coupled with the processor 1010 . The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, which may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules. Alternatively, the processor 1010 may operate in cooperation with the memory 1030 . The memory 1030 may be a non-volatile memory, such as a hard disk (hard disk drive, HDD), etc., or a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM). The memory 1030 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
本申请的实施例中处理器可以是随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、CD-ROM或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网络设备或终端设备中。当然,处理器和存储介质也可以作为分立组件存在于网络设备或终端设备中。In the embodiment of the present application, the processor can be random access memory (Random Access Memory, RAM), flash memory, read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable In addition to programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM), registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium known in the art middle. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and storage medium can be located in the ASIC. In addition, the ASIC can be located in a network device or a terminal device. Certainly, the processor and the storage medium may also exist in the network device or the terminal device as discrete components.
基于以上实施例,本申请实施例还提供了一种计算机存储介质。该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。Based on the above embodiments, the embodiment of the present application further provides a computer storage medium. A software program is stored in the storage medium, and when the software program is read and executed by one or more processors, the method provided by any one or more embodiments above can be implemented. The computer storage medium may include: various media capable of storing program codes such as U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk.
基于以上实施例,本申请实施例还提供了一种芯片。该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能。可选地,所述芯片还包括存储器,所述存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Based on the above embodiments, the embodiment of the present application further provides a chip. The chip includes a processor, configured to implement the functions involved in any one or more of the foregoing embodiments. Optionally, the chip further includes a memory for necessary program instructions and data executed by the processor. The chip may consist of chips, or may include chips and other discrete devices. Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram. These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施 例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。 Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the implementation of the present application. example range. In this way, if the modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (24)

  1. 一种通信的方法,其特征在于,包括:A communication method, characterized by comprising:
    第一设备获取虚拟干扰参数;The first device acquires virtual interference parameters;
    所述第一设备根据所述虚拟干扰参数确定所述第一设备的空口繁忙状态;The first device determines the air interface busy state of the first device according to the virtual interference parameter;
    所述第一设备根据所述空口繁忙状态进行报文的发送。The first device sends the message according to the busy state of the air interface.
  2. 根据权利要求1所述的方法,其特征在于,所述虚拟干扰参数包括:虚拟空口竞争时延和虚拟空口冲突率中的至少一个。The method according to claim 1, wherein the virtual interference parameters include: at least one of virtual air interface contention delay and virtual air interface collision rate.
  3. 根据权利要求2所述的方法,其特征在于,所述虚拟空口竞争时延为所述第一设备模拟发送报文时的空口竞争时延。The method according to claim 2, wherein the virtual air interface contention delay is an air interface contention delay when the first device simulates sending packets.
  4. 根据权利要求2或3所述的方法,其特征在于,The method according to claim 2 or 3, characterized in that,
    所述虚拟空口竞争时延为模拟竞争空口完成的时刻与模拟竞争空口开始的时刻之间的差值,所述模拟竞争空口完成的时刻为计数器计数结束的时刻。The virtual air interface contention delay is the difference between the time when the simulated contention air interface is completed and the time when the simulated contention air interface is started, and the time when the simulated contention air interface is completed is the time when the counter counts.
  5. 根据权利要求2至4中任一项所述的方法,其特征在于,The method according to any one of claims 2 to 4, characterized in that,
    所述虚拟空口冲突率为所述第一设备在第一时间段内模拟发包的空口冲突次数与所述第一设备在所述第一时间段内模拟发包的次数之间的比值。The virtual air interface collision rate is a ratio between the number of air interface collisions that the first device simulates sending packets within the first time period and the number of times the first device simulates sending packets within the first time period.
  6. 根据权利要求5所述的方法,其特征在于,The method according to claim 5, characterized in that,
    所述模拟发包的空口冲突次数为所述第一设备与第二设备同时竞争到空口发包机会的次数。The number of air interface collisions for the simulated packet sending is the number of times that the first device and the second device simultaneously compete for an air interface packet sending opportunity.
  7. 根据权利要求1所述的方法,其特征在于,所述第一设备获取所述虚拟干扰参数,包括:The method according to claim 1, wherein the acquiring the virtual interference parameters by the first device comprises:
    所述第一设备根据预设的第一参数确定所述虚拟干扰参数,所述第一参数包括以下至少一项:信道利用率、干扰个数、干扰强度。The first device determines the virtual interference parameter according to a preset first parameter, where the first parameter includes at least one of the following: channel utilization rate, interference number, and interference intensity.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, further comprising:
    所述第一设备获取真实干扰参数;The first device acquires real interference parameters;
    所述第一设备还根据所述真实干扰参数确定所述第一设备的空口繁忙状态。The first device further determines the air interface busy state of the first device according to the real interference parameter.
  9. 根据权利要求8所述的方法,其特征在于,所述真实干扰参数包括:真实空口竞争时延和真实空口冲突率中的至少一个。The method according to claim 8, wherein the real interference parameters include: at least one of real air interface contention delay and real air interface collision rate.
  10. 根据权利要求9所述的方法,其特征在于,所述真实空口竞争时延为所述第一设备发送报文时的空口竞争时延。The method according to claim 9, wherein the real air interface contention delay is an air interface contention delay when the first device sends a message.
  11. 根据权利要求9或10所述的方法,其特征在于,The method according to claim 9 or 10, characterized in that,
    所述真实空口冲突率为所述第一设备在第一时间段内发送数据包的空口冲突次数与所述第一设备在所述第一时间段内发送数据包的数量之间的比值。The real air interface collision rate is a ratio between the number of air interface collisions of data packets sent by the first device within the first time period and the number of data packets sent by the first device within the first time period.
  12. 一种通信的装置,其特征在于,包括:A communication device, characterized in that it includes:
    获取模块,用于获取虚拟干扰参数;An acquisition module, configured to acquire virtual interference parameters;
    处理模块,用于根据所述虚拟干扰参数确定所述装置的空口繁忙状态;A processing module, configured to determine the busy state of the air interface of the device according to the virtual interference parameter;
    收发模块,用于根据所述空口繁忙状态进行报文的发送。A transceiver module, configured to send packets according to the busy state of the air interface.
  13. 根据权利要求12所述的装置,其特征在于,所述虚拟干扰参数包括:虚拟空口竞争时延和虚拟空口冲突率中的至少一个。The device according to claim 12, wherein the virtual interference parameter comprises: at least one of a virtual air interface contention delay and a virtual air interface collision rate.
  14. 根据权利要求13所述的装置,其特征在于,The device according to claim 13, characterized in that,
    所述虚拟空口竞争时延为所述装置模拟发送报文时的空口竞争时延。 The virtual air interface contention delay is the air interface contention delay when the device simulates sending packets.
  15. 根据权利要求13或14所述的装置,其特征在于,Apparatus according to claim 13 or 14, characterized in that
    所述虚拟空口竞争时延为模拟竞争空口完成的时刻与模拟竞争空口开始的时刻之间的差值,所述模拟竞争空口完成的时刻为计数器计数结束的时刻。The virtual air interface contention delay is the difference between the time when the simulated contention air interface is completed and the time when the simulated contention air interface is started, and the time when the simulated contention air interface is completed is the time when the counter counts.
  16. 根据权利要求13至15中任一项所述的装置,其特征在于,Apparatus according to any one of claims 13 to 15, characterized in that
    所述虚拟空口冲突率为所述装置在第一时间段内模拟发包的空口冲突次数与所述装置在所述第一时间段内模拟发包的次数之间的比值。The virtual air interface collision rate is a ratio between the number of air interface collisions that the device simulates sending packets within the first time period and the number of times the device simulates sending packets within the first time period.
  17. 根据权利要求16所述的装置,其特征在于,所述模拟发包的空口冲突次数为所述装置与除所述装置之外的装置同时竞争到空口发包机会的次数。The device according to claim 16, wherein the number of air interface conflicts for the simulated packet sending is the number of times that the device and other devices compete for an air interface packet sending opportunity at the same time.
  18. 根据权利要求12所述的装置,其特征在于,所述获取模块具体用于,根据预设的第一参数确定所述虚拟干扰参数,所述第一参数包括以下至少一项:信道利用率、干扰个数、干扰强度。The device according to claim 12, wherein the obtaining module is specifically configured to determine the virtual interference parameter according to a preset first parameter, and the first parameter includes at least one of the following: channel utilization, Interference number and interference intensity.
  19. 根据权利要求12至18中任一项所述的装置,其特征在于,Apparatus according to any one of claims 12 to 18, characterized in that
    所述获取模块,还用于获取真实干扰参数;The obtaining module is also used to obtain real interference parameters;
    所述处理模块,还用于根据所述真实干扰参数确定所述装置的空口繁忙状态。The processing module is further configured to determine an air interface busy state of the device according to the real interference parameter.
  20. 根据权利要求19所述的装置,其特征在于,所述真实干扰参数包括:真实空口竞争时延和真实空口冲突率中的至少一个。The device according to claim 19, wherein the real interference parameters include: at least one of real air interface contention delay and real air interface collision rate.
  21. 根据权利要求20所述的装置,其特征在于,所述真实空口竞争时延为所述装置发送报文时的空口竞争时延。The device according to claim 20, wherein the real air interface contention delay is an air interface contention delay when the device sends packets.
  22. 根据权利要求20或21所述的装置,其特征在于,Apparatus according to claim 20 or 21, characterized in that,
    所述真实空口冲突率为所述装置在第一时间段内发送数据包的空口冲突次数与所述装置在所述第一时间段内发送数据包的数量之间的比值。The real air interface collision rate is a ratio between the number of air interface collisions that the device sends data packets within the first time period and the number of data packets that the device sends within the first time period.
  23. 一种通信的装置,其特征在于,包括处理器以及存储器,其中:A communication device, characterized by including a processor and a memory, wherein:
    所述存储器,存储有程序代码;The memory stores program codes;
    所述处理器,用于读取并执行所述存储器存储的程序代码,以实现如权利要求1至11中任意一项所述的方法。The processor is configured to read and execute the program code stored in the memory, so as to realize the method according to any one of claims 1-11.
  24. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至11中任一项所述的方法。 A computer-readable storage medium, characterized in that computer programs or instructions are stored in the storage medium, and when the computer programs or instructions are executed by a communication device, the implementation of any one of claims 1 to 11 Methods.
PCT/CN2023/073995 2022-02-22 2023-01-31 Communication method and apparatus WO2023160338A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210159630.8 2022-02-22
CN202210159630.8A CN116684896A (en) 2022-02-22 2022-02-22 Communication method and device

Publications (1)

Publication Number Publication Date
WO2023160338A1 true WO2023160338A1 (en) 2023-08-31

Family

ID=87764721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/073995 WO2023160338A1 (en) 2022-02-22 2023-01-31 Communication method and apparatus

Country Status (2)

Country Link
CN (1) CN116684896A (en)
WO (1) WO2023160338A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581984A (en) * 2012-07-26 2014-02-12 中国电信股份有限公司 WLAN air interface quality monitoring method and device
US20160087897A1 (en) * 2014-09-22 2016-03-24 Arris Enterprises, Inc. Using Wireless Client for Proxy Channel Scan
CN106572499A (en) * 2016-11-07 2017-04-19 西北工业大学 Chanel access method based on decimal backoff
WO2019070094A1 (en) * 2017-10-02 2019-04-11 엘지전자 주식회사 Method for channel or interference measurement in wireless communication system and apparatus therefor
CN113179534A (en) * 2021-03-15 2021-07-27 新华三技术有限公司成都分公司 Wireless transmission quality assessment method and device
CN113453145A (en) * 2021-05-25 2021-09-28 新华三技术有限公司成都分公司 Method for predicting air interface state and wireless coverage equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581984A (en) * 2012-07-26 2014-02-12 中国电信股份有限公司 WLAN air interface quality monitoring method and device
US20160087897A1 (en) * 2014-09-22 2016-03-24 Arris Enterprises, Inc. Using Wireless Client for Proxy Channel Scan
CN106572499A (en) * 2016-11-07 2017-04-19 西北工业大学 Chanel access method based on decimal backoff
WO2019070094A1 (en) * 2017-10-02 2019-04-11 엘지전자 주식회사 Method for channel or interference measurement in wireless communication system and apparatus therefor
CN113179534A (en) * 2021-03-15 2021-07-27 新华三技术有限公司成都分公司 Wireless transmission quality assessment method and device
CN113453145A (en) * 2021-05-25 2021-09-28 新华三技术有限公司成都分公司 Method for predicting air interface state and wireless coverage equipment

Also Published As

Publication number Publication date
CN116684896A (en) 2023-09-01

Similar Documents

Publication Publication Date Title
WO2021004079A1 (en) Multi-link wireless communication networks for high priority/low latency services
EP3139680B1 (en) Channel access method, system and computer readable storage medium
US20070153830A1 (en) Methods and apparatus to provide fairness for wireless local area networks that use extended physical layer protection mechanisms
JP6591550B2 (en) Listen before talk load based channel access for coexistence with Wi-Fi
US20180167976A1 (en) Wireless medium access operations
EP2955965A1 (en) Medium access apparatus and method for preventing a plurality of stations in a wireless local area network from colliding with one another
EP3997940A1 (en) Multi-link wireless communication networks for high priority/low latency services
US20160212768A1 (en) Wi-fi compatible channel access
WO2016192510A1 (en) Channel access method, station and system
US20160353485A1 (en) Managing medium access for wireless devices
CN104219017B (en) A kind of physical layer data package transmission method and access node
US11184775B2 (en) Method for transmitting frame on basis of spatial reuse in wireless LAN system and wireless terminal using same
WO2021184919A1 (en) Delay performance evaluation method and apparatus, and storage medium
US7813385B1 (en) Adaptive link delay management in wireless link systems
WO2023160338A1 (en) Communication method and apparatus
Burton et al. 802.11 Arbitration
US10743348B2 (en) Method for multi-user transmission in wireless LAN system and wireless terminal using same
EP3389312B1 (en) Determination of a transmission opportunity by an access point
US9775172B2 (en) Method and apparatus for wireless communication
EP3878234B1 (en) Multi-channel virtual sensing mechanism for wireless communications
WO2020010991A1 (en) Channel access method and device
KR20160110892A (en) Method and apparatus for determining contention window size in communication system
WO2023232032A1 (en) Channel access method and apparatus
WO2023284648A1 (en) Channel access method and apparatus
CN114630351B (en) Trigger frame sending method and device

Legal Events

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

Ref document number: 23758963

Country of ref document: EP

Kind code of ref document: A1