CN114584216A - Parameter configuration method and device for wireless local area network - Google Patents

Parameter configuration method and device for wireless local area network Download PDF

Info

Publication number
CN114584216A
CN114584216A CN202011365632.XA CN202011365632A CN114584216A CN 114584216 A CN114584216 A CN 114584216A CN 202011365632 A CN202011365632 A CN 202011365632A CN 114584216 A CN114584216 A CN 114584216A
Authority
CN
China
Prior art keywords
edge network
edge
network device
network devices
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011365632.XA
Other languages
Chinese (zh)
Inventor
谌金豆
司小书
李苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011365632.XA priority Critical patent/CN114584216A/en
Publication of CN114584216A publication Critical patent/CN114584216A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission
    • H04B10/2575Radio-over-fibre, e.g. radio frequency signal modulated onto an optical carrier
    • H04B10/25752Optical arrangements for wireless networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q11/0067Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/24Negotiating SLA [Service Level Agreement]; Negotiating QoS [Quality of Service]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/02Hybrid access
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Landscapes

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

Abstract

The application discloses a parameter configuration method and device of a wireless local area network, which are used for avoiding competition conflicts among STAs hung under different APs. On one hand, the gateway device determines the priority of each edge network device according to the service information reported by the edge network device, and then configures the EDCA parameters for each edge network device by combining the priority ranking result, because the higher the priority of the edge network device is, the smaller the value of the minimum contention window configured for the edge network device is, the higher the probability that the edge network device obtains the sending opportunity is, and the different values of the minimum contention window of different edge network devices are different, the contention conflict between the STAs hung down by different edge network devices can be prevented. On the other hand, different edge network devices configure different back-off times, and multiple rounds of different edge network devices can obtain sending opportunities, so that contention conflicts among different edge network devices can be prevented.

Description

Parameter configuration method and device for wireless local area network
Technical Field
The embodiment of the application relates to the technical field of optical communication, in particular to a parameter configuration method and device of a wireless local area network.
Background
Currently, in a Wireless Local Area Network (WLAN), a wireless fidelity (Wi-Fi) channel is shared by an Access Point (AP) and a Station (STA). The AP and the STA respectively compete for a Wi-Fi channel by using a set of Enhanced Distributed Channel Access (EDCA) parameters to obtain a sending opportunity.
With the development of the network, more and more devices are arranged in the home network, and the probability that STAs hung under multiple APs compete for Wi-Fi channels at the same time is higher and higher. Multiple devices contend for the Wi-Fi channel at the same time, possibly causing contention conflict, resulting in packet transmission failure, reducing network throughput, and increasing service delay. There is currently no feasible way to avoid contention conflicts between STAs that are under-hung by different APs.
Disclosure of Invention
Embodiments of the present application provide a method and an apparatus for configuring parameters of a wireless local area network, so as to provide a feasible way to avoid contention conflicts between STAs connected to different APs.
In a first aspect, the present application provides a method for configuring parameters of a wireless local area network, which is applied to a gateway device, and the method includes: receiving service information respectively reported by N edge network devices in communication connection with a gateway device, wherein the service information is used for determining the priority of a service on the edge network devices, and N is an integer greater than 1; determining 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 devices is, the higher the priority of the service on the edge network devices is; respectively configuring enhanced distributed channel access EDCA parameters for the N edge network devices according to the service priority sequencing result; the EDCA parameter comprises a minimum contention window; the higher the priority of the edge network device is, the smaller the value of the minimum contention window in the EDCA parameters configured for the edge network device is; or it may be described that the lower the priority of the edge network device is, the larger the value of the minimum contention window in the EDCA parameter configured for the edge network device is.
The gateway device may be an optical gateway, and the edge network device may be an edge optical network terminal ONT; or, the gateway device may be an optical network terminal ONT, and the edge network device may be an access point AP; alternatively, the gateway device may be a passive optical network, PON, gateway and the edge network device may be an ONT.
The priority of each edge network device is determined by combining the service information reported by the edge network devices, and then the EDCA parameters are configured for each edge network device by combining the priority sequencing result of the edge network devices, because the higher the priority of the edge network devices is, the smaller the value of the minimum contention window in the EDCA parameters configured for the edge network devices is, the higher the priority of the edge network devices is, the higher the probability that the edge network devices obtain the sending opportunity is, and the different values of the minimum contention window of the edge network devices are different, so that the contention conflict between the STAs hung under different edge network devices can be prevented.
In a possible design, the EDCA parameter further includes a maximum contention window, where the higher the priority of the edge network device is, the smaller the value of the maximum contention window in the EDCA parameter determined for the edge network device is; or the lower the priority of the edge network device is, the larger the value of the maximum contention window in the EDCA parameter determined for the edge network device is. By the design, the probability of the high-priority edge network equipment obtaining the sending opportunity can be further improved through the value of the maximum contention window, and contention conflicts among the STAs hung below different edge network equipment are prevented.
In one possible design, the EDCA parameter further includes an arbitration interframe space number AISFN, where the higher the priority of the edge network device is, the smaller the value of the AISFN in the EDCA parameter determined for the edge network device is; or the lower the priority of the edge network device is, the larger the value of the AISFN in the EDCA parameter determined for the edge network device is. By the design, the AISFN value can further improve the probability of the high-priority edge network equipment obtaining the sending opportunity, and prevent the generation of competition conflicts among the STAs hung below different edge network equipment.
In one possible design, the EDCA parameter further includes a transmission opportunity TXOP, where a value of the TXOP in the EDCA parameter determined for the edge network device is larger as the priority of the edge network device is higher; or the lower the priority of the edge network device is, the smaller the value of the TXOP in the EDCA parameter determined for the edge network device is. By the design, the probability that the high-priority edge network equipment obtains the sending opportunity can be further improved through the value of the TXOP, and the contention conflict generated between the STAs hung down by different edge network equipment is prevented.
In one possible design, the service information includes access categories, the access categories include best effort BE, background BK, video VI, or voice VO, and the priority order of the access categories is: VO > VI > BE > BK.
In one possible design, the traffic information further includes a VIP traffic flag indicating whether VIP traffic exists, and the VIP traffic has a higher priority than the VO. In the design, the edge network equipment with the VIP service has the highest priority, so that the probability of obtaining the sending opportunity is the highest, a green channel is opened for the VIP user/service, and the user experience is improved.
In one possible design, the service information further includes a service traffic, and the service traffic is used to represent traffic of service data existing on the edge network device;
the higher the traffic flow of the edge network device is, the higher the priority of the edge network device with the same service priority is.
In a possible design, before receiving service information respectively reported by N edge network devices in communication connection with the OLT, the method provided in the present application further includes:
and sending a notification message to the N edge network devices, wherein the notification message is used for notifying the N edge network devices to report the service information.
In one possible design, the method provided by the present application further includes: receiving second reporting information sent by the first edge network device, wherein the second reporting information comprises an updated access category of the first edge network device, and the first edge network device is any one of the N edge network devices; and adjusting the EDCA parameter of the first edge network device according to the updated access category of the first edge network device, and sending the adjusted EDCA parameter to the first edge network device.
Through the design, the EDCA parameters of the edge network equipment are timely adjusted by combining the access type under the condition that the access type of the edge network equipment is changed. And then the higher probability that the high-priority edge network equipment obtains the sending opportunity can be ensured.
In one possible design, the method provided by the present application further includes: receiving first reporting information sent by a first edge network device, wherein the first reporting information comprises a VIP service mark updated by the first edge network device; and adjusting the EDCA parameter of the first edge network device according to the updated VIP service mark of the first edge network device, and sending the adjusted EDCA parameter to the first edge network device. Through the design, under the condition that the VIP business exists in the edge network equipment, the gateway equipment is timely informed, so that the gateway equipment timely adjusts the EDCA parameters of the edge network equipment in combination with the VIP business mark. And then the edge network device with the VIP service can be ensured to obtain the highest probability of sending the opportunity.
In a second aspect, an embodiment of the present application provides a method for configuring parameters of a wireless local area network, where the method is applied to a gateway device, and the method includes:
determining back-off time sets respectively corresponding to N edge network devices which establish communication connection with the gateway device, wherein N is an integer greater than 1; the method comprises the steps that a back-off time set corresponding to a first edge network device is used for indicating the back-off 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 N edge network devices, each edge network device in the N edge network devices in the at least N rounds of channel competition at least obtains one round of sending opportunity, and the back-off time corresponding to the N edge network devices in each round is different; and respectively sending the corresponding back-off time sets to the N edge network devices.
Through the design, different back-off times are configured for different edge network devices, and multiple rounds of different edge network devices can obtain sending opportunities, so that competition conflicts among different edge network devices can be prevented.
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 an ONT.
In one possible design, the set of back-off times corresponding to the first edge network device includes the back-off time adopted by the first edge network device in each polling cycle, and each polling cycle includes the at least N rounds.
In one possible design, the set of backoff times corresponding to the first edge network device includes a one-to-one correspondence of at least N sequence numbers and at least N backoff times.
In one possible design, the method may further include: receiving an abnormal event message from the first edge network device, wherein the abnormal event message is used for informing the first edge network device of generating competition conflict when competing for the channel; respectively sending first notification messages to the N edge network devices, wherein the first notification messages are used for notifying the N edge network devices to respectively report back-off time adopted by a previous round of competition channels; receiving backoff time adopted by a previous round of contention channels and a sequence number corresponding to the adopted backoff time, which are respectively sent by N edge network devices; adjusting a back-off time set for the N edge network devices respectively according to the back-off time reported by the N edge network devices respectively; and respectively sending the corresponding adjusted back-off time sets to the N edge network devices.
In the above design, when a certain edge network device has a contention conflict, the abnormal event message is reported in time, so that the back-off time of each edge network device can be adjusted in time to reduce the contention conflict.
In one possible design, the method may further include: receiving a second notification message from the first edge network device, the second notification message being used to notify that very important VIP traffic exists on the first edge network device, the VIP traffic having a higher priority than other traffic supported by the N edge network devices; adjusting back-off time sets corresponding to the N edge network devices respectively; the adjusted backoff time sets respectively corresponding to the N edge network devices are used for representing that the number of times of the sending opportunities acquired by a first edge network device in the N edge network devices is larger than the number of times of the sending opportunities acquired by other edge network devices in the N edge network devices; and respectively sending the corresponding adjusted back-off time sets to the N edge network devices.
In the above design, for the edge network device with the VIP traffic, more transmission opportunities can be obtained in the polling cycle, that is, it is preferentially ensured that the VIP traffic preferentially competes for transmitting traffic data to the channel.
In a third aspect, an embodiment of the present application provides a parameter configuration apparatus for a wireless local area network, which is applied to a gateway device, and the apparatus includes:
the communication module is used for receiving service information respectively reported by N edge network devices which are in communication connection with the gateway device, wherein the service information is used for determining the priority of services on the edge network devices, and N is an integer greater than 1;
the processing module is used for determining 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 devices is, the higher the priority of the service on the edge network devices is;
the processing module is also used for respectively determining enhanced distributed channel access EDCA parameters for the N edge network devices according to the service priority sequencing result; the EDCA parameter comprises a minimum contention window;
the higher the priority of the edge network device is, the smaller the value of the minimum contention window in the EDCA parameters determined for the edge network device is;
and the communication module is further used for respectively sending the corresponding EDCA parameters to the N edge network devices.
In a possible design, the EDCA parameter further includes a maximum contention window, where the higher the priority of the edge network device is, the smaller the value of the maximum contention window in the EDCA parameter determined for the edge network device is; or the lower the priority of the edge network device is, the larger the value of the maximum contention window in the EDCA parameter determined for the edge network device is.
In one possible design, the EDCA parameter further includes an arbitration interframe space number AISFN, where the higher the priority of the edge network device is, the smaller the value of the AISFN in the EDCA parameter determined for the edge network device is; or the lower the priority of the edge network device is, the larger the value of the AISFN in the EDCA parameter determined for the edge network device is.
In one possible design, the EDCA parameter further includes a transmission opportunity TXOP, where a value of the TXOP in the EDCA parameter determined for the edge network device is larger as the priority of the edge network device is higher; or it is described that the lower the priority of the edge network device is, the smaller the value of the TXOP in the EDCA parameter determined for the edge network device is.
In one possible design, the service information includes access categories, the access categories include best effort BE, background BK, video VI, or voice VO, and the priority order of the access categories is: VO > VI > BE > BK.
In one possible design, the traffic information further includes a VIP traffic flag indicating whether VIP traffic exists, and the VIP traffic has a higher priority than the VO.
In one possible design, the service information further includes a service traffic, and the service traffic is used to represent traffic of service data existing on the edge network device;
the higher the traffic flow of the edge network device is, the higher the priority of the edge network device with the same service priority is.
In a possible design, the communication module is further configured to send a notification message to the N edge network devices before receiving the service information respectively reported by the N edge network devices that are in communication connection with the OLT, where the notification message is used to notify the N edge network devices of reporting the service information.
In a possible design, the communication module is further configured to receive second reporting information sent by the first edge network device, where the second reporting information includes an updated access category of the first edge network device, and the first edge network device is any one of the N edge network devices; the processing module is further configured to adjust the EDCA parameter of the first edge network device according to the updated access category of the first edge network device, and send the adjusted EDCA parameter to the first edge network device.
In a possible design, the communication module is further configured to receive second reporting information sent by the first edge network device, where the second reporting information includes the updated VIP service tag of the first edge network device;
the processing module is further used for adjusting the EDCA parameters of the first edge network device according to the updated VIP service mark of the first edge network device;
and the communication module is further used for sending the adjusted EDCA parameters to the first edge network device.
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 equipment is an optical network terminal ONT, and the edge network equipment is an access point AP; or, the gateway device is a PON gateway, and the edge network device is an ONT.
In a fourth aspect, an embodiment of the present application provides a parameter configuration apparatus for a wireless local area network, which is applied to a gateway device, and the apparatus includes: the processing module is used for determining backoff time sets respectively corresponding to N edge network devices which establish communication connection with the gateway device, wherein N is an integer greater than 1; the backoff time set corresponding to the first edge network device is used for indicating 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 N edge network devices, each edge network device in the N edge network devices in at least N rounds of channel competition at least obtains one round of sending opportunity, and the backoff time corresponding to the N edge network devices in each round is different; and the communication module is used for respectively sending the corresponding back-off time sets to the N edge network devices.
In one possible design, the set of back-off times corresponding to the first edge network device includes the back-off time adopted by the first edge network device in each polling cycle, and each polling cycle includes the at least N rounds.
In one possible design, the set of backoff times corresponding to the first edge network device includes a one-to-one correspondence of at least N sequence numbers and at least N backoff times.
In one possible design, the communication module is further configured to: receiving an abnormal event message from the first edge network device, wherein the abnormal event message is used for informing the first edge network device of generating competition conflict when competing for the channel; respectively sending first notification messages to the N edge network devices, wherein the first notification messages are used for notifying the N edge network devices to respectively report back-off time adopted by a previous round of competition channels; receiving backoff time adopted by a previous round of contention channels and a sequence number corresponding to the adopted backoff time, which are respectively sent by N edge network devices; a processing module further configured to: adjusting a back-off time set for the N edge network devices respectively according to the back-off time reported by the N edge network devices respectively; and the communication module is further configured to send the corresponding adjusted back-off time sets to the N edge network devices, respectively.
In one possible design, the communication module is further configured to receive a second notification message from the first edge network device, the second notification message being configured to notify that very important VIP traffic exists on the first edge network device, the VIP traffic having a higher priority than other traffic supported by the N edge network devices; the processing module is further used for adjusting the back-off time sets corresponding to the N edge network devices respectively; the adjusted backoff time sets respectively corresponding to the N edge network devices are used for representing that the number of times of the sending opportunities acquired by a first edge network device in the N edge network devices is larger than the number of times of the sending opportunities acquired by other edge network devices in the N edge network devices; and the communication module is further configured to send the corresponding adjusted back-off time sets to the N edge network devices, respectively.
In a fifth aspect, an apparatus, which may be a gateway device, configured to implement the method described in the first aspect or the second aspect; the apparatus may also be other apparatuses capable of supporting the gateway device to implement the method described in the first aspect or the second aspect, for example, an apparatus that may be provided in the gateway device. The gateway device may be a chip system, a module, a circuit, or the like provided in the gateway device, and this is not particularly limited in this application. The apparatus comprises a processor configured to implement the functions of the gateway device in the method described in the first aspect. The apparatus may also include a memory for storing program instructions and data. The memory is coupled to the processor, and the processor invokes and executes the program instructions stored in the memory, so as to implement the functions of the gateway device in the method described in the first aspect or the second aspect. The apparatus may also include a communication interface for the apparatus to communicate with other devices. Illustratively, the other device is an edge network device. In the embodiments of the present application, the communication interface may include a circuit, a bus, an interface, a communication interface, or any other device capable of implementing a communication function.
In a sixth aspect, this embodiment of the present application further provides a computer storage medium, where a software program is stored, and the software program can implement the method of the first aspect or any design of the first aspect, or implement the method of the second aspect or any design of the second aspect, when the software program is read and executed by one or more processors.
In a seventh aspect, an embodiment of the present application provides a computer program product containing instructions, which when run on a computer, cause the computer to perform the method of the first aspect or any design of the first aspect, or the method of the second aspect or any design of the second aspect.
In an eighth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor and may further include a memory, and is configured to implement a function of the gateway device in the foregoing method. The chip system may be formed by a chip, and may also include a chip and other discrete devices.
In a ninth aspect, an embodiment of the present application provides a system, where the system includes a gateway device and multiple edge network devices. The gateway device is configured to implement the method according to any one of the first aspect or the second aspect. The edge network device may be configured to receive a set of back-off times or EDCA parameters or the like from the gateway device. The edge network device may also be used to send traffic information, VIP traffic labels, etc. to the gateway device.
The advantageous effects of the above third to ninth aspects can be seen in the description related to the first to second aspects.
Drawings
Fig. 1 is a schematic diagram of a possible WLAN network architecture according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an EDCA parameter set in an embodiment of the present application;
fig. 3 is a schematic diagram of EDCA parameters that may be configured on the STA side in an embodiment of the present application;
FIG. 4 is a diagram illustrating a possible contention channel in an embodiment of the present application;
fig. 5A is a schematic view of a topology structure of an optical communication system applied to FTTR in an embodiment of the present application;
fig. 5B is a schematic view of a topology structure of another optical communication system using a home network in the embodiment of the present application;
fig. 6 is a flowchart illustrating a possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 7 is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 8 is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 9 is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 10 is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 11A is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 11B is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 11C is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 12A is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
fig. 12B is a flowchart illustrating another possible method for configuring parameters of a wireless local area network according to an embodiment of the present application;
FIG. 13 is a diagram illustrating an apparatus 1300 according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of a gateway device 1400 in the embodiment of the present application.
Detailed Description
It should be appreciated that reference throughout this specification to "one embodiment," "an implementation," "one embodiment," or "an example" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment," "in one implementation," "in one embodiment," or "in an example" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in the various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Additionally, the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects 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, from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And, unless stated to the contrary, the embodiments of the present application refer to the ordinal numbers "first", "second", etc., for distinguishing a plurality of objects, and do not limit the sequence, timing, priority, or importance of the plurality of objects. Furthermore, the terms "comprising" and "having" in the description of the embodiments and claims of the present application and the accompanying drawings are not exclusive. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but may include other steps or modules not listed.
Referring to fig. 1, a schematic diagram of a possible WLAN network architecture is shown, where the WLAN network architecture includes a wireless controller, a wireless access point, and a terminal device. The wireless controller is used for carrying out service configuration and radio frequency configuration on the access point. A wireless access point, may be referred to simply as an Access Point (AP). The AP is used to provide service access for the associated STAs. The terminal device may associate to the access point as a STA.
Terminal equipment, which may include mobile telephones (or so-called "cellular" telephones), computers with mobile terminal equipment, portable, pocket, hand-held, computer-embedded mobile devices, and the like. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistants (PDAs), and the like. The terminal device may also be a computer, a tablet computer, an electronic reader, or the like, or may also be an intelligent home device, such as an intelligent television, an intelligent sound box, or the like. By way of example and not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable equipment can also be called wearable intelligent equipment or intelligent wearable equipment and the like, and is a general term for applying wearable technology to carry out intelligent design and develop wearable equipment for daily wearing, such as glasses, gloves, watches, clothes, shoes and the like. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable smart device includes full functionality, large size, and can implement full or partial functionality without relying on a smart phone, such as: smart watches or smart glasses and the like, and only focus on a certain type of application function, and need to be matched with other equipment such as a smart phone for use, such as various smart bracelets, smart helmets, smart jewelry and the like for physical sign monitoring.
Note that the Wi-Fi channel is shared by the AP and the STA. The AP and the STA respectively compete for a Wi-Fi channel by using a set of Enhanced Distributed Channel Access (EDCA) parameters to obtain a sending opportunity. The configuration of EDCA parameters is decided by the AP. Each AP configures the EDCA parameters of itself and broadcasts to each STA accessing the AP. Multiple STAs accessing the same AP need to listen to the same set of EDCA parameters broadcast by the AP. The AP may broadcast the EDCA parameters through a Beacon (Beacon) frame. The Beacon frame is a periodically triggered management frame defined by 802.1.1WLAN protocol. Beacon frames carry information necessary in a variety of networks. The Beacon frame includes an EDCA parameter set (parameter set) that the AP broadcasts to the STAs. The Beacon frame may also include the EDCA parameter set used by the AP itself. The EDCA Parameter Set element (EDCA Parameter Set element) includes a Quality of Service (QoS) Parameter Set. The QoS parameter set includes QoS parameters of STAs for different Access Categories (ACs). The access category may also be referred to as an access category. The access categories include: AC _ BE (meaning best effort), AC _ BK (meaning background), AC _ VI (meaning video), and AC _ VO (meaning voice). QoS parameters (i.e., access channel configuration parameters) of each access category, such as minimum and maximum sizes of an exponential form of contention window (ECM), transmission opportunity (TXOP) limit, and the like. Therefore, different values are set for the QoS parameters of each access category, so that some multimedia real-time services (such as AC _ VI and AC _ VO type services) have more opportunities to access channels, the time delay of the multimedia real-time services is reduced, the data transmission of the multimedia real-time services is smoother, and the user experience is improved.
Illustratively, see fig. 2, an EDCA parameter set (parameter set) is included for the Beacon frame. The element identification (element ID), which is a unique identification of the EDCA parameter set element, is used to distinguish from other elements. Length (english: Length), which is the parameter Length of an EDCA parameter set element, does not include the element identification and Length fields.
Quality of Service Information (QoS info), in this field, a sub-option is included, which is an EDCA Parameter Set Update counter (EDCA Parameter Set Update Count) for informing the terminal whether the EDCA Parameter Set element is changed.
As shown in fig. 2, the parameter record field of each access category includes an AC index (AC index, ACI)/an arbitration inter-frame space number (AIFSN), an exponential contention window (i-contention window), and a transmission opportunity (TXOP) limit.
Wherein: the ACI/AIFSN includes AIFSN. The AIFSN indicates the number of slots that are delayed after a short interframe space (SIFS) time when the STA accesses the network, and the smaller the parameter value, the shorter the time the STA waits to access the Wi-Fi channel.
The ECW is the size of a contention window of the EDCA, the value determines the size of an average back-off time of the STA, the smaller the value is, the shorter the average back-off time of the terminal is, wherein the ECW parameters comprise the minimum size (ECWmin) of the ECW and the maximum size (ECWmax) of the ECW;
the TXOP limit represents the time limit for a STA to occupy a Wi-Fi channel for transmitting data, and the larger the value, the longer the STA can continue to occupy the channel.
The AP sends the EDCA parameter set element to the STA. The EDCA parameter set element includes QoS parameter sets set by the AP for the STAs to handle the respective access categories. The QoS parameters configured by the AP for different access categories are different. For example, smaller AIFSN, ECWmin and ECWmax and larger TxOP are configured for AC _ VI and AC _ VO that need real-time transmission, while larger AIFSN, ECWmin and ECWmax and smaller TxOP are configured for other access categories, so that AC _ VI and AC _ VO traffic have higher priority when accessing Wi-Fi channel, while other traffic has lower priority, meeting the need of real-time traffic and obtaining better traffic experience. As an example, one possible EDCA parameter configured for the STA side is shown in fig. 3.
Referring to fig. 4, after receiving an EDCA parameter set element, when a STA needs to transmit traffic data using a channel, the STA listens to whether the channel is busy, and starts an AIFS (AIFS ═ SIFS (16us) + aifsn (ac) × slot (9us)) countdown when it detects that the channel is idle. As shown in fig. 4, the higher the priority AC traffic, the shorter the AIFS. When the AIFS counts down to 0, backoff (backoff) counting down is started. Backoff countdown is determined by Cwmin. The backoff countdown of each STA is randomly selected from 0 to CWmin, and the backoff countdown time is backoff countdown slot (9 us). The higher the priority AC, the smaller the initial CWmin value, and the lower the probability of a random backoff countdown. The channel may be preempted preferentially. And after the channel is preempted, determining the channel occupation time according to the numerical value of the TxOP. VI and VO services can occupy the channel for a longer time than BE and BK.
With the development of networks, more and more devices are arranged in home networks, and the probability that a plurality of devices compete for Wi-Fi channels at the same time is higher and higher. EDCA parameters of each AP and the STA hung below the AP are configured independently, and the APs are not managed cooperatively. When the channel is congested and the traffic flow is large, the devices in the home will collide with each other to cause the throughput to decrease and the delay to increase.
Based on this, an embodiment of the present application provides a parameter configuration method for a wireless local area network, so as to solve a problem that packet sending fails due to contention conflicts when multiple devices simultaneously contend for a Wi-Fi channel.
The embodiment of the application is suitable for a WLAN deployment mode adopting Fiber To The Room (FTTR), wherein the FTTR lays optical fibers to each room, and the home gateway interconnection is realized by deploying edge network equipment in each room. The FTTR can meet the high requirements of new business applications such as online education, home office, home entertainment and the like on bandwidth, time delay and the like. The edge network device may be an edge ONT or an AP. In an FTTR application scenario, a gateway device is deployed to manage edge network devices. The gateway device may be an optical gateway, an ONT or PON gateway, etc.
As an example, refer to fig. 5A, which is a schematic diagram illustrating a topology of an optical communication system applied to FTTR. An optical communication system applied to FTTR includes at least an optical gateway and a plurality of 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 a plurality of EDGE ONTs, respectively. The optical communication system further comprises an OLT. The optical gateway is deployed between the OLT and the edge ONT. In FTTR scene, the optical gateway is connected to the home information box through fiber to the home, and is connected to each room through the optical splitter, each room is provided with an Edge (Edge) ONT, and the optical gateway at the information box manages a plurality of Edge ONTs in a coordinated way. The ONTs under the FTTR framework are connected with the optical gateway through optical fibers, management resources are controlled and managed without occupying a Wi-Fi air interface, and compared with a multi-AP Wi-Fi cascading scheme, the real-time performance of optical gateway management can be improved. The end device can access the Edge ONT to realize network communication.
As another example, refer to fig. 5B, which is a schematic diagram illustrating a topology of another optical communication system using a home network. The optical communication system at least comprises an ONT and a plurality of APs. The ONT is used to cooperatively manage the APs deployed in each room.
The optical communication system of FTTR may employ a Passive Optical Network (PON). The PON may be a gigabit-capable PON (GPON), ethernet passive optical network (ethernet PON, EPON), ten gigabit ethernet passive optical network (10Gb/s ethernet passive optical network, 10G-EPON), time and wavelength division multiplexing passive optical network (time and wavelength division multiplexing passive optical network, TWDM-PON), ten gigabit-capable passive optical network (10gigabit-capable passive optical network, XG-PON), or ten gigabit-capable symmetric passive optical network (10-gigabit-capable passive optical network, XGs-PON), or the like. The new technology of future evolution will improve the speed of PON to 25Gbps, 50Gbps or even 100Gbps, so the application can also apply the PON with higher transmission speed.
In the embodiment of the application, by using the advantage of cooperative management of the gateway device to the edge network device under the FTTR architecture, EDCA parameters of the edge network device inside the home are uniformly allocated, and then the performance of the whole network is optimized. It should be noted that the present application may also be applied to a non-FTTR architecture, and an OLT is used to perform cooperative management on ONTs in an optical communication system.
In the following description, an edge network device is taken as an edge ONT for example, and a gateway device is taken as an optical gateway for example.
Specifically, the embodiments of the present application provide, but are not limited to, the following three implementation manners:
in a first possible implementation, the optical gateway allocates backoff (back off) time (time) used by each contention channel for the EDGE ONT included in the optical communication system based on the configuration rule. The configuration rules ensure that the EDGE ONT gets a fair chance to send.
In a second possible implementation manner, the optical gateway may allocate the back-off time adopted by each round of channel contention for the EDGE ONT based on the priority of the service of the EDGE ONT. In one polling period, the number of obtained transmission opportunities of an EDGE ONT whose priority of the traffic is high is higher than the number of obtained transmission opportunities of an EDGE ONT whose priority of the traffic is low. One polling cycle includes a number of times not less than the number of EDGE ONTs included in the optical communication system.
In a third possible implementation manner, the optical gateway allocates a back-off time used by each round of channel contention for an EDGE ONT included in the optical communication system, and when allocating the back-off time used by each round for each EDGE ONT, it is ensured that the EDGE ONT having the VIP service obtains more transmission opportunities than other EDGE ONTs, and other EDGE ONTs except the VIP service can obtain fair transmission opportunities.
In a fourth possible implementation manner, each EDGE ONT included in the optical communication system reports its service information to the optical gateway, where the service information is used to determine the priority of a service on the EDGE ONT. The optical gateway can then determine the EDCA parameters assigned for each EDGE ONT from the traffic information.
The three schemes are explained in detail with the attached drawings.
First, a first possible implementation will be described in detail.
Fig. 6 is a schematic flow chart of a possible parameter configuration method of the wlan. In fig. 6, taking the example that the optical network system includes N EDGE ONTs, the N EDGE ONTs all establish communication connection with the optical gateway. N is an integer greater than 1.
601, the optical gateway determines back-off time sets corresponding to the N EDGE ONTs respectively.
The set of backoff times may be in the form of a table. For convenience of description, the set of backoff times may be referred to as a backoff (back off, BO) configuration table.
The back-off time set corresponding to one EDGE ONT is used for indicating the back-off time adopted by the EDGE ONT in the N-round competition channels. Or may be described as a set of back-off times corresponding to one EDGE ONT for indicating the back-off times adopted by the EDGE ONT in the N-round contention channel.
As an example, the back-off time may also be referred to as a BO value. The BO value may be understood as the number of backoff slots determined from the ECWmin value in the EDCA parameter.
Optionally, one EDGE ONT corresponding back-off time set may include a one-to-one correspondence relationship between N sequence numbers and N back-off times.
The optical gateway sends the corresponding back-off time sets to the N EDGE ONTs, 602. In the N rounds of contention channels, N EDGE ONTs respectively obtain one round of transmission opportunity.
After each EDGE ONT receives the back-off time set, one back-off time is obtained in each round according to the back-off time sequence included in the back-off time set and is used for competing for the channel. Specifically, one back-off time may be acquired in each round to compete for the channel according to the sequence number from small to large.
In one possible implementation, among the N EDGE ONTs, the N EDGE ONTs respectively obtain one round of transmission opportunities in N rounds of contention channels. For example, in the contention channel of the ith round, the ith EDGE ONT obtains a transmission opportunity, that is, the backoff time allocated to the ith EDGE ONT in the ith round is the smallest, that is, the backoff times allocated to other EDGE ONTs except for the ith EDGE ONT in the ith round are all smaller than the backoff time allocated to the ith EDGE ONT. The backoff times respectively allocated to the N EDGE ONTs in the ith round are different, so that contention conflicts generated by other EDGE ONTs during channel contention can be prevented when no service data to be sent exists on the EDGE ONT with shorter backoff time.
As an example, an optical communication system includes 4 EDGE ONTs, which are EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4 respectively. The sets of back-off times respectively configured by the optical gateway for EDGE ONT1-EDGE ONT4 are shown in table 1.
TABLE 1
Figure BDA0002805350800000111
As can be seen from table 1 above, in the first round, the magnitude ordering of the back-off times is: EDGE ONT1< EDGE ONT2< EDGE ONT3< EDGE ONT 4. The back-off time of the EDGE ONT1 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT1, the EDGE ONT2 obtains the sending opportunity preferentially, and so on. In the second round, the magnitude ordering of the back-off times is: EDGE ONT2< EDGE ONT3< EDGE ONT4< EDGE ONT 1. The back-off time of the EDGE ONT2 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT2, the EDGE ONT3 obtains the sending opportunity preferentially, and so on. In the third round, the magnitude ordering of the back-off times is: EDGE ONT3< EDGE ONT4< EDGE ONT1< EDGE ONT 2. The back-off time of the EDGE ONT3 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT3, the EDGE ONT4 obtains the sending opportunity preferentially, and so on. In round 4, the rank order of the back-off times is: EDGE ONT4< EDGE ONT1< EDGE ONT2< EDGE ONT 3. The back-off time of the EDGE ONT4 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT4, the EDGE ONT1 obtains the sending opportunity preferentially, and so on. The 4 EDGE ONTs get a transmission opportunity relatively fairly.
In some embodiments, the set of back-off times corresponding to an EDGE ONT may be the back-off times employed by the EDGE ONT in each polling period. One polling period may include the same number of times as the number of EDGE ONTs included in the optical network system. Referring to table 1, the optical gateway configures back-off times used by 4 rounds of contention channels for 4 EDGE ONTs, respectively. The 4 rounds are one polling period. Each EDGE ONT contends for the channel using the back-off times shown in table 1 in rounds 1-4 of the first polling cycle. Each EDGE ONT in rounds 1-4 of the second polling period continues to contend for the channel using the back-off time shown in table 1, and so on.
In one possible implementation, some EDGE ONTs may have contention conflicts when contending for the channel, since each EDGE ONT may cause an anomaly when the clocks are not synchronized. Based on this, when a certain EDGE ONT generates a contention conflict with other EDGE ONTs while contending for a channel, the optical gateway is notified, so that the optical gateway can reconfigure the back-off time set for each EDGE ONT. Taking an EDGE ONT with a contention conflict as a first EDGE ONT as an example, the first EDGE ONT is any one of N EDGE ONTs.
Specifically, after step 602, the method may further include:
603, the first EDGE ONT reports an abnormal event message to the optical gateway, and the abnormal event message is used for notifying the first EDGE ONT that a contention conflict occurs when contending for the channel.
The optical gateway, upon receiving the abnormal event message from the first EDGE ONT, may send a first notification message to each of the N EDGE ONTs 604. The first notification message is used to notify the N EDGE ONTs to report back-off time adopted by a previous round of contention channels, respectively.
605, after receiving the first notification message, the N EDGE ONTs respectively send the back-off time used by the previous round of contention channels and the sequence number corresponding to the back-off time used to the previous round of contention channels to the optical gateway.
606, the optical gateway adjusts the back-off time sets for the N EDGE ONTs respectively according to the back-off time adopted by the last round of contention channels and the serial number corresponding to the back-off time adopted, which are reported by the N EDGE ONTs respectively; and respectively sending the adjusted back-off time sets to the corresponding EDGE ONTs.
A second possible implementation is described in detail below. In a second possible implementation manner, the optical gateway may allocate, to the EDGE ONT, a back-off time adopted by each round of channel contention based on the priority of the service of the EDGE ONT. In one polling period, the number of obtained transmission opportunities of an EDGE ONT whose priority of the traffic is high is higher than the number of obtained transmission opportunities of an EDGE ONT whose priority of the traffic is low. One polling cycle includes a number of times not less than the number of EDGE ONTs included in the optical communication system. Take the example that the optical network system includes N EDGE ONTs. In N EDGE ONTs, M is larger than N in M rounds of competition channels, and each EDGE ONT in the N EDGE ONTs obtains at least one round of transmission opportunity.
The number of transmission opportunities obtained in the M round by the EDGE ONT with a low priority among the N EDGE ONTs is smaller than the transmission opportunities obtained in the M round by the EDGE ONT with a high priority. For example, the access category of the service of the STA suspended by the first EDGE ONT is VO, and the access category of the service of the STA suspended by the other EDGE ONTs is BE. For example, the priority order of the priorities of the different access categories may BE VO > VI > BE > BK. The number of transmission opportunities obtained by the first EDGE ONT is higher than those obtained by the other EDGE ONTs in the M round.
The access category of the traffic on the EDGE ONT may be reported by the EDGE ONT to the optical gateway.
In one mode, each EDGE ONT periodically and actively reports an access category to the EDGE ONT. For an example, refer to fig. 7, which is a schematic flow chart of a parameter configuration method of another possible wireless local area network provided in the embodiment of the present application.
701, the N EDGE ONTs report the access category of the service to the optical gateway periodically, respectively.
The optical gateway determines the priority order of the N EDGE ONTs according to the access category of the service corresponding to each EDGE ONT of the N EDGE ONTs 702.
703, the optical gateway configures back-off time sets for the N EDGE ONTs according to the priority order of the N EDGE ONTs.
And 704, the optical gateway sends the corresponding back-off time sets to the N EDGE ONTs respectively.
In some embodiments, the access categories of two or more EDGE ONTs are the same, and the priority order is the same. The EDGE ONTs with the same priority get the same number of transmission opportunities in the M-round contention channel. As an example, if the access categories of services on N EDGE ONTs are the same, the back-off time sets respectively configured for the N EDGE ONTs all include back-off times used by N rounds of contention channels. Each EDGE ONT in the N round gets one round of transmission opportunity. As another example, access categories of services on N EDGE ONTs are not completely the same, and backoff times used by M rounds of contention channels may be included in backoff time sets respectively configured for the N EDGE ONTs, where M is greater than N. In the M round, the number of transmission opportunities obtained by the EDGE ONT with a high priority is higher than the number of transmission opportunities obtained by the EDGE ONT with a low priority. Optionally, when polling to another EDGE ONT obtains a transmission opportunity, if there is no service data to be transmitted on the other EDGE ONT, the probability that the EDGE ONT with higher priority competes for the transmission opportunity is higher.
In an example, the optical communication system includes 4 EDGE ONTs, which are EDGE ONT1, EDGE ONT2, EDGE ONT3 and EDGE ONT4, respectively. The access types of the services on the EDGE ONT1, the EDGE ONT2 and the EDGE ONT3 are BE, and the access type of the services on the EDGE ONT4 is VO. VO has a higher priority than BE. Thus, in one polling period, the EDGE ONT4 obtains a higher number of transmission opportunities than the other EDGE ONTs. The sets of back-off times respectively configured by the optical gateway for EDGE ONT1-EDGE ONT4 are shown in table 2.
TABLE 2
Figure BDA0002805350800000131
As can be seen from table 2 above, in the first round, the magnitude ordering of the back-off times is: EDGE ONT4< EDGE ONT3< EDGE ONT2< EDGE ONT 1. The back-off time of the EDGE ONT4 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT4, the EDGE ONT3 obtains the sending opportunity preferentially, and so on. In the second round, the magnitude ordering of the back-off times is: EDGE ONT3< EDGE ONT4< EDGE ONT2< EDGE ONT 1. The back-off time of the EDGE ONT3 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT3, the EDGE ONT4 obtains the sending opportunity preferentially, and so on. In the third round, the magnitude ordering of the back-off times is: EDGE ONT4< EDGE ONT2< EDGE ONT1< EDGE ONT 3. The back-off time of the EDGE ONT4 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT4, the EDGE ONT2 obtains the sending opportunity preferentially, and so on. In round 4, the rank order of the back-off times is: EDGE ONT2< EDGE ONT1< EDGE ONT4< EDGE ONT 3. The back-off time of the EDGE ONT2 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT2, the EDGE ONT1 obtains the sending opportunity preferentially, and so on. In round 5, the rank order of the back-off times is: EDGE ONT1< EDGE ONT4< EDGE ONT3< EDGE ONT 2. The back-off time of the EDGE ONT1 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT1, the EDGE ONT4 obtains the sending opportunity preferentially, and so on. In round 5, the EDGE ONT4 has a priority of 2 number of transmission opportunities and the other EDGE ONTs have a priority of 1 number of transmission opportunities.
In another mode, the optical gateway sends a broadcast message to each EDGE ONT, where the broadcast message is used to indicate the access category of the service reported by each EDGE ONT, and then each EDGE ONT reports the access category to the optical gateway when receiving the broadcast message. For an example, refer to fig. 8, which is a schematic flow chart of a parameter configuration method of another possible wireless local area network provided in the embodiment of the present application.
The optical gateway periodically sends a broadcast message to the optical gateway 801.
And 802, when the N EDGE ONTs receive the broadcast message, reporting the access types of the services to the optical gateway respectively.
803, the optical gateway determines the priority order of the N EDGE ONTs according to the access category of the service corresponding to each EDGE ONT of the N EDGE ONTs.
And 804, the optical gateway respectively configures back-off time sets for the N EDGE ONTs according to the priority order of the N EDGE ONTs.
805, the optical gateway sends corresponding back-off time sets to the N EDGE ONTs, respectively.
Optionally, if the current period is compared with the previous period, the access category of the service on each EDGE ONT is not changed, and the back-off time set respectively sent by the optical gateway to the N EDGE ONTs in the current period is the same as the back-off time set respectively sent to the N EDGE ONTs in the previous period.
A third possible implementation is described in detail below with reference to the accompanying drawings. In a third possible implementation manner, the optical gateway allocates a back-off time used by each round of channel contention for an EDGE ONT included in the optical communication system, and when allocating the back-off time used by each round for each EDGE ONT, it is ensured that the EDGE ONT having the VIP service obtains more transmission opportunities than other EDGE ONTs, and other EDGE ONTs except the VIP service can obtain fair transmission opportunities. For example, the VIP service may include an online education service or a Virtual Reality (VR) service, etc.
Fig. 9 is a schematic flow chart of a possible parameter configuration method of a wireless lan. In fig. 9, taking an example that the optical network system includes N EDGE ONTs, the N EDGE ONTs all establish communication connection with the optical gateway. VIP traffic is generated on a first EDGE ONT of the N EDGE ONTs.
901-902, see 601-602. I.e. N EDGE ONTs fairly get the transmission opportunity at initial configuration. May be configured as described in the corresponding embodiment of fig. 6.
903, the first EDGE ONT sends a second notification message to the optical gateway, where the second notification message is used to notify that there is VIP service 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.
And 904, the optical gateway receives a second notification message from the first EDGE ONT, and adjusts back-off time sets corresponding to the N EDGE ONTs respectively. Wherein, the adjusted back-off time sets respectively corresponding to the N EDGE ONTs are used for representing that the number of times of the sending opportunities acquired by the first EDGE ONT in the N EDGE ONTs is larger than the number of times of the sending opportunities acquired by other EDGE ONTs in the N EDGE ONTs.
905, sending the adjusted back-off time sets to the N EDGE ONTs respectively.
In an example, taking 4 EDGE ONTs included in an optical communication system as an example, the EDGE ONTs are 1, 2, 3 and 4. There is VIP traffic on the EDGE ONT 1. The EDGE ONT1 obtains transmission opportunities more often than other EDGE ONTs in a polling period. The sets of back-off times respectively configured by the optical gateway for EDGE ONT1-EDGE ONT4 are shown in table 3.
TABLE 3
Figure BDA0002805350800000141
Figure BDA0002805350800000151
As can be seen from table 3 above, in the first round, the magnitude ordering of the back-off times is: EDGE ONT1< EDGE ONT2< EDGE ONT3< EDGE ONT 4. The back-off time of the EDGE ONT1 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT1, the EDGE ONT2 obtains the sending opportunity preferentially, and so on. In the second round, the magnitude ordering of the back-off times is: EDGE ONT2< EDGE ONT1< EDGE ONT3< EDGE ONT 4. The back-off time of the EDGE ONT2 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT2, the EDGE ONT1 obtains the sending opportunity preferentially, and so on. In the third round, the magnitude ordering of the back-off times is: EDGE ONT1< EDGE ONT3< EDGE ONT4< EDGE ONT 2. The back-off time of the EDGE ONT1 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT1, the EDGE ONT3 obtains the sending opportunity preferentially, and so on. In round 4, the rank order of the back-off times is: EDGE ONT3< EDGE ONT4< EDGE ONT1< EDGE ONT 2. The back-off time of the EDGE ONT3 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT3, the EDGE ONT4 obtains the sending opportunity preferentially, and so on. In round 5, the rank order of the back-off times is: EDGE ONT4< EDGE ONT1< EDGE ONT2< EDGE ONT 3. The back-off time of the EDGE ONT1 is the minimum, and the sending opportunity is obtained preferentially, if there is no service data to be sent on the EDGE ONT4, the EDGE ONT4 obtains the sending opportunity preferentially, and so on. In round 5, the EDGE ONT1 has a priority of obtaining transmission opportunities by 2 and the other EDGE ONTs have a priority of obtaining transmission opportunities by 1.
The fourth possible implementation manner is described in detail below with reference to the accompanying drawings. In a fourth possible implementation manner, each EDGE ONT included in the optical communication system reports its service information to the optical gateway, where the service information is used to determine the priority of a service on the EDGE ONT. The optical gateway can then determine the EDCA parameters assigned for each EDGE ONT from the traffic information.
Fig. 10 is a schematic flow chart of a possible parameter configuration method of a wireless lan. In fig. 10, an example is given in which the optical network system includes N EDGE ONTs.
1001, N EDGE ONTs report service information to the optical gateway, respectively. The service information is used for determining the priority of the service on the EDGE ONT.
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, where the higher the priority of the service on the EDGE ONT is, the higher the priority of the EDGE ONT is.
In one example, the traffic information may include an access category of the traffic. The priority order of the access categories is as follows: VO > VI > BE > BK. The higher the priority of the access category of the traffic comprised by the EDGE ONT, the higher the priority of the EDGE ONT.
In another example, a VIP traffic flag may be included in the traffic information. The VIP traffic flag is used to indicate whether VIP traffic is present. The VIP traffic has a higher priority than the VO. That is, the priority order may be: VIP traffic > VO > VI > BE > BK.
In yet another example, the service information may include an access category and a service flow of the service. The traffic flow is used to characterize the flow of traffic data present on the EDGE ONT. The higher the service flow of the EDGE ONT with the same service priority, the higher the priority of the EDGE ONT. For example, the service priorities of two EDGE ONTs are the same and are both VOs, and the higher the service traffic of the EDGE ONT is, the higher the priority of the EDGE ONT is.
In yet another example, the service information may include an access category of the service, a service traffic and a VIP service identifier. In this example, if there is a VIP service identity for both EDGE ONTs, the higher the traffic flow for the EDGE ONT, the higher the priority of the EDGE ONT.
1003, the optical gateway determines EDCA parameters for the N EDGE ONTs according to the service priority ranking result, where the EDCA parameters include a minimum contention window.
And 1004, sending the EDCA parameters to the N EDGE ONTs respectively.
The higher the priority of the service of the EDGE ONT is, the smaller the minimum contention window in the EDCA parameter configured for the EDGE ONT is, and the higher the probability that the EDGE ONT obtains the transmission opportunity is.
The EDCA parameters may further include one or more of a maximum contention window ECWmax, AISFN, or TXOP, based on including the minimum contention window ECWmin.
In some embodiments, the higher the priority of the service of the EDGE ONT is, the smaller the value of the maximum contention window in the EDCA parameter determined for the EDGE ONT is. Or the maximum contention windows in the EDCA parameters configured for the N EDGE ONTs are the same.
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 parameters configured for the N EDGE ONTs is the same.
In some embodiments, the higher the priority of the service of the EDGE ONT is, the larger the value of the TXOP in the EDCA parameter determined for the EDGE ONT is. Or the TXOPs in the EDCA parameters configured for the N EDGE ONTs are the same.
In one possible implementation, the optical gateway may configure the same EDCA parameters for the N EDGE ONTs at initial configuration. Since the priority of traffic on the EDGE ONT can be considered the same at the start of the configuration. Specifically, the optical gateway may configure the same EDCA parameter for the N EDGE ONTs according to empirical values. Subsequently, each EDGE ONT may actively report the service information to the EDGE ONT, or each EDGE ONT may report the service information under the instruction of the optical gateway.
Referring to fig. 11A, taking the example that the EDGE ONT reports the service information under the instruction of the optical gateway.
1101, the optical gateway sends a notification message to the N EDGE ONTs, where the notification message is used to notify the N EDGE ONTs of reporting the service information.
In one example, the optical gateway may periodically send a notification message to the N EDGE ONTs. The notification message may be a broadcast message. Namely, the optical gateway periodically broadcasts and notifies N EDGE ONTs to report the service information. And 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 N EDGE ONTs.
In another example, the notification message sent by the optical gateway to the N EDGE ONTs carries a reporting period, and is used to notify the N EDGE ONTs to periodically report the service information according to the reporting period.
1102, when receiving the notification message, the N EDGE ONTs report their own service information to the optical gateway.
1103-.
As an example, referring to fig. 11B, in connection with an FTTR application scenario, taking 4 EDGE ONTs included in an optical communication system as an example, EDGE ONT1, EDGE ONT2, EDGE ONT3, and EDGE ONT4 are respectively used. In an initial state, the optical gateway configures EDCA parameters for N EDGE ONTs according to empirical values. Such as:
EDGE ONT1 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0;
EDGE ONT2 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0;
EDGE ONT3 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0;
EDGE ONT4 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0。
in one possible scenario, the service of STAs with 4 EDGE ONTs hanging down respectively is shown in fig. 11C. The STA3 hung under the EDGE ONT4 is a VO service, and both the STA2 hung under the EDGE ONT2 and the STA1 hung under the EDGE ONT1 are BE services. The access types in the service information reported by the EDGE ONT1 and the EDGE ONT2 are both BE. The service flow reported by the EDGE ONT1 is 20M, the service flow reported by the EDGE ONT2 is 100M, and the access category in the service information reported by the EDGE ONT4 is VO. The service information reported by the EDGE ONT3 indicates no service. The optical gateway performs priority ordering on the 4 EDGE ONTs, specifically: EDGE ONT4 (rank 1) > EDGE ONT2(rank2) > EDGE ONT1(rank 3).
The optical gateway configures EDCA parameters for 4 EDGE ONTs according to the sorting result, for example:
EDGE ONT1 ECWmin=5,ECWmax=7,AIFSN=2,TXOP=0(rank3);
EDGE ONT2 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0(rank2);
EDGE ONT3 ECWmin 5, ECWmax 6, AIFSN 2, TXOP 0 (no traffic);
EDGE ONT4 ECWmin=3,ECWmax=5,AIFSN=2,TXOP=0(rank1)。
the ECWmin for EDGE ONT1 is the largest, the ECWmin for EDGE ONT2 is the next largest, and the ECWmin for EDGE ONT4 is the smallest. The ECWmax of EDGE ONT1 is maximum, the ECWmax of EDGE ONT2 is next, and the ECWmax of EDGE ONT4 is minimum.
Referring to fig. 12A, for example, the EDGE ONT actively reports the service information to the optical gateway.
1201, in initial configuration, the optical gateway configures EDCA parameters for the N EDGE ONTs according to the empirical values. The EDCA parameters for the N EDGE ONTs may be the same.
After receiving the EDCA parameter, an EDGE ONT of the N EDGE ONTs may send service information to the optical gateway when determining that there is service data to be sent. And storing the access category and the VIP service mark in the service information. Take the first EDGE ONT and the second EDGE ONT2 as examples that there is service data to be sent. The first EDGE ONT and the second EDGE ONT are any two of the N EDGE ONTs.
1202, the first EDGE ONT and the second EDGE ONT respectively send service information to the optical gateway, where the service information sent by the first EDGE ONT includes an access category and/or a VIP service label of the first EDGE ONT. The traffic information sent by the second EDGE ONT includes an access category and/or a VIP traffic label for the second EDGE ONT.
1203, the optical gateway adjusts EDCA parameters of the first EDGE ONT and the second EDGE ONT according to the 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.
When the access category of the EDGE ONT or the VIP service tag changes, the updated access category or VIP service tag may be further reported to the optical gateway.
In one example, the change in access category of the first EDGE ONT is taken as an example.
1204, when determining that the access category changes, the first EDGE ONT sends first reporting information to the optical gateway, where the first reporting information includes an updated access category of the first EDGE ONT.
1205, the optical gateway adjusts the EDCA parameter of the first EDGE ONT according to the access category updated by the first EDGE ONT.
1206, sending the adjusted EDCA parameter to the first EDGE ONT.
In another example, the change in the VIP service tag of the first EDGE ONT is taken as an example.
1207, when the first EDGE ONT determines that the VIP service mark changes, sending second reporting information to the optical gateway, where the second reporting information includes the VIP service mark updated by the first EDGE ONT.
1208, the optical gateway adjusts the EDCA parameter of the first EDGE ONT according to the updated VIP service tag of the first EDGE ONT.
1209, sending the adjusted EDCA parameter to the first EDGE ONT.
As an example, referring to fig. 11B, in connection with an FTTR application scenario, taking 4 EDGE ONTs included in an optical communication system as an example, EDGE ONT1, EDGE ONT2, EDGE ONT3, and EDGE ONT4 are respectively used. In an initial state, the optical gateway configures EDCA parameters for the N EDGE ONTs according to empirical values. Such as:
EDGE ONT1 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0;
EDGE ONT2 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0;
EDGE ONT3 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0;
EDGE ONT4 ECWmin=4,ECWmax=6,AIFSN=2,TXOP=0。
in one possible scenario, the traffic of STAs with 4 EDGE ONTs hanging down respectively is shown in fig. 12B. The STAs hanging down the EDGE ONT3 are VIP traffic, such as VR traffic. The services of other STAs hung under the EDGE ONT are BE. The optical gateway performs priority ordering on the 4 EDGE ONTs, specifically: EDGE ONT3 (rank 1) > EDGE ONT2 EDGE ONT1 EDGE ONT 4.
The optical gateway configures EDCA parameters of 4 EDGE ONTs according to the VIP service, the VR service is the VIP service, and the optical gateway needs to preferentially ensure the VIP service when configuring the EDCA parameters for the N EDGE ONTs. For example:
EDGE ONT1 ECWmin=6,ECWmax=8,AIFSN=2,TXOP=0(RANK2);
EDGE ONT2 ECWmin=6,ECWmax=8,AIFSN=2,TXOP=0(RANK2);
EDGE ONT3 ECWmin=2,ECWmax=4,AIFSN=1,TXOP=6(RANK1);
EDGE ONT4 ECWmin=6,ECWmax=8,AIFSN=2,TXOP=0(RANK2)。
ECWmin is smallest for EDGE ONT3, identical for the rest of the EDGE ONTs. The ECWmax of the EDGE ONT3 is the smallest, and the ECWmax of the remaining EDGE ONTs is the same. The AIFSN of EDGE ONT3 is 1 and the AIFSNs of the remaining EDGE ONTs are 2. The TXOP of EDGE ONT3 takes the standard maximum value, and the TXOPs of the remaining EDGE ONTs are 0.
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 gateway equipment. The apparatus may be specifically a processor, a chip system, or a functional module for transmitting or receiving, and the like. As shown in fig. 13, the apparatus includes a communication module 1301 and a processing module 1302.
For example, communication module 1301 is configured to perform 602, 603, 604, 605, and 606, and processing module 1302 is configured to perform 601. For another example, the communication module 1301 is configured to execute 701 and 704, and the processing module 1302 is configured to execute 702 and 703. As another example, the communication module 1301 is configured to perform 801, 802, and 805, and the processing module 1302 is configured to perform 803, 804. As another example, the communication module 1301 is configured to execute 902, 903, and 905, and the processing module 1302 is configured to execute 901 and 904. As another example, the communication module 1301 is configured to perform 1001 and 1004, and the processing module 1302 is configured to perform 1002 and 1003. For another example, the communication module 1301 is configured to perform 1101, 1102, and 1105, and the processing module 1302 is configured to perform 1103 and 1104. For another example, the communication module 1301 is configured to execute 1201, 1206, 1207, 1209, and the processing module 1302 is configured to execute 1203, 1204, or 1208.
Optionally, the two modules may also perform other relevant optional steps performed by the optical gateway mentioned in any of the foregoing embodiments, and details are not described here again.
In a possible application scenario, the communication module 1301 is configured to receive service information respectively reported by N edge network devices that are in communication connection with a gateway device, where the service information is used to determine a priority of a service on the edge network device, and N is an integer greater than 1;
a processing module 1302, configured to determine a priority ranking result of the N edge network devices according to the service information reported by the N edge network devices, where the higher the priority of the edge network device is, the higher the priority of the service on the edge network device is;
the processing module 1302 is further configured to determine enhanced distributed channel access EDCA parameters for the N edge network devices according to the service priority ranking result; the EDCA parameter comprises a minimum contention window;
the higher the priority of the edge network device is, the smaller the value of the minimum contention window in the EDCA parameters determined for the edge network device is;
the communication module 1301 is further configured to send corresponding EDCA parameters to the N edge network devices, respectively.
In a possible implementation manner, the EDCA parameter further includes a maximum contention window, where the higher the priority of the edge network device is, the smaller a value of the maximum contention window in the EDCA parameter determined for the edge network device is; or the lower the priority of the edge network device is, the larger the value of the maximum contention window in the EDCA parameter determined for the edge network device is.
In a possible implementation manner, the EDCA parameter further includes an arbitration interframe space number AISFN, where the higher the priority of the edge network device is, the smaller the value of the AISFN in the EDCA parameter determined for the edge network device is; or the lower the priority of the edge network device is, the larger the value of the AISFN in the EDCA parameter determined for the edge network device is.
In a possible implementation manner, the EDCA parameter further includes a transmission opportunity TXOP, where a value of the TXOP in the EDCA parameter determined for the edge network device is larger as the priority of the edge network device is higher; or the lower the priority of the edge network device is, the smaller the value of the TXOP in the EDCA parameter determined for the edge network device is.
In a possible implementation manner, the service information includes access categories, the access categories include best effort BE, background BK, video VI, or voice VO, and the priority order of the access categories is: VO > VI > BE > BK.
In a possible implementation manner, the traffic information further includes a VIP traffic flag, where the VIP traffic flag is used to indicate whether there is VIP traffic, and a priority of the VIP traffic is higher than a priority of the VO.
In a possible implementation manner, the service information further includes a service traffic, and the service traffic is used to represent a traffic of service data existing on the edge network device;
the higher the traffic flow of the edge network device is, the higher the priority of the edge network device with the same service priority is.
In a possible implementation manner, the communication module 1301 is further configured to send a notification message to the N edge network devices before receiving service information respectively reported by the N edge network devices that have communication connection with the OLT, where the notification message is used to notify the N edge network devices to report the service information.
In a possible implementation manner, 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 an access category updated by the first edge network device, and the first edge network device is any one of the N edge network devices; the processing module 1302 is further configured to adjust the EDCA parameter of the first edge network device according to the updated access category of the first edge network device, and send the adjusted EDCA parameter to the first edge network device.
In a possible implementation manner, 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;
the processing module 1302 is further configured to adjust an EDCA parameter of the first edge network device according to the updated VIP service tag of the first edge network device;
the communication module 1301 is further configured to send the adjusted EDCA parameter to the first edge network device.
In a possible implementation manner, 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.
In another possible application scenario, the processing module 1302 is configured to determine backoff time sets respectively corresponding to N edge network devices that establish communication connections with a gateway device, where N is an integer greater than 1; the backoff time set corresponding to the first edge network device is used for indicating 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 N edge network devices, each edge network device in the N edge network devices in at least N rounds of channel competition at least obtains one round of sending opportunity, and the backoff time corresponding to the N edge network devices in each round is different; a communication module 1301, configured to send corresponding back-off time sets to the N edge network devices respectively.
In one possible implementation manner, the set of back-off times corresponding to the first edge network device includes the back-off time adopted by the first edge network device in each polling cycle, and each polling cycle includes the at least N rounds.
In a possible implementation manner, the backoff time set corresponding to the first edge network device includes a one-to-one correspondence relationship between at least N sequence numbers and at least N backoff times.
In a possible implementation manner, the communication module 1301 is further configured to: receiving an abnormal event message from the first edge network device, wherein the abnormal event message is used for informing the first edge network device of generating competition conflict when competing for the channel; respectively sending first notification messages to the N edge network devices, wherein the first notification messages are used for notifying the N edge network devices to respectively report back-off time adopted by a previous round of competition channels; receiving backoff time adopted by a previous round of contention channels and a sequence number corresponding to the adopted backoff time, which are respectively sent by N edge network devices; the processing module 1302 is further configured to: adjusting a back-off time set for the N edge network devices respectively according to the back-off time reported by the N edge network devices respectively; the communication module 1301 is further configured to send the corresponding adjusted back-off time sets to the N edge network devices, respectively.
In one possible implementation, the communication module 1301 is further configured to receive a second notification message from the first edge network device, where the second notification message is used to notify that very important VIP traffic exists on the first edge network device, and the VIP traffic has a higher priority than other traffic supported by the N edge network devices; the processing module 1302 is further configured to adjust back-off time sets corresponding to the N edge network devices respectively; the adjusted backoff time sets respectively corresponding to the N edge network devices are used for representing that the number of times of the sending opportunities acquired by a first edge network device in the N edge network devices is greater than the number of times of the sending opportunities acquired by other edge network devices in the N edge network devices; the communication module 1301 is further configured to send the corresponding adjusted back-off time sets to the N edge network devices, respectively.
The division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation. In addition, functional modules in the embodiments of the present application may be integrated into one processor, may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
An embodiment of the present application further provides a gateway device structure, as shown in fig. 14, a gateway device 1400 includes a communication interface 1410, a processor 1420, and a memory 1430.
The communication module 1301 and the processing module 1302 shown in fig. 13 may be implemented by the processor 1420. Processor 1420 receives optical signals via communication interface 1410 and is configured to implement the method performed by the gateway device in fig. 2. Alternatively, the communication module 1301 illustrated in fig. 13 may be implemented by the communication interface 1410, and the processing module 1302 illustrated in fig. 13 may be implemented by the processor 1420. In implementation, the steps of the processing flow may be implemented by instructions in the form of hardware integrated logic circuits or software in the processor 1420, so as to implement the method performed by the gateway device in any of the above embodiments.
Communication interface 1410 may be any circuit, bus, transceiver, or other device capable of communicating information. The other device may be a device connected to the apparatus 1400, for example, the other device may be an edge network device.
The processor 1420 in the embodiments of the present application 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, discrete gate or transistor logic, discrete hardware components, or any combination thereof, and may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor, or in a combination of hardware and software elements in the processor. Program code executed by processor 1420 to implement the above-described methods may be stored in memory 1430. A memory 1430 is coupled to the processor 1420. The coupling in the embodiments of the present application is an indirect coupling or a communication connection between devices, units or modules, and may be an electrical, mechanical or other form for information interaction between the 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 (HDD) or a solid-state drive (SSD), and may also be 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 code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such.
The specific connection medium between the communication interface 1410, the processor 1420 and the memory 1430 is not limited in this embodiment. In fig. 14, the memory 1430, the processor 1420 and the communication interface 1410 are connected by a bus, the bus is represented by a thick line in fig. 14, and the connection manner between other components is only for illustrative purpose and is not limited thereto. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 14, but this is not intended to represent only one bus or type of bus.
Based on the above embodiments, the present application further provides a computer storage medium, in which a software program is stored, and the software program can implement the method provided by any one or more of the above embodiments when being read and executed by one or more processors. The computer storage medium may include: u disk, removable hard disk, read only memory, random access memory, etc. may be used to store the program code.
Based on the above embodiments, the present application further provides a chip, where the chip includes a processor, and is configured to implement the functions related to any one or more of the above embodiments, such as acquiring or processing the data frame related to the above method. Optionally, the chip further comprises a memory for the processor to execute the necessary program instructions and data. The chip may be constituted by a chip, or may include a chip and other discrete devices.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the embodiments of the present application without departing from the scope of the embodiments of the present application. Thus, if such 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 encompass such modifications and variations.

Claims (20)

1. A parameter configuration method of a wireless local area network is applied to a gateway device, and the method comprises the following steps:
receiving service information respectively reported by N edge network devices in communication connection with the gateway device, wherein the service information is used for determining the priority of a service on the edge network devices, and N is an integer greater than 1;
determining 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 devices is, the higher the priority of the service on the edge network devices is;
respectively configuring enhanced distributed channel access EDCA parameters for the N edge network devices according to the service priority sequencing result; the EDCA parameter comprises a minimum contention window;
the higher the priority of the edge network device is, the smaller the value of the minimum contention window in the EDCA parameter determined for the edge network device is.
2. The method of claim 1, wherein the EDCA parameters further include a maximum contention window, and wherein the higher the priority of an 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 of claim 1 or 2, wherein the EDCA parameters further include an arbitration interframe space number AISFN, wherein the higher the priority of an edge network device, the smaller the value of the AISFN in the EDCA parameters determined for the edge network device.
4. The method of any one of claims 1-3, wherein the EDCA parameters further comprise a transmission opportunity TXOP, and wherein the higher the priority of an edge network device is, the larger the value of the TXOP in the EDCA parameters determined for the edge network device is.
5. The method according to any of claims 1-4, characterized in that the traffic information comprises access categories, the access categories comprising best effort BE, background BK, video VI, or voice VO, the priority order of the access categories being: VO > VI > BE > BK.
6. The method of claim 5, further comprising a VIP traffic marker in the traffic information, the VIP traffic marker indicating whether VIP traffic is present, the VIP traffic having a higher priority than the VO.
7. The method according to claim 5 or 6, characterized in that the traffic information further comprises traffic flows for characterizing traffic data flows present on edge network devices;
the higher the traffic flow of the edge network device is, the higher the priority of the edge network device with the same service priority is.
8. The method of any one of claims 1-7, further comprising:
receiving first reporting information sent by a first edge network device, wherein the first reporting information comprises a VIP service mark updated by the first edge network device;
and adjusting the EDCA parameter of the first edge network device according to the updated VIP service mark of the first edge network device, and sending the adjusted EDCA parameter to the first edge network device.
9. The method according to any of claims 1-8, wherein the gateway device is an optical gateway and the edge network device is an edge optical network termination, 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 an ONT.
10. A parameter configuration method of a wireless local area network is applied to a gateway device, and the method comprises the following steps:
determining back-off time sets respectively corresponding to N edge network devices establishing communication connection with the gateway device, wherein N is an integer greater than 1;
the method comprises the steps that a back-off time set corresponding to a first edge network device is used for indicating back-off times 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, each edge network device in the N edge network devices in the at least N rounds of devices obtains at least one round of sending opportunities, and the back-off times corresponding to the N edge network devices in each round are different;
and respectively sending the corresponding back-off time sets to the N edge network devices.
11. The method of claim 10, wherein the set of back-off times for the first edge network device is a back-off time employed by the first edge network device for each polling period, each polling period including the at least N rounds.
12. The method of claim 11, wherein the set of back-off times corresponding to the first edge network device includes a one-to-one correspondence of at least N sequence numbers and at least N back-off times, the method further comprising:
receiving an abnormal event message from the first edge network device, wherein the abnormal event message is used for informing the first edge network device of generating competition conflict when competing for a channel;
respectively sending first notification messages to the N edge network devices, wherein the first notification messages are used for notifying the N edge network devices to respectively report back-off time adopted by a previous round of contention channels;
receiving backoff time adopted by a previous round of contention channels and a sequence number corresponding to the adopted backoff time, which are respectively sent by N edge network devices;
adjusting back-off time sets for the N edge network devices respectively according to the back-off times reported by the N edge network devices respectively;
and respectively sending the corresponding adjusted back-off time sets to the N edge network devices.
13. The method of any of claims 10-12, further comprising:
receiving a second notification message from a first edge network device, the second notification message notifying the presence of very important VIP traffic on the first edge network device, the VIP traffic having a higher priority than other traffic supported by the N edge network devices;
adjusting back-off time sets corresponding to the N pieces of edge network equipment respectively;
the adjusted backoff time sets respectively corresponding to the N edge network devices are used for representing that the number of times of the sending opportunities acquired by a first edge network device in the N edge network devices is greater than the number of times of the sending opportunities acquired by other edge network devices in the N edge network devices;
and respectively sending the corresponding adjusted back-off time sets to the N edge network devices.
14. A parameter configuration device of a wireless local area network is applied to a gateway device, and the device comprises:
the communication module is used for receiving service information respectively reported by N edge network devices which are in communication connection with the gateway device, wherein the service information is used for determining the priority of services on the edge network devices, and N is an integer greater than 1;
the processing module is used for determining 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 devices is, the higher the priority of the service on the edge network devices is;
the processing module is further configured to determine enhanced distributed channel access EDCA parameters for the N edge network devices respectively according to the service priority ranking result; the EDCA parameter comprises a minimum contention window;
the higher the priority of the edge network device is, the smaller the value of the minimum contention window in the EDCA parameters determined for the edge network device is;
the communication module is further configured to send corresponding EDCA parameters to the N edge network devices, respectively.
15. The apparatus of claim 14, wherein the communication module is further configured to receive second reporting information sent by a first edge network device, the second reporting information comprising the updated VIP traffic tag for the first edge network device;
the processing module is further configured to adjust EDCA parameters of the first edge network device according to the updated VIP service marker of the first edge network device;
the communication module is further configured to send the adjusted EDCA parameter to the first edge network device.
16. The apparatus according to claim 14 or 15, wherein 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.
17. A parameter configuration device of a wireless local area network is applied to a gateway device, and the device comprises:
a processing module, configured to determine backoff time sets respectively corresponding to N edge network devices that establish communication connections with the gateway device, where N is an integer greater than 1;
the backoff time set corresponding to a first edge network device is used to indicate backoff times adopted by the first edge network device in at least N rounds of channel contention, where the first edge network device is any one of the N edge network devices, and each edge network device in the N edge network devices in the at least N rounds obtains at least one round of transmission opportunities, and the backoff times corresponding to the N edge network devices in each round are different;
and the communication module is used for respectively sending the corresponding back-off time sets to the N edge network devices.
18. The apparatus of claim 17, wherein the set of back-off times corresponding to the first edge network device comprises a one-to-one correspondence of at least N sequence numbers and at least N back-off times, the communication module further configured to:
receiving an abnormal event message from the first edge network device, wherein the abnormal event message is used for informing the first edge network device of generating competition conflict when competing for a channel;
respectively sending first notification messages to the N edge network devices, wherein the first notification messages are used for notifying the N edge network devices to respectively report back-off time adopted by a previous round of contention channels;
receiving backoff time adopted by a previous round of contention channels and a sequence number corresponding to the adopted backoff time, which are respectively sent by N edge network devices;
the processing module is further configured to:
adjusting back-off time sets for the N edge network devices respectively according to the back-off times reported by the N edge network devices respectively;
the communication module is further configured to send the corresponding adjusted back-off time sets to the N edge network devices, respectively.
19. The apparatus of claim 17 or 18, wherein the communication module is further configured to receive a second notification message from a first edge network device, the second notification message configured to notify that very important VIP traffic is present on the first edge network device, the VIP traffic having a higher priority than other traffic supported by the N edge network devices;
the processing module is further configured to adjust back-off time sets corresponding to the N edge network devices, respectively;
the adjusted back-off time sets respectively corresponding to the N edge network devices are used for representing that the number of times of the sending opportunities acquired by a first edge network device in the N edge network devices is larger than the number of times of the sending opportunities acquired by other edge network devices in the N edge network devices;
the communication module is further configured to send the corresponding adjusted back-off time sets to the N edge network devices, respectively.
20. An optical line terminal comprising a processor and a memory, wherein:
the memory is used for storing program codes;
the processor is configured to read and execute the program code stored in the memory to implement the method according to any one of claims 1 to 9, or to implement the method according to any one of claims 10 to 13.
CN202011365632.XA 2020-11-28 2020-11-28 Parameter configuration method and device for wireless local area network Pending CN114584216A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011365632.XA CN114584216A (en) 2020-11-28 2020-11-28 Parameter configuration method and device for wireless local area network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011365632.XA CN114584216A (en) 2020-11-28 2020-11-28 Parameter configuration method and device for wireless local area network

Publications (1)

Publication Number Publication Date
CN114584216A true CN114584216A (en) 2022-06-03

Family

ID=81766848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011365632.XA Pending CN114584216A (en) 2020-11-28 2020-11-28 Parameter configuration method and device for wireless local area network

Country Status (1)

Country Link
CN (1) CN114584216A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572489A (en) * 2016-11-03 2017-04-19 西北工业大学 Access and transmission method based on multi-BSS association
CN107517502A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 A kind of cut-in method, equipment and system
CN109845381A (en) * 2016-10-21 2019-06-04 佳能株式会社 In wireless network under multi-user EDCA transmission mode AC Strengthening Management
CN110278558A (en) * 2019-07-25 2019-09-24 迈普通信技术股份有限公司 The exchange method and wlan system of message
CN110809203A (en) * 2019-10-15 2020-02-18 四川天邑康和通信股份有限公司 System and method for expanding FTTH network by master-slave ONT

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107517502A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 A kind of cut-in method, equipment and system
CN109845381A (en) * 2016-10-21 2019-06-04 佳能株式会社 In wireless network under multi-user EDCA transmission mode AC Strengthening Management
CN106572489A (en) * 2016-11-03 2017-04-19 西北工业大学 Access and transmission method based on multi-BSS association
CN110278558A (en) * 2019-07-25 2019-09-24 迈普通信技术股份有限公司 The exchange method and wlan system of message
CN110809203A (en) * 2019-10-15 2020-02-18 四川天邑康和通信股份有限公司 System and method for expanding FTTH network by master-slave ONT

Similar Documents

Publication Publication Date Title
US8923146B2 (en) Channel reservation procedure
CN102474883B (en) In half random back method of wireless local network resource reservation
CN108401277B (en) Wireless network access method and device, and terminal device
CN101848542B (en) Method for transmitting real-time data and non-real time data by Ad Hoc web radio station
CN111181753B (en) Dynamic bandwidth allocation method and related equipment
US10693618B2 (en) Multiplexed messaging in wireless network
CN101682531A (en) Method and apparatus for media access in contention-based networks
CN103517343A (en) Resource pre-scheduling method for device-to-device (D2D) communication system working under industrial scientific media (ISM) frequency bands
WO2017028044A1 (en) Method for reducing resource conflicts, and ue
CN106559843B (en) A method of supporting a variety of QoS in the operation for listening to before session
CN101682559A (en) Method and apparatus for media access in contention-based networks
CN114698068B (en) Service transmission method, device and system
CN102130705B (en) WLAN (Wireless Local Area Network) MESH communication method and device based on fast frequency hopping
US20240032089A1 (en) Communication apparatus and communication method for prioritized traffic
US10051566B2 (en) System and method for data communication in a decentralized and power efficient manner
CN109644502B (en) Point-to-multipoint channel allocation method, device and system
JP6556268B2 (en) Competing transmission method and apparatus, program, and recording medium
Tuysuz et al. A beacon-based collision-free channel access scheme for IEEE 802.11 WLANs
CN114584216A (en) Parameter configuration method and device for wireless local area network
CN116489010A (en) Method and device for sending configuration information, storage medium and electronic device
CN116684981A (en) Scheduling method, system and device
CN115529650B (en) Method, device, system and medium for terminal discovery and connection to access equipment
CN116192305B (en) Channel access method, communication device, chip, storage medium and program product
WO2024067029A1 (en) Parameter selection method and apparatus for random access
KR101931370B1 (en) Method and apparatus for controlling group based concurrent transmission in visible light communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination