A method and device for configuring parameters of wireless local area network
By determining priorities and configuring EDCA parameters based on the service information of edge network devices in the wireless LAN, the problem of multi-device competition and conflict is solved, and network performance and user experience are improved.
Patent Information
- Application Number
- CN202011365632.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-11-28
AI Technical Summary
In wireless LANs, competition conflicts are likely to occur when multiple devices compete for Wi-Fi channels at the same time, resulting in packet failure, reduced network throughput, and increased service delays. Existing technologies cannot effectively avoid conflicts between STAs connected to different access points. Competitive conflicts.
The gateway device receives the service information reported by the edge network device, determines its priority, and configures the Enhanced Distributed Channel Access (EDCA) parameters based on the priority sorting results, including the minimum contention window, the maximum contention window, the number of arbitration inter-frame spaces and Transmission opportunities ensure that high-priority devices get more transmission opportunities and avoid contention conflicts.
It effectively avoids competition and conflicts between different edge network devices, improves network performance, ensures the opportunity to send high-priority services, and improves user experience.
Smart Images

Figure CN114584216B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of optical communication technology, and in particular to a method and device for configuring parameters of a wireless local area network. Background Art
[0002] Currently in wireless local area networks (WLANs), wireless fidelity (Wi-Fi) channels are shared by access points (APs) and stations (STAs). APs and STAs each use a set of enhanced distributed channel access (EDCA) parameters to compete for Wi-Fi channels and obtain transmission opportunities.
[0003] With the development of the network, more and more devices are connected to the home network, and the probability of STAs connected to multiple APs competing for Wi-Fi channels at the same time is increasing. Multiple devices competing for Wi-Fi channels at the same time may cause competition conflicts, resulting in packet failure, reduced network throughput, and increased service latency. Currently, there is no feasible way to avoid competition conflicts between STAs connected to different APs. Summary of the invention
[0004] The embodiments of the present application provide a parameter configuration method and device for a wireless local area network, so as to provide a feasible way to avoid contention conflicts between STAs connected to different APs.
[0005] In a first aspect, the present application provides a parameter configuration method for a wireless local area network, which is applied to a gateway device, and the method includes: receiving service information reported by N edge network devices that have communication connections with the gateway device, respectively, the service information being used to determine the priority of the service on the edge network device, where N is an integer greater than 1; determining a priority sorting result of the N edge network devices based on the service information reported by the N edge network devices, wherein the higher the priority of the edge network device, the higher the priority of the service on the edge network device; configuring enhanced distributed channel access EDCA parameters for the N edge network devices based on the service priority sorting result; the EDCA parameters include a minimum contention window; wherein, the higher the priority of the edge network device, the smaller the value of the minimum contention window in the EDCA parameters configured for the edge network device; or it can be described as the lower the priority of the edge network device, the larger the value of the minimum contention window in the EDCA parameters configured for the edge network device.
[0006] Among them, the gateway device can be an optical gateway, and the edge network device can be an edge optical network terminal ONT; or, the gateway device can be an optical network terminal ONT, and the edge network device can be an access point AP; or, the gateway device can be a passive optical network PON gateway, and the edge network device can be an ONT.
[0007] The present application combines the service information reported by the edge network device to determine the priority of each edge network device, and then configures the EDCA parameters for each edge network device in combination with the priority sorting result of the edge network device. Since the higher the priority of the edge network device, the smaller the value of the minimum contention window in the EDCA parameters configured for the edge network device, the higher the priority of the edge network device, the greater the probability that the edge network device obtains a transmission opportunity, and different edge network devices have different values of the minimum contention window, which can prevent contention conflicts between STAs under different edge network devices.
[0008] In a possible design, the EDCA parameters also include a maximum contention window, wherein the higher the priority of the edge network device, the smaller the value of the maximum contention window in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the larger the value of the maximum contention window in the EDCA parameters determined for the edge network device. The above design can further improve the probability of a high-priority edge network device obtaining a transmission opportunity through the value of the maximum contention window, and prevent contention conflicts between STAs connected to different edge network devices.
[0009] In a possible design, the EDCA parameters also include the arbitration inter-frame space number AISFN, wherein the higher the priority of the edge network device, the smaller the value of AISFN in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the larger the value of AISFN in the EDCA parameters determined for the edge network device. The above design can further improve the probability of high-priority edge network devices obtaining transmission opportunities through the value of AISFN, and prevent competition conflicts between STAs connected to different edge network devices.
[0010] In a possible design, the EDCA parameters also include a transmission opportunity TXOP, wherein the higher the priority of the edge network device, the larger the value of TXOP in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the smaller the value of TXOP in the EDCA parameters determined for the edge network device. The above design can further improve the probability of a high-priority edge network device obtaining a transmission opportunity through the value of TXOP, and prevent competition conflicts between STAs connected to different edge network devices.
[0011] In a possible design, the service information includes access categories, and the access categories include best effort BE, background BK, video VI or voice VO. The priority order of the access categories is: VO>VI>BE>BK.
[0012] In a possible design, the service information also includes a VIP service tag, which is used to indicate whether there is a VIP service. The priority of the VIP service is higher than the priority of the VO. In the above design, the edge network device with the VIP service has the highest priority, so the probability of obtaining a transmission opportunity is the highest, giving VIP users / services a green channel to improve user experience.
[0013] In a possible design, the service information also includes service traffic, where the service traffic is used to characterize the traffic of service data existing on the edge network device;
[0014] Among them, the greater the service traffic of the edge network device, the higher the priority of the edge network device with the same service priority.
[0015] In one possible design, before receiving service information respectively reported by N edge network devices that are in communication connection with the OLT, the method provided by the present application further includes:
[0016] A notification message is sent to N edge network devices, where the notification message is used to notify the N edge network devices to report service information.
[0017] In one possible design, the method provided in the present application also includes: receiving second reporting information sent by a first edge network device, the second reporting information including an access category updated by the first edge network device, the first edge network device being any one of N edge network devices; adjusting the EDCA parameters of the first edge network device according to the access category updated by the first edge network device, and sending the adjusted EDCA parameters to the first edge network device.
[0018] Through the above design, when the access category of the edge network device changes, the EDCA parameters of the edge network device are adjusted in time in combination with the access type, thereby ensuring that the probability of the high-priority edge network device obtaining a transmission opportunity is higher.
[0019] In one possible design, the method provided by the present application also includes: receiving first reporting information sent by the first edge network device, the first reporting information includes a VIP service tag updated by the first edge network device; adjusting the EDCA parameters of the first edge network device according to the VIP service tag updated by the first edge network device, and sending the adjusted EDCA parameters to the first edge network device. Through the above design, in the case of the existence of VIP service on the edge network device, the gateway device is promptly notified, so that the gateway device timely adjusts the EDCA parameters of the edge network device in combination with the VIP service tag. This can ensure that the edge network device with VIP service has the highest probability of obtaining a sending opportunity.
[0020] In a second aspect, an embodiment of the present application provides a parameter configuration method for a wireless local area network, which is applied to a gateway device. The method provided by the present application includes:
[0021] Determine the backoff time sets corresponding to N edge network devices that establish communication connections with the gateway device, where N is an integer greater than 1; wherein the backoff time set corresponding to the first edge network device is used to indicate the backoff time adopted by the first edge network device in at least N rounds of channel contention, the first edge network device is any one of the N edge network devices, and each of the N edge network devices obtains at least one round of sending opportunities in at least N rounds, and the backoff times corresponding to the N edge network devices in each round are different; send the corresponding backoff time sets to the N edge network devices respectively.
[0022] Through the above design, different edge network devices are configured with different backoff times, and multiple rounds of different edge network devices can obtain sending opportunities, thereby preventing competition conflicts between different edge network devices.
[0023] In one possible design, the gateway device is an optical gateway, and the edge network device is an edge optical network terminal ONT; or, the gateway device is an optical network terminal ONT, and the edge network device is an access point AP; or, the gateway device is a passive optical network PON gateway, and the edge network device is ONT.
[0024] In one possible design, the backoff time set corresponding to the first edge network device includes the backoff time adopted by the first edge network device in each polling cycle, and each polling cycle includes the at least N rounds.
[0025] In one possible design, the backoff time set corresponding to the first edge network device includes a one-to-one correspondence between at least N sequence numbers and at least N backoff times.
[0026] In one possible design, the method may also include: receiving an abnormal event message from a first edge network device, the abnormal event message being used to notify the first edge network device that a contention conflict occurs when competing for a channel; sending a first notification message to each of the N edge network devices, the first notification message being used to notify the N edge network devices to report the backoff time adopted in the previous round of channel contention; receiving the backoff time adopted in the previous round of channel contention sent by each of the N edge network devices and the serial number corresponding to the adopted backoff time; adjusting the backoff time set for each of the N edge network devices according to the backoff time reported by each of the N edge network devices; and sending the corresponding adjusted backoff time set to each of the N edge network devices.
[0027] In the above design, when a contention conflict occurs in a certain edge network device, the abnormal event message is reported in time, so that the backoff time of each edge network device can be adjusted in time to reduce the contention conflict.
[0028] In a possible design, the method may also include: receiving a second notification message from the first edge network device, the second notification message being used to notify the first edge network device that there is a very important VIP service on the first edge network device, and the priority of the VIP service is higher than the priority of other services supported by N edge network devices; adjusting the backoff time sets corresponding to the N edge network devices respectively; wherein the backoff time sets corresponding to the N edge network devices respectively after adjustment are used to characterize that the number of sending opportunities obtained by the first edge network device among the N edge network devices is greater than the number of sending opportunities obtained by other edge network devices among the N edge network devices; and sending the corresponding adjusted backoff time sets to the N edge network devices respectively.
[0029] In the above design, the edge network device with VIP services can obtain more sending opportunities in the polling cycle, that is, the VIP services are given priority to compete for the channel to send service data.
[0030] In a third aspect, an embodiment of the present application provides a parameter configuration device for a wireless local area network, which is applied to a gateway device, and the device includes:
[0031] A communication module, used to receive service information reported by N edge network devices that have communication connections with the gateway device, respectively, where the service information is used to determine the priority of the service on the edge network device, where N is an integer greater than 1;
[0032] A processing module, used to determine the priority sorting result of N edge network devices according to the service information reported by the N edge network devices, wherein the higher the priority of the edge network device, the higher the priority of the service on the edge network device;
[0033] The processing module is further used to determine enhanced distributed channel access EDCA parameters for the N edge network devices respectively according to the service priority sorting result; the EDCA parameters include a minimum contention window;
[0034] The higher the priority of the edge network device, the smaller the value of the minimum contention window in the EDCA parameter determined for the edge network device;
[0035] The communication module is also used to send corresponding EDCA parameters to N edge network devices respectively.
[0036] In a possible design, the EDCA parameters also include a maximum contention window, wherein the higher the priority of the edge network device, the smaller the value of the maximum contention window in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the larger the value of the maximum contention window in the EDCA parameters determined for the edge network device.
[0037] In a possible design, the EDCA parameters also include an arbitration inter-frame space number AISFN, wherein the higher the priority of the edge network device, the smaller the value of AISFN in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the larger the value of AISFN in the EDCA parameters determined for the edge network device.
[0038] In a possible design, the EDCA parameters also include a transmission opportunity TXOP, wherein the higher the priority of the edge network device, the larger the TXOP value in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the smaller the TXOP value in the EDCA parameters determined for the edge network device.
[0039] In a possible design, the service information includes access categories, and the access categories include best effort BE, background BK, video VI or voice VO. The priority order of the access categories is: VO>VI>BE>BK.
[0040] In a possible design, the service information also includes a VIP service tag, where the VIP service tag is used to indicate whether a VIP service exists, and the priority of the VIP service is higher than the priority of the VO.
[0041] In a possible design, the service information also includes service traffic, where the service traffic is used to characterize the traffic of service data existing on the edge network device;
[0042] Among them, the greater the service traffic of the edge network device, the higher the priority of the edge network device with the same service priority.
[0043] In one possible design, the communication module is also used to send a notification message to the N edge network devices before receiving the service information reported by the N edge network devices that have communication connections with the OLT, and the notification message is used to notify the N edge network devices to report the service information.
[0044] In one possible design, the communication module is also used to receive second reporting information sent by the first edge network device, the second reporting information includes the access category updated by the first edge network device, and the first edge network device is any one of N edge network devices; the processing module is also used to adjust the EDCA parameters of the first edge network device according to the access category updated by the first edge network device, and send the adjusted EDCA parameters to the first edge network device.
[0045] In one possible design, the communication module is further used to receive second reporting information sent by the first edge network device, where the second reporting information includes a VIP service tag updated by the first edge network device;
[0046] The processing module is further used to adjust the EDCA parameters of the first edge network device according to the VIP service tag updated by the first edge network device;
[0047] The communication module is also used to send the adjusted EDCA parameters to the first edge network device.
[0048] In one possible design, the gateway device is an optical gateway, and the edge network device is an edge optical network terminal ONT; or, the gateway device is an optical network terminal ONT, and the edge network device is an access point AP; or, the gateway device is a PON gateway, and the edge network device is an ONT.
[0049] In a fourth aspect, an embodiment of the present application provides a parameter configuration device for a wireless local area network, which is applied to a gateway device, and the device includes: a processing module, which is used to determine the backoff time sets corresponding to N edge network devices that establish communication connections with the gateway device, where N is an integer greater than 1; wherein the backoff time set corresponding to the first edge network device is used to indicate the backoff time adopted by the first edge network device in at least N rounds of channel competition, and the first edge network device is any one of the N edge network devices. In at least N rounds, each of the N edge network devices obtains at least one round of sending opportunities, and the backoff times corresponding to the N edge network devices in each round are different; a communication module, which is used to send corresponding backoff time sets to the N edge network devices respectively.
[0050] In one possible design, the backoff time set corresponding to the first edge network device includes the backoff time adopted by the first edge network device in each polling cycle, and each polling cycle includes the at least N rounds.
[0051] In one possible design, the backoff time set corresponding to the first edge network device includes a one-to-one correspondence between at least N sequence numbers and at least N backoff times.
[0052] In one possible design, the communication module is also used to: receive an abnormal event message from a first edge network device, the abnormal event message is used to notify the first edge network device that a contention conflict occurs when competing for a channel; send a first notification message to N edge network devices respectively, the first notification message is used to notify the N edge network devices to report the backoff time adopted in the previous round of channel competition; receive the backoff time adopted in the previous round of channel competition sent by the N edge network devices and the serial number corresponding to the adopted backoff time; the processing module is also used to: adjust the backoff time set for the N edge network devices according to the backoff time reported by the N edge network devices respectively; the communication module is also used to send the corresponding adjusted backoff time set to the N edge network devices respectively.
[0053] In one possible design, the communication module is also used to receive a second notification message from the first edge network device, and the second notification message is used to notify the first edge network device that there is a very important VIP service on the first edge network device, and the priority of the VIP service is higher than the priority of other services supported by the N edge network devices; the processing module is also used to adjust the backoff time sets corresponding to the N edge network devices respectively; wherein the backoff time sets corresponding to the N edge network devices after adjustment are used to characterize that the number of sending opportunities obtained by the first edge network device among the N edge network devices is greater than the number of sending opportunities obtained by other edge network devices among the N edge network devices; the communication module is also used to send corresponding adjusted backoff time sets to the N edge network devices respectively.
[0054] In the fifth aspect, the embodiment of the present application further provides a device, which may be a gateway device for implementing the method described in the first aspect or the second aspect; the device may also be other devices that can support the gateway device to implement the method described in the first aspect or the second aspect, for example, a device that can be set in the gateway device. Among them, it may be a chip system, module or circuit set in the gateway device, etc., which is not specifically limited in this application. The device includes a processor for implementing the function of the gateway device in the method described in the first aspect above. The device may also include a memory for storing program instructions and data. The memory is coupled to the processor, and the processor calls and executes the program instructions stored in the memory to implement the function of the gateway device in the method described in the first aspect or the second aspect above. The device may also include a communication interface, which is used for the device to communicate with other devices. Exemplarily, the other device is an edge network device. In the embodiment of the present application, the communication interface may include a circuit, a bus, an interface, a communication interface or any other device that can implement a communication function.
[0055] In a sixth aspect, a computer storage medium is also provided in an embodiment of the present application, in which a software program is stored. When the software program is read and executed by one or more processors, the method described in the first aspect or any design of the first aspect can be implemented, or the method described in the second aspect or any design of the second aspect can be implemented.
[0056] In the seventh aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect or any design of the first aspect, or execute the method described in the second aspect or any design of the second aspect.
[0057] In an eighth aspect, an embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the function of the gateway device in the above method. The chip system may be composed of a chip, or may include a chip and other discrete devices.
[0058] In a ninth aspect, an embodiment of the present application provides a system, comprising a gateway device and a plurality of edge network devices. The gateway device is used to implement the method described in any one of the designs of the first aspect or the second aspect. The edge network device can be used to receive a backoff time set or EDCA parameters from the gateway device. The edge network device can also be used to send service information, VIP service tags, etc. to the gateway device.
[0059] The beneficial effects of the third to ninth aspects mentioned above can be found in the relevant descriptions of the first to second aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 A possible WLAN network architecture diagram according to an embodiment of the present application;
[0061] Figure 2 This is a schematic diagram of an EDCA parameter set in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of possible EDCA parameters configured on the STA side in an embodiment of the present application;
[0063] Figure 4 A schematic diagram of a possible contention channel in an embodiment of the present application;
[0064] Figure 5A This is a schematic diagram of a topological structure of an optical communication system applied to FTTR in an embodiment of the present application;
[0065] Figure 5B This is a schematic diagram of the topological structure of another optical communication system applied to a home network in an embodiment of the present application;
[0066] Figure 6 A possible wireless local area network parameter configuration method flow chart in an embodiment of the present application;
[0067] Figure 7 A schematic diagram of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0068] Figure 8 A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0069] Fig. 9 A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0070] Fig.10 A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0071] Fig.11A A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0072] Fig. 11B A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0073] Fig. 11C A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0074] Fig. 12AA schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0075] Fig. 12B A schematic diagram of a flow chart of another possible method for configuring parameters of a wireless local area network in an embodiment of the present application;
[0076] Fig.13 This is a schematic diagram of the structure of a device 1300 in an embodiment of the present application;
[0077] Fig.14 This is a schematic diagram of the structure of a gateway device 1400 in an embodiment of the present application. DETAILED DESCRIPTION
[0078] It should be understood that "one embodiment", "one implementation", "one implementation method" or "one example" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment", "an implementation method", "one implementation method" or "in an example" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0079] In addition, the terms "system" and "network" are often used interchangeably in this article. The term "and / or" in this article is only a kind of association relationship describing the associated objects, indicating that there can be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship. It should be understood that in the embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. But it should also be understood that determining B according to A does not mean that B is determined only according to A, but B can also be determined according to A and / or other information. And, unless otherwise stated, the ordinal numbers such as "first" and "second" mentioned in the embodiment of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. In addition, the terms "including" and "having" in the embodiments of the present application, the claims and the drawings are not exclusive. For example, a process, method, system, product or device including a series of steps or modules is not limited to the listed steps or modules, and can also include steps or modules that are not listed.
[0080] See also Figure 1The figure shows a possible WLAN network architecture diagram, which includes a wireless controller, a wireless access point, and a terminal device. The wireless controller is used to configure services and radio frequency for the access point. The wireless access point can be referred to as an access point (AP). The AP is used to provide service access for the associated STA. The terminal device can be associated with the access point as a STA.
[0081] The terminal device may include a mobile phone (or "cellular" phone), a computer with a mobile terminal device, a portable, pocket-sized, handheld, or computer-built mobile device, etc. For example, a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), and other devices. The terminal device may also be a computer, a tablet computer, an e-reader, etc., or a smart home device, such as a smart TV, a smart speaker, etc. As an example and not a limitation, in the embodiment of the present application, the terminal device may also be a wearable device. Wearable devices may also be called wearable smart devices or smart wearable devices, etc., which are a general term for the intelligent design and development of wearable devices for daily wear using wearable technology, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only a hardware device, but also a powerful function achieved through software support, data interaction, and cloud interaction. In a broad sense, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various smart bracelets, smart helmets, smart jewelry, etc. for vital sign monitoring.
[0082] It should be noted that the Wi-Fi channel is shared by the AP and STA. The AP and STA each use a set of enhanced distributed channel access (EDCA) parameters to compete for the Wi-Fi channel and obtain the opportunity to transmit. The configuration of EDCA parameters is determined by the AP. Each AP configures its own EDCA parameters and broadcasts them to each STA connected to the AP. Multiple STAs accessing the same AP need to obey the same set of EDCA parameters broadcast by the AP. The AP can broadcast EDCA parameters through a beacon frame. The Beacon frame is a periodically triggered management frame defined by the 802.1.1 WLAN protocol. The Beacon frame carries a variety of necessary information in the network. The Beacon frame includes an EDCA parameter set broadcast by the AP to the STA. The Beacon frame can also include an EDCA parameter set used by the AP itself. The EDCA parameter set element includes a Quality of Service (QoS) parameter set. Among them, the QoS parameter set includes STA's QoS parameters for different access categories (AC). Access categories can also be called access categories. Access categories include: AC_BE (best effort), AC_BK (background), AC_VI (video), and AC_VO (voice). The QoS parameters (i.e., access channel configuration parameters) of each access category include the minimum and maximum sizes of the exponential form of contention window (ECM), transmission opportunity (TXOP) limit, etc. In this way, by setting different values for the QoS parameters of each access category, some multimedia real-time services (such as AC_VI and AC_VO type services) can have more opportunities to access the channel, thereby reducing the delay of multimedia real-time services, making the data transmission of multimedia real-time services smoother, and improving the user experience.
[0083] For example, see Figure 2 The figure shows the EDCA parameter set included in the Beacon frame. The element ID is the unique identifier of the EDCA parameter set element, which is used to distinguish it from other elements. The length is the parameter length of the EDCA parameter set element, excluding the element ID and length fields.
[0084] Quality of Service Information (QoS info), in this field, includes a sub-option, which is EDCA Parameter Set Update Count, used to notify the terminal whether the EDCA parameter set elements are changed.
[0085] The EDCA parameter set element also includes a parameter record field for each access category, and each parameter record field defines the QoS parameters when the STA executes the access category, such as Figure 2 As shown, the parameter record field of each access category includes an AC index (ACI) / arbitration interframe space number (AIFSN), an exponential contention window, and a transmission opportunity (TXOP) limit.
[0086] Among them: ACI / AIFSN includes AIFSN. AIFSN indicates the number of time slots delayed after the short interframe space (SIFS) time when STA accesses the network. The smaller the parameter value, the shorter the time STA waits to access the Wi-Fi channel.
[0087] ECW is the contention window size of EDCA. This value determines the size of the average backoff time of the STA. The smaller the value, the shorter the average backoff time of the terminal. The ECW parameters include the minimum size of ECW (ECWmin) and the maximum size of ECW (ECWmax);
[0088] The TXOP limit indicates the time limit for a STA to occupy a Wi-Fi channel to transmit data. The larger the value, the longer the STA can occupy the channel.
[0089] The AP sends the EDCA parameter set element to the STA. The EDCA parameter set element includes the QoS parameter set set by the AP for the STA to process each access category. The AP configures different QoS parameters for different access categories. For example, a smaller AIFSN, ECWmin and ECWmax, and a larger TxOP are configured for AC_VI and AC_VO that require real-time transmission, while a larger AIFSN, ECWmin and ECWmax, and a smaller TxOP are configured for other access categories. This allows AC_VI and AC_VO services to have a higher priority when accessing the Wi-Fi channel, while other services have a lower priority, thereby meeting the needs of real-time services and obtaining a better service experience. As an example, a possible EDCA parameter configured on the STA side is as follows: Figure 3 shown.
[0090] See also Figure 4 As shown, after receiving the EDCA parameter set element, when the STA needs to use the channel to send service data, the STA monitors whether the channel is busy. When it detects that the channel is idle, it starts the AIFS (AIFS = SIFS (16us) + AIFSN (AC) × slot (9us)) countdown. Figure 4 As shown, the higher the priority of the AC service, the shorter the AIFS. When the AIFS countdown reaches 0, the backoff countdown begins. The backoff countdown is determined by CWmin. The backoff countdown of each STA is randomly selected from 0 to CWmin, and the backoff countdown time = backoff countdown * slot (9us). The higher the priority of the AC, the smaller the initial value of CWmin, and the random backoff countdown is likely to be smaller. The channel can be seized first. After seizing the channel, the duration of occupying the channel is determined by the value of TxOP. VI and VO services can occupy the channel longer than BE and BK.
[0091] With the development of the network, more and more devices are in the home network, and the probability of multiple devices competing for Wi-Fi channels at the same time is also increasing. The EDCA parameters of each AP and its STA are configured independently, and there is no collaborative management between APs. When the channel is congested and the service flow is large, conflicts will occur between devices in the home, resulting in reduced throughput and increased latency.
[0092] Based on this, an embodiment of the present application provides a parameter configuration method for a wireless local area network, which is used to solve the problem of packet sending failure caused by competition conflicts caused by multiple devices competing for Wi-Fi channels at the same time.
[0093] The embodiments of the present application are applicable to the WLAN deployment mode using fiber to the room (FTTR), in which optical fiber is laid to each room, and home gateway interconnection is achieved by deploying edge network devices in each room. FTTR can meet the high requirements of new business applications such as online education, home office and home entertainment for bandwidth, latency, etc. The edge network device can be an edge ONT or an AP. In the FTTR application scenario, a gateway device is deployed to manage the edge network device. The gateway device can be an optical gateway, an ONT or a PON gateway, etc.
[0094] As an example, see Figure 5A The figure shows a schematic diagram of the topological structure of an optical communication system applied to FTTR. The optical communication system applied to FTTR includes at least an optical gateway and multiple edge optical network terminals (edge optical network terminals, edge ONTs). In the embodiment of the present application, the edge ONT may also be referred to as EDGE ONT, or Edge ONT. The optical gateway communicates with multiple EDGE ONTs respectively. The optical communication system also includes OLT. The optical gateway is deployed between OLT and edge ONT. In the FTTR scenario, the optical gateway is connected to the home information box through fiber-to-the-home, and is connected to each room through a splitter. An edge (Edge) ONT is deployed in each room, and the optical gateway at the information box coordinates the management of multiple Edge ONTs. Multiple ONTs under the FTTR architecture are connected to the optical gateway through optical fibers, and the control and management resources do not occupy the Wi-Fi air interface. Compared with the multi-AP Wi-Fi cascade solution, the real-time management of the optical gateway can be improved. The terminal device can access the Edge ONT to realize network communication.
[0095] As another example, see Figure 5B FIG. 1 is another schematic diagram of the topology of an optical communication system for a home network. The optical communication system includes at least an ONT and multiple APs. The ONT is used to coordinate the management of the APs deployed in each room.
[0096] The optical communication system of FTTR can adopt a passive optical network (PON). PON can be a gigabit passive optical network (GPON), an Ethernet passive optical network (EPON), a 10Gb / s Ethernet passive optical network (10G-EPON), a time and wavelength division multiplexing passive optical network (TWDM-PON), a 10-gigabit passive optical network (XG-PON) or a 10-gigabit symmetric passive optical network (XGS-PON). New technologies that will evolve in the future will increase the rate of PON to 25Gbps, 50Gbps or even 100Gbps, so this application can also apply PON with a higher transmission rate.
[0097] In the embodiment of the present application, the advantage of the gateway device co-managing the edge network devices under the FTTR architecture is utilized to uniformly adjust the EDCA parameters of the edge network devices within the home, thereby optimizing the performance of the entire network. It should be noted that the present application can also be applied to the non-FTTR architecture, using the OLT to co-manage the ONTs in the optical communication system.
[0098] In the subsequent description, the edge network device is an edge ONT and the gateway device is an optical gateway.
[0099] Specifically, the embodiments of the present application provide but are not limited to the following three implementation methods:
[0100] In a first possible implementation, the optical gateway allocates a back-off time for each round of channel contention to the EDGE ONTs included in the optical communication system based on configuration rules. The configuration rules ensure that the EDGE ONTs obtain transmission opportunities fairly.
[0101] In a second possible implementation, the optical gateway may allocate a backoff time for each round of channel contention to the EDGE ONT based on the service priority of the EDGE ONT. In a polling cycle, the number of transmission opportunities obtained by the EDGE ONT with a higher service priority is higher than the number of transmission opportunities obtained by the EDGE ONT with a lower service priority. The number of times included in a polling cycle is not less than the number of EDGE ONTs included in the optical communication system.
[0102] In a third possible implementation, the optical gateway allocates a backoff time used in each round of channel contention to the EDGE ONTs included in the optical communication system, and when allocating the backoff time used in each round to each EDGE ONT, it is ensured that the EDGE ONT with VIP services obtains more transmission opportunities than other EDGE ONTs, and other EDGE ONTs except VIP services can obtain fair transmission opportunities.
[0103] In a fourth possible implementation, each EDGE ONT included in the optical communication system reports its service information to the optical gateway, and the service information is used to determine the priority of the service on the EDGE ONT. Then the optical gateway can determine the EDCA parameters allocated to each EDGE ONT according to the service information.
[0104] The above three solutions are described in detail below with reference to the accompanying drawings.
[0105] First, the first possible implementation method is described in detail.
[0106] See also Figure 6 The figure shows a possible flow chart of a parameter configuration method for a wireless local area network. Figure 6 In the example, an optical network system includes N EDGE ONTs, and the N EDGE ONTs are all connected to an optical gateway. N is an integer greater than 1.
[0107] 601. The optical gateway determines backoff time sets corresponding to N EDGE ONTs.
[0108] The backoff time set may be in the form of a table. For ease of description, the backoff time set may be referred to as a backoff (BO) configuration table.
[0109] A backoff time set corresponding to an EDGE ONT is used to indicate the backoff time used by the EDGE ONT in N rounds of channel contention. Alternatively, it can be described as a backoff time set corresponding to an EDGE ONT is used to indicate the backoff time used by the EDGE ONT in N rounds of channel contention.
[0110] As an example, the backoff time may also be referred to as a BO value. The BO value may be understood as the number of backoff time slots determined according to the ECWmin value in the EDCA parameters.
[0111] Optionally, a backoff time set corresponding to an EDGE ONT may include a one-to-one correspondence between N sequence numbers and N backoff times.
[0112] 602. The optical gateway sends corresponding backoff time sets to N EDGE ONTs respectively. In N rounds of contention channels, the N EDGE ONTs respectively obtain one round of transmission opportunities.
[0113] After receiving the backoff time set, each EDGE ONT obtains a backoff time in each round to compete for the channel according to the backoff time sequence included in the backoff time set. Specifically, each round can obtain a backoff time in each round to compete for the channel according to the sequence number from small to large.
[0114] In one possible implementation, among N EDGE ONTs, in N rounds of contention for the channel, the N EDGE ONTs each obtain a round of transmission opportunities. For example, in the i-th round of contention for the channel, the i-th EDGE ONT obtains a transmission opportunity, i.e., the backoff time allocated to the i-th EDGE ONT in the i-th round is the smallest, i.e., the backoff time allocated to the other EDGE ONTs except the i-th EDGE ONT in the i-th round is smaller than the backoff time allocated to the i-th EDGE ONT. The backoff times allocated to the N EDGE ONTs in the i-th round are different, so that when there is no service data to be sent on the EDGE ONT with a smaller backoff time, other EDGE ONTs can be prevented from having contention conflicts when competing for the channel.
[0115] As an example, an optical communication system includes four EDGE ONTs, namely EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4. The backoff time sets configured by the optical gateway for EDGE ONT1-EDGE ONT4 are shown in Table 1.
[0116] Table 1
[0117]
[0118] As can be seen from Table 1 above, in the first round, the order of the backoff times from smallest to largest is: EDGE ONT1 < EDGE ONT2 < EDGE ONT3 < EDGE ONT4. The backoff time of EDGE ONT1 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT1, EDGE ONT2 gets the transmission opportunity first, and so on. In the second round, the order of the backoff times from smallest to largest is: EDGE ONT2 < EDGE ONT3 < EDGE ONT4 < EDGE ONT1. The backoff time of EDGE ONT2 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT2, EDGE ONT3 gets the transmission opportunity first, and so on. In the third round, the order of the backoff times from smallest to largest is: EDGE ONT3 < EDGE ONT4 < EDGE ONT1 < EDGE ONT2. The backoff time of EDGE ONT3 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT3, EDGE ONT4 gets the transmission opportunity first, and so on. In the fourth round, the order of the backoff times from smallest to largest is: EDGE ONT4 < EDGE ONT1 < EDGE ONT2 < EDGE ONT3. The backoff time of EDGE ONT4 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT4, EDGE ONT1 gets the transmission opportunity first, and so on. The 4 EDGE ONTs obtain the transmission opportunity relatively fairly.
[0119] In some embodiments, the set of backoff times corresponding to an EDGE ONT can be the backoff times adopted by this EDGE ONT in each polling cycle. A polling cycle can include the same number of times as the number of EDGE ONTs included in the optical network system. In combination with Table 1, the optical gateway configures the backoff times for 4 EDGE ONTs to compete for the channel in 4 rounds respectively. These 4 rounds are one polling cycle. In the first round to the fourth round of the first polling cycle, each EDGE ONT uses the backoff times shown in Table 1 to compete for the channel. In the first round to the fourth round of the second polling cycle, each EDGE ONT continues to use the backoff times shown in Table 1 to compete for the channel, and so on.
[0120] In a possible implementation, since each EDGE ONT may cause anomalies when the clocks are not synchronized, some EDGE ONTs may have contention conflicts when competing for channels. Based on this, when a certain EDGE ONT has contention conflicts with other EDGE ONTs when competing for channels, the optical gateway is notified, so that the optical gateway can reconfigure the backoff time set for each EDGE ONT. For example, the EDGE ONT in which the contention conflict occurs is the first EDGE ONT, and the first EDGE ONT is any one of the N EDGE ONTs.
[0121] Specifically, after step 602, the following steps may also be included:
[0122] 603. The first EDGE ONT reports an abnormal event message to the optical gateway. The abnormal event message is used to notify the first EDGE ONT that a contention conflict occurs when competing for a channel.
[0123] 604. After receiving the abnormal event message from the first EDGE ONT, the optical gateway may send a first notification message to each of the N EDGE ONTs. The first notification message is used to notify the N EDGE ONTs to report the backoff time used in the last round of channel contention.
[0124] 605. After receiving the first notification message, the N EDGE ONTs respectively send the backoff time used in the last round of channel contention and the sequence number corresponding to the backoff time to the optical gateway.
[0125] 606. The optical gateway adjusts the backoff time sets for the N EDGE ONTs according to the backoff time used in the previous round of channel contention reported by the N EDGE ONTs and the sequence numbers corresponding to the backoff time used; and sends the adjusted backoff time sets to the corresponding EDGE ONTs.
[0126] The second possible implementation is described in detail below. In the second possible implementation, the optical gateway may allocate a backoff time for each round of channel contention to the EDGE ONT based on the service priority of the EDGE ONT. In one polling cycle, the number of transmission opportunities obtained by an EDGE ONT with a higher service priority is higher than the number of transmission opportunities obtained by an EDGE ONT with a lower service priority. The number of times included in one polling cycle is not less than the number of EDGE ONTs included in the optical communication system. Take the optical network system including N EDGE ONTs as an example. Among the N EDGE ONTs, in M rounds of channel contention, M is greater than N, and each EDGE ONT among the N EDGE ONTs obtains at least one round of transmission opportunities.
[0127] The number of transmission opportunities obtained by the EDGE ONT with a low priority among the N EDGE ONTs in round M is less than the number of transmission opportunities obtained by the EDGE ONT with a high priority in round M. For example, the access category of the service of the STA connected to the first EDGE ONT is VO, and the access category of the service of the STA connected to other EDGE ONTs is BE. For example, the order of priority of different access categories may be VO>VI>BE>BK. Then, in round M, the number of transmission opportunities obtained by the first EDGE ONT is greater than the number of transmission opportunities obtained by other EDGE ONTs.
[0128] The access category of the service on the EDGE ONT can be reported by the EDGE ONT to the optical gateway.
[0129] In one approach, each EDGE ONT periodically and proactively reports the access category to the EDGE ONT. As an example, see Figure 7 As shown, it is a flowchart of another possible method for configuring parameters of a wireless local area network provided in an embodiment of the present application.
[0130] 701. N EDGE ONTs periodically report service access categories to the optical gateway.
[0131] 702. The optical gateway determines a priority order of the N EDGE ONTs according to an access category of a service corresponding to each of the N EDGE ONTs.
[0132] 703. The optical gateway configures backoff time sets for the N EDGE ONTs respectively according to the priority order of the N EDGE ONTs.
[0133] 704. The optical gateway sends corresponding backoff time sets to the N EDGE ONTs respectively.
[0134] In some embodiments, if the access categories of two or more EDGE ONTs are the same, the priority order is also the same. EDGE ONTs with the same priority have the same number of transmission opportunities in M rounds of contention channels. As an example, if the access categories of services on N EDGE ONTs are the same, the backoff time sets configured for the N EDGE ONTs include the backoff time used for N rounds of contention channels. Each EDGE ONT obtains one round of transmission opportunities in N rounds. As another example, the access categories of services on N EDGE ONTs are not exactly the same, and the backoff time sets configured for the N EDGE ONTs may include the backoff time used for M rounds of contention channels, where M is greater than N. In M rounds, the number of transmission opportunities obtained by the EDGE ONT with a higher priority is higher than the number of transmission opportunities obtained by the EDGE ONT with a lower priority. Optionally, when polling other EDGE ONTs to obtain transmission opportunities, if there is no service data to be sent on other EDGE ONTs, the probability of the EDGE ONT with a higher priority competing for the transmission opportunity is higher.
[0135] In one example, an optical communication system includes four EDGE ONTs, namely EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4. The access categories of services on EDGE ONT1, EDGE ONT2 and EDGE ONT3 are all BE, and the access category of services on EDGE ONT4 is VO. The priority of VO is higher than the priority of BE. Therefore, in a polling cycle, the number of transmission opportunities obtained by EDGE ONT4 is higher than the number of transmission opportunities obtained by other EDGE ONTs. The backoff time sets configured by the optical gateway for EDGE ONT1-EDGE ONT4 are shown in Table 2.
[0136] Table 2
[0137]
[0138] As can be seen from Table 2 above, in the first round, the order of the backoff times from smallest to largest is: EDGE ONT4 < EDGE ONT3 < EDGE ONT2 < EDGE ONT1. The backoff time of EDGE ONT4 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT4, EDGE ONT3 gets the transmission opportunity first, and so on. In the second round, the order of the backoff times from smallest to largest is: EDGE ONT3 < EDGE ONT4 < EDGE ONT2 < EDGE ONT1. The backoff time of EDGE ONT3 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT3, EDGE ONT4 gets the transmission opportunity first, and so on. In the third round, the order of the backoff times from smallest to largest is: EDGE ONT4 < EDGE ONT2 < EDGE ONT1 < EDGE ONT3. The backoff time of EDGE ONT4 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT4, EDGEONT2 gets the transmission opportunity first, and so on. In the fourth round, the order of the backoff times from smallest to largest is: EDGE ONT2 < EDGEONT1 < EDGE ONT4 < EDGE ONT3. The backoff time of EDGE ONT2 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT2, EDGE ONT1 gets the transmission opportunity first, and so on. In the fifth round, the order of the backoff times from smallest to largest is: EDGE ONT1 < EDGE ONT4 < EDGE ONT3 < EDGE ONT2. The backoff time of EDGE ONT1 is the smallest, and it gets the transmission opportunity first. If there is no service data to be sent on EDGE ONT1, EDGE ONT4 gets the transmission opportunity first, and so on. In the five rounds, the number of times EDGE ONT4 gets the transmission opportunity first is 2, and the number of times other EDGE ONTs get the transmission opportunity first is 1.
[0139] In another way, the optical gateway sends a broadcast message to each EDGE ONT to indicate the access category of the service reported by each EDGE ONT. Then, when each EDGE ONT receives the broadcast message, it reports the access category to the optical gateway. As an example, see Figure 8 shown in the schematic flowchart of another possible parameter configuration method for a wireless local area network provided by the embodiment of the present application.
[0140] 801, the optical gateway periodically sends a broadcast message to the optical gateway.
[0141] 802, when N EDGE ONTs receive the broadcast message, they respectively report the access category of the service to the optical gateway.
[0142] 803. The optical gateway determines the priority order of the N EDGE ONTs according to the access category of the service corresponding to each of the N EDGE ONTs.
[0143] 804. The optical gateway configures backoff time sets for the N EDGE ONTs respectively according to the priority order of the N EDGE ONTs.
[0144] 805. The optical gateway sends corresponding backoff time sets to the N EDGE ONTs respectively.
[0145] Optionally, if the access category of the service on each EDGE ONT does not change between the current cycle and the previous cycle, the backoff time set sent by the optical gateway to the N EDGE ONTs in the current cycle is the same as the backoff time set sent to the N EDGE ONTs in the previous cycle.
[0146] The third possible implementation is described in detail below with reference to the accompanying drawings. In the third possible implementation, the optical gateway allocates a backoff time used in each round of channel contention to the EDGE ONTs included in the optical communication system, and when allocating the backoff time used in each round to each EDGE ONT, it is ensured that the EDGE ONT with VIP services obtains more transmission opportunities than other EDGE ONTs, and other EDGE ONTs other than VIP services can obtain fair transmission opportunities. For example, the VIP service may include an online education service or a virtual reality (VR) service.
[0147] See also Fig. 9 The figure shows a possible flow chart of a parameter configuration method for a wireless local area network. Fig. 9 In the example, an optical network system includes N EDGE ONTs, and the N EDGE ONTs all establish communication connections with an optical gateway. A VIP service is generated on the first EDGE ONT among the N EDGE ONTs.
[0148] 901-902, see 601-602. That is, during the initial configuration, N EDGE ONTs are given equal opportunities to send. Figure 6 The configuration method described in the corresponding embodiment.
[0149] 903. The first EDGE ONT sends a second notification message to the optical gateway, where the second notification message is used to notify the first EDGE ONT that a VIP service exists on the first EDGE ONT, and the priority of the VIP service is higher than the priority of other services supported by the N EDGE ONTs.
[0150] 904. The optical gateway receives a second notification message from the first EDGE ONT, and adjusts the backoff time sets corresponding to the N EDGE ONTs. The backoff time sets corresponding to the N EDGE ONTs after adjustment are used to indicate that the number of transmission opportunities obtained by the first EDGE ONT among the N EDGE ONTs is greater than the number of transmission opportunities obtained by other EDGE ONTs among the N EDGE ONTs.
[0151] 905 : Send the corresponding adjusted backoff time sets to the N EDGE ONTs respectively.
[0152] In one example, an optical communication system includes four EDGE ONTs, namely EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4. VIP service exists on EDGE ONT1. In a polling cycle, the number of transmission opportunities obtained by EDGE ONT1 is higher than the number of transmission opportunities obtained by other EDGE ONTs. The backoff time sets configured by the optical gateway for EDGE ONT1-EDGE ONT4 are shown in Table 3.
[0153] Table 3
[0154]
[0155]
[0156] As can be seen from Table 3 above, in the first round, the order of the backoff times is: EDGE ONT1 < EDGE ONT2 < EDGE ONT3 < EDGE ONT4. The backoff time of EDGE ONT1 is the smallest and it gets the transmission opportunity first. If there is no service data to be transmitted on EDGE ONT1, EDGE ONT2 gets the transmission opportunity first, and so on. In the second round, the order of the backoff times is: EDGE ONT2 < EDGE ONT1 < EDGE ONT3 < EDGE ONT4. The backoff time of EDGE ONT2 is the smallest and it gets the transmission opportunity first. If there is no service data to be transmitted on EDGE ONT2, EDGE ONT1 gets the transmission opportunity first, and so on. In the third round, the order of the backoff times is: EDGE ONT1 < EDGE ONT3 < EDGE ONT4 < EDGE ONT2. The backoff time of EDGE ONT1 is the smallest and it gets the transmission opportunity first. If there is no service data to be transmitted on EDGE ONT1, EDGE ONT3 gets the transmission opportunity first, and so on. In the fourth round, the order of the backoff times is: EDGE ONT3 < EDGE ONT4 < EDGE ONT1 < EDGE ONT2. The backoff time of EDGE ONT3 is the smallest and it gets the transmission opportunity first. If there is no service data to be transmitted on EDGE ONT3, EDGE ONT4 gets the transmission opportunity first, and so on. In the fifth round, the order of the backoff times is: EDGE ONT4 < EDGE ONT1 < EDGE ONT2 < EDGE ONT3. The backoff time of EDGE ONT1 is the smallest and it gets the transmission opportunity first. If there is no service data to be transmitted on EDGE ONT4, EDGE ONT4 gets the transmission opportunity first, and so on. In the fifth round, the number of times EDGE ONT1 gets the transmission opportunity first is 2, and the number of times other EDGE ONTs get the transmission opportunity first is 1.
[0157] The following will describe in detail the fourth possible implementation manner with reference to the accompanying drawings. In the fourth possible implementation manner, each EDGE ONT included in the optical communication system reports its own service information to the optical gateway, and the service information is used to determine the priority of the services on the EDGE ONT. Then the optical gateway can determine the EDCA parameters allocated to each EDGE ONT according to the service information.
[0158] See Fig.10 shown is a schematic flow diagram of a parameter configuration method for a possible wireless local area network. Fig.10 Take the optical network system including N EDGE ONTs as an example.
[0159] 1001. N EDGE ONTs report service information to an optical gateway respectively. The service information is used to determine the priority of services on the EDGE ONT.
[0160] 1002. The optical gateway receives service information respectively reported by N EDGE ONTs, and determines a priority ranking result of the N EDGE ONTs according to the service information respectively reported by the N EDGE ONTs, wherein the higher the priority of the service on the EDGE ONT is, the higher the priority of the EDGE ONT is.
[0161] In one example, the service information may include an access category of the service. The priority order of the access category is: VO>VI>BE>BK. The higher the priority of the access category of the service included in the EDGE ONT, the higher the priority of the EDGE ONT.
[0162] In another example, the service information may also include a VIP service tag. The VIP service tag is used to indicate whether there is a VIP service. The priority of the VIP service is higher than the VO priority. That is, the order of priority may be: VIP service>VO>VI>BE>BK.
[0163] In another example, the service information may include the access category and service traffic of the service. The service traffic is used to characterize the traffic of service data on the EDGE ONT. The greater the service traffic of the EDGE ONT with the same service priority, the higher the priority of the EDGE ONT. For example, if the service priorities of two EDGE ONTs are the same, both of which are VO, the higher the service traffic of the EDGE ONT, the higher the priority of the EDGE ONT.
[0164] In another example, the service information may include the access category, service flow and VIP service identifier of the service. In this example, if both EDGE ONTs have VIP service identifiers, the higher the service flow of the EDGE ONT, the higher the priority of the EDGE ONT.
[0165] 1003. The optical gateway determines EDCA parameters for the N EDGE ONTs respectively according to the service priority sorting result, where the EDCA parameters include a minimum contention window.
[0166] 1004. Send EDCA parameters to N EDGE ONTs respectively.
[0167] The higher the priority of the service of the EDGE ONT, the smaller the minimum contention window in the EDCA parameters configured for the EDGE ONT, and the higher the probability that the EDGE ONT obtains a transmission opportunity.
[0168] The EDCA parameters may include one or more of the maximum contention window ECWmax, AISFN or TXOP in addition to the minimum contention window ECWmin.
[0169] In some embodiments, the higher the priority of the service of the EDGE ONT, the smaller the value of the maximum contention window in the EDCA parameter determined for the EDGE ONT. Alternatively, the maximum contention window in the EDCA parameter configured for N EDGE ONTs is the same.
[0170] In another embodiment, the higher the priority of the service of the EDGE ONT, the smaller the value of the AISFN in the EDCA parameter determined for the EDGE ONT. Or the AISFN in the EDCA parameter configured for N EDGE ONTs is the same.
[0171] In some other embodiments, the higher the priority of the service of the EDGE ONT, the larger the value of the TXOP in the EDCA parameter determined for the EDGE ONT. Or the TXOP in the EDCA parameter configured for N EDGE ONTs is the same.
[0172] In a possible implementation, during initial configuration, the optical gateway may configure the same EDCA parameters for N EDGE ONTs. Since at the beginning of configuration, it can be assumed that the priorities of services on the EDGE ONTs are the same. Specifically, the optical gateway may configure the same EDCA parameters for the N EDGE ONTs based on empirical values. Subsequently, each EDGE ONT may actively report service information to the EDGE ONT, or each EDGE ONT may report service information under the instruction of the optical gateway.
[0173] See also Fig.11A , taking the EDGE ONT reporting service information under the instruction of the optical gateway as an example.
[0174] 1101. The optical gateway sends a notification message to N EDGE ONTs. The notification message is used to notify the N EDGE ONTs to report service information.
[0175] In one example, the optical gateway may periodically send notification messages to N EDGE ONTs. The notification message may be a broadcast message. That is, the optical gateway periodically broadcasts and notifies the N EDGE ONTs to report service information. After receiving the notification message, the first EDGE ONT reports the service information to the optical gateway. The first EDGE ONT is any one of the N EDGE ONTs.
[0176] In another example, the notification message sent by the optical gateway to the N EDGE ONTs carries a reporting period, which is used to notify the N EDGE ONTs to periodically report service information according to the reporting period.
[0177] 1102. When receiving the notification message, each of the N EDGE ONTs reports its own service information to the optical gateway.
[0178] 1103-1105, see 1002-1004, no further details will be given here.
[0179] As an example, see Fig. 11B As shown, combined with the FTTR application scenario, take the optical communication system including 4 EDGE ONTs as an example, namely EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4. In the initial state, the optical gateway configures EDCA parameters for N EDGE ONTs based on empirical values. For example:
[0180] EDGE ONT1 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0;
[0181] EDGE ONT2 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0;
[0182] EDGE ONT3 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0;
[0183] EDGE ONT4 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0.
[0184] In a possible scenario, the services of STAs connected to four EDGE ONTs are shown in Fig. 11C As shown. STA3 under EDGE ONT4 is a VO service, STA2 under EDGE ONT2 and STA1 under EDGE ONT1 are both BE services. The access categories in the service information reported by EDGE ONT1 and EDGE ONT2 are both BE. The service traffic reported by EDGE ONT1 is 20M, the service traffic reported by EDGE ONT2 is 100M, and the access category in the service information reported by EDGE ONT4 is VO. The service information reported by EDGE ONT3 indicates that there is no service. The optical gateway prioritizes the four EDGE ONTs, specifically: EDGE ONT4 (rank 1) > EDGE ONT2 (rank 2) > EDGE ONT1 (rank 3).
[0185] The optical gateway configures the EDCA parameters of the four EDGE ONTs according to the sorting results, for example:
[0186] EDGE ONT1 ECWmin=5, ECWmax=7, AIFSN=2, TXOP=0 (rank3);
[0187] EDGE ONT2 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0 (rank2);
[0188] EDGE ONT3 ECWmin=5, ECWmax=6, AIFSN=2, TXOP=0 (no service);
[0189] EDGE ONT4 ECWmin=3, ECWmax=5, AIFSN=2, TXOP=0 (rank1).
[0190] EDGE ONT1 has the largest ECWmin, followed by EDGE ONT2, and EDGE ONT4 has the smallest ECWmin. EDGE ONT1 has the largest ECWmax, followed by EDGE ONT2, and EDGE ONT4 has the smallest ECWmax.
[0191] See also Fig. 12A As shown, an EDGE ONT proactively reports service information to an optical gateway as an example.
[0192] 1201, during initial configuration, the optical gateway configures EDCA parameters for N EDGE ONTs according to empirical values. The EDCA parameters of the N EDGE ONTs may be the same.
[0193] After receiving the EDCA parameters, one of the N EDGE ONTs can send service information to the optical gateway when it is determined that there is service data to be sent. And save the access category and VIP service tag in the service information. Take the first EDGE ONT and the second EDGE ONT2 as an example, there are service data to be sent. The first EDGE ONT and the second EDGE ONT are any two of the N EDGE ONTs.
[0194] 1202. The first EDGE ONT and the second EDGE ONT send service information to the optical gateway respectively. The service information sent by the first EDGE ONT includes the access category and / or VIP service tag of the first EDGE ONT. The service information sent by the second EDGE ONT includes the access category and / or VIP service tag of the second EDGE ONT.
[0195] 1203. The optical gateway adjusts EDCA parameters of the first EDGE ONT and the second EDGE ONT according to service information of the first EDGE ONT and the second EDGE ONT, and sends the EDCA parameters to the first EDGE ONT and the second EDGE ONT respectively.
[0196] When the access category or VIP service mark of the EDGE ONT changes, the updated access category or VIP service mark may be further reported to the optical gateway.
[0197] In one example, it is taken that the access category of the first EDGE ONT changes.
[0198] 1204. When the first EDGE ONT determines that the access category has changed, it sends first reporting information to the optical gateway, where the first reporting information includes the access category updated by the first EDGE ONT.
[0199] 1205. The optical gateway adjusts the EDCA parameters of the first EDGE ONT according to the access category updated by the first EDGE ONT.
[0200] 1206. Send the adjusted EDCA parameters to the first EDGE ONT.
[0201] In another example, it is taken that the VIP service flag of the first EDGE ONT changes.
[0202] 1207. When the first EDGE ONT determines that the VIP service tag has changed, it sends second reporting information to the optical gateway, where the second reporting information includes the VIP service tag updated by the first EDGE ONT.
[0203] 1208. The optical gateway adjusts the EDCA parameters of the first EDGE ONT according to the VIP service tag updated by the first EDGE ONT.
[0204] 1209: Send the adjusted EDCA parameters to the first EDGE ONT.
[0205] As an example, see Fig. 11B As shown, combined with the FTTR application scenario, take the optical communication system including 4 EDGE ONTs as an example, namely EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4. In the initial state, the optical gateway configures EDCA parameters for N EDGE ONTs based on empirical values. For example:
[0206] EDGE ONT1 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0;
[0207] EDGE ONT2 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0;
[0208] EDGE ONT3 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0;
[0209] EDGE ONT4 ECWmin=4, ECWmax=6, AIFSN=2, TXOP=0.
[0210] In a possible scenario, the services of STAs connected to four EDGE ONTs are shown in Fig. 12B As shown in the figure. The STAs under EDGE ONT3 are VIP services, such as VR services. The services of the STAs under other EDGE ONTs are all BE. The optical gateway prioritizes the four EDGE ONTs, specifically: EDGE ONT3 (rank 1) > EDGE ONT2 = EDGE ONT1 = EDGE ONT4.
[0211] The optical gateway configures the EDCA parameters for the four EDGE ONTs based on the VIP service. The VR service is a VIP service. The optical gateway needs to give priority to the VIP service when configuring the EDCA parameters for the N EDGE ONTs. For example:
[0212] EDGE ONT1 ECWmin=6, ECWmax=8, AIFSN=2, TXOP=0 (RANK2);
[0213] EDGE ONT2 ECWmin=6, ECWmax=8, AIFSN=2, TXOP=0 (RANK2);
[0214] EDGE ONT3 ECWmin=2, ECWmax=4, AIFSN=1, TXOP=6 (RANK1);
[0215] EDGE ONT4 ECWmin=6, ECWmax=8, AIFSN=2, TXOP=0 (RANK2).
[0216] EDGE ONT3 has the smallest ECWmin, and the ECWmin of the other EDGE ONTs is the same. EDGE ONT3 has the smallest ECWmax, and the ECWmax of the other EDGE ONTs is the same. EDGE ONT3 has an AIFSN of 1, and the AIFSN of the other EDGE ONTs is 2. EDGE ONT3 has a standard maximum TXOP, and the TXOP of the other EDGE ONTs is 0.
[0217] Based on the same inventive concept as the above embodiment, the embodiment of the present application further provides a device. The device is applied to a gateway device. The device can be a processor, a chip, a chip system, or a functional module for sending or receiving. Fig.13 As shown, the device includes a communication module 1301 and a processing module 1302.
[0218] For example, the communication module 1301 is used to execute 602, 603, 604, 605 and 606, and the processing module 1302 is used to execute 601. For another example, the communication module 1301 is used to execute 701 and 704, and the processing module 1302 is used to execute 702 and 703. For another example, the communication module 1301 is used to execute 801, 802 and 805, and the processing module 1302 is used to execute 803 and 804. For another example, the communication module 1301 is used to execute 902, 903 and 905, and the processing module 1302 is used to execute 901 and 904. For another example, the communication module 1301 is used to execute 1001 and 1004, and the processing module 1302 is used to execute 1002 and 1003. For another example, the communication module 1301 is used to execute 1101, 1102 and 1105, and the processing module 1302 is used to execute 1103 and 1104. For another example, the communication module 1301 is used to execute 1201 , 1206 , 1207 , and 1209 , and the processing module 1302 is used to execute 1203 , 1204 , or 1208 .
[0219] Optionally, the above two modules may also execute other related optional steps executed by the optical gateway mentioned in any of the above embodiments, which will not be described in detail here.
[0220] In a possible application scenario, the communication module 1301 is used to receive service information reported by N edge network devices that have communication connections with the gateway device, respectively, where the service information is used to determine the priority of the service on the edge network device, and N is an integer greater than 1;
[0221] The processing module 1302 is used to determine the priority ranking result of the N edge network devices according to the service information reported by the N edge network devices, wherein the higher the priority of the edge network device, the higher the priority of the service on the edge network device;
[0222] The processing module 1302 is further configured to determine enhanced distributed channel access EDCA parameters for the N edge network devices respectively according to the service priority sorting result; the EDCA parameters include a minimum contention window;
[0223] The higher the priority of the edge network device, the smaller the value of the minimum contention window in the EDCA parameter determined for the edge network device;
[0224] The communication module 1301 is further configured to send corresponding EDCA parameters to the N edge network devices respectively.
[0225] In a possible implementation, the EDCA parameters also include a maximum contention window, wherein the higher the priority of the edge network device, the smaller the value of the maximum contention window in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the larger the value of the maximum contention window in the EDCA parameters determined for the edge network device.
[0226] In a possible implementation, the EDCA parameters also include an arbitration inter-frame space number AISFN, wherein the higher the priority of the edge network device, the smaller the value of AISFN in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the larger the value of AISFN in the EDCA parameters determined for the edge network device.
[0227] In a possible implementation, the EDCA parameters also include a transmission opportunity TXOP, wherein the higher the priority of the edge network device, the larger the value of TXOP in the EDCA parameters determined for the edge network device; or the lower the priority of the edge network device, the smaller the value of TXOP in the EDCA parameters determined for the edge network device.
[0228] In a possible implementation, the service information includes access categories, and the access categories include best effort BE, background BK, video VI or voice VO. The priority order of the access categories is: VO>VI>BE>BK.
[0229] In a possible implementation, the service information further includes a VIP service tag, where the VIP service tag is used to indicate whether a VIP service exists, and the priority of the VIP service is higher than the priority of the VO.
[0230] In a possible implementation, the service information further includes service traffic, where the service traffic is used to characterize the traffic of service data existing on the edge network device;
[0231] Among them, the greater the service traffic of the edge network device, the higher the priority of the edge network device with the same service priority.
[0232] In a possible implementation, the communication module 1301 is further used to send a notification message to the N edge network devices before receiving the service information reported by the N edge network devices that have communication connections with the OLT, and the notification message is used to notify the N edge network devices to report the service information.
[0233] In a possible implementation, the communication module 1301 is also used to receive second reporting information sent by the first edge network device, the second reporting information includes the access category updated by the first edge network device, and the first edge network device is any one of N edge network devices; the processing module 1302 is also used to adjust the EDCA parameters of the first edge network device according to the access category updated by the first edge network device, and send the adjusted EDCA parameters to the first edge network device.
[0234] In a possible implementation, the communication module 1301 is further configured to receive second reporting information sent by the first edge network device, where the second reporting information includes a VIP service tag updated by the first edge network device;
[0235] The processing module 1302 is further configured to adjust the EDCA parameters of the first edge network device according to the VIP service tag updated by the first edge network device;
[0236] The communication module 1301 is further configured to send the adjusted EDCA parameters to the first edge network device.
[0237] In a possible implementation, the gateway device is an optical gateway, and the edge network device is an edge optical network terminal ONT; or, the gateway device is an optical network terminal ONT, and the edge network device is an access point AP; or, the gateway device is a PON gateway, and the edge network device is an ONT.
[0238] In another possible application scenario, the processing module 1302 is used to determine the backoff time sets corresponding to N edge network devices that establish communication connections with the gateway device, where N is an integer greater than 1; wherein the backoff time set corresponding to the first edge network device is used to indicate the backoff time adopted by the first edge network device in at least N rounds of channel competition, the first edge network device is any one of the N edge network devices, and each of the N edge network devices obtains at least one round of sending opportunities in at least N rounds, and the backoff times corresponding to the N edge network devices in each round are different; the communication module 1301 is used to send corresponding backoff time sets to the N edge network devices respectively.
[0239] In a possible implementation, the backoff time set corresponding to the first edge network device includes the backoff time used by the first edge network device in each polling cycle, and each polling cycle includes the at least N rounds.
[0240] In a possible implementation, the backoff time set corresponding to the first edge network device includes a one-to-one correspondence between at least N sequence numbers and at least N backoff times.
[0241] In one possible implementation, the communication module 1301 is also used to: receive an abnormal event message from a first edge network device, the abnormal event message is used to notify the first edge network device that a contention conflict occurs when competing for a channel; send a first notification message to N edge network devices respectively, the first notification message is used to notify the N edge network devices to report the backoff time adopted in the previous round of channel competition; receive the backoff time adopted in the previous round of channel competition sent by the N edge network devices and the serial number corresponding to the adopted backoff time; the processing module 1302 is also used to: adjust the backoff time set for the N edge network devices according to the backoff time reported by the N edge network devices respectively; the communication module 1301 is also used to send the corresponding adjusted backoff time set to the N edge network devices respectively.
[0242] In one possible implementation, the communication module 1301 is also used to receive a second notification message from the first edge network device, where the second notification message is used to notify the first edge network device that there is a very important VIP service, and the priority of the VIP service is higher than the priority of other services supported by the N edge network devices; the processing module 1302 is also used to adjust the backoff time sets corresponding to the N edge network devices respectively; wherein the backoff time sets corresponding to the N edge network devices after adjustment are used to characterize that the number of sending opportunities obtained by the first edge network device among the N edge network devices is greater than the number of sending opportunities obtained by other edge network devices among the N edge network devices; the communication module 1301 is also used to send corresponding adjusted backoff time sets to the N edge network devices respectively.
[0243] The division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.
[0244] The present application also provides a gateway device structure, such as Fig.14As shown, the gateway device 1400 includes a communication interface 1410 , a processor 1420 , and a memory 1430 .
[0245] Above Fig.13 The communication module 1301 and the processing module 1302 shown in FIG. 1 can be implemented by the processor 1420. The processor 1420 receives the optical signal through the communication interface 1410 and is used to implement Figure 2 The method executed by the gateway device in Fig.13 The communication module 1301 shown in FIG. 1 can be implemented by the communication interface 1410. Fig.13 The processing module 1302 shown in the figure can be implemented by the processor 1420. In the implementation process, each step of the processing flow can be completed by the hardware integrated logic circuit or software instructions in the processor 1420 to complete the method executed by the gateway device in any of the above embodiments.
[0246] In the embodiment of the present application, the communication interface 1410 may be a circuit, a bus, a transceiver or any other device that can be used for information exchange. For example, the other device may be a device connected to the device 1400, such as an edge network device.
[0247] In the embodiment of the present application, the processor 1420 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiment of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software units in the processor. The program code executed by the processor 1420 for implementing the above method may be stored in the memory 1430. The memory 1430 is coupled to the processor 1420. The coupling in the embodiment of the present application is an indirect coupling or communication connection between devices, units, or modules, which may be electrical, mechanical, or other forms, and is used for information interaction between devices, units, or modules. The processor 1420 may operate in conjunction with the memory 1430. The memory 1430 may be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or a volatile memory, such as a random-access memory (RAM). The memory 1430 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.
[0248] The specific connection medium between the communication interface 1410, the processor 1420 and the memory 1430 is not limited in the embodiment of the present application. Fig.14 The memory 1430, the processor 1420 and the communication interface 1410 are connected via a bus. Fig.14 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.14 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0249] Based on the above embodiments, the embodiments of the present application further provide a computer storage medium, in which a software program is stored, and when the software program is read and executed by one or more processors, the method provided by any one or more of the above embodiments can be implemented. The computer storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, and other media that can store program codes.
[0250] Based on the above embodiments, the embodiments of the present application further provide a chip, which includes a processor for implementing the functions involved in any one or more of the above embodiments, such as acquiring or processing the data frames involved in the above methods. Optionally, the chip also includes a memory, which is used for the necessary program instructions and data executed by the processor. The chip can be composed of a chip, or it can include a chip and other discrete devices.
[0251] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0252] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0253] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0254] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0255] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for configuring parameters of a wireless local area network, characterized in that: Applied to a gateway device, the method comprises: Receive service information reported by N edge network devices that are in communication connection with the gateway device, respectively, where the service information is used to determine the priority of the service on the edge network device, where N is an integer greater than 1; Determine a priority ranking result of the N edge network devices according to the service information reported by the N edge network devices, wherein the higher the priority of the edge network device, the higher the priority of the service on the edge network device; According to the priority sorting result, the N edge network devices are respectively configured with enhanced distributed channel access EDCA parameters; the EDCA parameters include a minimum contention window; The higher the priority of the edge network device, the smaller the value of the minimum contention window in the EDCA parameter determined for the edge network device.
2. The method according to claim 1, characterized in that The EDCA parameters also include a maximum contention window, wherein the higher the priority of the edge network device is, the smaller the value of the maximum contention window in the EDCA parameters determined for the edge network device is.
3. The method according to claim 1 or 2, characterized in that The EDCA parameters also include an arbitration inter-frame space number AISFN, wherein the higher the priority of the edge network device, the smaller the value of AISFN in the EDCA parameters determined for the edge network device.
4. The method according to claim 1 or 2, characterized in that: The EDCA parameters also include a transmission opportunity TXOP, wherein the higher the priority of the edge network device is, the greater the value of the TXOP in the EDCA parameters determined for the edge network device is.
5. The method according to claim 3, characterized in that The EDCA parameters also include a transmission opportunity TXOP, wherein the higher the priority of the edge network device is, the greater the value of the TXOP in the EDCA parameters determined for the edge network device is.
6. The method according to claim 1 or 2, characterized in that: The service information includes access categories, and the access categories include best effort BE, background BK, video VI or voice VO. The priority order of the access categories is: VO>VI>BE>BK.
7. The method according to claim 6, characterized in that The service information also includes a VIP service mark, and the VIP service mark is used to indicate whether a VIP service exists. The priority of the VIP service is higher than the priority of the VO.
8. The method according to claim 6, characterized in that The service information also includes service traffic, which is used to characterize the traffic of service data existing on the edge network device; Among them, the greater the service traffic of the edge network device, the higher the priority of the edge network device with the same service priority.
9. The method according to claim 7, characterized in that The service information also includes service traffic, which is used to characterize the traffic of service data existing on the edge network device; Among them, the greater the service traffic of the edge network device, the higher the priority of the edge network device with the same service priority.
10. The method according to claim 1 or 2, characterized in that: The method further comprises: Receiving first reporting information sent by a first edge network device, where the first reporting information includes a VIP service tag updated by the first edge network device; The EDCA parameters of the first edge network device are adjusted according to the VIP service tag updated by the first edge network device, and the adjusted EDCA parameters are sent to the first edge network device.
11. The method according to claim 3, characterized in that The method further comprises: Receiving first reporting information sent by a first edge network device, where the first reporting information includes a VIP service tag updated by the first edge network device; The EDCA parameters of the first edge network device are adjusted according to the VIP service tag updated by the first edge network device, and the adjusted EDCA parameters are sent to the first edge network device.
12. The method according to claim 4, characterized in that The method further comprises: Receiving first reporting information sent by a first edge network device, where the first reporting information includes a VIP service tag updated by the first edge network device; The EDCA parameters of the first edge network device are adjusted according to the VIP service tag updated by the first edge network device, and the adjusted EDCA parameters are sent to the first edge network device.
13. The method according to claim 5, characterized in that The method further comprises: Receiving first reporting information sent by a first edge network device, where the first reporting information includes a VIP service tag updated by the first edge network device; The EDCA parameters of the first edge network device are adjusted according to the VIP service tag updated by the first edge network device, and the adjusted EDCA parameters are sent to the first edge network device.
14. The method according to claim 1 or 2, characterized in that: The gateway device is an optical gateway, and the edge network device is an edge optical network terminal ONT; or, the gateway device is an optical network terminal ONT, and the edge network device is an access point AP; or, the gateway device is a passive optical network PON gateway, and the edge network device is ONT.
15. A parameter configuration device for a wireless local area network, characterized in that: Applied to a gateway device, the device comprises: A communication module, used to receive service information reported by N edge network devices that have communication connections with the gateway device, respectively, wherein the service information is used to determine the priority of the service on the edge network device, where N is an integer greater than 1; A processing module, used to determine the priority sorting result of the N edge network devices according to the service information reported by the N edge network devices, wherein the higher the priority of the edge network device, the higher the priority of the service on the edge network device; The processing module is further used to determine enhanced distributed channel access EDCA parameters for the N edge network devices respectively according to the priority sorting result; the EDCA parameters include a minimum contention window; The higher the priority of the edge network device, the smaller the value of the minimum contention window in the EDCA parameter determined for the edge network device; The communication module is further used to send corresponding EDCA parameters to the N edge network devices respectively.
16. The device according to claim 15, characterized in that The communication module is further used to receive second reporting information sent by the first edge network device, where the second reporting information includes a VIP service tag updated by the first edge network device; The processing module is further used to adjust the EDCA parameters of the first edge network device according to the VIP service tag updated by the first edge network device; The communication module is further configured to send the adjusted EDCA parameters to the first edge network device.
17. The device according to claim 15 or 16, characterized in that The gateway device is an optical gateway, and the edge network device is an edge optical network terminal ONT; or, the gateway device is an optical network terminal ONT, and the edge network device is an access point AP; or, the gateway device is a PON gateway, and the edge network device is an ONT.
18. An optical line terminal, characterized in that: The invention comprises a processor and a memory, wherein: The memory stores program code; The processor is used to read and execute the program code stored in the memory to implement the method according to any one of claims 1 to 14.
