Network access method, apparatus, device, and storage medium

By determining the interference information of the target channel and adjusting the network access parameter group in an interference environment, STA can ensure the picture quality and smooth operation of cloud video applications in an interference environment, and solve the problem of transmission instability caused by using the highest capacity.

CN115996438BActive Publication Date: 2026-06-26TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-10-15
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

In interference-prone environments, STA uses its highest capacity for network access, which reduces its anti-interference capabilities, leading to issues such as stuttering and unsmooth operation in cloud video applications.

Method used

The STA determines the interference information of the target channel, disconnects from the current AP, and reconnects to the AP according to the target network access parameter group in order to select a suitable network access parameter group.

Benefits of technology

Under a certain level of interference, the image quality of cloud video applications and the smoothness of user operation are guaranteed, and the transmission stability is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115996438B_ABST
    Figure CN115996438B_ABST
Patent Text Reader

Abstract

The application provides a network access method and device, equipment and a storage medium, the method comprising: determining interference information of a target channel, the target channel being a channel between a STA and a currently connected access point (AP); determining a target network access parameter group corresponding to the interference information; disconnecting the connection between the STA and the AP; and accessing the AP according to the target network access parameter group. In the case of a certain degree of interference, a suitable network access parameter group is selected, thereby ensuring the picture quality of cloud video application and the smoothness of user operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a network access method, apparatus, device, and storage medium. Background Technology

[0002] Currently, most Stations (STAs) connect to Access Points (APs) through a process involving scanning, authentication, and association. During the association process, STAs utilize the highest supported capabilities, including: Wireless Fidelity (WiFi) version, Maximum Modulation and Coding Scheme (MCS) modulation level, bandwidth, Aggregate-Management Protocol DataUnit (A-MPDU) aggregation depth, and number of spatial streams. Furthermore, STAs and APs can negotiate these parameters, aiming to utilize the most efficient MCS modulation level, higher bandwidth, larger A-MPDU aggregation depth, and a greater number of spatial streams to achieve the highest uplink and downlink bidirectional transmission rates.

[0003] However, the highest uplink and downlink bidirectional transmission rate comes at the cost of reduced anti-interference capability, which can easily lead to transmission failure. As a result, the STA will attempt to retransmit, which reduces available bandwidth and increases transmission latency. For cloud video applications that are sensitive to bandwidth and latency jitter, this has already resulted in a poor user experience, such as stuttering and unsmooth operation. Summary of the Invention

[0004] This application provides a network access method, apparatus, device, and storage medium to select a suitable network access parameter set under a certain level of interference, thereby ensuring the picture quality of cloud video applications and the smoothness of user operation.

[0005] In a first aspect, embodiments of this application provide a network access method, comprising: determining interference information of a target channel, wherein the target channel is a channel between a STA and a currently connected AP; determining a target network access parameter group corresponding to the interference information; disconnecting the connection between the STA and the AP; and accessing the AP according to the target network access parameter group.

[0006] Secondly, embodiments of this application provide a network access device, including: a determining module, a disconnecting module, and an accessing module, wherein the determining module is used to determine interference information of a target channel, the target channel being the channel between a STA and a currently connected access point AP; and to determine a target network access parameter group corresponding to the interference information; the disconnecting module is used to disconnect the connection between the STA and the AP; and the accessing module is used to access the AP according to the target network access parameter group.

[0007] Thirdly, embodiments of this application provide an electronic device, including: a processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to perform the methods as described in the first aspect or its various implementations.

[0008] Fourthly, embodiments of this application provide a computer-readable storage medium for storing a computer program that causes a computer to perform the methods described in the first aspect or its various implementations.

[0009] Fifthly, embodiments of this application provide a computer program product including computer program instructions that cause a computer to perform the methods as described in the first aspect or its various implementations.

[0010] Sixthly, embodiments of this application provide a computer program that causes a computer to perform the methods as described in the first aspect or its various implementations.

[0011] Through the technical solution of this application, the STA can first determine the interference information of the target channel between itself and the currently connected AP, and then determine the target network access parameter group corresponding to the interference information. After disconnecting the connection between the STA and the AP, the STA can reconnect to the AP according to the aforementioned target network access parameter group. In other words, under a certain level of interference, the STA can select an appropriate network access parameter group, thereby ensuring the picture quality of cloud video applications and the smoothness of user operation. Attached Figure Description

[0012] Figure 1 An application scenario diagram provided for an embodiment of this application;

[0013] Figure 2 A flowchart illustrating a network access method provided in an embodiment of this application;

[0014] Figure 3 A flowchart illustrating another network access method provided in this application embodiment;

[0015] Figure 4 A schematic diagram of a network access device provided in an embodiment of this application;

[0016] Figure 5 A schematic diagram of another network access device provided in the embodiments of this application;

[0017] Figure 6 This is a schematic block diagram of the electronic device 600 provided in the embodiments of this application. Detailed Implementation

[0018] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.

[0019] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0020] In this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or solution described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0021] As mentioned above, currently, when the STA uses the highest capabilities it can support, it can achieve the highest uplink and downlink bidirectional transmission rates. However, this maximum bidirectional transmission rate comes at the cost of reduced interference resistance, which can easily lead to transmission failures. As a result, the STA will attempt to retransmit, resulting in a reduction in available bandwidth and an increase in transmission latency. For cloud video applications that are sensitive to bandwidth and latency jitter, this has already caused a poor user experience, such as stuttering and unresponsive operation.

[0022] To address the aforementioned technical issues, the proposed solution is as follows: Under certain interference conditions, the STA should select an appropriate network access parameter set to ensure the picture quality of cloud video applications and the smoothness of user operation.

[0023] It should be understood that the technical solution of this application can be applied to the following scenarios, but is not limited to:

[0024] For example, Figure 1An application scenario diagram provided for an embodiment of this application, such as... Figure 1 As shown, this application scenario may include STA110, AP120, and server 130. STA110 and AP120 can communicate through an Application Programming Interface (API), and AP120 and server 130 can communicate with each other.

[0025] The connection establishment between a STA and an AP can be divided into three steps: scanning, authentication, and association. When a STA enters the coverage area of ​​an AP, it can scan for APs within that area. Specifically, the STA can actively scan different channels; alternatively, the STA can listen to beacon frames periodically sent by APs on each of its supported channels to identify nearby APs. Each AP is located on a channel, and different APs can be on different channels or the same channel. After scanning, the STA needs to authenticate the scanned APs. For example, the STA can authenticate using Open Systems Authentication (OSA), shared key authentication, or pre-authentication. After authentication, the STA can associate with the AP and negotiate network access parameters. Specifically, the STA can send an association request frame to the AP, including network access parameters, various STA parameters, and parameters selected according to the service configuration. Upon receiving the association request frame, the AP can determine whether the STA needs to perform access authentication and respond to the STA accordingly. Once association is complete, it indicates that a wireless link has been established between the STA and the AP.

[0026] In some possible implementations, the STA can be a mobile phone, tablet, desktop, laptop, handheld computer, notebook computer, in-vehicle device, Ultra-Mobile Personal Computer (UMPC), netbook, as well as cellular phone, Personal Digital Assistant (PDA), Augmented Reality (AR) / Virtual Reality (VR) device, etc., but is not limited to these.

[0027] An Access Point (AP) is a hub in a traditional wired network and is the most commonly used device for building small wireless local area networks (WLANs). An AP acts as a bridge between the wired and wireless networks, its main function being to connect various wireless network clients together and then connect the wireless network to the Ethernet. Most wireless APs support multi-user access, data encryption, and multi-rate transmission; some also have wireless network management functions. For small-scale wireless WLANs such as those in homes or offices, generally only one AP is needed to enable wireless access for all computers. The indoor coverage range of an AP is typically 30m to 100m.

[0028] It should be understood that the server can be a server that supports cloud video applications on the STA. This server can be a standalone physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.

[0029] also, Figure 1 An exemplary setup is shown, comprising one STA, one AP, and one server. In practice, other numbers of STAs, APs, and servers may be included, and this application is not limited thereto.

[0030] After introducing the application scenarios of the embodiments of this application, the technical solution of this application will be described in detail below:

[0031] Figure 2 A flowchart illustrating a network access method provided in this application embodiment, the method can be performed by, for example... Figure 1 The STA110 shown is executed, but is not limited to this, such as Figure 2 As shown, the method may include:

[0032] S201: STA determines the interference information of the target channel;

[0033] S202: STA determines the target network access parameter group corresponding to the interference information;

[0034] S203: The STA disconnects from the AP;

[0035] S204: The STA accesses the AP according to the target network access parameter group.

[0036] The target channel is the channel between the STA and the AP currently connected to the STA. It should be understood that the target channel is the channel on which the AP is located.

[0037] In some implementations, the STA can determine interference information of the target channel before data transmission with the server begins. For example, the STA can determine the interference information of the target channel when the user has just started the cloud video application, but before cloud video data transmission has begun.

[0038] In other possible implementations, the STA can determine the interference information of the target channel upon receiving a pause operation. The pause operation can be a double-click on the page where the cloud video is playing, or a click on the pause button on the page where the cloud video is playing, but is not limited to these.

[0039] In some other implementations, the STA can determine the interference information of the target channel upon receiving a refresh operation. The refresh operation can be a user's pull-down action on the currently viewed cloud video playlist page or webpage, or a user's click on the refresh button on the currently viewed cloud video playlist page or webpage, but is not limited to these.

[0040] In other possible implementations, the STA can determine interference information for the target channel when it detects that the current network environment is experiencing lag. For example, when a user opens a cloud video application or webpage, the STA can proactively detect the current network environment and, after determining that the strength of the currently connected Wi-Fi signal is below a first threshold, determine the interference information for the target channel. Alternatively, the STA can determine the interference information for the target channel when it detects information such as "buffering" or "loading" displayed on the current cloud video playback page or webpage.

[0041] It should be understood that this application does not impose a time limit on the STA's determination of interference information for the target channel.

[0042] In some feasible implementations, the STA can obtain scanning results by scanning the entire frequency band or a portion of the frequency band, and then determine the interference information based on the scanning results.

[0043] For example, the full frequency band can be a 2.4 GHz band or a 5 GHz band; this application does not limit this.

[0044] For example, a portion of the frequency band may include the first frequency band where the target channel is located and the adjacent frequency bands of the first frequency band. For instance, if the target channel is channel 1 in the 2.4 GHz frequency band, then the STA can scan channels 1-13 in the 2.4 GHz frequency band, and this application does not impose any restrictions on this.

[0045] In some implementations, the STA can scan according to a preset scanning order. For example, the STA can scan according to a preset channel scanning order. For instance, assuming each channel has a unique index, the STA can scan the channels in ascending order of channel index, or in descending order of channel index, or the STA can scan the target channel first, and then scan the other channels in ascending or descending order of channel index. In short, this application does not limit the preset channel scanning order.

[0046] In some possible implementations, the above scanning results may include at least one of the following, but are not limited to: the signal strength of the AP, the WiFi interference strength of the target channel, the WiFi interference strength of the adjacent frequency band of the target channel, the non-WiFi interference strength of the target channel frequency band, i.e., the first frequency band, and the number of other STAs connected to the AP besides the STA.

[0047] In some possible implementations, the WiFi interference intensity of a target channel can be measured by at least one of the number of other APs on the target channel and the signal strength of each of the other APs, but is not limited to this. For example, the more APs on the target channel, the greater the WiFi interference intensity of the target channel; the greater the signal strength of the other APs on the target channel, the greater the WiFi interference intensity of the target channel.

[0048] In some possible implementations, the WiFi interference intensity of the adjacent frequency band can be measured by at least one of the number of other APs on the adjacent frequency band and the signal strength of each of the other APs, but is not limited thereto. For example, the more APs on the adjacent frequency band, the greater the WiFi interference intensity of the adjacent frequency band; the greater the signal strength of the other APs on the adjacent frequency band, the greater the WiFi interference intensity of the adjacent frequency band.

[0049] In some implementations, the non-WiFi interference intensity of the first frequency band may include at least one of the interference intensity of Bluetooth signals and cellular signals in the first frequency band.

[0050] It should be understood that the STA can determine the interference information of the target channel in any of the following possible ways, but is not limited to:

[0051] In one possible approach, the STA determines the score corresponding to each item in the above scanning results. The STA can then perform a weighted average of these scores to obtain the interference score and determine the interference score interval in which the interference score falls.

[0052] In the second possible method, the STA determines the priority of each item in the above scanning results, selects items whose priority is greater than the priority threshold, and further, the STA scores the selected items respectively. The STA can perform a weighted average of these scores to obtain the interference score and determine the interference score interval in which the interference score is located.

[0053] The following explains the two possible implementation methods:

[0054] In some implementations, the STA can pre-establish mapping relationships between signal strength ranges of multiple APs and multiple scores, mapping relationships between WiFi interference strength ranges of the target channel and multiple scores, mapping relationships between WiFi interference strength ranges of adjacent frequency bands of the target channel and multiple scores, mapping relationships between non-WiFi interference strength ranges of the first frequency band and multiple scores, and mapping relationships between the number ranges of other STAs connected to the AP (excluding the STA itself) and multiple scores. Based on this, the STA can obtain the scores corresponding to each or some items in the scan results according to the above scanning results and these mapping relationships.

[0055] In some possible implementations, the weights corresponding to each or some items in the scan results can be preset or dynamically set, and this application does not impose any restrictions on this.

[0056] For example, suppose the scan results include the AP signal strength score as s1, the WiFi interference strength of the target channel score as s2, the WiFi interference strength of the adjacent frequency bands of the target channel score as s3, the non-WiFi interference strength of the first frequency band score as s4, and the number of STAs other than STAs connected to the AP score as s5. Set the weights of each item in the above scan results to 0.3, 0.15, 0.15, 0.1, and 0.3 respectively, and then perform a weighted average of these items to obtain the interference score as (0.3*s1+0.15*s2+0.15*s3+0.1*s4+0.3*s5) / 5.

[0057] The second feasible method will be explained as follows:

[0058] In some possible implementations, the priority of each item in the above scan results can be preset or dynamically set, and this application does not impose any restrictions on this.

[0059] In some possible implementations, the aforementioned priority threshold can be preset or dynamically set, and this application does not impose any restrictions on this.

[0060] For example, a STA can set the priority of the AP's signal strength to 5, the priority of the WiFi interference intensity of the target channel to 4, the priority of the WiFi interference intensity of the adjacent frequency band of the target channel to 3, the priority of the non-WiFi interference intensity of the first frequency band to 2, and the priority of the number of other STAs connected to the AP (excluding the STA itself) to 1. The STA can set a priority threshold of 3. In this case, the STA determines the items with a priority higher than this priority threshold as: the AP's signal strength and the WiFi interference intensity of the target channel. Furthermore, the STA can score these two items according to the above scoring rules and perform a weighted average of the scores to obtain the final interference score and determine the interference score range in which this interference score falls.

[0061] In some feasible implementations, the STA can determine the level of interference based on the interference score range.

[0062] In some implementations, the STA can divide the total interference score interval to obtain multiple interference score intervals, each of which can correspond to a level of interference. Based on this, the STA can determine the level of interference according to the interference score.

[0063] For example, assuming the total interference score range is [0, 100], STA can divide this range into five interference score ranges: [80, 100], [60, 80], [40, 60], [20, 40], and [0, 20]. These correspond to interference levels of 1, 2, 3, 4, and 5, respectively. The correspondence between interference levels and interference score ranges can be shown in Table 1, but is not limited to this.

[0064] Table 1

[0065] Interference score range Interference level [80,100] Level 1 [60,80) Level 2 [40,60) Level 3 [20,40) Level 4 [0,20) Level 5

[0066] It should be understood that this application does not restrict how the interference score intervals are divided, nor does it restrict the correspondence between the degree of interference and the interference score intervals.

[0067] In some possible implementations, the aforementioned interference information may include at least one of the following, but is not limited to: interference level and interference score range.

[0068] In some feasible methods, the target network access parameter set corresponding to the interference information can be obtained through experiments. For example, given the interference information, for multiple sets of network access parameter sets, the application indicators on the application side are measured to obtain the optimal or suitable network access parameter set, which is then used as the target network access parameter set. In other words, through experiments, the STA can establish a mapping relationship between the interference information and the target network access parameter set.

[0069] In some possible implementations, any set of network access parameters provided in the embodiments of this application may include at least one of the following, but is not limited to: supporting maximum bandwidth, supporting maximum MCS modulation levels, supporting maximum A-MPDU aggregation degree, and other access parameters. These other access parameters may be relevant parameters that the STA and AP need to negotiate.

[0070] In some possible implementations, some parameters in any network access parameter group provided in the embodiments of this application may be used in Associate Request frames, and some parameters may be used in other Action frames, but are not limited thereto.

[0071] It should be understood that any of the above network access parameter sets can be used for uplink or downlink data transmission, and this application does not impose any restrictions on this.

[0072] In some implementations, after S204, the STA can negotiate the target network access parameter set with the AP, and can then transmit data with the server based on the negotiated target network access parameter set.

[0073] For example, suppose the target network access parameter set determined by the STA includes the following: maximum supported bandwidth of 40MHz, maximum supported MCS of 5, maximum supported A-MPDU aggregation degree of 16, other access parameter A is Y, and other access parameter B is ZX. The STA can include this target network access parameter set in an association request frame and send it to the AP. After receiving the association request frame, the AP can respond according to its own capabilities. Suppose the AP can support a maximum bandwidth of 20MHz, a maximum supported MCS of 5, and a maximum supported A-MPDU aggregation degree of 8. Then the AP can send its supported network access parameter set to the STA. After receiving these parameters, the STA selects the smaller network access parameter from the two network access parameter sets as the negotiated target network access parameter set, that is, the negotiated target network access parameter set includes: maximum supported bandwidth of 20MHz, maximum supported MCS of 5, and maximum supported A-MPDU aggregation degree of 8. Then the STA can transmit data with the server according to the negotiated target network access parameter set.

[0074] In some implementations, after the data transmission with the server is completed, the STA can disconnect from the AP, obtain the original network access parameter set, and reconnect to the AP based on the original network access parameter set. This application does not impose any restrictions on this.

[0075] It should be noted that the above-mentioned original network access parameter set is the network access parameter set used by the STA when connecting to the AP before reconnecting to the AP according to the target network access parameter set.

[0076] In other possible implementations, the STA can continue to use the target network access parameter set to maintain the connection with the AP after the data transmission with the server is completed, and this application does not limit this.

[0077] In summary, the technical solution provided by the embodiments of this application brings at least the following beneficial effects: when the interference level is certain, the STA can select a suitable network access parameter group, thereby ensuring the picture quality of cloud video applications and the smoothness of user operation.

[0078] Furthermore, since the STA can directly determine the target network access parameter group corresponding to the interference information based on the mapping relationship between the interference information and the target network access parameters, the STA can quickly determine the target network access parameter group, thereby efficiently ensuring the picture quality of cloud video applications and the smoothness of user operation.

[0079] As mentioned above, the target network access parameter set corresponding to the interference information can be obtained experimentally to establish the mapping relationship between the interference information and the target network access parameter set. This will be explained in detail below:

[0080] In some possible ways, Figure 3 A flowchart illustrating a method for establishing a mapping relationship between interference information and target network access parameter groups, as provided in this application embodiment, is shown below. Figure 3 As shown, the method may include:

[0081] S301: STA obtains multiple network access parameter groups;

[0082] S302: Under the interference conditions corresponding to the interference information, the STA accesses the AP according to each network access parameter group, negotiates with the AP for each network access parameter group, transmits data with the server, and measures the application indicators corresponding to the server.

[0083] S303: The STA sorts the application metrics corresponding to multiple network access parameter groups to determine the best application metrics;

[0084] S304: STA establishes a mapping relationship between interference information and the target network access parameter group corresponding to the best application indicators.

[0085] It should be understood that multiple network access parameter groups include a target network access parameter group. For example, multiple network access parameter groups can be as shown in Table 2:

[0086] Table 2

[0087]

[0088] It should be understood that S302 can be interpreted as an experimental phase for each network access parameter group. Before the STA's experimental phase for each network access parameter group, the STA can first disconnect its current connection with the AP. Then, under the interference environment corresponding to the aforementioned interference information, the STA connects to the AP according to the network access parameter group, negotiates the network access parameter group with the AP, and transmits data to the server using the negotiated network access parameter group to measure the corresponding application metrics of the server.

[0089] For example, a STA can send an association request frame containing a set of network access parameters to an AP. Upon receiving this frame, the AP can send its own set of network access parameters, including its maximum supported bandwidth, maximum supported MCS, and maximum supported A-MPDU aggregation degree, back to the STA. The STA can then use these two sets of network access parameters to establish a connection with the AP. For instance, the STA can choose the smaller of the two sets of network access parameters (maximum supported bandwidth, maximum supported MCS, and maximum supported A-MPDU aggregation degree) to establish a connection with the AP.

[0090] In the embodiments of this application, the STA can measure application metrics in the following scenarios, but is not limited to them: the STA can open a live streaming page in a cloud video application software and then measure the application metrics corresponding to the server at this time. This application does not limit this.

[0091] In some possible implementations, the application metrics include at least one of the following, but are not limited to: bandwidth jitter, latency jitter, and frame-by-frame stuttering rate.

[0092] In some feasible implementations, under the interference conditions corresponding to the above interference information, after the STA measures the application indicators based on different network access parameter groups, it can normalize the application indicators measured based on each network access parameter group, and perform a weighted average on the normalization results to obtain the weighted average value corresponding to these application indicators. The STA can determine the application indicator corresponding to the smallest weighted average value as the optimal application indicator.

[0093] For example, under interference level 1, the STA reconnects to the same AP using five different network access parameter groups: combination A, combination B, combination C, combination D, and combination E, respectively, and transmits data with the server. Five application metrics are measured, all including bandwidth jitter b1, latency jitter t1, and frame-by-frame stuttering rate s1. The weights of these metrics can be set to 0.3, 0.4, and 0.3, respectively. These five metrics are then normalized, resulting in bandwidth jitter b2, latency jitter t2, and frame-by-frame stuttering rate s2. A weighted average of these normalized results yields (0.3*b2 + 0.4*t2 + 0.3*s2) / 3. Since smaller values ​​indicate smaller bandwidth jitter, latency jitter, and frame-by-frame stuttering rate, signifying more stable channel transmission, the metric with the smallest calculated value is considered the optimal application metric.

[0094] In other possible implementations, under the interference conditions corresponding to the aforementioned interference information, after the STA measures the application metrics based on different network access parameter groups, for each application metric measured based on the network access parameter group, the STS can select application metrics with a priority greater than a priority threshold from the application metrics measured in each network access parameter group. These selected application metrics can be normalized, and the normalization results can be weighted and averaged to obtain the weighted average value corresponding to these application metrics. The STA can determine the application metric corresponding to the smallest weighted average value as the optimal application metric.

[0095] In some possible implementations, the aforementioned priority threshold can be preset or dynamically set, and this application does not impose any restrictions on this.

[0096] For example, the STA can set the priority of bandwidth jitter to 5, latency jitter to 4, and frame-by-frame stuttering rate to 3. The STA can also set a priority threshold of 3. In this case, the STA determines that the application metrics with a priority higher than this threshold are bandwidth jitter and latency jitter. Furthermore, the STA can normalize these two application metrics and perform a weighted average on the normalization result to obtain the weighted average value corresponding to these application metrics. The STA can then determine the application metric corresponding to the smallest weighted average value as the optimal application metric.

[0097] It should be understood that this application does not restrict the method of determining the optimal application metrics based on application metrics.

[0098] It should be understood that, under the interference environment corresponding to the above interference information, the network access parameter set corresponding to the best application index is the target network access parameter set.

[0099] It should be understood that the above process is the process by which the STA establishes a mapping relationship between the interference information and the target network access parameter group under the same interference environment. In fact, the STA can also establish mapping relationships between more interference information and the target network access parameter group.

[0100] For example, when the interference information includes the interference level, the STA can establish multiple mapping relationships between interference levels and multiple target network access parameter groups, as shown in Table 3. Table 3 only lists some of the mapping relationships between interference levels and target network access parameter groups, but is not limited to these.

[0101] Table 3

[0102] Interference level Target network access parameter group Level 1 Combination E Level 2 Combination A Level 3 Combination B Level 4 Combination D Level 5 Combination C

[0103] For example, as shown in the second row of Table 3, when the interference level is level 1, the STA determines that the optimal application metric is the application metric corresponding to the server when the STA reconnects to the AP based on combination E and transmits data with the server. Therefore, the STA can determine that when the interference level is level 1, the target network access parameter group is combination E.

[0104] For example, when the interference information includes interference score intervals, the STA can score these intervals to establish a mapping relationship between multiple interference score intervals and multiple target network access parameter groups, as shown in Table 4. Table 4 only lists some of the mapping relationships between interference score intervals and target network access parameter groups, but is not limited to these.

[0105] Table 4

[0106] Interference score range Target network access parameter group [80,100] Combination E [60,80) Combination A [40,60) Combination B [20,40) Combination D [0,20) Combination C

[0107] For example, as shown in the second row of Table 4, when the interference score range is [80, 100], the STA determines that the best application index is the application index corresponding to the server when the STA reconnects to the AP according to combination E and transmits data with the server. Then the STA can determine that when the interference score range is [80, 100], the target network access parameter group is combination E.

[0108] In other possible implementations, when the interference information includes interference level and interference score range, the STA can establish mapping relationships between multiple interference information sets and multiple target network access parameter sets, as shown in Table 5. Table 5 only lists some of the mapping relationships between interference information sets and target network access parameter sets, but is not limited to these.

[0109] Table 5

[0110] Interference level Interference score range Target network access parameter group Level 1 [80,100] Combination E Level 2 [60,80) Combination A Level 3 [40,60) Combination B Level 4 [20,40) Combination D Level 5 [0,20) Combination C

[0111] For example, as shown in the second row of Table 5, when the interference level is level 1 and the interference score range is [80, 100], the STA determines that the best application indicator is the application indicator corresponding to the server when the STA reconnects to the AP according to combination E and transmits data with the server. Then the STA can determine that when the interference level is level 1 and the interference score range is [80, 100], the target network access parameter group is combination E.

[0112] In some possible implementations, the STA can record the above mapping relationship in a local or cloud database, and this application does not impose any restrictions on this.

[0113] In some possible implementations, the STA can look up the corresponding target network access parameter group based on the interference information of the target channel in the above-mentioned mapping relationship between interference information and target network access parameter group. This application does not impose any restrictions on this.

[0114] In summary, the above experimental process shows that, under a certain level of interference, STA can select the network access parameter set corresponding to the best application index as the target network access parameter set, thereby ensuring the picture quality of cloud video applications and the smoothness of user operation.

[0115] Furthermore, since the measurement of application metrics such as bandwidth jitter, latency jitter, and frame-by-frame stuttering rate is relatively simple, the process of establishing the above mapping relationship can be improved.

[0116] Figure 4 This is a schematic diagram of a network access device provided in an embodiment of this application. The network access device may be as follows: Figure 1 The STA110 shown includes a network access device comprising: a determination module 401, a disconnection module 402, and an access module 403. The determination module 401 is used to determine interference information of a target channel, wherein the target channel is the channel between the STA and the currently connected access point (AP); and to determine the target network access parameter group corresponding to the interference information. The disconnection module 402 is used to disconnect the connection with the AP, and the access module 403 is used to access the AP according to the target network access parameter group.

[0117] Figure 5 This is a schematic diagram of another network access device provided in an embodiment of this application, wherein, Figure 4 Based on the network access device shown, in some possible implementations, the network access device further includes: an establishment module 404, used to establish a mapping relationship between interference information and a target network access parameter set. The determination module 401 is specifically used to determine the target network access parameter set based on the mapping relationship and the interference information.

[0118] In some implementation methods, module 404 is specifically used for: acquiring multiple network access parameter groups, including a target network access parameter group; under interference conditions corresponding to interference information, accessing the AP according to each network access parameter group, negotiating with the AP for each network access parameter group, transmitting data with the server, and measuring the application indicators corresponding to the server; sorting the application indicators corresponding to the multiple network access parameter groups to determine the optimal application indicator; and establishing a mapping relationship between interference information and the target network access parameter group corresponding to the optimal application indicator.

[0119] In some feasible implementations, the application metrics include at least one of the following: bandwidth jitter, latency jitter, and frame-by-frame stuttering rate.

[0120] In some implementations, the determining module 401 is specifically used to: scan the entire frequency band or a portion of the frequency band to obtain scanning results, wherein the portion of the frequency band includes: the first frequency band in which the target channel is located and the adjacent frequency bands of the first frequency band; and determine interference information based on the scanning results.

[0121] In some implementations, the scan results include at least one of the following: the signal strength of the AP; the WiFi interference strength of the target channel; the WiFi interference strength of adjacent frequency bands; the non-wireless fidelity WiFi interference strength of the first frequency band; and the number of other STAs connected to the AP besides the STA itself.

[0122] In some possible implementations, the interference information includes at least one of the following: interference level and interference score range.

[0123] In some implementations, the network access device further includes: a negotiation module 405, a transmission module 406, and an acquisition module 407. The negotiation module 405 negotiates a target network access parameter set with the AP; the transmission module 406 transmits data with the server based on the negotiated target network access parameter set; the disconnection module 402 disconnects the connection between the STA and the AP after data transmission with the server is completed; the acquisition module 407 acquires the original network access parameter set; and the access module 403 accesses the AP based on the original network access parameter set.

[0124] In some implementations, the determining module 401 is specifically used to: determine interference information before data transmission with the server begins.

[0125] In some implementations, the determining module 401 is specifically used to: determine interference information when a pause operation is obtained; wherein the pause operation is used to pause data transmission with the server.

[0126] It should be understood that the device embodiments and method embodiments can correspond to each other, and similar descriptions can be referred to the method embodiments. To avoid repetition, further details will not be provided here.

[0127] Specifically, Figure 4 and Figure 5 The network access device shown can execute the method embodiment on the STA side, and the aforementioned and other operations and / or functions of each module in the network access device are respectively for implementing the corresponding processes in each method on the STA side, which will not be described in detail here for the sake of brevity.

[0128] The network access device of this application embodiment has been described above from the perspective of functional modules in conjunction with the accompanying drawings. It should be understood that this functional module can be implemented in hardware, in software instructions, or in a combination of hardware and software modules. Specifically, the steps of the method embodiments in this application can be completed by integrated logic circuits in the processor's hardware and / or by software instructions. The steps of the method disclosed in this application embodiment can be directly manifested as execution by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. Optionally, the software module can be located in a mature storage medium in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. This storage medium is located in memory, and the processor reads information from the memory and, in conjunction with its hardware, completes the steps in the above method embodiments.

[0129] Figure 6 This is a schematic block diagram of the electronic device 600 provided in the embodiments of this application.

[0130] like Figure 6 As shown, the electronic device 600 may include:

[0131] The system includes a memory 610 and a processor 620. The memory 610 stores computer programs and transfers the program code to the processor 620. In other words, the processor 620 can retrieve and run the computer program from the memory 610 to implement the methods described in the embodiments of this application.

[0132] For example, the processor 620 can be used to execute the above-described method embodiments according to instructions in the computer program.

[0133] In some embodiments of this application, the processor 620 may include, but is not limited to:

[0134] General-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0135] In some embodiments of this application, the memory 610 includes, but is not limited to:

[0136] Volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).

[0137] In some embodiments of this application, the computer program may be divided into one or more modules, which are stored in the memory 610 and executed by the processor 620 to perform the method provided in this application. The one or more modules may be a series of computer program instruction segments capable of performing a specific function, which describe the execution process of the computer program in the electronic device.

[0138] like Figure 6 As shown, the electronic device may also include:

[0139] Transceiver 630, which can be connected to processor 620 or memory 610.

[0140] The processor 620 can control the transceiver 630 to communicate with other devices; specifically, it can send information or data to other devices or receive information or data sent by other devices. The transceiver 630 may include a transmitter and a receiver. The transceiver 630 may further include antennas, and the number of antennas may be one or more.

[0141] It should be understood that the various components in the electronic device are connected through a bus system, which includes a data bus, a power bus, a control bus, and a status signal bus.

[0142] This application also provides a computer storage medium storing a computer program thereon, which, when executed by a computer, enables the computer to perform the methods described in the above method embodiments.

[0143] This application also provides a computer program product containing instructions that, when executed by a computer, cause the computer to perform the method described in the above method embodiments.

[0144] When implemented using software, it can be implemented entirely or partially as a computer program product. This computer program product includes one or more computer instructions. When these computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0145] Those skilled in the art will recognize that the modules and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0146] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0147] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. For example, the functional modules in the various embodiments of this application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.

[0148] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A network access method, characterized in that, The method is applied to a site STA, and the method includes: Determine the interference information of the target channel, where the target channel is the channel between the STA and the currently connected access point (AP); Acquire multiple network access parameter groups, including a target network access parameter group; In the event of interference corresponding to the interference information, the AP is accessed according to each network access parameter group, the AP negotiates each network access parameter group, data is transmitted with the server, and the application metrics corresponding to the server are measured. The application metrics corresponding to the multiple network access parameter groups are normalized and weighted to obtain the weighted average value of each application metric. The application metric corresponding to the smallest weighted average value is determined as the best application metric. Establish a mapping relationship between the interference information and the target network access parameter group corresponding to the optimal application index; The target network access parameter group is determined based on the mapping relationship and the interference information; Disconnect the STA from the AP; Access the AP according to the target network access parameter group.

2. The method according to claim 1, characterized in that, The application metrics include at least one of the following: bandwidth jitter, latency jitter, and frame-by-frame stuttering rate.

3. The method according to claim 1 or 2, characterized in that, The interference information for determining the target channel includes: The entire frequency band or a portion of the frequency band is scanned to obtain the scanning results. The portion of the frequency band includes: the first frequency band in which the target channel is located and the adjacent frequency bands of the first frequency band. The interference information is determined based on the scan results.

4. The method according to claim 3, characterized in that, The scan results include at least one of the following: The signal strength of the AP; The interference intensity of the target channel's Wi-Fi; The WiFi interference intensity of the adjacent frequency band; Non-WiFi interference intensity in the first frequency band; The number of other STAs connected to the AP besides the STA in question.

5. The method according to claim 1 or 2, characterized in that, The interference information includes at least one of the following: interference level and interference score range.

6. The method according to claim 1 or 2, characterized in that, After accessing the AP according to the target network access parameter group, the process further includes: Negotiate the target network access parameter group with the AP; Data is transmitted to the server according to the negotiated target network access parameter set; After the data transmission with the server is completed, the connection between the STA and the AP is disconnected; Obtain the original network access parameter set; Access the AP according to the original network access parameter set.

7. The method according to claim 1 or 2, characterized in that, The interference information for determining the target channel includes: The interference information is determined before data transmission with the server begins.

8. The method according to claim 1 or 2, characterized in that, The interference information for determining the target channel includes: Upon receiving a pause operation, the interference information is determined; The pause operation is used to pause data transmission with the server.

9. A network access device, characterized in that, include: The determination module is used to determine the interference information of the target channel, which is the channel between the STA and the currently connected access point AP; Create a module for: Acquire multiple network access parameter groups, including a target network access parameter group; In the event of interference corresponding to the interference information, the AP is accessed according to each network access parameter group, the AP negotiates each network access parameter group, data is transmitted with the server, and the application metrics corresponding to the server are measured. The application metrics corresponding to the multiple network access parameter groups are normalized and weighted to obtain the weighted average value of each application metric. The application metric corresponding to the smallest weighted average value is determined as the best application metric. Establish a mapping relationship between the interference information and the target network access parameter group corresponding to the optimal application index; The determining module is further configured to determine the target network access parameter group based on the mapping relationship and the interference information; Disconnect module, used to disconnect the connection between the STA and the AP; The access module is used to access the AP according to the target network access parameter group.

10. An electronic device, characterized in that, include: processor; as well as Memory for storing the executable instructions of the processor; The processor is used to invoke executable instructions stored in the memory to implement the network access method according to any one of claims 1-8.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the network access method according to any one of claims 1-8.

12. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by the processor, it implements the method as described in any one of claims 1-8.