Roaming decision-making method, communication node, and storage medium
Through the negotiation of the roaming decision-maker, the AP and STA choose one to start the roaming function and algorithm, which solves the resource waste problem caused by the difference in roaming algorithms between AP and STA in the wireless LAN, and achieves effective roaming guidance and link optimization.
Patent Information
- Application Number
- PCT/CN2024/079294
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-02
- Filing Date
- 2024-02-29
- Publication Date
- 2024-09-06
AI Technical Summary
In a wireless LAN, when the roaming algorithms of the AP and STA take effect at the same time and are different, it results in invalid roaming interactions and resource waste.
The roaming decision-maker is determined through negotiation between the roaming decision-makers, and roaming functions and algorithms are enabled or disabled based on the negotiation results to prevent the AP and STA roaming algorithms from taking effect at the same time. Select one to start the roaming function and algorithm to achieve roaming guidance and save air interface and algorithm running resources. .
Effectively avoid invalid roaming interactions and resource waste, and optimize link quality and user experience.
Smart Images

Figure CN2024079294_06092024_PF_FP
Abstract
Description
Roaming decision method, communication node and storage medium
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 2, 2023, with application number 202310244643.X. The entire contents of the above application are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of wireless local area networks, and in particular to a roaming decision method, a communication node, and a storage medium. Background Art
[0003] In wireless LANs, when link quality degrades for STAs (stations) within a basic service set (BSS) due to factors such as spatial mobility or interference, guiding the STA to roam between different BSSs within the same extended service set (ESS) can optimize link quality and enhance the user experience. Common roaming technologies in the IEEE 802.11 series, such as 802.11v's BTM (BSS transition management) and 802.11r's FT (fast BSS transition), are triggered by access points (APs) to guide STAs to their target BSSs. In commercial scenarios, mainstream terminal manufacturers do not rely on AP roaming guidance, preferring to trust their own roaming algorithms to make roaming decisions.
[0004] However, when the roaming algorithms on both the AP and STA are in effect simultaneously and their roaming decisions differ, invalid roaming interactions can occur. For example, the AP may determine that the STA needs to roam and guide it to the target BSS through a BTM request. However, the STA may determine that the current STA does not need to roam and typically reject the roaming request in the BTM response. Subsequently, the AP may repeatedly initiate the same roaming guidance request. These discrepancies in roaming decisions caused by algorithmic differences can lead to multiple invalid roaming interactions, wasting both AP roaming algorithm resources and air interface resources.
[0005] Summary of the Invention
[0006] The present application provides a roaming decision method, a communication node, and a storage medium to solve the problem of resource waste caused when AP and STA roaming algorithms are simultaneously effective and have differences.
[0007] To achieve the above objectives, an embodiment of the present application provides a roaming decision method, which is applied to an access point (AP), including:
[0008] determining a roaming decision maker according to a roaming decision maker negotiation, and determining a state of its own first roaming function and algorithm according to the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information;
[0009] When the state of the first roaming function and algorithm is enabled, starting the first roaming function and algorithm of the mobile terminal;
[0010] When the state of the first roaming function and algorithm is disabled, the first roaming function and algorithm are disabled.
[0011] To achieve the above objectives, an embodiment of the present application provides another roaming decision method, which is applied to a STA and includes:
[0012] determining a roaming decision maker according to a roaming decision maker negotiation, and determining a state of its own second roaming function and algorithm according to the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information;
[0013] When the state of the second roaming function and algorithm is enabled, starting the second roaming function and algorithm of the mobile terminal;
[0014] When the state of the second roaming function and algorithm is disabled, the second roaming function and algorithm are disabled.
[0015] To achieve the above-mentioned purpose, an embodiment of the present application provides a communication node, comprising: a memory, a processor, a program stored on the memory and executable on the processor, and a data bus for realizing connection communication between the processor and the memory. When the program is executed by the processor, the steps of the roaming decision method as described in any one of the embodiments of the present application are implemented.
[0016] To achieve the above-mentioned objectives, an embodiment of the present application provides a storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the roaming decision method described in any one of the embodiments of the present application.
[0017] In the roaming decision-making method, communication node, and storage medium provided by the embodiments of the present application, an AP determines a roaming decision-maker through negotiation with a STA's roaming decision-maker. The roaming decision-maker negotiation includes negotiating roaming decision-maker information, determining the roaming decision-maker based on the negotiated roaming decision-maker information, and determining the state of the AP's own first roaming function and algorithm based on the roaming decision-maker. When the first roaming function and algorithm are enabled, the AP activates the first roaming function and algorithm, making roaming decisions and guiding STAs to roam using the first roaming function and algorithm. When the first roaming function and algorithm are disabled, the AP deactivates the first roaming function and algorithm, allowing the STA to make roaming decisions and guide roaming. Determining the roaming decision-maker through negotiation avoids resource waste caused by the simultaneous and divergent roaming algorithms of the AP and STA. By negotiating between the AP and STA, a roaming function and algorithm is selected to be activated, thereby implementing roaming guidance. This avoids ineffective roaming interactions, conserves air interface resources, and conserves roaming algorithm execution resources.
[0018] With respect to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] FIG1 is a diagram illustrating an example of AP switching according to an embodiment;
[0020] FIG2 is a flow chart of a roaming decision method provided by an embodiment;
[0021] FIG3 is a schematic diagram of a frame structure of roaming decision-maker information provided by an embodiment;
[0022] FIG4 is a schematic diagram of a frame structure of a first roaming decision-maker selection request frame provided by an embodiment;
[0023] FIG5 is a schematic diagram of a frame structure of a first roaming decision-maker selection response frame provided by an embodiment;
[0024] FIG6 is a flowchart of another roaming decision method provided by an embodiment;
[0025] FIG7 is a diagram illustrating an implementation example of roaming decision-making party negotiation through beacon frames and probe response frames, provided by an embodiment;
[0026] FIG8 is a diagram illustrating an implementation example of an AP receiving a request for roaming decision-maker information from a STA, provided by an embodiment;
[0027] FIG9 is a diagram illustrating an implementation example of an AP rejecting a STA's request for roaming decision-maker information, provided by an embodiment;
[0028] FIG10 is a diagram illustrating an implementation example of roaming decision-making party negotiation during communication between an AP and a STA, provided by an embodiment;
[0029] FIG11 is a schematic structural diagram of a roaming decision-making device provided by an embodiment;
[0030] FIG12 is a schematic structural diagram of a roaming decision-making device provided by an embodiment;
[0031] FIG13 is a schematic structural diagram of a communication node provided by an embodiment. DETAILED DESCRIPTION
[0032] To make the purpose, technical solutions and advantages of this application more clear, the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of this application can be combined with each other in any way.
[0033] In Wi-Fi coverage scenarios, it's often necessary to use multiple APs with the same Service Set Identifier (SSID) to enhance coverage. As a terminal moves within a coverage area, the signal from the previously connected AP may weaken with increasing distance, while the signal from another AP may strengthen with decreasing distance. Upon reaching a certain location, switching the connection to a new AP can achieve better access speeds. Figure 1 illustrates an example of AP switching, provided by one embodiment. A terminal switches from AP1 to AP2 as it moves rightward. Terminal roaming can be performed in two ways: active and passive. Method 1: STA-initiated roaming. When a terminal detects a stronger beacon frame signal and the same SSID as the currently connected SSID, it actively sends a probe request frame to detect APs with the same SSID and selects the preferred AP for association. Method 2: AP-directed roaming. The AP sends a BSS Transition Management Request message using an ACTION frame, providing candidate APs for switching. Upon receiving the BSS Transition Management Response message, the terminal disassociates with the original AP and reassociates with the target AP. When the roaming algorithms of the AP and STA are in effect at the same time, if there are differences in roaming decisions, it will lead to invalid roaming interactions and resource waste. To solve the above problems, this application provides a roaming decision method that can effectively avoid invalid roaming interactions and resource waste.
[0034] FIG2 is a flowchart of a roaming decision method provided by an embodiment. As shown in FIG2 , the roaming decision method according to an embodiment of the present application is applied to an AP. The method includes S110 to S130:
[0035] S110: Determine a roaming decision maker according to roaming decision maker negotiation, and determine a state of its own first roaming function and algorithm according to the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information.
[0036] In this embodiment, the roaming decision-maker can be understood as a controller that guides a STA to switch from one AP to another AP through a roaming algorithm. The roaming decision-maker in the embodiment of the present application is a STA or an AP. The first roaming function and algorithm can be understood as the roaming function and algorithm on the AP side, which can realize functions such as collecting information before roaming to determine whether to roam, selecting a target AP for roaming, and guiding the STA to roam and switch. The state of the first roaming function and algorithm in the embodiment of the present application can be divided into an enabled state and a disabled state.
[0037] The AP and the STA negotiate a roaming decision-maker. The roaming decision-maker negotiation can occur at any stage during the discovery phase, association phase, and communication phase between the AP and the STA. For example, the roaming decision-maker negotiation is performed during the discovery phase; the roaming decision-maker negotiation can be performed again during the association phase to modify the roaming decision-maker; and the roaming decision-maker negotiation can be performed at any time during the communication phase to modify the roaming decision-maker. The roaming decision-maker negotiation in the embodiment of the present application includes the negotiation of roaming decision-maker information. The roaming decision-maker information is negotiated during the roaming decision-maker negotiation process. After the negotiation, the AP can determine the roaming decision-maker based on the roaming decision-maker information. The roaming decision-maker information can be an identification ID of the AP or STA or other information that can uniquely identify the AP and the STA. After determining the roaming decision-maker, the AP determines the status of its own first roaming function and algorithm based on the roaming decision-maker. When the AP determines that the roaming decision-maker is itself, the AP determines that the state of its first roaming function and algorithm is enabled. When the AP determines that the roaming decision-maker is not itself (that is, the roaming decision-maker is a STA accessing this AP), the AP determines that the state of its first roaming function and algorithm is disabled.
[0038] It should be noted that the following S120 and S130 are two parallel steps and there is no order in which they are executed. In actual application, one of them can be executed at a time.
[0039] S120: When the first roaming function and algorithm are in an enabled state, start the first roaming function and algorithm of the device.
[0040] When the first roaming function and algorithm is enabled, the AP activates its own first roaming function and algorithm, enabling roaming between STAs and the AP. After activation, the first roaming function and algorithm can detect the link quality between the AP and STAs, promptly identifying poor link quality for handover. The first roaming function and algorithm can also detect APs with strong signals, select a suitable AP for handover, and guide STAs during roaming handover.
[0041] S130: When the first roaming function and algorithm are in a disabled state, disable the first roaming function and algorithm.
[0042] If the first roaming function and algorithm is disabled, the AP disables its own first roaming function and algorithm, and the first roaming function and algorithm do not work. In this case, if the STA's roaming function and algorithm are enabled, the STA's roaming function and algorithm can perform link detection and roaming guidance. If the STA's roaming function and algorithm are disabled, roaming guidance is not performed.
[0043] It should be noted that the AP in the embodiment of the present application can be connected to one or more STAs, and the roaming decision method provided in the embodiment of the present application is applied to an AP and any STA connected thereto, guiding the roaming of the STA through negotiation. The AP and any STA connected thereto can negotiate on the roaming decision side through the roaming decision method provided in the embodiment of the present application. For a STA, after the AP in the embodiment of the present application starts its own first roaming function and algorithm, the first roaming function and algorithm start working, detecting the link quality between the AP and this STA and guiding this STA to roam, etc.; when the AP turns off its own first roaming function and algorithm, it can be to only turn off the first roaming function and algorithm between the AP and this STA, that is, it does not affect the roaming decision relationship between the AP and other STAs, or it can be to turn off the first roaming function and algorithm between the AP and some or all STAs.
[0044] In the roaming decision method provided in the embodiment of the present application, the AP determines the roaming decision-maker through negotiation with the STA's roaming decision-maker, thereby avoiding the problem of resource waste caused by the simultaneous effectiveness and difference of the roaming algorithms of the AP and the STA. By negotiation, a roaming function and algorithm are selected between the AP and the STA to start roaming, thereby implementing roaming guidance, avoiding invalid roaming interactions, saving air interface resources, and also saving roaming algorithm operation resources.
[0045] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0046] During the discovery process between the access point AP and the workstation STA, a beacon frame is generated and sent to the STA. The beacon frame carries roaming decision-maker information.
[0047] In this embodiment, the beacon frame is a beacon frame. During the discovery process between the AP and the STA, the AP may generate and transmit a beacon frame. When generating the beacon frame, the beacon frame carries roaming decision-maker information. In this embodiment of the present application, default roaming decision-maker information may be pre-set and carried in the beacon frame. The default roaming decision-maker information may be the AP.
[0048] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0049] During the discovery process between the AP and the STA, the AP receives the probe request frame sent by the STA.
[0050] Generates a probe response frame and sends it to the STA. The probe response frame carries the roaming decision-maker information.
[0051] In this embodiment, the probe request frame is a Probe Request frame, and the probe response frame is a Probe Response frame. During the discovery process between the AP and the STA, the STA can generate and send a probe request frame to detect the AP and select an AP with better quality for associated access. After receiving the probe request frame sent by the STA, the AP generates and feeds back a probe response frame to the STA. When generating the probe response frame, the probe response frame carries roaming decision-maker information. In this embodiment of the present application, default roaming decision-maker information can be pre-set and carried in the probe response frame. The default roaming decision-maker information can be the AP.
[0052] The embodiment of the present application can add element information on the basis of the original frame structure of the beacon frame and the probe response frame, so that the beacon frame and the probe response frame carry the roaming decision-maker information, and then negotiate the roaming decision-maker during the discovery process between the AP and the STA.
[0053] Figure 3 is a schematic diagram of a frame structure of roaming decision-maker information provided by an embodiment. As shown in Figure 3, the roaming decision-maker information Roaming Controller element includes an information identifier (Element ID), a length (Length), and a roaming decision-maker (Roaming Controller). The Roaming Controller length is 1 bit, set to 0 to indicate an AP, and set to 1 to indicate an STA; the default setting is 0, indicating that the roaming decision-maker is an AP.
[0054] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0055] During the association process between the AP and the STA, the AP receives the association request frame sent by the STA, which contains the roaming decision-maker information;
[0056] Upon accepting the STA's request for roaming decision-maker information, generating a first association response frame and feeding it back to the STA, wherein the first association response frame includes association information, but the association information does not include roaming decision-maker information;
[0057] In the case of rejecting the STA's request for the roaming decision-maker information, a second association response frame is generated and fed back to the STA, where the second association response frame includes the roaming decision-maker information.
[0058] In this embodiment, the association request frame is an Association Request frame; the first association response frame can be understood as an Association Response frame, i.e., an Association Response frame. The first Association Response frame in this embodiment is generated when the AP receives a request for roaming decision-maker information from a STA; the association information can be understood as information used during the association process between the AP and the STA, used to implement the association between the AP and the STA. The association information may include information such as whether the STA is allowed to join the AP. The association information in this embodiment does not include roaming decision-maker information, i.e., the first Association Response frame does not carry roaming decision-maker information. The second Association Response frame can be understood as an Association Response frame. The second Association Response frame is generated when the AP rejects the STA's request for roaming decision-maker information. In this embodiment, the first Association Response frame and the second Association Response frame are both Association Response frames, but carry different information. The first Association Response frame does not carry roaming decision-maker information and is used to instruct the AP to receive the STA's request for roaming decision-maker information. The second Association Response frame carries roaming decision-maker information and is used to instruct the AP to reject the STA's request for roaming decision-maker information.
[0059] During the association process between an AP and a STA, the STA generates and sends an association request frame to request to join the AP. During this process, the STA may negotiate with the AP for a roaming decision-maker. Therefore, the STA may include roaming decision-maker information in the association request frame. After receiving the association request frame sent by the STA, the AP parses the association request frame and determines that it contains roaming decision-maker information. At this point, the AP can determine that the STA requests to modify the roaming decision-maker information. When the AP receives the STA's request for roaming decision-maker information, that is, when the AP receives the STA's modification of the roaming decision-maker information, it generates a first association response frame that does not include the roaming decision-maker information and sends it back to the STA. After receiving the first association response frame, the STA determines that the modification of the roaming decision-maker information is successful and uses the roaming decision-maker information carried in the association request frame as the final negotiation result, i.e., the final roaming decision-maker information. The AP can also determine and record the final negotiation result, using the roaming decision-maker information carried in the association request frame as the final roaming decision-maker information. When the AP rejects the STA's request for roaming decision-maker information, that is, the AP rejects the STA's modification of the roaming decision-maker information, it generates a second association response frame including the roaming decision-maker information and feeds it back to the STA. After receiving the second association response frame, the STA may determine that the modification of the roaming decision-maker information has failed, and determine the roaming decision-maker information carried in the second association response frame as the final negotiation result, that is, the roaming decision-maker information that ultimately serves as the decision-maker.
[0060] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0061] During the communication process between the AP and the STA, the AP receives a first roaming decision-maker selection request frame sent by the STA, where the first roaming decision-maker selection request frame carries roaming decision-maker information;
[0062] A first roaming decision-maker selection response frame is generated and fed back to the STA. The first roaming decision-maker selection response frame carries first roaming decision-maker response information. The first roaming decision-maker response information is an acceptance request or a rejection request.
[0063] In this embodiment, the first roaming decision-maker selection request frame can be understood as a request by the STA to modify the negotiation request of the roaming decision-maker after the STA accesses the AP; the first roaming decision-maker selection response frame can be understood as the AP's response to the first roaming decision-maker selection request frame. Both the first roaming decision-maker selection request frame and the first roaming decision-maker selection response frame in the embodiment of the present application are management frames. The first roaming decision-maker response information can be understood as information responding to the STA's roaming decision-maker modification. The first roaming decision-maker response information can be an acceptance request or a rejection request. In the embodiment of the present application, the acceptance request and the rejection request can be indicated by 0 / 1, for example, 0 indicates an acceptance request and 1 indicates a rejection request.
[0064] After a STA accesses an AP, the two enter a communication phase. During this communication phase, the STA can negotiate with the AP to modify the roaming decision-maker. The STA generates and sends a first roaming decision-maker selection request frame to the AP. The first roaming decision-maker selection request frame carries roaming decision-maker information. The STA negotiates with the AP to modify the roaming decision-maker to the roaming decision-maker information carried in the first roaming decision-maker selection request frame. After receiving the first roaming decision-maker selection request frame sent by the STA, the AP determines that the STA requests to modify the roaming decision-maker information. The AP determines whether to accept the STA's modification of the roaming decision-maker information and generates a first roaming decision-maker selection response frame carrying first roaming decision-maker response information. The first roaming decision-maker response information indicates either an acceptance or rejection of the request. After receiving the first roaming decision-maker selection response frame, the STA parses the first roaming decision-maker response information to obtain the first roaming decision-maker response information. Based on the first roaming decision-maker response information, the AP determines whether the AP accepts the modification of the roaming decision-maker information.
[0065] In one embodiment, the roaming decision maker information is determined according to a first roaming decision maker selection response frame.
[0066] After generating the first roaming decision maker selection response frame, the AP determines the roaming decision maker information based on the first roaming decision maker response information in the first roaming decision maker selection response frame. If the first roaming decision maker response information indicates an acceptance request, the AP determines the roaming decision maker information carried in the first roaming decision maker selection request frame as the roaming decision maker information. If the first roaming decision maker response information indicates a rejection request, the AP does not modify the roaming decision maker information and retains the original roaming decision maker information.
[0067] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0068] During the communication process between the AP and the STA, a second roaming decision-maker selection request frame is generated and sent to the STA, where the second roaming decision-maker selection request frame carries roaming decision-maker information;
[0069] A second roaming decision-maker selection response frame fed back by the STA is received, where the second roaming decision-maker selection response frame carries second roaming decision-maker response information, where the second roaming decision-maker response information is an acceptance request or a rejection request.
[0070] In this embodiment, the second roaming decision-maker selection request frame can be understood as a negotiation request from the AP to modify the roaming decision-maker after the STA accesses the AP; the second roaming decision-maker selection response frame can be understood as the STA's response to the second roaming decision-maker selection request frame. The second roaming decision-maker selection request frame and the second roaming decision-maker selection response frame in the embodiment of the present application are both management frames. The second roaming decision-maker response information can be understood as the STA's response to the AP's roaming decision-maker modification. The second roaming decision-maker response information can be an acceptance request or a rejection request. The acceptance request and rejection request in the embodiment of the present application can also be indicated by 0 / 1, for example, 0 indicates an acceptance request and 1 indicates a rejection request.
[0071] After a STA accesses an AP, the two enter a communication phase. During this communication phase, the AP can negotiate with the STA to modify the roaming decision-maker. The AP generates and sends a second roaming decision-maker selection request frame to the STA, carrying roaming decision-maker information in the second roaming decision-maker selection request frame. The AP negotiates with the STA to modify the roaming decision-maker to the roaming decision-maker information carried in the second roaming decision-maker selection request frame. After the AP generates and sends the second roaming decision-maker selection request frame to the STA, the STA determines that the AP requests modification of the roaming decision-maker information. The STA determines whether to accept the AP's modification of the roaming decision-maker information and generates and sends back a second roaming decision-maker selection response frame carrying second roaming decision-maker response information to the AP. The second roaming decision-maker response information indicates either an acceptance or rejection of the request. After receiving the second roaming decision-maker selection response frame, the AP parses the second roaming decision-maker response information to obtain the second roaming decision-maker response information and determines whether the STA accepts the modification of the roaming decision-maker information based on the second roaming decision-maker response information.
[0072] In one embodiment, it further includes:
[0073] The roaming decision maker information is determined according to the second roaming decision maker selection response frame.
[0074] After receiving the second roaming decision maker selection response frame, the AP determines the roaming decision maker information based on the second roaming decision maker response information in the second roaming decision maker selection response frame. If the second roaming decision maker response information indicates an acceptance request, the AP determines the roaming decision maker information carried in the second roaming decision maker selection request frame as the roaming decision maker information. If the second roaming decision maker response information indicates a rejection request, the AP does not modify the roaming decision maker information and retains the original roaming decision maker information.
[0075] In the embodiment of the present application, the first roaming decision-maker selection request frame and the second roaming decision-maker selection request frame have the same frame structure, and both are roaming decision-maker selection request frames. Figure 4 is a schematic diagram of the frame structure of a first roaming decision-maker selection request frame provided in one embodiment. As shown in Figure 4, the first roaming decision-maker selection request frame includes different information (element types) and orders (orders). The information can be the following types of information: category, action, dialog token, and roaming controller element. The above information can be sorted in the order of 1, 2, 3, etc.
[0076] In the embodiment of the present application, the first roaming decision-maker selection response frame and the second roaming decision-maker selection response frame have the same frame structure, and both are roaming decision-maker selection response frames. Figure 5 is a schematic diagram of the frame structure of a first roaming decision-maker selection response frame provided by an embodiment. As shown in Figure 5, the first roaming decision-maker selection response frame includes different information (element types) and orders (orders); wherein, information can be the following types of information: category (category), action (identification), dialog token (session), status code (status code); the above information can be sorted in the order of 1, 2, 3, etc., wherein the status code is used to represent the first roaming decision-maker response information. If the status code is 0, it indicates that the request is accepted, and if the status code is 1, it indicates that the request is rejected.
[0077] In one embodiment, the first roaming function and algorithm includes at least one of the following: link quality information collection, roaming target selection, and roaming handover functions.
[0078] In this embodiment, link quality information collection can be used to collect quality information on the communication link between the AP and the STA. This link quality information can be used to determine whether to perform roaming handover. When link quality is poor, the AP can be switched promptly to ensure the STA's network quality. Roaming target selection can be used to select the target AP for the STA to access. This roaming target selection can select a target AP with better quality for the STA to access. The roaming handover function can enable the STA to switch from one AP to another. The first roaming function and algorithm in this embodiment include one or more of link quality information collection, roaming target selection, and roaming handover functions, implementing the STA's pre-roaming judgment function and roaming function.
[0079] The embodiment of the present application provides a specific negotiation process in the discovery process, association process, and communication process between the AP and the STA. During the discovery process, the STA and the AP can complete the roaming decision-maker negotiation by carrying the default roaming decision-maker information through a beacon frame or a probe response frame; in the subsequent association process, the STA can modify the roaming decision-maker information through an association request frame, and the AP responds to the STA's modification of the roaming decision-maker information through an association response frame, thereby realizing the roaming decision-maker negotiation between the STA and the AP during the association process; in the communication process after the association is completed, both the AP and the STA can negotiate the roaming decision-maker again through a roaming decision-maker selection request frame and a roaming decision-maker selection response frame to modify the roaming decision-maker information.
[0080] An embodiment of the present application provides a roaming decision method, which can perform roaming decision-making party negotiation during the discovery process, association process, and communication process between the AP and the STA, defines a frame structure for roaming decision-making party information, and adds element information to the existing beacon frame, probe response frame, association request frame, and association response frame, so that the beacon frame, probe response frame, association request frame, and association response frame can carry roaming decision-making party information, thereby completing the negotiation of the roaming decision-making party. The frame structures of the roaming decision-maker selection request frame and the roaming decision-maker selection response frame are defined, and roaming decision-maker negotiation is performed through the roaming decision-maker selection request frame and the roaming decision-maker selection response frame; the embodiment of the present application provides specific roaming decision-maker negotiation processes at different stages. The AP and STA can negotiate the roaming decision-maker through the implementation method provided by the embodiment of the present application to determine the roaming decision-maker, thereby avoiding the resource waste problem caused by the roaming algorithms of the AP and STA taking effect at the same time and having differences. Through negotiation, a roaming function and algorithm are selected between the AP and STA to start roaming guidance, thereby avoiding invalid roaming interactions and saving air interface resources. At the same time, turning off the roaming function and algorithm when not acting as a roaming decision-maker can save the operating resources of the roaming algorithm and avoid resource waste.
[0081] FIG6 is a flowchart of another roaming decision method provided by an embodiment. As shown in FIG6 , the roaming decision method described in this embodiment can be applied to the STA described in any embodiment of the present application. The method includes S210 - S230 .
[0082] S210: Determine a roaming decision maker according to a roaming decision maker negotiation, and determine a state of its own second roaming function and algorithm according to the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information.
[0083] In this embodiment, the second roaming function and algorithm can be understood as the roaming function and algorithm on the STA side, which can realize functions such as collecting information before roaming to determine whether to roam, selecting the target AP for roaming, and autonomously guiding roaming switching; the status of the second roaming function and algorithm in the embodiment of the present application can be divided into an enabled state and a disabled state.
[0084] In the embodiments of the present application, the STA can conduct roaming decision-maker negotiation with the AP. Roaming decision-maker negotiation can occur at any stage during the discovery, association, and communication phases between the AP and the STA. For example, roaming decision-maker negotiation can be conducted during the discovery phase; roaming decision-maker negotiation can be conducted again during the association phase to modify the roaming decision-maker; and roaming decision-maker negotiation can be conducted at any time during the communication phase to modify the roaming decision-maker. Roaming decision-maker negotiation in the embodiments of the present application includes negotiation of roaming decision-maker information. This negotiation is conducted during the roaming decision-maker negotiation process. After the negotiation, the STA can determine the roaming decision-maker based on the roaming decision-maker information. The roaming decision-maker information can be an identification ID of the AP or STA, or other information that can uniquely identify the AP and the STA. After determining the roaming decision-maker, the STA determines the status of its own secondary roaming function and algorithm based on the roaming decision-maker. When the STA determines that the roaming decision-maker is itself, the state of its second roaming function and algorithm is enabled. When the STA determines that the roaming decision-maker is not itself (that is, the roaming decision-maker is the AP to which the STA is connected), the state of its second roaming function and algorithm is disabled.
[0085] It can be seen that for a group of APs and STAs, if the roaming decision-maker is the AP after negotiation, the AP can determine that its first roaming function and algorithm are enabled. If the roaming decision-maker is the STA, the STA can determine that its second roaming function and algorithm are enabled. APs and STAs can only determine the status of their own roaming functions and algorithms and enable or disable them based on the negotiation results of the roaming decision-maker.
[0086] It should be noted that the following S220 and S230 are two parallel steps and have no particular order of execution. In actual applications, only one step can be executed.
[0087] S220: When the second roaming function and algorithm are in an enabled state, start the second roaming function and algorithm of the user.
[0088] When the second roaming function and algorithm is enabled, the STA activates its own second roaming function and algorithm to implement roaming between the STA and the AP. Once enabled, the second roaming function and algorithm can detect the link quality between the AP and the STA, promptly identifying poor link quality for handover. The second roaming function and algorithm can also detect APs with strong signals, select an appropriate AP for handover, and autonomously guide roaming handover.
[0089] S230: When the status of the second roaming function and algorithm is disabled, disable the second roaming function and algorithm of the device.
[0090] If the second roaming function and algorithm is disabled, the STA disables its own second roaming function and algorithm, and the second roaming function and algorithm do not work. In this case, if the AP's roaming function and algorithm are enabled, the AP's roaming function and algorithm can perform link detection and roaming guidance, preventing the STA from being rejected due to its own roaming algorithm. If the AP's roaming function and algorithm are disabled, no roaming guidance is performed.
[0091] In the roaming decision method provided in the embodiment of the present application, the STA determines the roaming decision-maker through negotiation with the roaming decision-maker of the AP, thereby avoiding the problem of resource waste caused by the roaming algorithms of the AP and STA being effective at the same time and having differences. Through negotiation, a roaming function and algorithm are selected between the AP and STA to start, thereby implementing roaming guidance, avoiding invalid roaming interactions, saving air interface resources, and also saving roaming algorithm operation resources.
[0092] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0093] During the discovery process between the AP and the STA, the beacon frame sent by the AP is received. The beacon frame carries the roaming decision-maker information.
[0094] During the discovery process between an AP and a STA, the AP generates a beacon frame and includes roaming decision-maker information in the frame. Upon receiving the beacon frame, the STA parses the frame to determine the roaming decision-maker information carried in the frame. This embodiment enables roaming decision-maker negotiation during the discovery process between the AP and STA. The STA can determine the roaming decision-maker based on the roaming decision-maker information carried in the beacon frame.
[0095] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0096] During the discovery process between the AP and the STA, a probe request frame is generated and sent to the AP;
[0097] Receive the probe response frame fed back by the AP, which carries the roaming decision-maker information.
[0098] During the discovery process between an AP and a STA, the STA can generate and send a probe request frame to the AP to detect the AP and select an AP with higher quality for association and access. After receiving the probe request frame from the STA, the AP generates a probe response frame carrying roaming decision-maker information and sends it back to the STA. After receiving the probe response frame, the STA can determine the roaming decision-maker information carried in the probe response frame by parsing it. This embodiment enables roaming decision-maker negotiation during the discovery process between the AP and STA. The STA can determine the roaming decision-maker based on the roaming decision-maker information carried in the probe response frame.
[0099] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0100] During the association process between the AP and the STA, an association request frame is generated and sent to the AP. The association request frame contains the roaming decision-maker information.
[0101] Receiving a first association response frame or a second association response frame fed back by the AP;
[0102] The first association response frame includes association information, which does not include roaming decision-maker information, and the second association response frame includes roaming decision-maker information.
[0103] During the association process between an AP and a STA, the STA requests to join the AP via an association request frame. During this process, the STA can negotiate a roaming decision-maker with the AP. Therefore, when generating an association request frame, the STA includes roaming decision-maker information in the frame, requesting that the roaming decision-maker information be modified. After receiving the association request frame, the AP determines that the STA requests to modify the roaming decision-maker information. Upon receiving the modification, the AP generates a first association response frame, which does not include the roaming decision-maker information. Upon rejecting the STA's modification, the AP generates a second association response frame, which includes the roaming decision-maker information. The STA can receive either the first or second association response frame from the AP. After receiving the association response frame, the STA parses the frame to determine whether it carries the roaming decision-maker information. The STA then determines whether the received response frame is the first or second response frame. The AP then determines whether the AP approves the modification based on whether the response frame carries the roaming decision-maker information. After receiving the first association response frame, the STA determines that the AP agrees to modify the roaming decision-maker information, and uses the roaming decision-maker information carried in the association request frame as the final roaming decision-maker information; after receiving the second association response frame, the STA determines that the AP refuses to modify the roaming decision-maker information, and uses the roaming decision-maker information carried in the second association response frame as the final roaming decision-maker information.
[0104] In one embodiment, before determining the roaming decision maker through negotiation with the roaming decision maker, the method further includes:
[0105] During the communication process between the AP and the STA, a first roaming decision-maker selection request frame is generated and sent to the AP, where the first roaming decision-maker selection request frame carries roaming decision-maker information;
[0106] A first roaming decision maker selection response frame fed back by the AP is received, where the first roaming decision maker selection response frame carries first roaming decision maker response information, where the first roaming decision maker response information is an acceptance request or a rejection request.
[0107] During communication between an AP and a STA, if the STA needs to modify its roaming decision-maker information, it can generate a first roaming decision-maker selection request frame carrying the roaming decision-maker information and send it to the AP. The AP determines first roaming decision-maker response information and sends it back to the STA in a first roaming decision-maker selection response frame. After receiving the first roaming decision-maker selection response frame, the STA parses the first roaming decision-maker response information and, based on the first roaming decision-maker response information, determines whether the AP accepts the modification to the roaming decision-maker information.
[0108] In one embodiment, the method further comprises:
[0109] The roaming decision maker information is determined according to the first roaming decision maker selection response frame.
[0110] After parsing the first roaming decision maker selection response frame to obtain the first roaming decision maker response information, if the first roaming decision maker response information indicates an acceptance request, the STA determines the roaming decision maker information carried in the first roaming decision maker selection request frame as the roaming decision maker information; if the first roaming decision maker response information indicates a rejection request, the roaming decision maker information is not modified and the original roaming decision maker information is retained.
[0111] In one embodiment, the method further comprises:
[0112] During the communication process between the AP and the STA, a second roaming decision-maker selection request frame sent by the AP is received, where the second roaming decision-maker selection request frame carries roaming decision-maker information;
[0113] A second roaming decision-maker selection response frame is generated and fed back to the AP. The second roaming decision-maker selection response frame carries second roaming decision-maker response information. The second roaming decision-maker response information is an acceptance request or a rejection request.
[0114] During communication between an AP and a STA, if the AP needs to modify roaming decision-maker information, it can generate a second roaming decision-maker selection request frame carrying the roaming decision-maker information and send it to the STA. The STA determines second roaming decision-maker response information and sends it back to the AP in a second roaming decision-maker selection response frame. After receiving the second roaming decision-maker selection response frame, the AP parses the second roaming decision-maker response information and determines whether the STA accepts the modification of the roaming decision-maker information based on the second roaming decision-maker response information.
[0115] In one embodiment, the method further comprises:
[0116] The roaming decision maker information is determined according to the second roaming decision maker selection response frame.
[0117] When generating the second roaming decision maker selection response frame, the STA may determine the second roaming decision maker response information. If the second roaming decision maker response information indicates an acceptance request, the roaming decision maker information carried in the second roaming decision maker selection request frame is determined as the roaming decision maker information. If the second roaming decision maker response information indicates a rejection request, the roaming decision maker information is not modified and the original roaming decision maker information is retained.
[0118] In one embodiment, the second roaming function and algorithm includes at least one of the following: link quality information collection, roaming target selection, and roaming handover functions.
[0119] The second roaming function and algorithm of the STA in this embodiment can also implement one or more of the following functions: link quality information collection, roaming target selection, and roaming switching, and implement the judgment function before the STA roams and guide itself to roam.
[0120] An embodiment of the present application provides a roaming decision method, which can perform roaming decision-making party negotiation during the discovery process, association process, and communication process between the AP and the STA, defines a frame structure for roaming decision-making party information, and adds element information to the existing beacon frame, probe response frame, association request frame, and association response frame, so that the beacon frame, probe response frame, association request frame, and association response frame can carry roaming decision-making party information, thereby completing the negotiation of the roaming decision-making party. The frame structures of the roaming decision-maker selection request frame and the roaming decision-maker selection response frame are defined, and roaming decision-maker negotiation is performed through the roaming decision-maker selection request frame and the roaming decision-maker selection response frame; the embodiment of the present application provides specific roaming decision-maker negotiation processes at different stages. The AP and STA can negotiate the roaming decision-maker through the implementation method provided by the embodiment of the present application to determine the roaming decision-maker, thereby avoiding the resource waste problem caused by the roaming algorithms of the AP and STA taking effect at the same time and having differences. Through negotiation, a roaming function and algorithm are selected between the AP and STA to start roaming guidance, thereby avoiding invalid roaming interactions and saving air interface resources. At the same time, turning off the roaming function and algorithm when not acting as a roaming decision-maker can save the operating resources of the roaming algorithm and avoid resource waste.
[0121] The following describes the roaming decision-making negotiation process through different embodiments.
[0122] Example 1: Roaming decision-maker negotiation during discovery process
[0123] During the discovery process, roaming decision-maker negotiation is performed by carrying roaming decision-maker information in beacon frames and probe response frames. Figure 7 is an example diagram of an embodiment of roaming decision-maker negotiation using beacon frames and probe response frames, as shown in Figure 7:
[0124] The AP sends a beacon frame and carries roaming decision-maker information (Roaming Controller element) in the beacon frame. The Roaming Controller is set to 0, and the default roaming decision-maker is the AP.
[0125] The STA sends a Probe Request frame to discover and collect AP information. The AP carries the roaming decision-maker information (Roaming Controller element) in the Probe Response frame. The Roaming Controller element is set to 0, informing the STA that the default roaming decision-maker is the AP.
[0126] Example 2: Roaming decision-maker negotiation during association process
[0127] FIG8 is a diagram illustrating an implementation example of an AP receiving a request for roaming decision-maker information from a STA, provided by an embodiment.
[0128] During the association process, the STA sends an Association Request frame, which carries the Roaming Controller element and sets the Roaming Controller field in the Roaming Controller element to 1, indicating that the STA wishes to negotiate the roaming decision-maker to be the STA. The AP's Association Response frame (i.e., the first Association Response frame) does not carry the Roaming Controller element, indicating that the STA's request for roaming decision-maker negotiation is accepted and the roaming decision-maker is set to the STA.
[0129] FIG9 is a diagram illustrating an implementation example of an AP rejecting a STA's request for roaming decision-maker information, provided by an embodiment.
[0130] During the association process, the Roaming Controller field in the Roaming Controller element carried in the Association Request frame sent by the STA is set to 1, indicating that the STA hopes to negotiate the roaming decision-maker to be the STA; the Roaming Controller field in the Roaming Controller element carried in the Association Response frame (i.e., the second association response frame) replied by the AP is set to 0, indicating that the STA's request for negotiation of the roaming decision-maker is rejected, and the roaming decision-maker remains the AP.
[0131] It is important to note that the result of the roaming decision-maker's negotiation, that is, acceptance or rejection, does not affect the final result of the association. If the association originally failed, the association will not succeed due to the success of the roaming decision-maker's negotiation; if the association originally succeeded, the association will not fail due to the failure of the roaming decision-maker's negotiation.
[0132] Example 3: Roaming decision-maker negotiation during communication
[0133] Figure 10 is a diagram illustrating an implementation example of roaming decision-maker negotiation during communication between an AP and a STA, provided by an embodiment. Roaming decision-maker negotiation is implemented using management frames during communication. Management frames include roaming decision-maker selection request frames (i.e., the first roaming decision-maker selection request frame and the second roaming decision-maker selection request frame) and roaming decision-maker selection response frames (i.e., the first roaming decision-maker selection response frame and the second roaming decision-maker selection response frame).
[0134] The STA (or AP) sends a Roaming Controller Selection Request frame carrying the Roaming Controller element. The AP (or STA) responds with a Roaming Controller Selection Response frame to determine whether it accepts the modification of the Roaming Controller element. A Status Code of 0 indicates acceptance, while a Status Code of 1 indicates rejection.
[0135] An embodiment of the present application further provides a roaming decision device. FIG11 is a schematic structural diagram of a roaming decision device provided in an embodiment, which is applied to an AP. The roaming decision device includes:
[0136] A first status determining module 310 is configured to determine a roaming decision maker based on a roaming decision maker negotiation, and determine a status of its own first roaming function and algorithm based on the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information;
[0137] A first roaming starting module 320 is configured to start its own first roaming function and algorithm when the state of the first roaming function and algorithm is enabled;
[0138] The first roaming disabling module 330 is configured to disable its own first roaming function and algorithm when the first roaming function and algorithm are in a disabled state.
[0139] In the roaming decision-making device provided in the embodiment of the present application, the STA determines the roaming decision-making party through negotiation with the roaming decision-making party of the AP, thereby avoiding the problem of resource waste caused by the simultaneous effectiveness and difference of the roaming algorithms of the AP and the STA. Through negotiation, a roaming function and algorithm are selected between the AP and the STA to start roaming, thereby implementing roaming guidance, avoiding invalid roaming interactions, saving air interface resources, and also saving roaming algorithm operation resources.
[0140] In one embodiment, the apparatus further comprises:
[0141] The beacon frame sending module is used to generate a beacon frame and send it to the STA during the discovery process between the access point AP and the workstation STA, wherein the beacon frame carries roaming decision-maker information.
[0142] In one embodiment, the apparatus further comprises:
[0143] A probe request receiving module, configured to receive a probe request frame sent by the STA during a discovery process between the AP and the STA;
[0144] The probe response sending module is used to generate a probe response frame and send it to the STA, wherein the probe response frame carries roaming decision-maker information.
[0145] In one embodiment, the apparatus further comprises:
[0146] an association request receiving module, configured to receive an association request frame sent by the STA during an association process between the AP and the STA, wherein the association request frame includes roaming decision-maker information;
[0147] a first association response feedback module, configured to, upon accepting a request for roaming decision-maker information from the STA, generate a first association response frame and feed the frame back to the STA, wherein the first association response frame includes association information, but does not include roaming decision-maker information;
[0148] The second association response feedback module is configured to generate a second association response frame and feed back the frame to the STA when rejecting the STA's request for roaming decision-maker information, wherein the second association response frame includes roaming decision-maker information.
[0149] In one embodiment, the apparatus further comprises:
[0150] A first selection request receiving module is configured to receive a first roaming decision-maker selection request frame sent by the STA during communication between the AP and the STA, where the first roaming decision-maker selection request frame carries roaming decision-maker information;
[0151] A first selection response generating module is configured to generate a first roaming decision-maker selection response frame and feed the frame back to the STA, wherein the first roaming decision-maker selection response frame carries first roaming decision-maker response information, where the first roaming decision-maker response information is an acceptance request or a rejection request.
[0152] In one embodiment, the apparatus further comprises:
[0153] A first information determining module is configured to determine roaming decision-maker information according to the first roaming decision-maker selection response frame.
[0154] In one embodiment, the apparatus further comprises:
[0155] a second selection request sending module, configured to generate and send a second roaming decision-maker selection request frame to the STA during communication between the AP and the STA, wherein the second roaming decision-maker selection request frame carries roaming decision-maker information;
[0156] a second selection response receiving module, configured to receive a second roaming decision-maker selection response frame fed back by the STA, where the second roaming decision-maker selection response frame carries second roaming decision-maker response information, where the second roaming decision-maker response information is an acceptance request or a rejection request.
[0157] In one embodiment, the apparatus further comprises:
[0158] The second information determining module is configured to determine the roaming decision-maker information according to the second roaming decision-maker selection response frame.
[0159] In one embodiment, the first roaming function and algorithm includes at least one of the following: link quality information collection, roaming target selection, and roaming handover functions.
[0160] The roaming decision device proposed in this embodiment and the roaming decision method proposed in the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to any of the above embodiments. This embodiment has the same beneficial effects as executing the roaming decision method.
[0161] An embodiment of the present application further provides a roaming decision device. FIG12 is a schematic structural diagram of a roaming decision device provided in an embodiment, which is applied to a STA. The roaming decision device includes:
[0162] A second state determining module 410 is configured to determine a roaming decision maker based on a roaming decision maker negotiation, and determine a state of its own second roaming function and algorithm based on the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information;
[0163] The second roaming starting module 420 is configured to start its own second roaming function and algorithm when the second roaming function and algorithm are in an enabled state;
[0164] The second roaming disabling module 430 is configured to disable its own second roaming function and algorithm when the second roaming function and algorithm are in a disabled state.
[0165] In the roaming decision-making device provided in the embodiment of the present application, the STA determines the roaming decision-making party through negotiation with the roaming decision-making party of the AP, thereby avoiding the problem of resource waste caused by the simultaneous effectiveness and difference of the roaming algorithms of the AP and the STA. Through negotiation, a roaming function and algorithm are selected between the AP and the STA to start roaming, thereby implementing roaming guidance, avoiding invalid roaming interactions, saving air interface resources, and also saving roaming algorithm operation resources.
[0166] In one embodiment, the apparatus further comprises:
[0167] The beacon frame receiving module is used to receive the beacon frame sent by the AP during the discovery process between the AP and the STA, where the beacon frame carries roaming decision-maker information.
[0168] In one embodiment, the apparatus further comprises:
[0169] A probe request sending module, configured to generate and send a probe request frame to the AP during the discovery process between the AP and the STA;
[0170] The probe response receiving module is configured to receive a probe response frame fed back by the AP, wherein the probe response frame carries roaming decision-maker information.
[0171] In one embodiment, the apparatus further comprises:
[0172] an association request sending module, configured to generate and send an association request frame to the AP during the association process between the AP and the STA, wherein the association request frame includes roaming decision-maker information;
[0173] An association response receiving module, configured to receive a first association response frame or a second association response frame fed back by the AP;
[0174] The first association response frame includes association information, which does not include roaming decision-maker information, and the second association response frame includes roaming decision-maker information.
[0175] In one embodiment, the apparatus further comprises:
[0176] A first selection request sending module is configured to generate and send a first roaming decision-maker selection request frame to the AP during communication between the AP and the STA, where the first roaming decision-maker selection request frame carries roaming decision-maker information;
[0177] The first selection response receiving module is configured to receive a first roaming decision-maker selection response frame fed back by the AP, where the first roaming decision-maker selection response frame carries first roaming decision-maker response information, where the first roaming decision-maker response information is an acceptance request or a rejection request.
[0178] In one embodiment, the apparatus further comprises:
[0179] A third information determining module is configured to determine roaming decision-maker information according to the first roaming decision-maker selection response frame.
[0180] In one embodiment, the apparatus further comprises:
[0181] A second selection request receiving module is configured to receive a second roaming decision-maker selection request frame sent by the AP during communication between the AP and the STA, where the second roaming decision-maker selection request frame carries roaming decision-maker information;
[0182] The second selection response feedback module is configured to generate and feed back a second roaming decision-maker selection response frame to the AP, where the second roaming decision-maker selection response frame carries second roaming decision-maker response information, where the second roaming decision-maker response information is an acceptance request or a rejection request.
[0183] In one embodiment, the apparatus further comprises:
[0184] A fourth information determining module is configured to determine roaming decision-maker information according to the second roaming decision-maker selection response frame.
[0185] In one embodiment, the second roaming function and algorithm includes at least one of the following: link quality information collection, roaming target selection, and roaming handover functions.
[0186] The roaming decision device proposed in this embodiment and the roaming decision method proposed in the above embodiment belong to the same inventive concept. For technical details not fully described in this embodiment, please refer to any of the above embodiments. This embodiment has the same beneficial effects as executing the roaming decision method.
[0187] An embodiment of the present application also provides a communication node. Figure 13 is a structural diagram of a communication node provided by an embodiment. As shown in Figure 13, the communication node provided by the present application includes a memory 520, a processor 510, and a computer program stored in the memory and executable on the processor. When the processor 510 executes the program, the above-mentioned roaming decision method is implemented.
[0188] The communication node may also include a memory 520; the processor 510 in the communication node may be one or more, and Figure 13 takes one processor 510 as an example; the memory 520 is used to store one or more programs; the one or more programs are executed by the one or more processors 510, so that the one or more processors 510 implement the roaming decision method as described in the embodiment of the present application.
[0189] The communication node further includes: a communication device 530 , an input device 540 and an output device 550 .
[0190] The processor 510, memory 520, communication device 530, input device 540 and output device 550 in the communication node may be connected via a bus or other means. FIG13 takes the bus connection as an example.
[0191] The input device 540 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the communication node. The output device 550 may include a display device such as a display screen.
[0192] The communication device 530 may include a receiver and a transmitter. The communication device 530 is configured to perform information transmission and reception communication according to the control of the processor 510.
[0193] The memory 520, as a computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, such as program instructions / modules corresponding to the roaming decision method described in the embodiments of the present application (e.g., the first state determination module 310, the first roaming activation module 320, and the first roaming deactivation module 330 in the roaming decision device). The memory 520 may include a program storage area and a data storage area. The program storage area may store an operating system and applications required for at least one function; the data storage area may store data generated based on the use of the communication node. Furthermore, the memory 520 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state memory device. In some examples, the memory 520 may further include memory remotely located from the processor 510, and such remote memory may be connected to the communication node via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0194] An embodiment of the present application further provides a storage medium storing a computer program. When the computer program is executed by a processor, the roaming decision method described in any one of the embodiments of the present application is implemented.
[0195] Optionally, the roaming decision method, applied to the AP, includes: determining a roaming decision-maker based on roaming decision-maker negotiation, and determining the status of its own first roaming function and algorithm based on the roaming decision-maker, wherein the roaming decision-maker negotiation includes negotiation of roaming decision-maker information; when the status of the first roaming function and algorithm is an enabled state, starting its own first roaming function and algorithm; when the status of the first roaming function and algorithm is a disabled state, turning off its own first roaming function and algorithm.
[0196] Optionally, the roaming decision method, applied to a STA, includes: determining a roaming decision-maker based on roaming decision-maker negotiation, and determining a status of its own second roaming function and algorithm based on the roaming decision-maker, wherein the roaming decision-maker negotiation includes negotiation of roaming decision-maker information; when the status of the second roaming function and algorithm is an enabled state, starting its own second roaming function and algorithm; and when the status of the second roaming function and algorithm is a disabled state, disabling its own second roaming function and algorithm.
[0197] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media.Computer-readable media can be computer-readable signal media or computer-readable storage media.Computer-readable storage media can be, for example, but not limited to: electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above.More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM), flash memories, optical fibers, portable CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination of the above.Computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0198] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0199] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0200] The computer program code for performing the operations of the present application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).
[0201] The above description is merely an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application.
[0202] It will be appreciated by those skilled in the art that the term user terminal covers any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser or a vehicle-mounted mobile station.
[0203] In general, various embodiments of the present application may be implemented in hardware or dedicated circuits, software, logic, or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
[0204] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example, in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0205] The block diagram of any logic flow in the drawings of this application may represent program steps, or may represent interconnected logic circuits, modules and functions, or may represent a combination of program steps and logic circuits, modules and functions. A computer program may be stored on a memory. The memory may be of any type suitable for the local technical environment and may be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical storage devices and systems (digital versatile discs (DVD) or compact disks (CD), etc.). Computer-readable media may include non-transitory storage media. The data processor may be of any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FPGA) and a processor based on a multi-core processor architecture.
[0206] The above description of exemplary embodiments of the present application has been provided by way of exemplary and non-limiting examples. However, various modifications and adaptations to the above embodiments will be apparent to those skilled in the art, when considered in conjunction with the accompanying drawings and the appended claims, without departing from the scope of the present application. Therefore, the proper scope of the present application will be determined by reference to the appended claims.
Claims
1. A roaming decision method, applied to an access point AP, comprising: Determine a roaming decision maker according to a roaming decision maker negotiation, and determine a state of a first roaming function and an algorithm of the AP according to the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information; In response to the state of the first roaming function and algorithm being an enabled state, starting the first roaming function and algorithm of the AP; In response to the state of the first roaming function and algorithm being a disabled state, shutting down the first roaming function and algorithm of the AP.
2. The roaming decision method according to claim 1, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the discovery process between the access point AP and the workstation STA, a beacon frame is generated and sent to the STA, wherein the beacon frame carries roaming decision-making party information.
3. The roaming decision method according to claim 1, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the discovery process between the AP and the STA, receiving a probe request frame sent by the STA; A probe response frame is generated and sent to the STA, wherein the probe response frame carries roaming decision-making party information.
4. The roaming decision method according to claim 1, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the association process between the AP and the STA, receiving an association request frame sent by the STA, wherein the association request frame includes roaming decision-making party information; In response to accepting the request for roaming decision-maker information of the STA, generating a first association response frame and feeding it back to the STA, wherein the first association response frame includes association information, and the association information does not include roaming decision-maker information; In response to rejecting the request for the roaming decision-maker information of the STA, a second association response frame is generated and fed back to the STA, wherein the second association response frame includes the roaming decision-maker information.
5. The roaming decision method according to claim 1, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the communication process between the AP and the STA, receiving a first roaming decision maker selection request frame sent by the STA, where the first roaming decision maker selection request frame carries roaming decision maker information; A first roaming decision maker selection response frame is generated and fed back to the STA, wherein the first roaming decision maker selection response frame carries first roaming decision maker response information, and the first roaming decision maker response information is an acceptance request or a rejection request.
6. The roaming decision method according to claim 5, further comprising: The roaming decision maker information is determined according to the first roaming decision maker selection response frame.
7. The roaming decision method according to claim 1, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the communication process between the AP and the STA, a second roaming decision maker selection request frame is generated and sent to the STA, where the second roaming decision maker selection request frame carries roaming decision maker information; A second roaming decision maker selection response frame fed back by the STA is received, where the second roaming decision maker selection response frame carries second roaming decision maker response information, and the second roaming decision maker response information is an acceptance request or a rejection request.
8. The roaming decision method according to claim 7, further comprising: The roaming decision maker information is determined according to the second roaming decision maker selection response frame.
9. The roaming decision method according to any one of claims 1 to 8, wherein: The first roaming function and algorithm include at least one of the following: link quality information collection, roaming target selection and roaming switching functions.
10. A roaming decision method, applied to a STA, comprising: Determine a roaming decision maker according to a roaming decision maker negotiation, and determine a state of a second roaming function and an algorithm of the STA according to the roaming decision maker, wherein the roaming decision maker negotiation includes negotiation of roaming decision maker information; In response to the state of the second roaming function and algorithm being an enabled state, starting the second roaming function and algorithm of the STA; In response to the state of the second roaming function and algorithm being a disabled state, shutting down the second roaming function and algorithm of the STA.
11. The roaming decision method according to claim 10, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the discovery process between the AP and the STA, a beacon frame sent by the AP is received, where the beacon frame carries roaming decision-maker information.
12. The roaming decision method according to claim 10, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the discovery process between the AP and the STA, a probe request frame is generated and sent to the AP; A detection response frame fed back by the AP is received, where the detection response frame carries roaming decision-making party information.
13. The roaming decision method according to claim 10, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the association process between the AP and the STA, an association request frame is generated and sent to the AP, where the association request frame includes roaming decision-maker information; Receiving a first association response frame or a second association response frame fed back by the AP; The first association response frame includes association information, the association information does not include roaming decision-making party information, and the second association response frame includes roaming decision-making party information.
14. The roaming decision method according to claim 10, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the communication process between the AP and the STA, a first roaming decision-maker selection request frame is generated and sent to the AP, where the first roaming decision-maker selection request frame carries roaming decision-maker information; A first roaming decision maker selection response frame fed back by the AP is received, where the first roaming decision maker selection response frame carries first roaming decision maker response information, and the first roaming decision maker response information is an acceptance request or a rejection request.
15. The roaming decision method according to claim 14, further comprising: The roaming decision maker information is determined according to the first roaming decision maker selection response frame.
16. The roaming decision method according to claim 10, before determining the roaming decision party through negotiation with the roaming decision party, further comprising: During the communication process between the AP and the STA, receiving a second roaming decision maker selection request frame sent by the AP, where the second roaming decision maker selection request frame carries roaming decision maker information; A second roaming decision-maker selection response frame is generated and fed back to the AP, where the second roaming decision-maker selection response frame carries second roaming decision-maker response information, and the second roaming decision-maker response information is an acceptance request or a rejection request.
17. The roaming decision method according to claim 16, further comprising: The roaming decision maker information is determined according to the second roaming decision maker selection response frame.
18. The roaming decision method according to any one of claims 10 to 17, wherein: The second roaming function and algorithm include at least one of the following: link quality information collection, roaming target selection and roaming switching functions.
19. A communication node, comprising: A memory, a processor, a program stored in the memory and executable on the processor, and a data bus for realizing connection communication between the processor and the memory, wherein when the program is executed by the processor, the steps of the roaming decision method according to any one of claims 1 to 18 are realized.
20. A storage medium for computer-readable storage, wherein the storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the roaming decision method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Roaming decision-making method, communication node and storage medium
CN118590864A
WiFi roaming triggering condition determination method and device, mobile terminal and storage medium
CN112492521A
Mesh-based network roaming interaction method
CN113613236A
Cell switching method and device
CN115088304A
Wireless roaming system based on WiFi
CN204425656U
Cited By
Roaming method and apparatus
WO2026091993A1
