Disclosure of Invention
The SME of the terminal can require the MAC layer management entity MLME to perform advanced scanning on the logical AP that may be accessed later, so that the terminal can make decisions in advance, and can access to other logical APs to perform data transmission more quickly when the scene such as the position change, the network quality degradation, the network load balancing is required to occur, and the like. Because a physical multi-link access device does not only operate one logical AP in a multi-link scenario, multiple logical APs can simultaneously provide higher-rate and lower-delay data transmission services for terminals that also support multi-links, however, the existing scanning mechanism cannot support identification and reporting of the multi-link access device, so that the terminals cannot obtain better services. In view of this, the embodiments of the present application provide a method, a terminal, and a storage medium for scanning and synchronizing a wireless local area network, so that the terminal can obtain related information of multiple links by configuring a scanning request, and the related information is used for the terminal to subsequently select to join a multiple link access device to obtain a higher-rate and lower-delay data transmission service.
A BSS (basic service set ) is implemented by deploying one or more APs (access points), the identity BSSID of which is typically set to the MAC address of the AP.
In a first aspect, an embodiment of the present application provides a method for scanning a wireless local area network, including:
the high-level management unit sends an MLME-SCAN.request primitive to the low-level management unit to request the low-level management unit to perform scanning operation;
after receiving the MLME-SCAN request primitive, the low-level management unit executes scanning operation;
after the scanning of the low-level management unit is finished, the detected logic AP information is sent to a Gao Cengguan processing unit through an MLME-SCAN.confirm primitive, the MLME-SCAN.confirm primitive comprises a parameter BSSDescriptionSet, the BSSDescriptionSet comprises one or more BSSDescription information elements, when a local parameter dot11 EHTOptionrealized indicates that the terminal supports EHT system capability or indicates that the terminal supports EHT system capability and enables, and the terminal reads EHT capabilities information in a beacon message or a probe response message of the scanned logic AP, the BSSDescription comprises EHT capabilities parameters, and the EHT capabilities parameters are used for indicating EHT system capability parameters of access equipment; when the local parameter dot11 ehtopperiod implemented indicates that the terminal supports EHT system capability or indicates that the terminal supports EHT system capability and enables the EHT system capability, and the terminal reads EHT operation information in a beacon message or a probe response message of the scanned logical AP, the BSSDescription includes an EHT operation parameter, where the EHT operation parameter is used to indicate an EHT system operation parameter of the access device.
In one possible implementation, when the local parameter dot11 multi-link operation performed indicates that the terminal supports the multi-link operation capability or indicates that the terminal supports the multi-link operation capability and starts the operation, or when the local parameter dot11 ehtopperiod performed indicates that the terminal supports the EHT system capability or indicates that the terminal supports the EHT system capability and enables, and the dot11 multi-link operation performed indicates that the terminal supports the multi-link operation capability or indicates that the terminal supports the multi-link operation capability and starts the operation, and the terminal reads ML Elements information in a beacon message or a probe response message of the scanned logical AP, the bssdescript further includes parameters ML Elements, where ML Elements are used to indicate the multi-link parameters of the access device. Optionally, the parameters ML Elements may also be included in the EHT capabilities parameters or EHT operation parameters. Still further, a parameter ML Elements may be included in the MAC capabilities of the EHT capabilities parameters, and the Multi link support is included in the ML Elements. When parameters ML Elements are included in EHT operation parameters, parameters Align start time of PPDU and Align end time of PPDU in EHT operation parameters may be included in ML Elements.
In a second aspect, an embodiment of the present application provides a method for synchronizing a wireless local area network, including:
scanning according to the method for scanning a wireless local area network of the first aspect;
the high-level management unit sends an MLME-JOIN.request primitive to the low-level management unit, wherein the MLME-JOIN.request primitive comprises a parameter SelectdBSS, and the SelectdBSS is used for indicating specified logic AP information; when the local parameter dot11 EHTOptionrealized indicates that the terminal supports the EHT system capability or indicates that the terminal supports the EHT system capability and is enabled, the MLME-JOIN. Request primitive also contains parameters STA-EHT Capabilities, and the STA-EHT Capabilities are used for indicating the EHT system capability parameters of the terminal;
after receiving the MLME-JOIN.request primitive, the low-level management unit executes synchronous operation;
the lower layer management unit sends an MLME-join. Confirm primitive to the Gao Cengguan management unit, where the MLME-join. Confirm primitive contains a parameter ResultCode, where the ResultCode is used to indicate the result of synchronization.
In a third aspect, embodiments of the present application provide a terminal comprising a high-level management unit and a low-level management unit, wherein,
the high-level management unit is used for sending an MLME-SCAN.request primitive to the low-level management unit and requesting the low-level management unit to perform scanning operation;
The low-level management unit is used for executing scanning operation after receiving the MLME-SCAN.request primitive; after scanning is completed, the detected logic AP information is sent to a Gao Cengguan processing unit through an MLME-SCAN. Confirm primitive, wherein the MLME-SCAN. Confirm primitive comprises a parameter BSSDescriptionSet, the BSSDescriptionSet comprises one or more BSSDescription information elements, when a local parameter dot11 EHTOptionImmunication indicates that the terminal supports EHT system capability or indicates that the terminal supports EHT system capability and enables, and the terminal reads EHT capabilities information in a beacon message or a probe response message of the scanned logic AP, the BSSDescription comprises EHT capabilities parameters, and the EHT capabilities parameters are used for indicating EHT system capability parameters of access equipment; when the local parameter dot11 ehtopperiod implemented indicates that the terminal supports EHT system capability or indicates that the terminal supports EHT system capability and enables the EHT system capability, and the terminal reads EHT operation information in a beacon message or a probe response message of the scanned logical AP, the BSSDescription includes an EHT operation parameter, where the EHT operation parameter is used to indicate an EHT system operation parameter of the access device.
In a fourth aspect, an embodiment of the present application provides a terminal, where the terminal includes a high-level management unit and a low-level management unit, and the terminal performs scanning according to the method for scanning a wireless local area network in the first aspect; wherein,,
a high-level management unit, configured to send an MLME-join.request primitive to a low-level management unit, where the MLME-join.request primitive includes a parameter SelectedBSS, and the SelectedBSS is configured to indicate specified logical AP information; when the local parameter dot11 EHTOptionrealized indicates that the terminal supports the EHT system capability or indicates that the terminal supports the EHT system capability and is enabled, the MLME-JOIN. Request primitive also contains parameters STA-EHT Capabilities, and the STA-EHT Capabilities are used for indicating the EHT system capability parameters of the terminal;
the lower layer management unit is used for executing synchronous operation after receiving the MLME-JOIN.request primitive; the MLME-JOIN. Confirm primitive is sent to Gao Cengguan processing unit, which contains parameter ResultCode for indicating the result of synchronization.
In a fifth aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement a method for scanning a wireless local area network according to the first aspect or a method for synchronizing a wireless local area network according to the second aspect.
In a sixth aspect, an embodiment of the present application provides a storage medium, where at least one program code is stored, where the at least one program code is loaded and executed by a processor, to implement a method for scanning a wireless local area network according to the first aspect or a method for synchronizing a wireless local area network according to the second aspect.
It should be noted that, the terminal according to the third aspect is configured to perform the method provided in the first aspect, the terminal according to the fourth aspect is configured to perform the method provided in the second aspect, and the terminal according to the fifth aspect and the storage medium according to the sixth aspect are configured to perform the method provided in the first aspect or the second aspect, so that the same advantages as those of the method provided in the first aspect or the second aspect can be achieved, and embodiments of the present application will not be described in detail.
The beneficial effects are that: when a multi-link terminal runs a plurality of logic STAs, each STA is required to execute the processes of scanning and synchronizing according to the prior art, and through the implementation of the method, the information of a plurality of links can be acquired through a single STA, so that the signaling delay of the multi-link terminal for establishing the multi-link connection is reduced, the signaling overhead of the multi-link terminal for establishing the connection is reduced, and the throughput of network effective data is improved.
Detailed Description
In order to better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, shall fall within the scope of the present application. Furthermore, while the disclosure has been presented in terms of an exemplary embodiment or embodiments, it should be understood that various aspects of the disclosure can be practiced separately from the disclosure in a complete subject matter. The following embodiments and features of the embodiments may be combined with each other without conflict.
In the embodiments of the present application, words such as "exemplary," "for example," and the like are used to indicate by way of example, illustration, or description. Any embodiment or design described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, the term use of an example is intended to present concepts in a concrete fashion.
Unless otherwise defined, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "first," "second," and the like, as used herein, do not denote any order, quantity, or importance, but rather are used to distinguish one from another, and the corresponding terms may or may not have the same meaning. The word "comprising" or "comprises", and the like, means that elements or items preceding the word are included in the element or item listed after the word and equivalents thereof, but does not exclude other elements or items.
In the embodiment of the application, the terminal device and the access device both include a low-level management unit and a high-level management unit, where the low-level management unit is a unit for managing and controlling data transmission of the device, such as MLME and PLME, and the high-level management unit is a unit for managing services or applications of the device, such as a device management unit SME and an application management unit AME (application management entity).
It should be noted that the multi-link device includes a plurality of logic entities, each logic entity performs data transmission through a link, and each logic entity includes an independent data transceiver module. A conventional single link device has only one logical entity and only one MAC address, while a multi-link device has one MAC address for each logical entity affiliated to the multi-link device, e.g., a multi-link device operates with 3 logical entities, then there are four MAC addresses on this physical device, one for the multi-link device and one for each of the three logical entities. In this embodiment of the present application, the logical AP is a logical entity in the access device, and the logical STA is a logical entity in the terminal.
In the embodiment of the application, the method for scanning and synchronizing the wireless local area network comprises the following steps:
1. the current device sets the value of parameter dot11 ehtopperiod implemented to true locally if EHT system capabilities are supported and enabled, and sets the value of parameter dot11 ehtopperiod implemented to false locally if EHT system capabilities are supported by the device and not enabled.
Or, if the current device supports EHT capability, the parameter dot11 ehtopperiod implemented is set locally to true.
2. If the current device supports the EHT system capability, and has the multilink operation capability and starts the operation, namely when the dot11 EHTOptionrealized is true, the parameter dot11 multilinkOptionrealized is locally set, and the value of the parameter dot11 multilinkOptionrealized is set to true; if the multi-link operation capability is available and the operation is closed, setting a parameter dot11 multi-link operation implemented with a value of false;
or alternatively, the first and second heat exchangers may be,
if the current device supports the multilink operation capability, the parameter dot11multilink operation implemented is set locally, and the value is set to true.
The SME sends an MLME-SCAN. Request primitive to the MLME requesting the MLME to perform a scanning operation, the primitive containing the following parameters:
BSSType: the type of basic service set may be set to IBSS (independent BSS), or MBSS (Mesh BSS), or PBSS (personal BSS), or VBSS (Virtual BSS), for example;
BSSID: a specified BSSID or wild card of a BSSID;
SSID: an SSID or wild card of an SSID that it is desired to scan;
ScanType: active scanning or passive scanning;
probe delay: in the active scanning, a delay time of a probe request frame is transmitted;
ChannelList: the channel to be measured during scanning;
MinChannelTime: the minimum time required to scan the channel;
MaxChannelTime: the maximum time required to scan the channel;
RequestInformation: the information that needs to be acquired.
After the MLME receives the MLME-SCAN.request primitive, the MLME starts scanning.
After the MLME scanning is completed, the detected logical AP information is sent to the SME through the primitive MLME-scan.
BSSDescriptionSet: the scanning result comprises one or more BSSDescription information elements;
the BSSDescription information element contains parameters such as table 1 or table 2.
TABLE 1
TABLE 2
When the dot11 ehtopperiod implemented value is true, and the terminal reads EHT Capabilities information in the probe message or probe response message of the scanned logical AP, the BSSDescription includes an EHT Capabilities parameter, and an EHT Capabilities parameter setting example is shown in table 3.
TABLE 3 Table 3
| MAC Capability | PHY Capability |
MAC Capability: MAC layer capabilities of EHT systems;
PHY Capability: physical layer capabilities of the EHT system;
illustratively, MAC Capability contains one or more of the parameters shown in table 4.
TABLE 4 Table 4
PHY Capability contains one or more of the parameters shown in table 5.
TABLE 5
When the dot11 ehtopperiod implemented value is true, and the terminal reads EHT operation information in the beacon message or the probe response message of the scanned logical AP, the BSSDescription includes an EHT operation parameter, and the EHT operation parameter includes one or more parameters shown in table 6.
TABLE 6
When the dot11MultilinkOptionImplemented value is true, or when the dot11EHTOptionImplemented value is true and the dot11MultilinkOptionImplemented value is true, and the terminal reads ML Elements information in the scanned beacon message or probe response message of the logical AP, including ML Elements parameters, the ML Elements parameter settings are shown in Table 7, for example.
TABLE 7
| MLD common info | STA info 1 | STA info n |
MLD common info: indicating a multilink common parameter of the access device;
STA info 1-STA info n: a proprietary parameter indicating a single logical AP in the access device, 1-n representing that there may be one or more logical APs, the parameter n being determined by the number of logical APs actually operated by the access device;
The STA info 1-n parameters may be set as shown in table 8.
TABLE 8
| Link ID | STA Capability | STA operation |
Link ID: an identification indicating a link on which the logical AP operates;
STA Capability: indicating a capability parameter specific to the logical AP;
STA operation: indicating operating parameters specific to the logical AP.
After the SME receives the MLME-SCAN. Confirm primitive, the BSSDescription information in the BSSDescription set parameter is stored locally.
When the current signal quality is reduced or the current signal is lost or the current network is overloaded, reading logic AP information matched with the network capacity in the locally stored BSSDescription according to the locally stored capacity parameter, taking logic APs capable of meeting the capacity of all terminals as candidate logic APs, measuring the candidate logic APs, sequencing the measurement signals, selecting the logic AP with the best signal quality, comparing the logic APs with a preset connection threshold value T1, sending an MLME-JOIN request primitive to the MLME if the logic AP with the best signal quality is higher than the threshold value, taking other logic APs as candidate logic APs, measuring the logic APs, sequencing the measurement signals, selecting the logic AP with the best signal quality, comparing the logic AP with the preset connection threshold value T1, sending the MLME-JOIN request primitive to the MLME if the logic AP with the best signal quality is lower than the connection threshold value T1, and maintaining the current connection if the logic AP with the best signal quality is lower than the connection threshold value T1.
The sme sends an MLME-join.request primitive to the MLME, the MLME-join.request primitive containing parameters:
SelectedBSS: specified logical AP information, the logical AP being selected by the SME from BSSDescription in the received MLME-SCAN. Confirm primitive;
JoinFailureTimeout: the maximum time allowed by the process of adding the terminal to the logic AP is taken as a unit of a beacon transmission interval of the logic AP;
navsmdel: a delay time allowed for transmission from the sleep state to the awake state;
operational RateSet: the terminal and the logic AP communicate data rates which can be supported;
EHT Capabilities: when the dot11 ehtopperiod implemented is true, the parameter is included, and the parameter is used for indicating the EHT system capability parameter of the terminal, and the parameter item is the same as the EHT capabilities parameter acquired from the access device in step 4.
After the MLME receives the MLME-JOIN. Request primitive, the operation may be performed in one of the following ways:
1) After timing synchronization is completed with a logic AP designated in the received primitive, setting a parameter ResultCode as SUCCESS, setting the parameter ResultCode as JOIN_FAILURE_TIMEOUT if synchronization is not completed at JoinFailureTimeout time, and sending an MLME-JOIN_confirm primitive to the SME;
2) If the SelectdBSS in the primitive contains a plurality of logic APs and the contained logic APs are all affiliated to the same multi-link access device, carrying out timing synchronization with the logic APs appointed in the received primitive, setting a parameter ResultCode as SUCCESS after the synchronization is completed, sending an MLME-JOIN. Confirm primitive to the SME, and if the SelectdBSS in the primitive contains a plurality of logic APs and the contained logic APs are affiliated to different multi-link access devices, setting the parameter ResultCode as NOT_SUPPORED and sending the MLME-JOIN. Confirm primitive to the SME;
3) If the MLME receives the parameter SelectedBSS in the MLME-JOIN. Request primitive containing the parameter Basic EHT-MCS and NSS set, in which if a < EHT-MCS, NSS > tuple is contained that is NOT SUPPORTED by any terminal and that is used to describe the number of spatial streams and the modulation and demodulation policies SUPPORTED by the STA, the ResultCode parameter value is set to not_supported, or join_FAILURE_timeout, in the MLME-JOIN. Confirm primitive.
The MLME-join. Confirm primitive contains parameters:
ResultCode: the result of the synchronization is indicated, for example, with a value set to SUCCESS indicating that the synchronization was successful, with a value set to JOIN _ FAILURE _ TIMEOUT indicating that the synchronization was failed, and with a value set to NOT _ SUPPORTED indicating that the terminal cannot fully support the operating parameters of the access device.
In some embodiments, the parameters ML Elements in BSSDescription are contained in the parameters EHT capabilities or parameters EHT operations, with the following possible ways:
1) Contained in the EHT capabilities parameters, the EHT capabilities parameter settings are shown in table 9, for example.
TABLE 9
| MAC Capability | PHY Capability | ML Elements |
2) The parameters included in the MAC capabilities included in the subparameter MAC capabilities of the EHT capabilities parameters are shown in table 10.
Table 10
3) The EHT operation parameter is included in an EHT operation parameter setting example in table 11.
TABLE 11
4) Parameters related to multilink capability in ML elements are included in EHT capabilities parameters, and parameters related to multilink operation in ML elements are included in EHT operation parameters.
5) Parameters related to multilink Capability in ML elements are included in the MAC Capability parameters, and parameters related to multilink operation in ML elements are included in the EHT operation parameters.
The embodiment of the application also provides a terminal, which comprises a high-level management unit and a low-level management unit, wherein,
the high-level management unit is used for sending an MLME-SCAN.request primitive to the low-level management unit and requesting the low-level management unit to perform scanning operation;
The low-level management unit is used for executing scanning operation after receiving the MLME-SCAN.request primitive; after scanning is completed, the detected BSS information is sent to a Gao Cengguan processing unit through an MLME-SCAN.confirm primitive, wherein the MLME-SCAN.confirm primitive comprises parameters BSSDescriptionSet, the BSSDescriptionSet comprises one or more BSSDescription information elements, when a local parameter dot11 EHTOptionImmunication indicates that the terminal supports EHT system capability or indicates that the terminal supports EHT system capability and enables, and the terminal reads EHT capabilities information in a beacon message or a probe response message of a scanned logical AP, the BSSDescription comprises EHT capabilities parameters, and the EHT capabilities parameters are used for indicating EHT system capability parameters of access equipment; when the local parameter dot11 ehtopperiod implemented indicates that the terminal supports EHT system capability or indicates that the terminal supports EHT system capability and enables the EHT system capability, and the terminal reads EHT operation information in a beacon message or a probe response message of the scanned logical AP, the BSSDescription includes an EHT operation parameter, where the EHT operation parameter is used to indicate an EHT system operation parameter of the access device.
The embodiment of the application also provides a terminal, which comprises a high-level management unit and a low-level management unit, wherein the terminal scans according to the wireless local area network scanning method related to the embodiment; wherein,,
a high-level management unit, configured to send an MLME-join.request primitive to a low-level management unit, where the MLME-join.request primitive includes a parameter SelectedBSS, and the SelectedBSS is configured to indicate specified logical AP information; when the local parameter dot11 EHTOptionrealized indicates that the terminal supports the EHT system capability or indicates that the terminal supports the EHT system capability and is enabled, the MLME-JOIN. Request primitive also contains parameters STA-EHT Capabilities, and the STA-EHT Capabilities are used for indicating the EHT system capability parameters of the terminal;
the lower layer management unit is used for executing synchronous operation after receiving the MLME-JOIN.request primitive; the MLME-JOIN. Confirm primitive is sent to Gao Cengguan processing unit, which contains parameter ResultCode for indicating the result of synchronization.
The embodiment of the application also provides a terminal, which comprises a processor and a memory, wherein at least one program code is stored in the memory, and the at least one program code is loaded and executed by the processor to realize the method for scanning and synchronizing the wireless local area network related to the embodiment.
The embodiment of the application also provides a storage medium, wherein at least one program code is stored in the storage medium, and the at least one program code is loaded and executed by a processor to realize the method for scanning and synchronizing the wireless local area network according to the embodiment.
It should be understood that, in various embodiments of the present application, the sequence number of each process does not mean that the sequence of execution is sequential, and some or all of the steps may be executed in parallel or sequentially, where the execution sequence of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device or a terminal device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: u disk, removable hard disk, ROM, RAM) disk or optical disk, etc.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items. The character "/" herein generally indicates that the associated object is an "or" relationship.
The word "if" or "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to detection", depending on the context. Similarly, the phrase "if determined" or "if detected (stated condition or event)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event)" or "in response to detection (stated condition or event), depending on the context.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.