Wireless roaming parameter adjustment method, device, equipment and storage medium
By obtaining the measurement data of the user's selected location and adjusting the roaming parameters of the wireless network, the problem of low stability caused by the fixed roaming parameters in the prior art is solved, and higher network stability and user experience are achieved.
Patent Information
- Application Number
- CN202211458153.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-21
- Publication Date
- 2025-08-22
- Estimated Expiration
- 2042-11-21
AI Technical Summary
The existing wireless network roaming algorithms have fixed roaming parameters and cannot be adjusted according to the actual environment, resulting in low network stability.
After the network is completed by detecting that the wireless network is formed, the initial roaming parameters are obtained, and a roaming reset command is sent to receive measurement data of the user's selected location, determine the best roaming parameters, and send them to the wireless network to replace the initial parameters.
It improves the stability of the wireless network, makes the roaming parameters more suitable for the user's actual usage environment, and improves the user's roaming experience.
Smart Images

Figure CN115835251B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless network technology, and in particular to a method, apparatus, device, and storage medium for adjusting wireless roaming parameters. Background Art
[0002] In recent years, with the rapid development of terminal equipment technology and the increasing application of wireless local area networks, people have higher and higher requirements for the performance of wireless networks. To meet the needs of flexible use of multiple terminals, wireless networks need to have stronger penetration capabilities, wider coverage capabilities and more stable transmission capabilities. Wireless networks have come into being. Wireless networks are a multi-hop, automatic backhaul and automatic networking wireless network structure with the characteristics of strong mobility, strong anti-destruction and flexible networking methods. With the widespread popularity of wireless networks in public places such as shopping malls and hotels and in homes, the requirements for wireless network quality are also getting higher and higher.
[0003] Currently, wireless network roaming optimization is often used to improve wireless network quality. Roaming algorithms are primarily used. However, these algorithms essentially fix roaming parameters. Regardless of changes in the wireless network structure or the distance between nodes, the roaming parameters remain unchanged. This makes it impossible to adjust the roaming parameters to the actual environment. As a result, the roaming parameters may not be suitable for the current user environment, resulting in low wireless network stability. Summary of the Invention
[0004] The main purpose of this application is to provide a wireless roaming parameter adjustment method, device, equipment and storage medium, aiming to solve the technical problem of low stability of current wireless networks.
[0005] To achieve the above objectives, the present application provides a wireless roaming parameter adjustment method, which is applied to a terminal device. The wireless roaming parameter adjustment method includes:
[0006] If it is detected that the wireless network is established, obtaining initial roaming parameters of the wireless network;
[0007] sending a roaming reset instruction to the wireless network to receive measurement data returned by the wireless network according to a current location, wherein the current location refers to a target location selected by a user;
[0008] The target connection node selected by the user is obtained, optimal roaming parameters at the current location are determined based on the measurement data and the target connection node, and the optimal roaming parameters are sent to the wireless network to replace the initial roaming parameters.
[0009] Optionally, the wireless network includes at least one wireless node, and the step of sending a roaming reset instruction to the wireless network to receive measurement data returned by the wireless network based on the current location includes:
[0010] The roaming reset instruction is sent to the wireless network to receive measurement data between the terminal device and each of the wireless nodes returned by the wireless network according to the current location, wherein the measurement data includes roaming signal parameters, hop count parameters and backhaul parameters.
[0011] Optionally, the step of determining optimal roaming parameters at the current location based on the measurement data and the target connection node includes:
[0012] Detecting whether a target roaming signal parameter corresponding to the target connection node reaches a preset roaming signal threshold;
[0013] If not, the target roaming signal parameters are adjusted according to a preset signal adjustment range to obtain the optimal roaming parameters.
[0014] Optionally, the terminal device includes a display screen, and the step of obtaining the target connection node selected by the user includes:
[0015] sequentially displaying the wireless nodes on the display screen according to the preset priorities corresponding to the roaming signal parameter, the hop count parameter, and the backhaul parameter, so that the user can select a node;
[0016] If it is detected that the user performs a node selection operation, a target connection node corresponding to the node selection operation is obtained and connected.
[0017] Optionally, after the step of sending the optimal roaming parameters to the wireless network to replace the initial roaming parameters, the method further includes:
[0018] Obtaining a coverage range of the wireless network, performing a roaming performance test within the coverage range, and obtaining a roaming performance test result;
[0019] According to the roaming performance test result, it is determined whether a secondary roaming parameter adjustment is required.
[0020] Optionally, the step of determining whether secondary roaming parameter adjustment is required based on the roaming performance test result includes:
[0021] If the roaming performance test result does not meet a preset satisfaction level, obtaining a next measurement location, updating the current location to the next measurement location, and returning to the step of sending a roaming reset instruction to the wireless network to perform a secondary roaming parameter adjustment, wherein the next measurement location is a next target location selected by the user;
[0022] If the roaming performance test result reaches a preset satisfaction level, no secondary roaming parameter adjustment is required.
[0023] Optionally, the step of performing roaming performance detection on the wireless network within the coverage area to obtain a roaming performance detection result includes:
[0024] Obtaining a first roaming performance detection result by performing a roaming performance detection on each of the wireless nodes within the coverage area;
[0025] Obtaining a second roaming performance test result by performing a roaming performance test on the terminal device within the coverage area;
[0026] The first roaming performance detection result and the second roaming performance detection result are used together as the roaming performance detection result.
[0027] In addition, to achieve the above-mentioned purpose, the present application further provides a wireless roaming parameter adjustment device, which is applied to a terminal device. The wireless roaming parameter adjustment device includes:
[0028] An initial roaming parameter acquisition module is configured to acquire initial roaming parameters of the wireless network if it is detected that the wireless network has been established.
[0029] a measurement data receiving module, configured to receive measurement data returned by the wireless network based on a current location by sending a roaming reset instruction to the wireless network, wherein the current location refers to a target location selected by a user;
[0030] A roaming parameter adjustment module is configured to obtain a target connection node selected by the user, determine optimal roaming parameters at the current location based on the measurement data and the target connection node, and send the optimal roaming parameters to the wireless network to replace the initial roaming parameters.
[0031] Optionally, the measurement data receiving module is further configured to:
[0032] The roaming reset instruction is sent to the wireless network to receive measurement data between the terminal device and each of the wireless nodes returned by the wireless network according to the current location, wherein the measurement data includes roaming signal parameters, hop count parameters and backhaul parameters.
[0033] Optionally, the roaming parameter adjustment module is further configured to:
[0034] Detecting whether a target roaming signal parameter corresponding to the target connection node reaches a preset roaming signal threshold;
[0035] If not, the target roaming signal parameters are adjusted according to a preset signal adjustment range to obtain the optimal roaming parameters.
[0036] Optionally, the roaming parameter adjustment module is further configured to:
[0037] sequentially displaying the wireless nodes on the display screen according to the preset priorities corresponding to the roaming signal parameter, the hop count parameter, and the backhaul parameter, so that the user can select a node;
[0038] If it is detected that the user performs a node selection operation, a target connection node corresponding to the node selection operation is obtained and connected.
[0039] Optionally, the wireless roaming parameter adjustment device is further configured to:
[0040] Obtaining a coverage range of the wireless network, performing a roaming performance test within the coverage range, and obtaining a roaming performance test result;
[0041] According to the roaming performance test result, it is determined whether a secondary roaming parameter adjustment is required.
[0042] Optionally, the wireless roaming parameter adjustment device is further configured to:
[0043] If the roaming performance test result does not meet a preset satisfaction level, obtaining a next measurement location, updating the current location to the next measurement location, and returning to the step of sending a roaming reset instruction to the wireless network to perform a secondary roaming parameter adjustment, wherein the next measurement location is a next target location selected by the user;
[0044] If the roaming performance test result reaches a preset satisfaction level, no secondary roaming parameter adjustment is required.
[0045] Optionally, the wireless roaming parameter adjustment device is further configured to:
[0046] Obtaining a first roaming performance detection result by performing a roaming performance detection on each of the wireless nodes within the coverage area;
[0047] Obtaining a second roaming performance test result by performing a roaming performance test on the terminal device within the coverage area;
[0048] The first roaming performance detection result and the second roaming performance detection result are used together as the roaming performance detection result.
[0049] The present application also provides a wireless roaming parameter adjustment device, which includes: a memory, a processor, and a wireless roaming parameter adjustment program stored in the memory and executable on the processor. When the wireless roaming parameter adjustment program is executed by the processor, the steps of the wireless roaming parameter adjustment method described above are implemented.
[0050] The present application also provides a readable storage medium, on which a wireless roaming parameter adjustment program is stored. When the wireless roaming parameter adjustment program is executed by a processor, the steps of the wireless roaming parameter adjustment method as described above are implemented.
[0051] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned wireless roaming parameter adjustment method when executed by a processor.
[0052] This application provides a wireless roaming parameter adjustment method, apparatus, device, and storage medium, applicable to terminal devices. Compared to the current method of optimizing wireless network roaming using a roaming algorithm, this application first obtains initial roaming parameters for the wireless network upon detecting that the wireless network has completed networking. A roaming reset instruction is sent to the wireless network to receive measurement data returned by the wireless network based on the current location, where the current location is a target location selected by the user. The target connection node selected by the user is obtained, and based on the measurement data and the target connection node, optimal roaming parameters for the current location are determined. The optimal roaming parameters are then sent to the wireless network to replace the initial roaming parameters. This method achieves the purpose of adjusting wireless network roaming parameters based on the specific location and target connection node selected by the user, overcoming the technical drawback that roaming algorithms, due to fixed roaming parameters, cannot adjust roaming parameters based on the user's actual usage environment, resulting in roaming parameters that are unsuitable for the current user's usage environment, thereby reducing wireless network stability. Therefore, the stability of the wireless network is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 This is a flowchart of the first embodiment of the wireless roaming parameter adjustment method of the present application;
[0054] Figure 2 A schematic diagram of wireless nodes involved in the wireless roaming parameter adjustment method of this application;
[0055] Figure 3 This is a flowchart of the implementation of roaming parameter adjustment involved in the wireless roaming parameter adjustment method of this application;
[0056] Figure 4 Schematic diagram of the device involved in the wireless roaming parameter adjustment method of this application;
[0057] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the wireless roaming parameter adjustment method of this application.
[0058] The realization of the objectives, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0059] To make the above-mentioned purposes, features, and advantages of the present application more clearly understood, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making any creative work are within the scope of protection of this application.
[0060] Currently, wireless network roaming optimization is often used to improve wireless network quality. Roaming algorithms are primarily used. However, these algorithms essentially fix roaming parameters. Regardless of changes in the wireless network structure or the distance between nodes, the roaming parameters remain unchanged. This makes it impossible to adjust the roaming parameters to the actual environment. As a result, the roaming parameters may not be suitable for the current user environment, resulting in low wireless network stability.
[0061] The embodiment of the present application provides a wireless roaming parameter adjustment method, which is applied to a terminal device. In the first embodiment of the wireless roaming parameter adjustment method of the present application, referring to Figure 1 , the wireless roaming parameter adjustment method includes:
[0062] Step S10: if it is detected that the wireless network is established, then obtaining initial roaming parameters of the wireless network;
[0063] Step S20, sending a roaming reset instruction to the wireless network to receive measurement data returned by the wireless network based on the current location, wherein the current location refers to a target location selected by the user;
[0064] Step S30: Acquire the target connection node selected by the user, determine optimal roaming parameters at the current location based on the measurement data and the target connection node, and send the optimal roaming parameters to the wireless network to replace the initial roaming parameters.
[0065] In this embodiment, it should be noted that the terminal device refers to a terminal device capable of wirelessly connecting to a wireless network, and may be a mobile phone, a computer, a PDA (Personal Digital Assistant) smart terminal, or other smart device capable of wireless network connection. The initial roaming parameters refer to initialization parameters corresponding to each wireless node in the wireless network, and may include parameters such as an initial BSS (Basic Service Set), initial signal parameters, topology, password, frequency band, bandwidth, network mode, wireless authentication method, and channel. After the wireless network is established, the system automatically sets a set of roaming parameters. It is understandable that these roaming parameters are not the most suitable parameters for the user's current usage environment. The roaming reset instruction is used to request the wireless network to reset the roaming parameters so that the wireless network can return measurement data. The current location refers to the target location selected by the user for wireless network connection, and may be a common location for the user to access the Internet, such as a living room, bedroom, or study, or may be specifically the sofa in the living room, the desk in the study, or the bed in the bedroom. The roaming parameters at the commonly used locations may be adjusted to make the adjusted wireless network roaming more suitable for the current user's usage environment, thereby improving the intelligence of the wireless network roaming and enhancing the user's roaming experience. The measurement data refers to parameter data between the terminal device at the current location and each wireless node, which can be used to characterize the roaming performance of each wireless node and may include roaming signal parameters, hop number parameters, and backhaul parameters. The target connection node refers to a node selected by the user for wireless network connection, which may be the optimal connection node for the current location or another node.
[0066] As an example, steps S10 to S30 include: if it is detected that the wireless network is completed, directly obtaining the initial roaming parameters corresponding to each wireless node in the link information of the wireless network, wherein the wireless network includes at least one wireless node; based on the 802.11k communication protocol and Air The monitor sends a roaming reset instruction to the wireless network, so that the wireless network returns network link information of each wireless node based on the current location of the terminal device. The network link information may include the measurement data, wherein the measurement data is affected by the current location. That is, when the location of the terminal device changes, the measurement data returned by the wireless network also changes accordingly. When detecting that the user performs an operation of selecting a node, the monitor obtains a target connection node corresponding to the operation, and detects whether a roaming signal parameter corresponding to the target connection node reaches a preset signal threshold. If not, it indicates that the network roaming performance of the target connection node is poor and roaming parameter adjustment is required. Specifically, the roaming signal parameter corresponding to the target connection node is enhanced within a preset adjustment range to generate optimal roaming parameters at the current location. The optimal roaming signal parameter is sent to the wireless network to replace the initial signal parameters of all wireless nodes in the wireless network. If the preset signal threshold is reached or exceeded, it indicates that the network roaming performance of the target connection node is normal or even excellent, and roaming parameter adjustment is not required. The preset signal threshold refers to a normal signal strength value during roaming of the wireless network, which is generally 60 dB.
[0067] For example, Figure 3As shown in the roaming parameter adjustment implementation flow chart, when it is detected that the wireless network has completed networking, the terminal device obtains the initial parameters of each wireless node in the wireless network, such as the initial BSS, initial signal parameters, topology, password, frequency band, bandwidth, network mode, wireless authentication method, channel, etc. Assume that the multiple wireless nodes in the wireless network are AP1, AP2, and AP3, and the specific location selected by the user is the living room. At this time, the terminal device sends a roaming reset instruction to the wireless network in the living room. After receiving the instruction, the wireless network returns the network link information between the terminal device and AP1, AP2, and AP3 to the terminal device. The network link information includes the measurement data of the terminal device and AP1, AP2, and AP3, namely the roaming signal parameters, hop parameters, and backhaul parameters. The roaming signal parameter, the hop number parameter, and the return parameter are sequentially displayed on the display screen of the terminal device according to the preset priorities of the three parameters for the user to select. The target connection node selected by the user is assumed to be AP1 and the roaming signal parameters corresponding to AP1 are obtained. The roaming signal parameters are compared with the preset roaming signal thresholds to adjust the roaming signal parameters accordingly to obtain optimal roaming signal parameters. The optimal roaming signal parameters are sent to the wireless network to replace the initial signal parameters corresponding to AP2 and AP3. No matter which wireless node the user is connected to at the current location, roaming can be performed based on the optimal roaming signal parameters, thereby avoiding the situation where the roaming network speed is reduced after the user switches the connection node, thereby improving the user's wireless network roaming experience.
[0068] The wireless network includes at least one wireless node, and the step of sending a roaming reset instruction to the wireless network to receive measurement data returned by the wireless network based on the current location includes:
[0069] Step S21, sending the roaming reset instruction to the wireless network to receive measurement data between the terminal device and each of the wireless nodes returned by the wireless network according to the current location, wherein the measurement data includes roaming signal parameters, hop count parameters and backhaul parameters.
[0070] In this embodiment, it should be noted that the wireless nodes refer to the APs (Access Points) in the entire wireless network, and the terminal devices can be connected to the APs. Figure 2As shown; the roaming signal parameter may be an RSS I (Received Signal Strength Indicator) parameter, which is used to characterize the signal strength of each wireless node when performing network roaming; the hop count parameter refers to the number of nodes that each wireless node must pass through to connect to the terminal device. For example, AP2 is connected to AP1. If the terminal device wants to connect to AP2, it needs to pass through an AP node, namely AP1, then the hop count parameter is 1. It can be understood that the more hops, the longer the network roaming delay and the lower the roaming performance; the backhaul parameter refers to the relevant parameters of each wireless node when performing network backhaul, which may include a backhaul mode, a backhaul rate, etc. The backhaul mode may include wired backhaul or wireless backhaul, and the wireless backhaul may include 5G backhaul or 4G backhaul, wherein the roaming performance of wired backhaul is better than that of wireless backhaul, and the roaming performance of 5G backhaul is better than that of 4G backhaul. Since the hop count parameters and the backhaul parameters cannot be changed in real time, in this embodiment, the roaming signal parameters are adjusted to improve the wireless network roaming performance.
[0071] As an example, step S21 includes: the terminal device sends the roaming reset instruction to the wireless network through the communication connection channel between the terminal device and the wireless network. After receiving the instruction, the wireless network broadcasts to each wireless node to obtain measurement data of each wireless node based on the current location. The wireless network then returns the measurement data to the terminal device, wherein the measurement data includes roaming signal parameters, hop count parameters and backhaul parameters.
[0072] The step of determining the optimal roaming parameters at the current location based on the measurement data and the target connection node includes:
[0073] Step S22, detecting whether the target roaming signal parameter corresponding to the target connection node reaches a preset roaming signal threshold;
[0074] Step S23: If not, the target roaming signal parameters are adjusted according to a preset signal adjustment range to obtain the optimal roaming parameters.
[0075] In this embodiment, it should be noted that the preset roaming signal threshold is used to compare with the roaming signal parameter to adjust the roaming parameter; the preset signal adjustment range refers to the adjustment interval of the signal strength, for example, it can be set to -6db to -10db. If the roaming signal parameter needs to be adjusted, -6db to -10db is subtracted from the roaming signal parameter.
[0076] As an example, steps S22 to S23 include: obtaining a target roaming signal parameter corresponding to the target connection node, comparing the target roaming signal parameter with a preset roaming signal threshold to detect whether the target roaming signal parameter reaches the preset roaming signal threshold; if not, enhancing the target roaming signal parameter by the preset signal adjustment range based on the original value according to the preset signal adjustment range to obtain the optimal roaming signal parameter; if the preset roaming signal threshold is reached, no adjustment is performed.
[0077] For example, assuming the preset roaming signal threshold is -60db, the preset signal adjustment range is -6db to -10db, and the target roaming signal parameter of the target connection node is -70db, -70db is less than -60db. At this time, the roaming parameter needs to be adjusted, that is, -10db is subtracted from -70db to reach the preset roaming signal threshold. If the target roaming signal parameter is -67db, -7db is subtracted from -67db to reach the preset roaming signal threshold.
[0078] The terminal device includes a display screen, and the step of obtaining the target connection node selected by the user includes:
[0079] Step S31, displaying the wireless nodes in sequence on the display screen according to the preset priorities corresponding to the roaming signal parameter, the hop count parameter, and the backhaul parameter, for the user to select a node;
[0080] Step S32: If it is detected that the user performs a node selection operation, a target connection node corresponding to the node selection operation is obtained and connected.
[0081] In this embodiment, it should be noted that, since the wireless network includes at least one wireless node, each of the wireless nodes needs to be sorted and displayed according to the priority of the measurement data so that the user can select the optimal target connection node, thereby improving the visual recommendation of wireless nodes for the user, enabling the user to intuitively understand the performance information of each wireless node, and thus select the optimal target connection node, thereby improving the user's network roaming experience. The preset priorities corresponding to the roaming signal parameter, the hop count parameter, and the backhaul parameter are pre-set in the terminal device. For example, the priority order can be set as: roaming signal parameter, hop count parameter, backhaul parameter, or roaming signal parameter, backhaul parameter, hop count parameter. The specific order can be set according to actual usage.
[0082] As an example, steps S31 to S32 include: first, according to the preset priorities corresponding to the roaming signal parameters, the hop count parameters and the backhaul parameters, the parameters with the highest priority are prioritized in each wireless node, followed by the parameters with higher priority, and finally the parameters with lower priority, to generate a permutation list, and display the permutation list on the display screen for the user to select, wherein the permutation list can display detailed information such as the roaming signal parameters, hop count parameters, backhaul parameters, BSS, initial signal parameters, topology, password, frequency band, bandwidth, network mode, wireless authentication method, channel, etc. of each wireless node; if it is detected that the user performs a node selection operation, then the target connection node corresponding to the node selection operation is obtained and connected, wherein the target connection node selected by the user can be the optimal connection node recommended in the permutation list, or it can be other connection nodes.
[0083] For example, assuming the preset priorities are: roaming signal parameters, hop count parameters, and backhaul parameters, and the wireless nodes are AP1, AP2, and AP3, first check the roaming signal parameters corresponding to AP1, AP2, and AP3, and sort AP1, AP2, and AP3 according to the size of the roaming signal parameters. Secondly, check the hop count parameters of AP1, AP2, and AP3. The fewer the hop count parameters, the higher the priority. Finally, check the backhaul parameters. Among wired and wireless, wired is recommended first, and 5G is recommended first between 5G and 4G. It can be seen that the optimal connection node in the resulting arrangement list is a wireless node with strong roaming signal, small hop count, wired, and 5G. The second one can be a wireless node with strong roaming signal, small hop count, wired, and 4G. The third one can be a wireless node with strong roaming signal, small hop count, wireless, and 4G, and so on.
[0084] After the step of sending the optimal roaming parameters to the wireless network to replace the initial roaming parameters, the method further includes:
[0085] Step A10: obtaining the coverage of the wireless network, performing a roaming performance test within the coverage, and obtaining a roaming performance test result;
[0086] Step A20: Determine whether a secondary roaming parameter adjustment is required based on the roaming performance test result.
[0087] In this embodiment, it should be noted that the coverage range refers to the signal coverage area of the wireless network, which can be whole-house coverage; the roaming performance detection refers to roaming within the coverage range to detect the performance of each of the wireless nodes and the terminal devices. By performing roaming performance detection on each of the wireless nodes and the terminal devices respectively, the result of the roaming performance detection can be made more accurate and reliable; the roaming performance detection result includes a first roaming performance detection result corresponding to the roaming performance detection of each of the wireless nodes and a second roaming performance detection result corresponding to the roaming performance detection of the terminal device, wherein the first roaming performance detection result is used to characterize the roaming performance of each of the wireless nodes; and the second roaming performance detection result is used to characterize the roaming performance of the terminal device.
[0088] As an example, steps A10 to A20 include: obtaining the coverage range of the wireless network, performing wireless roaming within the coverage range to detect the roaming performance of each of the wireless nodes and the mobile terminal itself, and obtaining the first roaming performance detection result and the second roaming performance detection result, wherein the first roaming performance detection result may include a roaming signal strength detection result and a roaming network rate detection result, and the second roaming performance detection result may include a transmission line detection result and a roaming network switching detection result, and both the first roaming performance detection result and the second roaming performance detection result may be visualized on the display screen of the terminal device so that the user can observe the roaming performance detection result intuitively and clearly; detecting whether the roaming performance detection result reaches a preset satisfaction level, if not, a secondary roaming parameter adjustment is required, and if so, ending the roaming performance detection.
[0089] The step of determining whether secondary roaming parameter adjustment is required based on the roaming performance test result includes:
[0090] Step A21: If the roaming performance test result does not meet a preset satisfaction level, obtaining a next measurement location, updating the current location to the next measurement location, and returning to step A22: performing a secondary roaming parameter adjustment by sending a roaming reset instruction to the wireless network, wherein the next measurement location is the next target location selected by the user;
[0091] In step A22, if the roaming performance test result reaches a preset satisfaction level, no secondary roaming parameter adjustment is required.
[0092] In this embodiment, it should be noted that the preset satisfaction level refers to the preset satisfaction standard for each performance test result. Taking the roaming signal strength test result as an example, it is assumed that the corresponding preset satisfaction standard is that the signal strength reaches -60db, that is, no matter where the user moves to within the coverage area for roaming, the roaming signal strength test result must always reach -60db; the next measurement position refers to the measurement position when the terminal device performs a secondary roaming parameter adjustment. The definition of the next measurement position is the same as that of the current position, and both are specific locations selected by the user.
[0093] As an example, steps A21 to A22 include: if the roaming performance test result does not meet the preset satisfaction level, prompting the user whether to make a secondary roaming parameter adjustment; if it is detected that the user chooses to make a secondary roaming parameter adjustment, prompting the user to move to the next measurement location; when the user moves to the next measurement location and triggers the start adjustment instruction, the current location is updated to the next measurement location, and returning to the step: performing a secondary roaming parameter adjustment by sending a roaming reset instruction to the wireless network; if the roaming performance test result meets the preset satisfaction level, no secondary roaming parameter adjustment is required, and the user can be prompted to end the roaming performance test.
[0094] The step of performing roaming performance detection on the wireless network within the coverage area to obtain a roaming performance detection result includes:
[0095] Step A11, performing a roaming performance test on each of the wireless nodes within the coverage area to obtain a first roaming performance test result;
[0096] Step A12: performing a roaming performance test on the terminal device within the coverage area to obtain a second roaming performance test result;
[0097] Step A13: taking the first roaming performance detection result and the second roaming performance detection result together as the roaming performance detection result.
[0098] As an example, steps A11 to A13 include: performing roaming performance detection on each of the wireless nodes within the coverage range to obtain a first roaming performance detection result, wherein the roaming performance detection of the wireless node may include roaming signal strength detection and roaming network rate detection; performing roaming performance detection on the terminal device within the preset roaming detection range to obtain a second roaming performance detection result, wherein the roaming performance detection of the terminal device may include transmission line detection and roaming network switching detection; using the first roaming performance detection result and the second roaming performance detection result together as the roaming performance detection result, to detect whether the wireless network roaming after the roaming parameters are adjusted meets the user's preset satisfaction.
[0099] This embodiment provides a wireless roaming parameter adjustment method, apparatus, device, and storage medium, which are applied to a terminal device. Compared to the current method of optimizing wireless network roaming using a roaming algorithm, this embodiment first obtains initial roaming parameters for the wireless network upon detecting that the wireless network has completed networking. A roaming reset command is sent to the wireless network to receive measurement data returned by the wireless network based on the current location, where the current location is a target location selected by the user. The target connection node selected by the user is obtained, and based on the measurement data and the target connection node, optimal roaming parameters for the current location are determined. The optimal roaming parameters are then sent to the wireless network to replace the initial roaming parameters. This method achieves the purpose of adjusting wireless network roaming parameters based on the specific location and target connection node selected by the user, overcoming the technical drawback that roaming algorithms, due to fixed roaming parameters, cannot adjust roaming parameters based on the user's actual usage environment, resulting in roaming parameters that are unsuitable for the current user's usage environment, and thus reducing wireless network stability. Therefore, the stability of the wireless network is improved.
[0100] In addition, the embodiment of the present application also provides a wireless roaming parameter adjustment device, which is applied to a terminal device, such as Figure 4 As shown, the wireless roaming parameter adjustment device includes:
[0101] An initial roaming parameter acquisition module 10 is configured to acquire initial roaming parameters of the wireless network if it is detected that the wireless network has been established.
[0102] a measurement data receiving module 20, configured to receive measurement data returned by the wireless network according to a current location by sending a roaming reset instruction to the wireless network, wherein the current location refers to a target location selected by a user;
[0103] The roaming parameter adjustment module 30 is configured to obtain the target connection node selected by the user, determine optimal roaming parameters at the current location based on the measurement data and the target connection node, and send the optimal roaming parameters to the wireless network to replace the initial roaming parameters.
[0104] Optionally, the measurement data receiving module 20 is further configured to:
[0105] The roaming reset instruction is sent to the wireless network to receive measurement data between the terminal device and each of the wireless nodes returned by the wireless network according to the current location, wherein the measurement data includes roaming signal parameters, hop count parameters and backhaul parameters.
[0106] Optionally, the roaming parameter adjustment module 30 is further configured to:
[0107] Detecting whether a target roaming signal parameter corresponding to the target connection node reaches a preset roaming signal threshold;
[0108] If not, the target roaming signal parameters are adjusted according to a preset signal adjustment range to obtain the optimal roaming parameters.
[0109] Optionally, the roaming parameter adjustment module 30 is further configured to:
[0110] sequentially displaying the wireless nodes on the display screen according to the preset priorities corresponding to the roaming signal parameter, the hop count parameter, and the backhaul parameter, so that the user can select a node;
[0111] If it is detected that the user performs a node selection operation, a target connection node corresponding to the node selection operation is obtained and connected.
[0112] Optionally, the wireless roaming parameter adjustment device is further configured to:
[0113] Obtaining a coverage range of the wireless network, performing a roaming performance test within the coverage range, and obtaining a roaming performance test result;
[0114] According to the roaming performance test result, it is determined whether a secondary roaming parameter adjustment is required.
[0115] Optionally, the wireless roaming parameter adjustment device is further configured to:
[0116] If the roaming performance test result does not meet a preset satisfaction level, obtaining a next measurement location, updating the current location to the next measurement location, and returning to the step of sending a roaming reset instruction to the wireless network to perform a secondary roaming parameter adjustment, wherein the next measurement location is a next target location selected by the user;
[0117] If the roaming performance test result reaches a preset satisfaction level, no secondary roaming parameter adjustment is required.
[0118] Optionally, the wireless roaming parameter adjustment device is further configured to:
[0119] Obtaining a first roaming performance detection result by performing a roaming performance detection on each of the wireless nodes within the coverage area;
[0120] Obtaining a second roaming performance test result by performing a roaming performance test on the terminal device within the coverage area;
[0121] The first roaming performance detection result and the second roaming performance detection result are used together as the roaming performance detection result.
[0122] The wireless roaming parameter adjustment device provided in this application utilizes the wireless roaming parameter adjustment method of the aforementioned embodiment to address the current technical issue of low wireless network stability. Compared to the prior art, the wireless roaming parameter adjustment device provided in this application embodiment has the same beneficial effects as the wireless roaming parameter adjustment method provided in the aforementioned embodiment. Other technical features of the wireless roaming parameter adjustment device are the same as those disclosed in the aforementioned embodiment and are not further described here.
[0123] An embodiment of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the wireless roaming parameter adjustment method of the above-mentioned embodiment 1.
[0124] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, terminal devices such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0125] like Figure 5 As shown, the electronic device may include a processing device (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) or a program loaded from a storage device into a random access memory (RAM). In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus. An input / output (I / O) interface is also connected to the bus.
[0126] Typically, the following systems can be connected to the I / O interface: input devices such as a touch screen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices such as a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices such as a magnetic tape, hard disk, etc.; and communication devices. The communication device can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figures show electronic devices with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.
[0127] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from a storage device, or installed from a ROM. When the computer program is executed by a processing device, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0128] The electronic device provided in this application utilizes the wireless roaming parameter adjustment method of the aforementioned embodiment to resolve the current technical issue of low wireless network stability. Compared to the prior art, the electronic device provided in this application embodiment achieves the same beneficial effects as the wireless roaming parameter adjustment method provided in the aforementioned embodiment. Other technical features of this electronic device are the same as those disclosed in the aforementioned embodiment and are not further described here.
[0129] It should be understood that various parts of the present disclosure can be implemented with hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in an appropriate manner.
[0130] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
[0131] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, and the computer-readable program instructions are used to execute the wireless roaming parameter adjustment method in the first embodiment.
[0132] The computer-readable storage medium provided in the embodiment of the present application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination thereof. A more specific example of a computer-readable storage medium can include, but is not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present embodiment, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by an instruction execution system, a system or a device or used in combination therewith. The program code contained in the computer-readable storage medium can be transmitted with any appropriate medium, including but not limited to: an electric wire, an optical cable, RF (radio frequency), etc., or any suitable combination thereof.
[0133] The computer-readable storage medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0134] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: upon detecting that a wireless network has completed networking, obtains initial roaming parameters of the wireless network; receives measurement data returned by the wireless network based on a current location by sending a roaming reset instruction to the wireless network, wherein the current location refers to a target location selected by a user; obtains a target connection node selected by the user, determines optimal roaming parameters at the current location based on the measurement data and the target connection node, and sends the optimal roaming parameters to the wireless network to replace the initial roaming parameters.
[0135] Computer program code for performing the operations of the present disclosure may 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 may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may 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 may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0136] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, program segment or a part of code, and the module, program segment or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of dedicated hardware and computer instructions.
[0137] The modules involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a module does not necessarily limit the unit itself.
[0138] The computer-readable storage medium provided in this application stores computer-readable program instructions for executing the wireless roaming parameter adjustment method described above, thereby resolving the current technical issue of low wireless network stability. Compared to the prior art, the beneficial effects of the computer-readable storage medium provided in this embodiment of the application are similar to those of the wireless roaming parameter adjustment method provided in the above embodiment, and are not further elaborated here.
[0139] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned wireless roaming parameter adjustment method when executed by a processor.
[0140] The computer program product provided in this application solves the technical problem of low stability of current wireless networks. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the wireless roaming parameter adjustment method provided in the above embodiments, and will not be repeated here.
[0141] The above are only preferred embodiments of the present application and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent processing scope of the present application.
Claims
1. A wireless roaming parameter adjustment method, characterized in that: Applied to a terminal device, the wireless roaming parameter adjustment method includes: If it is detected that the wireless network is established, obtaining initial roaming parameters of the wireless network; Sending a roaming reset instruction to the wireless network to receive measurement data returned by the wireless network based on the current location, wherein the current location refers to a target location selected by the user, and the measurement data refers to parameter data between the terminal device at the current location and each wireless node, and the measurement data includes roaming signal parameters; Obtaining a target connection node selected by the user, determining optimal roaming parameters at the current location based on the measurement data and the target connection node, and sending the optimal roaming parameters to the wireless network to replace the initial roaming parameters, wherein the target connection node is a node selected by the user for wireless network connection, and determining the optimal roaming parameters at the current location based on the measurement data and the target connection node includes: Detecting whether a target roaming signal parameter corresponding to the target connection node reaches a preset roaming signal threshold; If not, the target roaming signal parameter is enhanced by the preset signal adjustment range based on the original one to obtain the optimal roaming signal parameter.
2. The wireless roaming parameter adjustment method according to claim 1, wherein: The wireless network includes at least one wireless node, and the step of sending a roaming reset instruction to the wireless network to receive measurement data returned by the wireless network according to the current location includes: The roaming reset instruction is sent to the wireless network to receive measurement data between the terminal device and each of the wireless nodes returned by the wireless network according to the current location, wherein the measurement data includes roaming signal parameters, hop count parameters and backhaul parameters.
3. The wireless roaming parameter adjustment method according to claim 2, wherein: The terminal device includes a display screen, and the step of obtaining the target connection node selected by the user includes: sequentially displaying the wireless nodes on the display screen according to the preset priorities corresponding to the roaming signal parameter, the hop count parameter, and the backhaul parameter, so that the user can select a node; If it is detected that the user performs a node selection operation, a target connection node corresponding to the node selection operation is obtained and connected.
4. The wireless roaming parameter adjustment method according to claim 2, wherein: After the step of sending the optimal roaming parameters to the wireless network to replace the initial roaming parameters, the method further includes: Obtaining a coverage range of the wireless network, performing a roaming performance test within the coverage range, and obtaining a roaming performance test result; According to the roaming performance test result, it is determined whether a secondary roaming parameter adjustment is required.
5. The wireless roaming parameter adjustment method according to claim 4, wherein: The step of determining whether secondary roaming parameter adjustment is required based on the roaming performance test result includes: If the roaming performance test result does not meet a preset satisfaction level, obtaining a next measurement location, updating the current location to the next measurement location, and returning to the step of sending a roaming reset instruction to the wireless network to perform a secondary roaming parameter adjustment, wherein the next measurement location is a next target location selected by the user; If the roaming performance test result reaches a preset satisfaction level, no secondary roaming parameter adjustment is required.
6. The wireless roaming parameter adjustment method according to claim 4, wherein: The step of performing roaming performance detection on the wireless network within the coverage area to obtain a roaming performance detection result includes: Obtaining a first roaming performance detection result by performing a roaming performance detection on each of the wireless nodes within the coverage area; Obtaining a second roaming performance test result by performing a roaming performance test on the terminal device within the coverage area; The first roaming performance detection result and the second roaming performance detection result are used together as the roaming performance detection result.
7. A wireless roaming parameter adjustment device, characterized in that: Applied to a terminal device, the wireless roaming parameter adjustment device includes: An initial roaming parameter acquisition module is configured to acquire initial roaming parameters of the wireless network if it is detected that the wireless network has been established. a measurement data receiving module, configured to receive measurement data returned by the wireless network based on a current location by sending a roaming reset instruction to the wireless network, wherein the current location refers to a target location selected by a user, and the measurement data refers to parameter data between the terminal device at the current location and each wireless node, and the measurement data includes roaming signal parameters; A roaming parameter adjustment module is configured to obtain a target connection node selected by the user, determine optimal roaming parameters at the current location based on the measurement data and the target connection node, and send the optimal roaming parameters to the wireless network to replace the initial roaming parameters. The target connection node is a node selected by the user for wireless network connection. Determining the optimal roaming parameters at the current location based on the measurement data and the target connection node includes: detecting whether a target roaming signal parameter corresponding to the target connection node reaches a preset roaming signal threshold; if not, increasing the target roaming signal parameter by an amount within a preset signal adjustment range based on the original value to obtain the optimal roaming signal parameter.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor. The instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the wireless roaming parameter adjustment method according to any one of claims 1 to 6.
9. A readable storage medium, characterized in that: The readable storage medium stores a program for implementing the wireless roaming parameter adjustment method. The program for implementing the wireless roaming parameter adjustment method is executed by a processor to implement the steps of the wireless roaming parameter adjustment method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Mechanisms to improve mobile device roaming in wireless networks
CN103999511A
Wireless roaming hotspot access method, system and wireless terminal
CN106358174A
AP management method, device and equipment and machine readable storage medium
CN115038133A