CN114786242A - Wireless high-fidelity Wi-Fi access point selection method and related device - Google Patents

Wireless high-fidelity Wi-Fi access point selection method and related device Download PDF

Info

Publication number
CN114786242A
CN114786242A CN202210356111.0A CN202210356111A CN114786242A CN 114786242 A CN114786242 A CN 114786242A CN 202210356111 A CN202210356111 A CN 202210356111A CN 114786242 A CN114786242 A CN 114786242A
Authority
CN
China
Prior art keywords
access
score
frequency band
aps
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210356111.0A
Other languages
Chinese (zh)
Other versions
CN114786242B (en
Inventor
黄园
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202210356111.0A priority Critical patent/CN114786242B/en
Publication of CN114786242A publication Critical patent/CN114786242A/en
Application granted granted Critical
Publication of CN114786242B publication Critical patent/CN114786242B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a wireless high-fidelity Wi-Fi access point selection method and a related device, wherein the method comprises the following steps: acquiring a first frequency band of a first wireless Access Point (AP) accessed by electronic equipment; scanning at least one second AP except the first AP in the range of the electronic equipment; determining one or more second reference APs of the at least one second AP, which meet a preset first constraint condition; when one or more second reference APs are single, accessing the single second reference AP; and when the one or more second reference APs are multiple, determining a second target AP which meets a preset second constraint condition in the multiple second reference APs, and accessing the second target AP. The embodiment of the application is beneficial to reducing network delay and improving network speed.

Description

Wireless high-fidelity Wi-Fi access point selection method and related device
Technical Field
The application relates to the technical field of electronic equipment, in particular to a wireless high-fidelity Wi-Fi access point selection method and a related device.
Background
The current chip can support the capability of 2.4G and 5G double-frequency simultaneous working, and based on the hardware capability, the electronic equipment can be simultaneously connected with two different WiFi hotspots to realize accessing two WiFi networks corresponding to the two WiFi hotspots for surfing the internet, and further obtain user experiences such as faster network speed and lower network delay. The mobile phone has the function of accessing two WiFi networks simultaneously to surf the internet, and is called as 'double WiFi'.
However, in the prior art, when the electronic device operates in the dual WiFi mode, that is, two different WiFi networks are connected simultaneously, if the two WiFi networks are in the same frequency band (that is, both 2.4G or 5G), the WiFi chips need to operate in a time-sharing manner and cannot operate simultaneously and concurrently, which may cause delay of a single WiFi network to be increased, network speed to be unstable, and an internet access effect to be not guaranteed.
Disclosure of Invention
The embodiment of the application provides a wireless high-fidelity Wi-Fi access point selection method and a related device, so that network delay is reduced, and network speed is increased.
In a first aspect, an embodiment of the present application provides a wireless high-fidelity Wi-Fi access point selection method, which is applied to an electronic device supporting dual Wi-Fi functions, where the electronic device includes a Wi-Fi communication module, and the electronic device accesses different access points through the Wi-Fi communication module in a dual Wi-Fi function state; the method comprises the following steps:
acquiring a first frequency band of a first wireless Access Point (AP) accessed by the electronic equipment;
scanning at least one second AP except the first AP within the range of the electronic equipment;
determining one or more second reference APs meeting a preset first constraint condition in the at least one second AP, wherein the first constraint condition is used for constraining the second reference APs to be successfully accessed APs with different frequency bands from the first frequency band;
performing access of a second AP of the dual Wi-Fi function according to the one or more second reference APs.
In a second aspect, an embodiment of the present application provides a wireless high-fidelity Wi-Fi access point selection apparatus, which is applied to an electronic device supporting dual Wi-Fi functions, where the electronic device includes a Wi-Fi communication module, and the electronic device accesses different access points through the Wi-Fi communication module in a dual Wi-Fi function state; the wireless high fidelity Wi-Fi access point selection device comprises a processing unit, wherein,
the processing unit is used for acquiring a first frequency band of a first AP accessed by the electronic equipment; scanning at least one second AP except the first AP within the range of the electronic equipment; determining one or more second reference APs meeting a preset first constraint condition in the at least one second AP, wherein the first constraint condition is used for constraining the second reference APs to be successfully accessed APs with different frequency bands from the first frequency band; accessing the single second reference AP when the one or more second reference APs are single; when the one or more second reference APs are multiple, determining a second target AP meeting a preset second constraint condition in the multiple second reference APs, and accessing the second target AP, wherein the second constraint condition is used for constraining the second target AP not to need login authentication and/or constraining the access quality score of the second target AP to be a maximum value except the second reference AP.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in any one of the methods of the first aspect of the embodiments of the present application. The computer program product may be a software installation package.
It can be seen that, in the embodiment of the present application, an electronic device obtains a first frequency band of an accessed first AP, scans at least one second AP except the first AP within a range where the electronic device is located, determines one or more second reference APs satisfying a preset first constraint condition in the at least one second AP, where the first constraint condition is used to constrain that the second reference AP is an AP that has been successfully accessed and has a frequency band different from that of the first frequency band, and performs access to the second AP with dual Wi-Fi functions according to the one or more second reference APs. Because the working frequency bands of the second reference AP and the first AP are different, and the determined channel quality of the second reference AP is not lower than the preset channel quality, the problems that delay of a single WiFi network is increased and network speed is unstable due to the fact that two connected WiFi networks work in the same frequency band and WiFi chips need to work in a time-sharing mode can be solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic rear view of an electronic device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart of a wireless high-fidelity Wi-Fi access point selection method provided in the embodiment of the present application;
fig. 2-1 is a display interface of an electronic device scanning at least one second AP, except for the first AP, in a range of the electronic device according to an embodiment of the present application;
FIG. 3 is a schematic flowchart of another wireless high-fidelity Wi-Fi access point selection method provided in the embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a block diagram of functional units of a wireless high-fidelity Wi-Fi access point selection device provided in an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the foregoing drawings are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein may be combined with other embodiments.
The electronic device according to the embodiments of the present application may be an electronic device with communication capability, and the electronic device may include various handheld devices with wireless communication function, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to a wireless modem, and various forms of User Equipment (UE), Mobile Stations (MS), terminal devices (terminal device), and so on.
The following describes embodiments of the present application in detail.
As shown in fig. 1, the electronic device 100 includes a Wi-Fi communication module, the electronic device 100 supports dual Wi-Fi functionality, and the electronic device 100 accesses different access points through the Wi-Fi communication module in the dual Wi-Fi functionality state.
Referring to fig. 2, fig. 2 is a schematic flowchart of a wireless high-fidelity Wi-Fi access point selection method provided in an embodiment of the present application, and is applied to an electronic device supporting dual Wi-Fi functionality, as shown in fig. 1, the electronic device further includes a Wi-Fi communication module, and the electronic device accesses different access points (e.g., accesses two access points simultaneously) through the Wi-Fi communication module in the dual Wi-Fi functionality state; as shown in the figure, the wireless high-fidelity Wi-Fi access point selection method comprises the following operations.
S201, the electronic device acquires a first frequency band of a first wireless access point AP accessed by the electronic device.
The first frequency band of the first AP may be a 2.4G frequency band or a 5G frequency band.
S202, the electronic device scans at least one second AP except the first AP in the range where the electronic device is located.
In a specific implementation, if the quality of a first AP currently connected is poor and at least one second AP is currently connectable, the electronic device scans at least one second AP except the first AP within a range where the electronic device is located. At this time, the first WiFi corresponding to the first AP connected before is referred to as a primary WiFi, and the second WiFi corresponding to the second AP connected later may be referred to as an acceleration WiFi or a secondary WiFi.
Specifically, the electronic device scans the display interface of at least one second AP, except the first AP, within the range of the electronic device as shown in fig. 2-1. When the one or more second reference APs are multiple, the multiple second reference APs may include a second reference AP-1, a second reference AP-2, a second reference AP-3, and a second reference AP-4. In the display interface, besides the at least one second AP, the signal strength of the at least one second AP and whether login authentication is required can be displayed.
S203, the electronic device determines one or more second reference APs, which satisfy a preset first constraint condition, in the at least one second AP, where the first constraint condition is used to constrain that the second reference AP is an AP that has been successfully accessed and has a frequency band different from the first frequency band.
Specifically, the successfully accessed information may be that the electronic device has previously accessed and stored account and password information of the corresponding AP. The different frequency bands can ensure that the two accessed APs can not interfere with each other in the communication process. When the first AP is in a 2.4G frequency band, the frequency band of the one or more second reference APs is in a 5G frequency band; or, the first AP is a 5G frequency band, and the frequency band of the one or more second reference APs is a 2.4G frequency band.
The first constraint condition may be further configured to constrain the channel quality of the first AP and the second reference AP to be not lower than a preset channel quality, where the preset channel quality may be a user-defined threshold, and may be selected to be-75 dBm, for example.
S204, the electronic equipment accesses the second AP with the double Wi-Fi functions according to the one or more second reference APs.
In this possible example, the accessing, by the electronic device, of the second AP of the dual Wi-Fi function according to the one or more second reference APs includes: when the one or more second reference APs are single, the electronic equipment accesses the single second reference AP; when the one or more second reference APs are multiple, the electronic device determines a second target AP, which meets a preset second constraint condition, from the multiple second reference APs, to access the second target AP, where the second constraint condition is used to constrain that the second target AP does not need login authentication, and/or is used to constrain that the access quality score of the second target AP is a maximum value except for the second target AP itself, from the multiple second reference APs.
The second constraint condition is used for constraining the second target AP not to require login authentication, and the second constraint condition means: when the one or more second reference APs are multiple, if the electronic device accesses the second reference AP last time and the electronic device can surf the internet without login authentication, the electronic device preferentially selects the second reference AP as the second target AP.
The second constraint condition is used for constraining the access quality score of the second target AP to be a maximum value except for the second target AP, and means that: when the one or more second reference APs are multiple, the access quality score of the second target AP is greater than the access quality scores of the second reference APs except the second target AP.
It can be seen that, in the embodiment of the present application, an electronic device acquires a first frequency band of an accessed first AP, scans at least one second AP, which is within a range of the electronic device and is other than the first AP, and determines one or more second reference APs, which satisfy a preset first constraint condition, in the at least one second AP, where the first constraint condition is used to constrain that the second reference AP is an AP that has been successfully accessed and has a frequency band different from the first frequency band. When the one or more second reference APs are single, the electronic equipment accesses the single second reference AP; when the one or more second reference APs are multiple, the electronic device determines a second target AP meeting a preset second constraint condition among the multiple second reference APs, and accesses the second target AP, where the second constraint condition is used to constrain that the second target AP does not need login authentication, and/or is used to constrain that the access quality score of the second target AP is a maximum value except for the second target AP. Because the working frequency bands of the second reference AP and the first AP are different, and the determined channel quality of the second reference AP is not lower than the preset channel quality, the problems that delay of a single WiFi network is increased and the network speed is unstable due to the fact that two connected WiFi networks work in the same frequency band and WiFi chips need to work in a time-sharing mode can be solved, network delay is reduced, the network speed is improved, and the internet experience of a user is improved.
In one possible example, the channel quality of the first AP and the second reference AP is not lower than a preset channel quality means that: the first AP and the second reference AP correspond to a single-antenna working mode state, the channel quality of the first AP is not lower than a preset channel quality, and the channel quality of the second reference AP is not lower than the preset channel quality; the channel quality is characterized by any one of the following parameters: received Signal Strength Indication (RSSI), Reference Signal Received Power (RSRP), Reference Signal Received Quality (RSRQ).
In one possible example, the first AP is a 2.4G band, and the frequency band of the one or more second reference APs is a 5G band; or the first AP is a 5G frequency band, and the frequency band of the one or more second reference APs is a 2.4G frequency band.
It can be seen that, in this example, the second reference AP is constrained by the first constraint condition, so that it is ensured that the frequency band of the second reference AP is different from the first frequency band of the first AP, and further, problems in the prior art that delay of a single WiFi network is increased, network speed is unstable, and the internet access effect is poor, which are caused by that two WiFi networks are in the same frequency band (i.e. both 2.4G or 5G), and WiFi chips cannot simultaneously work in parallel, are avoided.
In one possible example, the access quality score is obtained by: the electronic equipment acquires historical access data of a second reference AP currently processed, wherein the historical access data comprises network speed, network delay, packet loss rate and offline times; and the electronic equipment calculates the access quality score of the currently processed second reference AP according to the network speed, the network delay, the packet loss rate and the offline times.
As can be seen, in this example, when the electronic device determines the second target AP, the historical data may be added as a determination condition, for example, data such as a maximum or average network speed, an average network delay, a packet loss rate, and a number of times of disconnection when the AP is connected before is recorded, and when the second target AP is determined, an AP with a higher access quality score, such as a fast network speed and a low delay, is preferentially selected as the second target AP to be connected, so as to improve the internet access speed of the electronic device, reduce the network delay, and improve the internet experience of the user.
In a possible example, the implementation manner of the electronic device calculating the access quality score of the currently processed second reference AP according to the network speed, the network delay, the packet loss ratio, and the number of dropped calls may be: determining an access stability score of the currently processed second reference AP according to the packet loss rate and the number of times of disconnection; determining a transmission quality score of the currently processed second reference AP according to the network speed and the network delay; determining an access quality score of the currently processed second reference AP according to the transmission quality score and the stability score.
It can be seen that, in this example, when the electronic device determines the second target AP, the electronic device comprehensively considers historical data of the electronic device when connecting to the AP, determines an access stability score and a transmission quality score corresponding to the AP from two aspects of access stability and transmission quality, and finally comprehensively considers the access stability score and the transmission quality score to determine an access quality score, and further determines the second target AP to connect, so as to improve the internet speed of the electronic device, reduce network delay, and improve the internet experience of the user.
In a possible example, a specific implementation manner of determining, by the electronic device according to the packet loss ratio and the number of dropped lines, the access stability score of the currently-processed second reference AP may be:
the electronic equipment queries a preset first database to obtain stability score influence factors corresponding to the packet loss rate and the drop times, wherein the first database comprises a corresponding relation between a parameter group and the stability score influence factors, the parameter group consists of the packet loss rate and the drop times, and the value of the parameter group in the corresponding relation is inversely proportional to the stability score influence factors; and obtaining the access stability score of the currently processed second reference AP according to the stability score influence factor and the pre-configured initial stability score.
Specifically, the correspondence between the parameter set in the first database and the stability score influence factor may be set through expert database prior knowledge, or may be obtained through statistical analysis based on a large number of access event records. The lower the packet loss rate and the fewer the number of dropped calls, the higher the stability score of the current access point, and the stronger the forward image degree of the impact factor corresponding to the stability score.
In the specific implementation, it is assumed that the parameter group of the packet loss rate and the drop times is (X, Y), X is the packet loss rate, and Y is the drop times, the access event record includes an AP access event, a stability score of the AP access event, and a parameter group of the AP access event, where the stability score of the AP access event may be implemented by performing a large number of statistics and the like in a manner of post-user feedback, or a stability score is obtained by intelligently calculating usage data of an electronic device corresponding to the AP access event, a stability score distribution rule is obtained by analyzing a large number of access event records, and an initial stability score is obtained based on the distribution rule, so that a corresponding relationship between the parameter group and a stability score influence factor is set according to the initial stability score.
In one possible example, the implementation manner of determining, by the electronic device, the transmission quality score of the currently processed second reference AP according to the wire speed and the network delay may be:
calculating the transmission quality score of the currently processed second reference AP according to the following preset calculation formula;
Figure BDA0003582904860000051
wherein S0 is a transmission quality reference score, V is the network speed, V0 is a reference network speed, τ is the network delay, τ 0 is a reference network delay, and S is the transmission quality score of the currently processed second reference AP.
Referring to fig. 3, fig. 3 is a schematic flowchart of a wireless high-fidelity Wi-Fi access point selection method provided in an embodiment of the present application, and is applied to an electronic device supporting dual Wi-Fi functionality, where the electronic device includes a Wi-Fi communication module, and the electronic device accesses different access points through the Wi-Fi communication module in the dual Wi-Fi functionality state, as shown in the figure, the wireless high-fidelity Wi-Fi access point selection method includes the following steps.
S301, the electronic device obtains a first frequency band of a first wireless access point AP accessed by the electronic device.
S302, the electronic device scans at least one second AP except the first AP in the range where the electronic device is located.
S303, the electronic device determines one or more second reference APs in the at least one second AP, where the one or more second reference APs meet a preset first constraint condition, where the first constraint condition is used to constrain that the second reference AP is an AP that has been successfully accessed and has a frequency band different from the first frequency band, and is used to constrain that channel qualities of the first AP and the second reference AP are not lower than a preset channel quality.
Wherein the channel quality of the first AP and the second reference AP not lower than the preset channel quality means: and the first AP and the second reference AP correspond to a single-antenna working mode state, the channel quality of the first AP is not lower than a preset channel quality, and the channel quality of the second reference AP is not lower than the preset channel quality.
The channel quality is characterized by any one of the following parameters: received signal strength indication RSSI, reference signal received power RSRP, reference signal received quality RSRQ.
The first AP is a 2.4G frequency band, and the frequency band of the one or more second reference APs is a 5G frequency band; or, the first AP is a 5G frequency band, and the frequency band of the one or more second reference APs is a 2.4G frequency band.
S304, when the one or more second reference APs are single, the electronic device accesses the single second reference AP.
S305, when there are multiple second reference APs, the electronic device obtains historical access data of the currently processed second reference AP, where the historical access data includes network speed, network delay, packet loss rate, and number of dropped calls;
s306, the electronic equipment queries a preset first database to obtain stability score influence factors corresponding to the packet loss rate and the drop times, the first database comprises a corresponding relation between a parameter group and the stability score influence factors, the parameter group consists of the packet loss rate and the drop times, and values of parameter groups in the corresponding relation are in an inversely proportional relation with the stability score influence factors;
s307, the electronic equipment obtains an access stability score of the currently processed second reference AP according to the stability score influence factor and a pre-configured initial stability score;
s308, the electronic equipment calculates the transmission quality score of the currently processed second reference AP according to the following preset calculation formula;
Figure BDA0003582904860000061
wherein S0 is a transmission quality reference score, V is the network speed, V0 is a reference network speed, τ is the network delay, τ 0 is a reference network delay, and S is the transmission quality score of the currently processed second reference AP;
s309, the electronic device determines the access quality score of the currently processed second reference AP according to the transmission quality score and the stability score.
S310, the electronic device determines a second target AP that meets a preset second constraint condition among the second reference APs, where the electronic device accesses the second target AP, and the second constraint condition is used to constrain the access quality score of the second target AP to be a maximum value except for the second target AP.
It can be seen that, in the embodiment of the present application, an electronic device acquires a first frequency band of an accessed first AP, scans at least one second AP, which is within a range of the electronic device and is other than the first AP, and determines one or more second reference APs, which satisfy a preset first constraint condition, in the at least one second AP, where the first constraint condition is used to constrain that the second reference AP is an AP that has been successfully accessed and has a frequency band different from the first frequency band. When the one or more second reference APs are single, the electronic equipment accesses the single second reference AP; when the one or more second reference APs are multiple, the electronic device determines a second target AP meeting a preset second constraint condition among the multiple second reference APs, and accesses the second target AP, where the second constraint condition is used to constrain that the second target AP does not need login authentication, and/or is used to constrain that the access quality score of the second target AP is a maximum value except for the second target AP. Because the working frequency bands of the second reference AP and the first AP are different, and the determined channel quality of the second reference AP is not lower than the preset channel quality, the problems that the delay of a single WiFi network is increased and the network speed is unstable due to the fact that two connected WiFi networks work in the same frequency band and WiFi chips need to work in a time-sharing mode can be solved.
In addition, when the electronic device determines the second target AP, historical data may be added as a determination condition, for example, data such as a maximum or average network speed, an average network delay, a packet loss rate, and a disconnection frequency when the AP is connected before recording, and when the second target AP is determined, an AP with a higher access quality score such as a fast network speed, a low delay, and the like is preferentially selected as the second target AP to be connected, so that the internet access speed of the electronic device is increased, the network delay is reduced, and the internet access experience of a user is improved.
Furthermore, when the electronic device determines the second target AP, historical data of the electronic device when the electronic device is connected with the AP are comprehensively considered, from the two aspects of access stability and transmission quality, an access stability score and a transmission quality score corresponding to the AP are determined, and finally, the access stability score and the transmission quality score are comprehensively considered, the access quality score is determined, and the second target AP is determined to be connected, so that the internet speed of the electronic device is increased, the network delay is reduced, and the internet experience of a user is improved.
Consistent with the embodiments shown in fig. 2 and fig. 3, please refer to fig. 4, where fig. 4 is a schematic structural diagram of an electronic device 400 provided in the embodiments of the present application, as shown in the drawing, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, where the one or more programs 421 are stored in the memory 420 and configured to be executed by the application processor 410, and the one or more programs 421 include instructions for executing any step in the foregoing method embodiments.
Acquiring a first frequency band of a first wireless Access Point (AP) accessed by the electronic equipment;
scanning at least one second AP (access point) except the first AP within the range of the electronic equipment;
determining one or more second reference APs of the at least one second AP, which meet a preset first constraint condition, wherein the first constraint condition is used for constraining the second reference AP to be a successfully accessed AP with a frequency band different from the first frequency band;
and accessing the second AP with the double Wi-Fi functions according to the one or more second reference APs.
In one possible example, the channel quality of the first AP and the second reference AP is not lower than a preset channel quality means that: the first AP and the second reference AP correspond to a single-antenna working mode state, the channel quality of the first AP is not lower than a preset channel quality, and the channel quality of the second reference AP is not lower than the preset channel quality; the channel quality is characterized by any one of the following parameters: received signal strength indication RSSI, reference signal received power RSRP, reference signal received quality RSR.
In one possible example, the first AP is a 2.4G band, and the frequency band of the one or more second reference APs is a 5G band; or the first AP is a 5G frequency band, and the frequency band of the one or more second reference APs is a 2.4G frequency band.
In one possible example, in terms of obtaining an access quality score, the instructions in the program are specifically for performing the following: acquiring historical access data of a second reference AP currently processed, wherein the historical access data comprises network speed, network delay, packet loss rate and offline times; and calculating the access quality score of the currently processed second reference AP according to the network speed, the network delay, the packet loss rate and the number of the dropped lines.
In one possible example, in terms of calculating the access quality score of the currently processed second reference AP according to the network speed, the network delay, the packet loss ratio, and the number of dropped calls, the instructions in the program are specifically configured to perform the following operations: determining an access stability score of the currently processed second reference AP according to the packet loss rate and the number of times of disconnection; determining a transmission quality score of the currently processed second reference AP according to the network speed and the network delay; determining an access quality score of the currently processed second reference AP according to the transmission quality score and the stability score.
In one possible example, in terms of determining the access stability score of the currently processed second reference AP according to the packet loss rate and the dropped call number, the instructions in the program are specifically configured to perform the following operations: querying a preset first database to obtain stability scoring influence factors corresponding to the packet loss rate and the number of dropped calls, wherein the first database comprises a corresponding relation between a parameter group and the stability scoring influence factors, the parameter group consists of the packet loss rate and the number of dropped calls, and the values of the parameter group in the corresponding relation are in an inverse proportional relation with the stability scoring influence factors; and obtaining the access stability score of the currently processed second reference AP according to the stability score influence factor and the pre-configured initial stability score.
In one possible example, in determining the transmission quality score of the currently processed second reference AP according to the wire speed and the network delay, the instructions in the program are specifically configured to: calculating the transmission quality score of the currently processed second reference AP according to the following preset calculation formula;
Figure BDA0003582904860000081
wherein S0 is a transmission quality reference score, V is the network speed, V0 is a reference network speed, τ is the network delay, τ 0 is a reference network delay, and S is the transmission quality score of the currently processed second reference AP.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments provided herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed in hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 5 is a block diagram of functional units of a wireless high-fidelity Wi-Fi access point selection device 500 involved in the embodiments of the present application. The wireless high-fidelity Wi-Fi access point selection device 500 is applied to electronic equipment supporting dual Wi-Fi functions, the electronic equipment comprises a Wi-Fi communication module, the electronic equipment accesses different access points through the Wi-Fi communication module in the dual-Wi-Fi function state, the wireless high-fidelity Wi-Fi access point selection device comprises a processing unit 501 and a communication unit 502, wherein the processing unit 501 is used for executing any step in the method embodiments, and when data transmission such as sending is executed, the communication unit 502 is optionally called to complete corresponding operations. The details will be described below.
The processing unit 501 is configured to acquire a first frequency band of a first wireless access point AP to which the electronic device is accessed; scanning at least one second AP except the first AP within the range of the electronic equipment; determining one or more second reference APs meeting a preset first constraint condition in the at least one second AP, wherein the first constraint condition is used for constraining the second reference APs to be successfully accessed APs with different frequency bands from the first frequency band; the accessing of the second AP with dual Wi-Fi function is performed according to the one or more second reference APs.
In one possible example, the channel quality of the first AP and the second reference AP is not lower than a preset channel quality means that: the first AP and the second reference AP correspond to a single-antenna working mode state, the channel quality of the first AP is not lower than a preset channel quality, and the channel quality of the second reference AP is not lower than the preset channel quality; the channel quality is characterized by any one of the following parameters: received signal strength indication RSSI, reference signal received power RSRP, reference signal received quality RSRQ.
In one possible example, the first AP is a 2.4G band, and the frequency band of the one or more second reference APs is a 5G band; or, the first AP is a 5G frequency band, and the frequency band of the one or more second reference APs is a 2.4G frequency band.
In a possible example, in terms of obtaining the access quality score, the processing unit 501 is configured to obtain historical access data of a currently processed second reference AP, where the historical access data includes a network speed, a network delay, a packet loss rate, and a number of dropped lines; and calculating the access quality score of the currently processed second reference AP according to the network speed, the network delay, the packet loss rate and the number of the dropped lines.
In a possible example, in terms of calculating an access quality score of the currently processed second reference AP according to the network speed, the network delay, the packet loss rate, and the number of dropped calls, the processing unit 501 is configured to: determining an access stability score of the currently processed second reference AP according to the packet loss rate and the number of times of disconnection; determining a transmission quality score of the currently processed second reference AP according to the network speed and the network delay; determining an access quality score of the currently processed second reference AP according to the transmission quality score and the stability score.
In one possible example, in terms of determining the access stability score of the currently processed second reference AP according to the packet loss rate and the dropped call number, the processing unit 501 is configured to: querying a preset first database to obtain stability score influence factors corresponding to the packet loss rate and the drop times, wherein the first database comprises a corresponding relation between a parameter group and the stability score influence factors, the parameter group consists of the packet loss rate and the drop times, and the values of the parameter groups in the corresponding relation are in an inversely proportional relation with the stability score influence factors; and obtaining the access stability score of the currently processed second reference AP according to the stability score influence factor and the pre-configured initial stability score.
In one possible example, in determining the transmission quality score of the currently processed second reference AP according to the wire speed and the network delay, the processing unit 501 is configured to: calculating the transmission quality score of the currently processed second reference AP according to the following preset calculation formula;
Figure BDA0003582904860000091
wherein S0 is a transmission quality reference score, V is the network speed, V0 is a reference network speed, τ is the network delay, τ 0 is a reference network delay, and S is the transmission quality score of the currently processed second reference AP.
The Wi-Fi access point selection 500 may further include a storage unit 503 for storing program codes and data of the electronic device. The processing unit 501 may be a processor, the communication unit 502 may be a touch display screen or a transceiver, and the storage unit 503 may be a memory.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the methods as set out in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art will recognize that the embodiments described in this specification are preferred embodiments and that acts or modules referred to are not necessarily required for this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing embodiments have been described in detail, and specific examples are used herein to explain the principles and implementations of the present application, where the above description of the embodiments is only intended to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (6)

1. A wireless high-fidelity Wi-Fi access point selection method is applied to electronic equipment supporting double Wi-Fi functions, the electronic equipment comprises a Wi-Fi communication module, and the electronic equipment accesses different access points through the Wi-Fi communication module in the double Wi-Fi function state; the method comprises the following steps:
acquiring a first frequency band of a first wireless Access Point (AP) accessed by the electronic equipment;
scanning at least one second AP (access point) except the first AP within the range of the electronic equipment;
determining one or more second reference APs of the at least one second AP, which meet a preset first constraint condition, wherein the first constraint condition is used for constraining the second reference AP to be a successfully accessed AP with a frequency band different from the first frequency band;
accessing the single second reference AP when the one or more second reference APs are single; when the number of the one or more second reference APs is multiple, determining a second target AP meeting a preset second constraint condition from the multiple second reference APs, and accessing the second target AP, wherein the second constraint condition is used for constraining the access quality score of the second target AP to be a maximum value except for the second target AP; the access quality score is obtained by the following steps: acquiring historical access data of a second reference AP currently processed, wherein the historical access data comprises network speed, network delay, packet loss rate and offline times; querying a preset first database to obtain stability score influence factors corresponding to the packet loss rate and the drop times, wherein the first database comprises a corresponding relation between a parameter group and the stability score influence factors, the parameter group consists of the packet loss rate and the drop times, and the values of the parameter groups in the corresponding relation are in an inversely proportional relation with the stability score influence factors; obtaining an access stability score of the currently processed second reference AP according to the stability score influence factor and a pre-configured initial stability score; determining a transmission quality score of the currently processed second reference AP according to the network speed and the network delay; determining an access quality score of the currently processed second reference AP according to the transmission quality score and the stability score.
2. The method according to claim 1, wherein the channel quality of the first AP and the second reference AP is not lower than a preset channel quality: the first AP and the second reference AP correspond to a single-antenna working mode state, the channel quality of the first AP is not lower than a preset channel quality, and the channel quality of the second reference AP is not lower than the preset channel quality;
the channel quality is characterized by any one of the following parameters: received signal strength indication RSSI, reference signal received power RSRP, reference signal received quality RSRQ.
3. The method of claim 1 or 2, wherein the first AP is a 2.4G band, and wherein the one or more second reference APs are 5G bands; or,
the first AP is a 5G frequency band, and the frequency band of the one or more second reference APs is a 2.4G frequency band.
4. A wireless high-fidelity Wi-Fi access point selection device is applied to electronic equipment supporting double Wi-Fi functions, the electronic equipment comprises a Wi-Fi communication module, and the electronic equipment accesses different access points through the Wi-Fi communication module in the double Wi-Fi function state; the wireless high-fidelity Wi-Fi access point selection device comprises a processing unit, wherein,
the processing unit is configured to acquire a first frequency band of a first AP to which the electronic device is accessed; scanning at least one second AP except the first AP within the range of the electronic equipment; determining one or more second reference APs of the at least one second AP, which meet a preset first constraint condition, wherein the first constraint condition is used for constraining the second reference AP to be a successfully accessed AP with a frequency band different from the first frequency band; accessing the single second reference AP when the one or more second reference APs are single; when the number of the one or more second reference APs is multiple, determining a second target AP meeting a preset second constraint condition from the multiple second reference APs, and accessing the second target AP, wherein the second constraint condition is used for constraining the access quality score of the second target AP to be a maximum value except for the second target AP; the access quality score is obtained by the following steps: acquiring historical access data of a second reference AP currently processed, wherein the historical access data comprises network speed, network delay, packet loss rate and offline times; querying a preset first database to obtain stability scoring influence factors corresponding to the packet loss rate and the number of dropped calls, wherein the first database comprises a corresponding relation between a parameter group and the stability scoring influence factors, the parameter group consists of the packet loss rate and the number of dropped calls, and the values of the parameter group in the corresponding relation are in an inverse proportional relation with the stability scoring influence factors; obtaining an access stability score of the currently processed second reference AP according to the stability score influence factor and a pre-configured initial stability score; determining a transmission quality score of the currently processed second reference AP according to the network speed and the network delay; determining an access quality score of the currently processed second reference AP according to the transmission quality score and the stability score.
5. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-3.
6. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-3.
CN202210356111.0A 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device Active CN114786242B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210356111.0A CN114786242B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210356111.0A CN114786242B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device
CN201910774815.8A CN112423376B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201910774815.8A Division CN112423376B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device

Publications (2)

Publication Number Publication Date
CN114786242A true CN114786242A (en) 2022-07-22
CN114786242B CN114786242B (en) 2023-07-04

Family

ID=74660451

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210356111.0A Active CN114786242B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device
CN201910774815.8A Active CN112423376B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201910774815.8A Active CN112423376B (en) 2019-08-21 2019-08-21 Wireless high-fidelity Wi-Fi access point selection method and related device

Country Status (2)

Country Link
CN (2) CN114786242B (en)
WO (1) WO2021031853A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726600B (en) * 2021-08-20 2023-03-31 广州小鹏汽车科技有限公司 Transmission delay determining method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013157748A1 (en) * 2012-04-20 2013-10-24 주식회사에어플러그 Method and apparatus for connecting wireless network using information on mutual communication characteristics between terminal and wireless network access point
WO2015081567A1 (en) * 2013-12-06 2015-06-11 华为技术有限公司 Station device access point method, device, and system
EP3016443A1 (en) * 2014-10-29 2016-05-04 Xiaomi Inc. Communication method and terminal
WO2018103402A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Wireless fidelity (wifi) scan method and related product
CN109618320A (en) * 2019-01-15 2019-04-12 Oppo广东移动通信有限公司 The method and device of radio roaming

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8412102B2 (en) * 2007-03-14 2013-04-02 At&T Intellectual Property I, L.P. Method, apparatus and storage medium for provisioning WLAN parameters via a cordless phone protocol
US9402199B2 (en) * 2013-10-14 2016-07-26 Netgear, Inc. Systems and methods for wireless load balancing and channel selection for a wireless device using WLAN modules operating simultaneously in different wireless bands
CN105744597B (en) * 2014-12-12 2019-06-21 华为终端有限公司 A kind of terminal and its wireless connection method
CN105848231B (en) * 2015-01-14 2019-05-24 中兴通讯股份有限公司 WIFI equipment and the wherein working method of WIFI chip, device
TWI581646B (en) * 2015-08-27 2017-05-01 鴻海精密工業股份有限公司 A method with dynamic frequency selection and an electronic device
CN106131930A (en) * 2016-08-15 2016-11-16 广东欧珀移动通信有限公司 A kind of WiFi network connection control method, device and terminal
CN106572510A (en) * 2016-10-31 2017-04-19 青岛海信电器股份有限公司 Channel selection method and intelligent terminal
CN106982459B (en) * 2017-03-14 2019-09-20 Oppo广东移动通信有限公司 Network scanning method and terminal device
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
US20190044236A1 (en) * 2017-08-02 2019-02-07 Pc-Tel, Inc. One-piece dual-band antenna and ground plane
US10117286B1 (en) * 2017-09-19 2018-10-30 Amazon Technologies, Inc. System for distributing data using multiple communication channels
CN107770842A (en) * 2017-09-29 2018-03-06 努比亚技术有限公司 Hotspot connection method, mobile terminal and computer-readable recording medium
CN107770841B (en) * 2017-09-29 2020-10-27 珠海大横琴科技发展有限公司 Hotspot connection method, mobile terminal and computer-readable storage medium
CN108337742A (en) * 2018-02-06 2018-07-27 广东欧珀移动通信有限公司 A kind of mobile terminal and its WIFI bridging methods
CN108668378A (en) * 2018-05-31 2018-10-16 北京橙鑫数据科技有限公司 Channel selecting method, device and electronic equipment
CN108934026A (en) * 2018-06-30 2018-12-04 江苏有线数据网络有限责任公司 A kind of mobile terminal Wi-Fi quality determining method
CN109803318B (en) * 2019-02-12 2021-01-22 Oppo广东移动通信有限公司 Data packet distribution method and device, mobile terminal and storage medium
CN109803325B (en) * 2019-02-12 2020-12-22 Oppo广东移动通信有限公司 Data distribution method and device, mobile terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013157748A1 (en) * 2012-04-20 2013-10-24 주식회사에어플러그 Method and apparatus for connecting wireless network using information on mutual communication characteristics between terminal and wireless network access point
WO2015081567A1 (en) * 2013-12-06 2015-06-11 华为技术有限公司 Station device access point method, device, and system
EP3016443A1 (en) * 2014-10-29 2016-05-04 Xiaomi Inc. Communication method and terminal
WO2018103402A1 (en) * 2016-12-07 2018-06-14 广东欧珀移动通信有限公司 Wireless fidelity (wifi) scan method and related product
CN109618320A (en) * 2019-01-15 2019-04-12 Oppo广东移动通信有限公司 The method and device of radio roaming

Also Published As

Publication number Publication date
CN112423376B (en) 2022-04-29
CN114786242B (en) 2023-07-04
CN112423376A (en) 2021-02-26
WO2021031853A1 (en) 2021-02-25

Similar Documents

Publication Publication Date Title
CN109618373B (en) Link selection method and related device
CN109803318B (en) Data packet distribution method and device, mobile terminal and storage medium
CN109803325B (en) Data distribution method and device, mobile terminal and storage medium
CN109495880B (en) Data transmission method and related device
CN109618372B (en) Data transmission method and related device
CN110049505B (en) Data transmission method and related device
CN106604403B (en) Miracast protocol-based channel selection method and system
WO2021031793A1 (en) Wireless high-fidelity wi-fi connection control method and related product
CN109743783B (en) Data transmission control method and related product
US11178624B2 (en) Method of adjusting transmission power of terminal, mobile terminal, and storage device
CN107426781A (en) A kind of double frequency WiFi automatic switching methods, device and computer-readable recording medium
CN111601325B (en) Electromagnetic interference control method and related device
CN109729556B (en) Link connection method and related device
CN109547469B (en) Data transmission method and related device
CN113453239B (en) Channel resource allocation method and system, storage medium and electronic device
CN110417470B (en) Network switching method based on visible light communication and related product
CN103096456A (en) Building method and controller of synchronization link
CN112423376B (en) Wireless high-fidelity Wi-Fi access point selection method and related device
US20190297517A1 (en) Method and apparatus for managing quality of wireless lan
CN110536398B (en) Average delay guarantee power control method and system based on multidimensional effective capacity
CN109392018B (en) Data transmission method and related device
EP4294079A1 (en) Network access method and apparatus, and device and storage medium
CN113784403B (en) Cell switching method and device
CN111654330B (en) Electromagnetic interference control method and related device
CN112385253A (en) Network state display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant