Parameter adjustment method and related equipment

By detecting and increasing the response timeout when the preset model access point and poor communication quality, the network lag problem is solved, improving user experience and saving resources.

CN120434693AActive Publication Date: 2025-08-05HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410116778.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-26
Publication Date
2025-08-05
Estimated Expiration
2044-01-26

AI Technical Summary

Technical Problem

When a user accesses the network through a preset access point, the network lag problem leads to a decline in user experience, especially the retransmission caused by the short response timeout, which causes the access point to fail to recognize the confirmation message.

Method used

Detect whether the network system meets preset conditions, including when the access point is a preset model and the communication quality does not meet the requirements, increase the response timeout time to alleviate network lag.

Benefits of technology

By adjusting the response timeout time, reduce network lag, improve user experience, save resources, and avoid unnecessary resource consumption and efficiency reduction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120434693A_ABST
    Figure CN120434693A_ABST
Patent Text Reader

Abstract

The invention provides a parameter adjustment method and related equipment, which can be applied to a site accessed to a network through an access point, such as terminal equipment accessed to the network through a router. In the method, if a station obtains a network service through an access point of a preset model, but the network signal quality is poor, it is indicated that the access point cannot identify a confirmation message replied by the station due to too short response timeout time, so that the problem of poor network quality is caused by message retransmission; at the moment, the response timeout time can be prolonged, so that the situation of network lagging when the site obtains the network service through the access point of the preset model can be relieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic devices, and particularly relates to a parameter adjustment method and related devices. Background Art

[0002] With the development of Internet technology, various sites supporting Internet access functions have emerged, such as mobile phones, computers, etc. Users can use these devices to obtain network services. For example, users can use mobile phones for audio and video calls / conferences, playing games, watching short videos, online shopping, etc.

[0003] In an application scenario, when a user uses a site to access the Internet, business data can be transmitted through a wireless local area network. However, in this scenario, sometimes network lag occurs, which affects the user's Internet access experience. Summary of the Invention

[0004] Embodiments of this application provide a parameter adjustment method and related devices, which can alleviate the situation of network lag when a site obtains network services through an access point of a preset model.

[0005] In a first aspect, a parameter adjustment method is provided. This method can be applied to a site, and the site is connected to a network through an access point. This network is, for example, a wireless fidelity (Wi-Fi) network. The method specifically includes: detecting whether the current network system meets a preset condition, and if the preset condition is met, adjusting the response timeout from a first value to a second value. Here, the first value is the preset value of the response timeout, or the value of the response timeout used when the site accessed the previous access point. The network system refers to the network system composed of the above site, access point, and network. The preset condition includes: the access point is an access point of a preset model, and the communication quality of the network does not meet the quality requirements; and the second value is greater than the first value. The response timeout is the maximum allowable time interval between a first moment and a second moment. The first moment is the moment when the site receives a message from the access point, and the second moment is the moment when the site sends an acknowledgment message for the message to the access point.

[0006] Therefore, in the above solution, if a site accesses the network through an access point of a preset type, when the communication quality of the network does not meet the quality requirements (i.e., the network is lagging), the response timeout can be increased. In this way, if the network lag is caused by the response timeout being too short for the access point to recognize the received acknowledgment message, the network lag situation in this scenario can be alleviated, and the user experience can be improved.

[0007] In one implementation, the access point of the preset type is an access point that is sensitive to the signal strength of the acknowledgment message. The access point of the preset type can be pre-configured.

[0008] Optionally, the preset conditions further include: the number of times the station continuously receives the same message from the access point is greater than or equal to a preset threshold, or the number of times the station continuously sends an acknowledgment message for the same message to the access point is greater than or equal to a preset threshold.

[0009] Based on the above solution, when all the preset conditions are met, it is more likely to determine that the current network lag is caused by too short response timeout, or is caused by the access point being sensitive to the signal strength of the received acknowledgment message. Based on this, subsequent steps can be executed, which can reduce the situation of misoperation, that is, reduce the network lag caused by other reasons (that is, not due to too short response timeout), but increase the response timeout. On the one hand, it reduces unnecessary resource consumption, and on the other hand, it can reduce the adverse effects brought by increasing the response timeout (such as reducing communication efficiency).

[0010] Optionally, the preset conditions further include one or more of the following: the network is a network of a preset frequency band, the network is a network of a preset bandwidth, and the network uses a preset protocol type.

[0011] Based on the above solution, the response timeout can be increased only for the network of a preset frequency band, or the network of a preset bandwidth, or the preset protocol type. This method is applicable to access points that will experience network lag caused by multiple retransmissions of the same message only when using the network of a preset frequency band, or the network of a preset bandwidth, or the network of a preset protocol type. When detecting, it can be detected whether these specific situations are met. When these specific situations are not met (that is, when not using one or more of the network of a preset frequency band, or the network of a preset bandwidth, or the network of a preset protocol type), the subsequent steps can not be executed, which can reduce the increase of the response timeout in unnecessary situations, that is, reduce unnecessary resource consumption and the adverse effects brought by increasing the response timeout.

[0012] Optionally, the preset conditions further include: being outside the predicted network lag time, and / or the station being outside the predicted network lag location.

[0013] Based on the above solution, even if other preset conditions are met, but if it is currently at the preset network lag time or at the network lag location, the reason for the network lag is likely not due to too short response timeout. If the response timeout is still increased at this time, it will cause unnecessary resource waste and reduce the efficiency of network transmission. In other words, by adding the above conditions to the preset conditions, the situation of misadjusting the response timeout can be reduced, thereby saving resources and improving efficiency.

[0014] Optionally, before detecting whether the preset condition is satisfied, the method further includes: sending an exploration request to an access point; receiving a probe response from the access point; detecting whether the preset condition is satisfied, including: obtaining the identification information corresponding to the access point from the probe response; determining whether the access point is a preset model of access point according to the identification information.

[0015] Based on the above solution, during the process of a station accessing an access point, the identification information corresponding to the access point can be obtained from the probe response. There is no need to obtain the identification information of the access point through an additional process, thereby improving communication efficiency and saving resources.

[0016] Optionally, detecting whether the preset condition is satisfied includes: obtaining the quality of experience (QoE), where QoE includes one or more of the following: the application QoE corresponding to the application that provides services based on the network on the station, the channel QoE corresponding to the network, and the flow QoE corresponding to the network service currently executed by the station; determining whether the communication quality of the network meets the quality requirements according to QoE.

[0017] Based on the above solution, the network quality can be evaluated through various types of QoE, thereby improving the accuracy of the network quality evaluation result and reducing the situation of mis-adjusting the response timeout.

[0018] Optionally, the method further includes: determining a second value according to the model of the access point.

[0019] In the above solution, the value of the response timeout to be adjusted can be determined according to the specific model of the access point. Since different access points have different sensitivities to the signal strength of the confirmation message, a minimum value that enables the access point to recognize the confirmation message can be set for different models of access points. That is to say, by setting a personalized second value for this model of access point, the access point can recognize the confirmation message and the second value can be prevented from being too large to affect communication efficiency.

[0020] Optionally, the method further includes: when the station switches from an access point to another access point, adjusting the value of the response timeout from the second value to the first value, and the other access point is not a preset model of access point.

[0021] In the above solution, if the station switches back from a preset type of access point to a non-preset type of access point, the value of the response timeout can be adjusted back to the first value. That is to say, only when the station accesses a preset type of access point, the response timeout is increased. This can improve the network fluency when the station accesses a preset type of access point and improve the communication efficiency when the station accesses a non-preset type of access point.

[0022] In a second aspect, a site is provided, including a memory and a processor. A computer program that can run on the processor is stored on the memory. When the processor executes the computer program, the site implements the steps of the parameter adjustment method described in any one of the above first aspects.

[0023] In a third aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the steps of the parameter adjustment method described in any one of the above first aspects are implemented.

[0024] In a fourth aspect, a computer program product is provided. When the computer program product runs on an electronic device, the electronic device is caused to execute the parameter adjustment method described in any one of the above first aspects.

[0025] In a fifth aspect, a chip system is provided. The chip system includes a processor. The processor is coupled to a memory. The processor executes a computer program stored in the memory to implement the parameter adjustment method described in any one of the above first aspects.

[0026] Among them, the chip system can be a single chip or a chip module composed of multiple chips.

[0027] It can be understood that the beneficial effects of the above second aspect to fifth aspect can be referred to the relevant descriptions in the above first aspect, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 FIG. shows an architecture diagram of a communication system applicable to an embodiment of the present application;

[0029] Figure 2 FIG. shows a schematic diagram of a specific scenario where a mobile phone accesses a wireless network;

[0030] Figure 3 FIG. shows another schematic diagram of a specific scenario where a mobile phone accesses a wireless network;

[0031] Figure 4 FIG. shows a captured data stream curve diagram of a "traffic generation" test for a specific router provided by an embodiment of the present application;

[0032] Figure 5 FIG. shows a schematic diagram of a log file;

[0033] Figure 6 FIG. shows an exemplary flowchart of a parameter adjustment method provided by an embodiment of the present application;

[0034] Figure 7 FIG. shows an exemplary flowchart of a site accessing an access point provided by an embodiment of the present application;

[0035] Figure 8 Shows the schematic diagram of the message carried in the detection response;

[0036] Figure 9 Shows a software architecture diagram provided by the present application;

[0037] Figure 10 Shows another software architecture diagram provided by the present application;

[0038] Figure 11 Shows a hardware architecture diagram of a site provided by the present application. Detailed implementation manners

[0039] Next, the technical solutions in the embodiments of the present application will be described in conjunction with the accompanying drawings in the embodiments of the present application.

[0040] The technical solutions provided by the present application can be applied to wireless local area network (WLAN) scenarios. For example, they can be applied to IEEE802.11 system standards, 802.11a / b / g standards, 802.11n standards, 802.11ac standards, 802.11ax standards, Wi-Fi7 or extremely high throughput (EHT), or other future evolved standards. Alternatively, the technical solutions provided by the present application can also be applied to wireless local area network systems such as the Internet of Things (IoT) network or vehicle-to-everything (V2X) network. Of course, the technical solutions provided by the present application can also be applied to other possible communication systems, which are not limited here.

[0041] It can be understood that although the embodiments of the present application are mainly described by taking the deployment of a WLAN network as an example, those skilled in the art can easily understand that all aspects involved in the present application can be extended to other networks using various standards or protocols. For example, Bluetooth (BT), high performance radio LAN (HIPERLAN) (a wireless standard similar to the IEEE802.11 standard, mainly used in Europe), and wide area network (WAN), personal area network (PAN) or other currently known or future developed networks. Therefore, regardless of the coverage range and wireless access protocol used, all aspects provided by the present application can be applied to any suitable wireless network. For convenience, subsequent descriptions will be made by taking the WiFi network as an example.

[0042] As an example, please refer toFigure 1 , which shows an architecture diagram of a communication system applicable to an embodiment of the present application. Exemplarily, in this communication system, it at least includes one station (STA) 101, one wireless access point (AP) 102, and one server 103. After the STA 101 accesses the AP 102, it can establish a network connection with the server 103 through the AP 102.

[0043] As an example, the STA 101 configured with a wireless network card can establish a communication connection with the AP 102 through the wireless network card, so as to access the wireless network (such as WiFi) provided by the AP 102. When the STA 101 accesses the Internet through the wireless network, the application running on the mobile phone can establish a connection with the server 103 through the wireless network card, and the data stream between the application and the server 103 is transmitted through the wireless network card of the STA 101 and the AP 102.

[0044] It can be understood that the AP 102 can be associated with one or more STAs. In Figure 1 the example shown, the STAs associated with the AP 102 include the STA 101. It should be understood that Figure 1 the numbers of the AP and the STA in

[0045] The STA involved in the embodiments of this application can be a wireless communication chip, a wireless sensor, or various user terminals, user devices, access devices, subscriber stations, subscriber units, mobile stations, user agents, user equipment, or other electronic devices with wireless communication functions. Among them, the user terminal can include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, as well as various forms of user equipment (UE), mobile station (MS), terminal, terminal equipment, portable communication device, handheld device, portable computing device, entertainment device, game device or system, global positioning system device, or any other suitable device configured to communicate over a wireless medium. For example, the STA can be a mobile phone supporting Wi-Fi communication function, a tablet computer supporting Wi-Fi communication function, a set-top box supporting Wi-Fi communication function, a smart TV supporting Wi-Fi communication function, a smart wearable device supporting Wi-Fi communication function, a vehicle-mounted communication device supporting Wi-Fi communication function, and a computer supporting Wi-Fi communication function, etc. Here, for the convenience of description, the devices mentioned above are collectively referred to as stations or STAs. Optionally, the STA can support the 802.11be standard, or can also support multiple WLAN standards of the 802.11 family such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, 802.11a, 802.11be, Wi-Fi 7, Wi-Fi 8, or its next generation, etc. For convenience, in the following embodiments, the STA is taken as an example of a mobile phone for illustration.

[0046] Among the various STAs introduced above, if located on a vehicle (such as placed inside or installed inside the vehicle), they can all be considered vehicle-mounted terminal devices. The vehicle-mounted terminal device is also referred to as an on-board unit (OBU). The STA of this application can also be an in-vehicle module, in-vehicle module, in-vehicle component, in-vehicle chip, or in-vehicle unit built into the vehicle as one or more components or units. The vehicle can implement the method of this application through the built-in STA.

[0047] In the embodiments of this application, the communication device for implementing the STA function can be the STA itself, or a device capable of supporting the STA to implement this function, such as a chip system, and this device can be installed in the STA. In the technical solutions provided in the embodiments of this application, the device for implementing the STA function is taken as an example of the STA to describe the technical solutions provided in the embodiments of this application.

[0048] The AP involved in the embodiments of the present application is a device deployed in a wireless communication network to provide wireless communication functions for the STAs associated with it. Of course, the AP can also be deployed outdoors. The AP is equivalent to a bridge connecting a wired network and a wireless network. Its main function is to connect various wireless network clients together and then connect the wireless network to the Ethernet. This AP can be used as the center of the communication system and can be communication devices such as routers, base stations, gateways, repeaters, communication servers, switches, or bridges with Wi-Fi chips. Here, for the convenience of description, the above-mentioned devices are collectively referred to as APs. In addition, the AP can support the 802.11be standard or the next generation of 802.11be, such as WLAN standards like Wi-Fi 8. The AP can also support WLAN standards such as 802.11ax, 802.11ac, 802.11n, 802.11g, 802.11b, and 802.11a. For convenience, in the subsequent embodiments, the AP is taken as an example of a router for illustration.

[0049] Any AP can schedule wireless resources for the STAs associated with it and / or unassociated STAs, and transmit data for the STA on the scheduled wireless resources. For example, AP102 can schedule wireless resources for STA101 and transmit packets for STA101 on the scheduled wireless resources.

[0050] In the embodiments of the present application, the communication device for implementing the AP function can be the AP itself or a device capable of supporting the AP to implement this function, such as a chip system, and this device can be installed in the AP. In the technical solution provided in the embodiments of the present application, taking the device for implementing the AP function as the AP as an example, the technical solution provided in the embodiments of the present application is described.

[0051] After the STA (subsequently taking a mobile phone as an example for illustration) accesses the wireless local area network (subsequently taking WiFi as an example for illustration) through a certain access point (subsequently taking a router as an example for illustration), the user can obtain network services through this mobile phone, such as watching videos, browsing graphic and text content, playing online games, etc.

[0052] Figure 2 and Figure 3 shows two specific schematic diagrams of a mobile phone accessing WiFi. As shown in (a) of Figure 2 , the user can open the WLAN-related setting interface in the system settings interface. At this time, control A1 is in the off state, indicating that the mobile phone does not currently enable the WLAN connection function. In response to the user's operation of clicking control A1, the mobile phone enables the WLAN connection function. As shown in (b) of Figure 2 , at this time, control A2 is in the on state, indicating that the mobile phone currently enables the WLAN connection function. After enabling the WLAN connection function, the mobile phone will automatically search for and connect to the network it connected to last time. AsFigure 2 The network 1 shown in (a) in Figure 2 The network names of network 1 to network 4 shown in (b) in refer to the network names of different WiFi networks. According to the actual application scenarios, these WiFi networks may have various names, which are not limited here. It can also be understood that the user can also manually select the network to connect to (for example, when the network that has not been connected is not available in the list of available WLANs, the user needs to manually select the network to connect to). Specifically, for example, in response to the operation of the user clicking on the network name of network 1, the mobile phone attempts to connect to network 1. Figure 3 Another application scenario for enabling the WLAN function is shown. In this scenario, in response to the operation of the user swiping down the notification bar, the mobile phone opens the interface of the control center, as shown in Figure 3 (a) in . At this time, the control B1 is in the closed state, indicating that the mobile phone does not currently enable the WLAN connection function. In response to the operation of the user clicking on the control B1, the mobile phone enables the WLAN connection function, as shown in Figure 3 (b) in . At this time, the control B2 is in the open state, indicating that the mobile phone currently enables the WLAN connection function. The subsequent process is similar to the content described in Figure 2 and will not be elaborated here.

[0053] However, when the mobile phone obtains the network through the router and provides corresponding services for the user, sometimes there will be a network lag situation, resulting in lags in the applications that require network support in the foreground, such as videos or graphics and texts cannot be loaded, games frequently drop frames, etc., which greatly affects the user experience.

[0054] In view of this, the present application has repeatedly tested the Internet access environment when the mobile phone has a network lag, and found that when the mobile phone accesses the Internet through certain specific models of routers, it is easy to have a disconnection situation, which will cause a network lag situation. Figure 4 A Wireshark-IO (packet capture data stream) curve graph for "flow injection" testing for a specific router provided by an embodiment of the present application is shown. Among them, the so-called "flow injection" refers to simulating the process of the mobile phone accessing the Internet through the router, or rather, simulating the process of data transmission between the mobile phone and the router. This Wireshark-IO curve graph is used to display the overall traffic change situation in the packet capture file, the abscissa is time, and the ordinate can be the number of packets or bytes. As can be seen from Figure 4 , between 100s and 130s, the entire curve shows a "bottom drop" situation, that is, the data transmission almost stops, that is, there is a network lag. By retrieving the corresponding log file for this period (as shown in Figure 5 ), it can be found that the mobile phone side repeatedly sends multiple ACK messages to the router (as shown in Figure 5as shown in the medium gray area), and these ACK messages are for packets with the same content. In other words, although the mobile phone replies with an ACK message indicating that the packet has been received after receiving the packet sent by the router, the router still retransmits this packet, resulting in network lag.

[0055] Based on the above situation, an embodiment of the present application provides a parameter adjustment method, which can increase the response timeout (TxTiming) when a station obtains network services through an access point of a preset model but the network signal quality is not good. Here, the response timeout refers to the timeout for the station to reply with a confirmation message for the packet after receiving the packet from the access point. These access points of preset models are usually sensitive to the quality of the confirmation message. Therefore, if the response timeout is too short, it is possible that the confirmation message is sent out before it is fully prepared (i.e., the signal energy is insufficient). At this time, the access point may not recognize the received confirmation message and thus think that the mobile phone fails to successfully receive the packet, so it will retransmit this packet, thereby affecting the user's Internet experience. By increasing the response timeout in this scenario, the occurrence of this situation can be reduced and the user's Internet experience can be improved.

[0056] The following combines Figure 6 Method 100 in to elaborate on the parameter adjustment method provided by the present application. It can be understood that this method 100 can be applied to various types of stations (STAs) that support wireless network access functions, such as mobile phones, tablets, laptops, AR / VR devices, etc., or it can also be applied to a certain module in these stations. For convenience, the subsequent description will take method 100 applied to a station as an example.

[0057] S110. Detect whether the current network system meets a preset condition.

[0058] Exemplarily, after the station accesses the network (such as a WiFi network) through the access point, it detects whether the current network system meets the preset condition. This network system refers to the network system composed of the above-mentioned station, access point, and network.

[0059] In a possible implementation manner (denoted as manner 1), after the station accesses the network through the access point, it detects whether the preset condition is met at a preset frequency. For example, it detects whether the preset condition is met every 30 seconds.

[0060] In another possible implementation manner (denoted as manner 2), after the station accesses the network through the access point, it detects whether the preset condition is met before or after performing any network service (for example, before or after sending and receiving packets for this network service).

[0061] The preset conditions include, for example, that the access point is an access point of a preset model and the communication quality of the network does not meet the quality requirements.

[0062] In one example, the station can first determine whether the access point is an access point of a preset model. If so, it can further determine whether the communication quality of the network meets the quality requirements in the above-mentioned manner 1 or manner 2. This method can reduce the resource consumption caused by unnecessary judgments. That is to say, it only needs to determine once whether the access point is an access point of a preset model. For access points that are not of the preset model, no other judgments need to be performed subsequently. For access points of the preset model, only other preset conditions need to be determined.

[0063] First, an exemplary description will be given of a possible implementation manner for determining whether the access point is an access point of a preset model.

[0064] Exemplarily, a list can be pre-configured for the station, and the list includes one or more preset models. Herein, the model of the station described in the embodiments of the present application refers to an access point that can be used to distinguish different manufacturers or access points of different versions of the same manufacturer. The specific information included in the model is not limited in the present application. As an example, the signal can include information such as manufacturer, model, version number, hardware configuration, etc.

[0065] As an example, the access point of the preset model described in the embodiments of the present application is an access point that is sensitive to the signal strength of the confirmation message determined through testing or other means. That is to say, the access point of the preset model may cause network lag due to an overly short response timeout.

[0066] Then, the station can determine whether the access point that has been accessed or is about to be accessed is an access point of a preset model based on the list. The present application does not limit the specific timing for the station to determine whether the access point is an access point of a preset model. In one example, the station can determine whether the access point is an access point of a preset model during the process of accessing the access point. The following will be described by way of example in combination with Figure 7 Method 200. It can be understood that Figure 7 the STA in Figure 7 refers to the station in the embodiments of the present application,

[0067] Method 700 describes the specific process for the STA to request access to the AP. This process mainly includes at least 6 processes such as scanning, network selection, authentication, association, four-way handshake, DHCP, etc., which will be described separately below.

[0068] Scanning and network selection process:

[0069] S201. The STA sends a Probe Request to the AP; correspondingly, the AP receives the Probe Request from the STA.

[0070] S202. The AP sends a Probe Response to the STA; correspondingly, the STA receives the Probe Response from the AP.

[0071] Exemplarily, the STA first initiates an active scanning process. Specifically, the STA actively sends Probe Requests in sequence on the channels it supports to detect the surrounding wireless networks. The active scanning Probe Requests are divided into two categories: unspecified SSID and specified SSID. Among them, the Probe Request with an unspecified SSID is used to scan all APs around the STA. After receiving the Probe Request, the AP sends a Probe Response back to the STA. The Probe Request with a specified SSID is used to scan the specified SSID. Correspondingly, after receiving the Probe Request, if the AP determines that the SSID in the Probe Request is the same as its own SSID, it sends a Probe Response to the STA.

[0072] Take Figure 2 the shown application scenario as an example. The above scanning process can correspond to the process of scanning available WLAN networks after the user clicks on control A1. Figure 2 The process in (b) of showing the names of available WLAN networks (i.e., Network 1, Network 2, Network 3, Network 4) is equivalent to the result generated by the STA based on the Probe Responses received from each AP.

[0073] S203. Network selection.

[0074] Exemplarily, after the STA executes the above scanning process, it selects one of the scanned APs (i.e., the APs that have replied with Probe Responses) for access. The specific process is not limited here.

[0075] Optionally, after the STA determines to access an AP, it can obtain the identification information of the AP from the Probe Response replied by the AP. The identification information of the AP can refer to any information used to identify the model of the AP, or the information used to identify the manufacturer and product version number of the AP. For example, the identification information of the AP is the organization unique identifier (OUI) corresponding to the AP. As an example, the message carried by the AP in the Probe Response is as Figure 8As shown, the message carries information such as OUI, manufacturer - specific OUI type, manufacturer - specific data, etc. The identification information of the AP can be obtained by parsing this message.

[0076] After the STA obtains the identification information of the AP, it determines whether the access point is the access point of the preset model according to this identification information. Or the STA can also pre - store the identification information of the AP and then make a judgment after accessing the AP. This is not limited here.

[0077] Authentication process:

[0078] S204. The STA sends an Authentication Request to the AP; correspondingly, the AP receives this Authentication Request from the STA.

[0079] S205. The AP sends an Authentication Response to the STA; correspondingly, the STA receives this Authentication Response from the AP.

[0080] Exemplarily, after the STA determines the AP to be accessed, it sends an Authentication Request to the AP. Based on this Authentication Request, the AP performs an authentication process on the STA, and the specific process is not limited. After the authentication is completed, the AP returns an Authentication Response to the STA, and the authentication result is carried in this Authentication Response. Only when the authentication is successful can the STA access the AP.

[0081] Association process:

[0082] S206. The STA sends an Association Request to the AP; correspondingly, the AP receives this Association Request from the STA.

[0083] S207. The AP sends an Association Response to the STA; correspondingly, the STA receives this Association Response from the AP.

[0084] Exemplarily, after the authentication is successful, the STA sends an Association Request to the AP, and this Association Request carries the performance parameters of the STA, such as the protocols supported by the STA. The AP can determine whether the STA supports the IEEE 802.11v protocol and the IEEE 802.11k protocol according to the performance parameters of the STA. Of course, the performance parameters also include the rate, channel, QoS capabilities supported by the STA, as well as the selected access authentication and encryption algorithms, etc.

[0085] After the AP receives the Association Request sent by the STA, it returns an Association Response to the STA.

[0086] Four - way handshake process:

[0087] S208. The STA sends Extensible Authentication Protocol over LAN (EAPOL) 1 to the AP; correspondingly, the AP receives this EAPOL 1 from the STA.

[0088] S209. The AP sends EAPOL 2 to the STA; correspondingly, the STA receives this EAPOL 2 from the AP.

[0089] S210. The STA sends EAPOL 3 to the AP; correspondingly, the AP receives this EAPOL 3 from the STA.

[0090] S211. The AP sends EAPOL 4 to the STA; correspondingly, the STA receives this EAPOL 4 from the AP.

[0091] Exemplarily, after the association process is completed, a four-way handshake process can be executed to complete the key negotiation between the STA and the AP, and the negotiated key is used to protect the communication security between the STA and the AP. In the embodiments of the present application, the key negotiation between the STA and the AP through EAPOL is taken as an example for illustration. The present application does not limit the specific negotiation process.

[0092] Dynamic Host Configuration Protocol (DHCP) process:

[0093] S212. The DHCP process is executed between the STA and the AP.

[0094] Exemplarily, after the STA successfully accesses the AP, the AP can allocate an IP address to the STA through DHCP. Thus, the STA can establish a connection based on the transport bearer protocol with the AP according to the IP address.

[0095] As can be seen from the above solution, during the process of the STA accessing the AP, the AP can obtain the performance parameters supported by the STA. After the access is completed, the AP allocates an IP address to the STA, and the STA establishes a connection based on the transport bearer protocol with the AP according to the IP address.

[0096] In summary, the station can parse the packets carried in the probe response received from the access point to obtain the identification information of the access point, and then determine whether the accessed access point is a preset model of access point based on the identification information.

[0097] In the case where the access point is determined to be an access point of a preset model, the station can further determine whether the communication quality of the network meets the quality requirements. This application does not limit the specific implementation method for the station to determine whether the communication quality of the network meets the quality requirements, that is, this application does not limit the specific parameters used to evaluate the communication quality of the network. In one example, the station can evaluate the communication quality of the network based on QoE, or can also evaluate the communication quality of the network through parameters such as the number of packet retransmissions, or the page loading time, or the number of frames displayed per second (frames per second, FPS).

[0098] The following takes evaluating the communication quality of the network through QoE as an example for illustration. Among them, QoE is used to characterize the subjective feelings of end users about the service performance provided by the mobile network. QoE can represent the experience and feelings of end users about services and networks through a method close to quantization, and reflect the gap between the quality of the current service and network and the user's expectations. From the perspective of the mobile communication network, to obtain better QoE, the best solution is to provide an excellent end-to-end quality of service (quality of service, QoS). Broadly speaking, QoS is "the comprehensive effect of service performance that determines user satisfaction", including a relatively wide range of content at multiple levels. Narrowly speaking, QoS is the performance index of underlying packet data transmission, such as delay, jitter, bandwidth, bit error, etc. The QoS mechanism is mainly responsible for business management and providing service differentiation from the perspective of the network, and network entities process different services according to different quality requirements. However, experiencing QoS from the perspective of end users is a broader and more subjective issue, that is, the scope defined by QoE.

[0099] In an exemplary embodiment, the final result of QoE can be represented by "good" or "bad". When QoE is "good", it means that the communication quality of the network meets the quality requirements; when QoE is "bad", it means that the communication quality of the network does not meet the quality requirements. Among them, "good" and "bad" can be represented by different preset characters respectively. For example, the binary values "1" and "0" represent "good" and "bad" respectively. It can be understood that QoE can also be divided into more granularities, which is not limited here.

[0100] In one possible implementation, the QoE in the embodiments of this application can be composed of one or more of the following: application QoE (appQoE), channel QoE (channelQoE), and flow QoE (FL QoE).

[0101] Among them, application QoE is used to characterize the communication quality in the dimension of application programs (applications that provide services based on the above network on the station, such as foreground networked applications).

[0102] The operation of an application requires the transmission of various types of service data packets with the network side, that is, there is a one-to-many relationship between the application and the service flows. For example, when a certain application is running, service flows such as video streams, battle streams, and browsing streams may be concurrent. If the network quality carrying the service flows deteriorates, the service flow transmission of the application will inevitably be affected. Therefore, the application QoE can reflect the communication quality of the network.

[0103] An exemplary process for obtaining the application QoE is described below: Obtain the service information of the application. The service data packets of the same application program contain the identifier of the application program, and capture the data packets containing the specified application identifier. Obtain all the service data packets of the applications running in the foreground, and then analyze the communication data of these data packets to obtain the parameters for evaluating the communication quality of the interaction between the entire application and the network, that is, the communication quality evaluation parameters, such as the total rate, round-trip time (RTT), overall packet loss rate, etc. Then, compare the values of the communication quality evaluation parameters with the thresholds corresponding to the communication quality evaluation parameters to obtain the application QoE for characterizing whether the communication quality of the wireless network meets the preset conditions. For example, if the total rate value is greater than the preset total rate threshold, the RTT delay value is less than the preset RTT threshold, the overall packet loss rate is less than the preset packet loss rate threshold, etc., it is determined that the communication quality of the application program indicated by the application QoE meets the preset conditions; otherwise, if at least one communication quality evaluation parameter does not meet the corresponding threshold, it is determined that the communication quality of the application program indicated by the application QoE does not meet the preset conditions.

[0104] The channel QoE is used to characterize the communication quality in the dimension of the wireless network channel. The channel QoE can be obtained by analyzing the communication quality evaluation data of the data packets transmitted through the entire network channel. The wireless network channel in the embodiments of the present application refers to the channel for data interaction between two devices (such as the station and the access point in the present application).

[0105] An exemplary process for obtaining the channel QoE is described below: By monitoring the entire wireless network card port, collect the communication quality evaluation data of the network channel, such as the number of received and transmitted packets, uplink and downlink rates, air interface rate, etc. Further, compare the communication quality evaluation data with the thresholds corresponding to the communication quality evaluation parameters to evaluate whether the communication quality of the entire network meets the preset conditions, and obtain the channel QoE. If at least one communication quality evaluation parameter does not meet the corresponding threshold, it is determined that the communication quality of the wireless network channel indicated by the channel QoE does not meet the preset conditions.

[0106] Flow QoE is used to characterize the communication quality of a service flow of a preset type, that is, for a certain type of service flow, the communication quality obtained based on the communication data of the service flow of this type. For example, after the network quality deteriorates, the transmission of the service flow based on this network will necessarily be affected. Therefore, the communication quality of the service flow reflects the communication quality of the entire network to a certain extent.

[0107] The service flow in the embodiments of this application can also be called a data flow. The data sequence transmitted between two devices (such as the site and the access point in this application) can be recorded as a service flow. In practical applications, based on the classification of service scenarios of the data flow, the service flow can include, for example, a download flow, a browsing flow, a battle flow, a session flow, a video flow, etc.

[0108] An exemplary process for obtaining flow QoE is described below: capture service data packets transmitted over the network and identify specific types of service flows, such as download flows, browsing flows, game battle flows, etc. Further, extract the flow feature data of this type of service flow, and then analyze the flow feature data to obtain whether the communication quality of the current network meets the preset QoE conditions, that is, the service flow QoE.

[0109] The preset conditions here can be determined according to the parameters for evaluating the current network communication quality, that is, the communication quality evaluation parameters, such as single-flow rate, round-trip delay, packet loss rate, etc. For example, the preset conditions can include that the single-flow rate value is greater than the preset single-flow rate value, the round-trip delay value is less than the preset delay threshold, the packet loss rate value is less than the preset packet loss rate threshold, etc.

[0110] If the parameter values of the above communication quality evaluation parameters meet the thresholds corresponding to the communication quality evaluation parameters, it is determined that the communication quality of the service flow indicated by the flow QoE meets the preset conditions; otherwise, if at least one of the above communication quality evaluation parameters does not meet the corresponding thresholds, it is determined that the communication quality of the service flow indicated by the flow QoE does not meet the preset conditions.

[0111] It can be understood that the QoE evaluation methods for the data packets of different types of service flows are different, and the corresponding communication data required for QoE evaluation is also different. For example, the QoE of the download flow is determined according to the absolute low rate, where the absolute low rate refers to the total size of all downlink packets within a period. The downlink packets here can be Transmission Control Protocol (TCP) packets or User Datagram Protocol (UDP) packets; for another example, the QoE of the browsing flow is determined according to at least one of the RTT, packet loss rate, and retransmission rate of TCP packets or UDP packets; similar to the QoE of the browsing flow, the QoE of the battle flow is determined according to at least one of the round-trip delay and packet loss rate of UDP packets.

[0112] It should be noted that the above three communication quality evaluation parameters of QoE and the corresponding thresholds are only for illustrative purposes. Those skilled in the art can add or subtract communication quality evaluation parameters according to actual needs, and set the thresholds corresponding to the corresponding communication quality evaluation parameters. This application does not make any limitations in this regard.

[0113] Exemplarily, the communication quality of the network can be judged whether it meets the quality requirements, that is, whether the network is stuck, by integrating the QoE of the above three dimensions. For example, when the QoE result of any dimension is "bad", it is determined whether the communication quality of the network meets the quality requirements.

[0114] Optionally, the preset condition may further include: the number of times the station continuously receives the same message from the access point is greater than or equal to a preset threshold, or the number of times the station continuously sends an acknowledgment message for the same message to the access point is greater than or equal to a preset threshold.

[0115] In combination with this condition, when all preset conditions are met, it is more likely to determine that the current network lag is caused by too short response timeout, or is caused by the access point being sensitive to the signal strength of the received acknowledgment message. Based on this, the subsequent step S120 is executed, which can reduce the situation of misoperation, that is, reduce the network lag caused by other reasons (that is, not due to too short response timeout), but increase the response timeout (specifically, refer to the description of part of step S120). On the one hand, it reduces unnecessary resource consumption, and on the other hand, it can reduce the adverse effects brought by increasing the response timeout (such as reducing communication efficiency).

[0116] It can be understood that this condition can also be used as one of the conditions for measuring the communication quality of the network. That is, if the number of times the station continuously receives the same message from the access point is greater than or equal to a preset threshold, or the number of times the station continuously sends an acknowledgment message for the same message to the access point is greater than or equal to a preset threshold, it is considered that the communication quality of the network does not meet the quality requirements.

[0117] Optionally, the preset condition further includes one or more of the following: the network is a network of a preset frequency band, the network is a network of a preset bandwidth, and the network uses a preset protocol type.

[0118] Specifically, when it is determined through experiments that for a router of a preset model, network lag occurs due to repeated transmission of the same packet only when using a network with a preset frequency band, or a network with a preset bandwidth, or a network with a preset protocol type, then during detection, it is possible to detect whether these specific conditions are met. When these specific conditions are not met (that is, when not using one or more of the network with a preset frequency band, the network with a preset bandwidth, or the network with a preset protocol type), the subsequent step S120 may not be executed, which can reduce the increase of the response timeout in unnecessary situations, that is, reduce unnecessary resource consumption and the adverse effects brought by increasing the response timeout.

[0119] Optionally, the preset condition further includes: the site is currently outside the predicted network lag location, and / or, currently outside the predicted network lag time.

[0120] In one possible implementation, the location of network lag can be predicted based on geofencing technology.

[0121] Among them, geofencing refers to creating a virtual boundary around a specific location using a positioning system network (for example, a global positioning system (GPS) network, a Beidou navigation satellite system (BDS) network) and / or a local radio frequency identifier (for example, a Wi-Fi access point (Wi-Fi node), a Bluetooth beacon). This virtual boundary can be called a geofence. The geofence can be paired with a hardware / software application so that the application can respond to the geographical boundary in a certain way according to the instructions of the program parameters.

[0122] As an example, the specific location can be an elevator. That is, a virtual boundary can be created around the elevator. The virtual boundary around the elevator is the geofence corresponding to the elevator (the geofence can be simply referred to as a fence). Since the elevator may block signals, when the site enters the fence corresponding to the elevator, the communication quality of the network will be affected. At this time, network lag is likely not caused by too short a response timeout. Therefore, if the site is currently within the fence corresponding to the elevator, it can be considered that the site is currently within the predicted network lag location, and at this time, step S120 may not be executed, reducing unnecessary operations. Or, the specific location can also be other areas far from the access point. Since the communication quality of the network deteriorates as the distance from the access point increases, other areas far from the access point can also be considered as locations where network lag can be predicted, and no specific limitation is made here.

[0123] It can be understood that the prediction result based on the geofence can be used as a separate judgment condition or as an evaluation parameter for QoE, and this application does not make a limitation.

[0124] In a possible implementation, the time of network lag can be predicted based on the information obtained from the application interface. For example, it is known from the game interface that the game application will be upgraded within a certain period, which may cause network lag. Therefore, the network lag during this period is likely not caused by too short response timeout. Thus, during this period, it can be considered that the current time is within the predicted network lag time, and at this time, step S120 may not be executed to reduce unnecessary operations.

[0125] S120. When the preset condition is satisfied, adjust the response timeout from the first value to the second value.

[0126] Exemplarily, when each condition in the above preset condition is satisfied, it can be considered that the current network lag is likely caused by too short response timeout. At this time, the response timeout can be adjusted from the first value to the second value, where the first value is the preset value of the response timeout or the value of the response timeout used when the site accessed the previous access point, and the second value is greater than the first value, that is, increase the response timeout.

[0127] The response timeout can be understood as the maximum allowable time interval between the first moment and the second moment, or the maximum time that the second moment can be later than the first moment. Here, the first moment is the moment when the site receives a message from the access point, and the second moment is the moment when the site sends a confirmation message for the message to the access point. That is to say, when the site receives a message from the receiving point at the first moment, it needs to reply to the access point with a confirmation message for the message within the response timeout at the latest. The confirmation message is, for example, CTS or ACK, and the response message is used to indicate that the site has successfully received the message sent by the access point.

[0128] It can be understood that the longer the response timeout, the longer the time for the site to prepare the confirmation message. The longer the preparation time, the better the signal strength and the more sufficient the energy of the confirmation message, and the easier it is for the access point to identify the confirmation message, reducing the situation of network lag caused by the access point being unable to identify the confirmation message and retransmitting the message.

[0129] Optionally, the second value may be a value determined according to the specific model of the access point. Since different access points have different sensitivities to the signal strength of the confirmation message, a minimum value that enables the access point to recognize the confirmation message can be set for different models of access points. That is to say, by setting a personalized second value for this model of access point, the access point can recognize the confirmation message, and at the same time, the second value can be prevented from being too large, which affects the communication efficiency.

[0130] It can be understood that the first value may be a preset default value, or the value of the response timeout corresponding to other preset models of access points. This application does not make any limitations.

[0131] Optionally, if the subsequent site switches from this access point to other access points, the value of the response timeout needs to be adjusted to the value corresponding to the other access point. For example, if the other access point is not a preset model of access point and the first value is a preset default value, then the second value is adjusted to the first value; or, if the other access point is a preset model of other access points, then a third value is determined according to the model of the other access point, and then the value of the response timeout is adjusted from the second value to the third value.

[0132] In summary, in the parameter adjustment method provided in the embodiment of this application, the access point that is more sensitive to the signal strength of the confirmation message is set as the access point of the preset signal. When the site obtains network services through the access point of the preset model, if the communication quality of the network does not meet the quality requirements outside the preset network lag time or network lag location, then the response timeout is increased, that is, the energy of the confirmation message replied by the site to the access point is increased, and the situation of network lag caused by the access point being unable to recognize the confirmation message is reduced.

[0133] The above parameter adjustment method can be executed by any site with a wireless network connection function. Among them, the system architecture of the site can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture, etc. In the embodiment of this application, an Android system with a layered architecture is used as an example to exemplarily illustrate the system architecture of the site.

[0134] The operating system of the electronic device in the embodiment of this application can be, for example, a system based on the linux kernel (such as the Android operating system). The specific system architecture can be a layered architecture, such as Figure 9 the software architecture 300 shown. The layered architecture divides the software system into several layers, and each layer has a clear role and division of labor. The layers communicate through software interfaces. In Figure 9In the example shown, the software architecture part of the site includes an Application layer, an Application Framework layer, a hardware abstraction layer (HAL), and a kernel layer.

[0135] Among them, the Application layer may include one or more applications of the electronic device, such as video, navigation, and WLAN. Among them, WLAN provides the function of connecting to the wireless network for the user. The user can enable or disable the wireless network function of the electronic device through WLAN, and select the wireless network to access.

[0136] The Application Framework layer provides an application programming interface (API) and a programming framework for the applications in the Application layer; the Application Framework layer may include some predefined functions.

[0137] For example, the Application Framework layer includes an access point identification module, which is used to identify whether the access point to be accessed or already accessed is a preset model of access point. For example, the access point identification module is used to obtain the OUI of the access point from the probe response, and judge whether the access point is a preset model of access point according to the OUI.

[0138] The Application Framework layer also includes a communication quality decision module, which is used to judge whether the communication quality of the network meets the quality requirements. The decision-making process of the notification quality decision module will be exemplarily described below with Figure 10 the architecture 400 in. The following is an exemplary description of the decision-making process of the notification quality decision module with Figure 10The communication decision module in it is located in the policy layer (emcomd), and the policy layer here can also correspond to the above-mentioned application framework layer. The communication decision module can evaluate the communication quality of the network based on various information. For example, the appQoE evaluation module located in the service layer can send the application QoE to the communication quality decision module, the channelQoE sends the channel QoE to the communication quality decision module. After the packet parsing module in the kernel layer parses the packets sent and received between the site and the access point, it sends the parsing result to the flow identification module in emcomd to identify the type of traffic flow, and then outputs it to the FIQoE evaluation module. The FIQoE evaluation module determines the flow QoE according to the traffic flow identification result and sends the flow QoE to the communication quality decision module. Optionally, the fence management module can also send the predicted network lag location to the communication decision module. The application management interface (such as the game application management interface IwareGameSdk) can also send the predicted network lag time to the communication decision module. Optionally, the packet statistics module in the kernel layer can also send the statistical information of the packets transmitted between the site and the access point to the flow statistics module in emcomd, and the flow statistics module sends the information of different traffic flows to the communication decision module after statistics. The communication decision module can judge whether the communication quality of the network meets the quality requirements based on the information obtained above. The specific process can refer to Figure 6 the description of step S110 in method 100 in

[0139] Next, further introduce Figure 9 the WiFi management module (WiFi manager) in the application framework layer in. This WiFi management module is used to obtain the identification result from the access point identification module (that is, whether the access point is a preset model access point), and obtain the network evaluation result from the communication quality decision module (that is, whether the communication quality of the network meets the quality requirements), and then decide whether to increase the response timeout based on the access point identification result and the network evaluation result.

[0140] After the WiFi management module determines that it is necessary to increase the response timeout, it sends the final policy to the WiFi HOST (WiFi driver) in the kernel layer through the WiFi HAL of the hardware abstraction layer. Among them, the WiFi HOST is used for the management of the WiFi chip, for example, initialization, control, parameter configuration, monitoring, data interaction, etc. The policy sent by the WiFi management module is used to indicate that the value of the response timeout is adjusted from the first value to the second value (specifically, refer to Figure 6 step S120 in method 100 in

[0141] Further, the WiFi HOST invokes the WiFi firmware (WiFi Firmware, WIFI FW) at the firmware layer to execute the above strategy, that is, to adjust the value of the response timeout from the first value to the second value.

[0142] It can be understood that Figure 9 and Figure 10 only the software layer related to the parameter adjustment method of the present application and the modules included in the software layer are shown, which does not constitute a specific limitation on the site of the present application. In other embodiments of the present application, the site may include more or fewer layers than shown, and each layer may include more or fewer components, which are not limited in the present application.

[0143] Corresponding to the methods given in the above method embodiments, the embodiments of the present application also provide corresponding sites. Figure 11 FIG. shows a schematic hardware structure diagram of a site 500 provided by an embodiment of the present application. The site 500 at least includes: at least one processor 510, a wireless communication module 520, an antenna 530, a memory 540, and optionally a display screen 550.

[0144] It can be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the site. In other embodiments, the site may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0145] Among them, the processor 510 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modulation and demodulation processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor (neural-network processing unit, NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.

[0146] Among them, the controller may be the nerve center and command center of the site 500. The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of fetching instructions and executing instructions.

[0147] A memory may also be provided in the processor 110 for storing instructions and data.

[0148] The wireless communication function of the site 500 can be implemented by a wireless communication module 520 and an antenna 530 (which may also include a modem processor, a baseband processor, etc.). In the embodiment of the present application, the site 500 can establish a network connection with an access point through the wireless communication module 520 and the antenna 530.

[0149] Among them, the antenna 530 is used to transmit and receive electromagnetic wave signals. Each antenna in the site 500 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example: the antenna 530 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0150] The wireless communication module 520 can provide solutions for wireless communications applied on the site 500, including WLAN (such as a Wi-Fi network), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 520 can be one or more devices integrating at least one communication processing module. The wireless communication module 520 receives electromagnetic waves via the antenna 530, performs frequency modulation and filtering processing on the electromagnetic wave signals, and sends the processed signals to the processor 510. The wireless communication module 520 can also receive the signals to be sent from the processor 51o, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 530 for radiation.

[0151] In some embodiments, the antenna 530 and the wireless communication module 520 of the site 500 are coupled, so that the site 500 can communicate with a network and other devices through wireless communication technologies.

[0152] The display screen 550 is used to display images, videos, etc. The site 500 realizes the display function through a GPU, the display screen 550, and an application processor, etc.

[0153] The memory 540 can be used to store computer-executable program codes, and the executable program codes include instructions. The processor 510 executes various functional applications and data processing of the site described in the embodiment of the present application by running the instructions stored in the memory 540, such as executing the specific scheme process in Method 100.

[0154] It should be noted that for the information interaction, execution process, etc. between the above-mentioned modules / units, since they are based on the same concept as the method embodiments of this application, for their specific functions and the technical effects brought, reference can be made to the method and system embodiment parts, and details are not elaborated here.

[0155] An embodiment of this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0156] An embodiment of this application provides a computer program product. When the computer program product runs on a device, it enables the device to execute the steps in the above-mentioned method embodiments.

[0157] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-mentioned method embodiments of this application, a computer program can be used to instruct the relevant hardware to complete. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate forms, etc. The computer-readable medium can at least include: any entity or device that can carry the computer program code to the photographing device / electronic device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.

[0158] In the above embodiments, the descriptions of each embodiment have their own focuses. For the parts not detailed or recorded in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0159] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professionals can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0160] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included within the protection scope of the present application.

[0161] In addition, it should be noted that in the present application, various numerical numbers (such as the terms "first", "second", "third", "fourth" and other various term numbers in the specification, claims and the above-mentioned drawings (if any)) are only for the convenience of description for distinction, and are not used to limit the scope of the present application. The size of the serial numbers of each process does not mean the sequence of execution, and the execution sequence of each process should be determined by its function and internal logic.

[0162] The terms "comprising" and "having" and any variations thereof mean "including but not limited to", unless otherwise specifically emphasized. For example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0163] In the embodiments of the present application, words such as "exemplarily" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplarily" or "for example" in the embodiments of the present application should not be construed as more preferred or more advantageous than other embodiments or design solutions. Exactly speaking, the use of words such as "exemplarily" or "for example" aims to present relevant concepts in a specific way.

[0164] In the various embodiments of the present application, if there is no special explanation and logical conflict, the terms and / or descriptions between different embodiments are consistent and can be cross-referenced, and the technical features in different embodiments can be combined to form new embodiments according to their internal logical relationships. The specific operation methods in the method embodiments of the present application can also be applied to the device embodiments or system embodiments.

Claims

1. A parameter adjustment method, applied to a station, wherein the station accesses a network through an access point, characterized in that: The method comprises: Detecting whether the current network system meets preset conditions; wherein the preset conditions include: the access point is an access point of a preset model, and the communication quality of the network does not meet the quality requirements; If the preset condition is met, adjusting the response timeout from a first value to a second value; wherein the first value is a preset value of the response timeout, the second value is greater than the first value, and the response timeout is a maximum allowable time interval between a first moment and a second moment, the first moment being a moment when the station receives a message from the access point, and the second moment being a moment when the station replies to the access point with an acknowledgment message regarding the message.

2. The method according to claim 1, characterized in that The preset condition further includes: the number of times that the station continuously receives the same message from the access point through the network is greater than or equal to a preset threshold.

3. The method according to claim 1 or 2, wherein the preset condition further comprises one or more of the following: the network is a network of a preset frequency band, the network is a network of a preset bandwidth, and the network uses a preset protocol type.

4. The method according to any one of claims 1 to 3, characterized in that The preset conditions also include: the current time is outside the predicted network freeze time, and / or the current location is outside the predicted network freeze location.

5. The method according to any one of claims 1 to 4, characterized in that Before detecting whether a preset condition is met, the method further includes: Sending a probe request to the access point, where the probe request is used to request access to the access point; receiving a probe response from the access point, the probe response being used to respond to the probe request; The detection of whether the preset conditions are met includes: Obtaining identification information corresponding to the access point from the probe response; Determine whether the access point is an access point of the preset model according to the identification information.

6. The method according to any one of claims 1 to 5, characterized in that The detection of whether the preset conditions are met includes: Acquire QoE, where the QoE includes one or more of the following: application QoE corresponding to an application provided by the site based on the network, channel QoE corresponding to the network, and flow QoE corresponding to a network service currently executed by the site; Determine whether the communication quality of the network meets the quality requirement according to the QoE.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: The second value is determined according to the model of the access point.

8. The method according to claim 7, characterized in that The method further comprises: In a case where the station switches from the access point to another access point, the value of the response timeout period is adjusted from the second value to the first value, and the other access point is not the access point of the preset model.

9. A site, characterized in that: The electronic device includes: one or more processors, and a memory; The memory is coupled to the one or more processors, and is configured to store computer program codes, where the computer program codes include computer instructions. The one or more processors call the computer instructions to enable the station to perform the method according to any one of claims 1 to 8.

10. A chip system, characterized in that: The chip system is applied to a site, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions to enable the site to execute the method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that The computer-readable storage medium includes instructions that, when executed on a station, cause the station to perform the method of any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method for performing unified management on network request of applications, device and terminal

    CN106817389A

  • Method and device for acquiring timeout threshold, medium and electronic equipment

    CN110768861A

  • Heartbeat timeout detection method, server and electronic equipment

    CN113472606A

  • Dynamic timeout response method, device, terminal equipment and storage medium

    CN113873026A

  • Network service optimization method and device

    CN116419262A