Method and device for selecting wireless access point, intelligent terminal and medium

By obtaining environmental information and selecting scenario modes, and calculating the comprehensive score of wireless access access points, the problem of failure to consider the differentiation of performance indicators in the existing technology in different application scenarios is solved, and the wireless access access point with the best performance, the highest stability and the strongest security is selected, and the user experience is improved.

CN119584251APending Publication Date: 2025-03-07SHENZHEN KONKA ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411811964.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-03-07

Smart Images

  • Figure CN119584251A_ABST
    Figure CN119584251A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for selecting a wireless access point, an intelligent terminal and a medium, and the method comprises the steps: obtaining environment information, and selecting a scene mode according to the environment information; calculating a comprehensive score of each wireless access point according to the scene mode; and selecting a target wireless access point according to the comprehensive score of each wireless access point. According to the method, when the performance of the wireless access point is evaluated, the differentiation characteristics of the scene mode are considered, and the wireless access point with the optimal performance, the highest stability and the high security in the current scene mode can be selected for connection by adjusting the weight of each score item, so that better network experience is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communications, and in particular to a method, device, intelligent terminal and medium for selecting a wireless access point. Background Art

[0002] With the continuous development of wireless communication technology, wireless networks have become an important part of people's daily life and work. As the core component of wireless networks, the performance and connection stability of wireless access points (APs) are crucial to users' network experience.

[0003] When judging the performance of an AP, signal strength, coverage, and security are usually used as the main indicators, but the differences in performance indicator requirements in different application scenarios are not taken into account. As a result, users are unable to connect to the wireless access point with the best performance, highest stability, and strongest security in their environment, resulting in a poor user experience.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method, device, intelligent terminal and medium for selecting a wireless access point in view of the above-mentioned defects of the prior art, aiming to solve the problem that the prior art does not take into account the differentiated requirements for performance indicators in different application scenarios.

[0006] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0007] In a first aspect, the present invention provides a method for selecting a wireless access point, wherein the method comprises:

[0008] Acquiring environmental information, and selecting a scene mode according to the environmental information;

[0009] Calculate a comprehensive score for each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength;

[0010] The destination wireless access point is selected based on the comprehensive score of each wireless access point.

[0011] In one implementation, the acquiring of environmental information and selecting a scene mode according to the environmental information includes:

[0012] Scanning the environment to obtain environmental information, wherein the environmental information includes geographic coordinate information and real scene information;

[0013] The scene mode is selected according to the environmental information, wherein the scene modes include a default mode, an airport mode, a hospital mode, and an office mode.

[0014] In one implementation, before calculating the comprehensive score of each wireless access point according to the scenario mode, the method further includes:

[0015] Accessible wireless access points are searched, and performance indicators of each accessible wireless access point are calculated, wherein the performance indicators include a frequency band score, a standard type score, a bandwidth score, a DFS channel score, an encryption type score, and a received signal strength score.

[0016] In one implementation, searching for accessible wireless access points and calculating a performance indicator of each accessible wireless access point includes:

[0017] Search for accessible wireless access points, and obtain the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel, encryption type, and received signal strength of the accessible wireless access points;

[0018] The working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type and received signal strength of the accessible wireless access point are scored respectively to obtain a performance indicator of each accessible wireless access point.

[0019] In one implementation, the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength of the accessible wireless access point are scored respectively to obtain performance indicators of each accessible wireless access point, including:

[0020] According to the received signal strength of the accessible wireless access point, the received signal strength score of the accessible wireless access point is calculated, and the calculation formula is:

[0021] f(r)=(r+r offset )*r slope ,

[0022] Where f(r) is the received signal strength score of the accessible wireless access point, r is the received signal strength of the accessible wireless access point, and r is a negative number. offset is the first constant, r slope is the second constant.

[0023] In one implementation, calculating the comprehensive score of each wireless access point according to the scenario mode includes:

[0024] According to the scene mode, setting a weight value in the scene mode for the performance indicator;

[0025] According to the weight value in the scenario mode, a weighted sum is performed on the performance index of each accessible wireless access point to obtain a comprehensive score of each wireless access point.

[0026] In one implementation, selecting a destination wireless access point according to a comprehensive score of each wireless access point includes:

[0027] Sort the comprehensive score of each wireless access point from high to low to obtain a sorted list of wireless access points;

[0028] According to the wireless access point sorting list, wireless access points are selected in sequence as destination wireless access points until a connection is established.

[0029] In a second aspect, an embodiment of the present invention further provides a device for selecting a wireless access point, wherein the device includes:

[0030] A scene mode acquisition module, used to acquire environmental information and select a scene mode according to the environmental information;

[0031] A scoring module, configured to calculate a comprehensive score for each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength;

[0032] The wireless access point selection module is used to select a destination wireless access point according to the comprehensive score of each wireless access point.

[0033] In a third aspect, an embodiment of the present invention further provides an intelligent terminal, wherein the intelligent terminal includes a memory, a processor, and a program for selecting a wireless access point stored in the memory and executable on the processor, and when the processor executes the program for selecting a wireless access point, the steps of the method for selecting a wireless access point as described in any one of the above items are implemented.

[0034] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein a program for selecting a wireless access point is stored on the computer-readable storage medium, and when the program for selecting a wireless access point is executed by a processor, the steps of the method for selecting a wireless access point as described in any one of the above items are implemented.

[0035] Beneficial effects: Compared with the prior art, the present invention provides a method for selecting a wireless access point. First, environmental information is obtained, and a scene mode is selected according to the environmental information. By judging the scene in which the user is located, the performance that the user cares about when connecting to a wireless network in a specific scene can be inferred; then, according to the scene mode, a comprehensive score of each wireless access point is calculated, and the comprehensive performance of the wireless access point is measured by combining the scene mode to calculate the comprehensive score. The wireless access points in the environment can be accurately sorted according to the user's preferences, thereby more directly reflecting the performance of the connectable wireless access points; finally, according to the comprehensive score of each wireless access point, a target wireless access point is selected, and by preferentially connecting to the wireless access point with the highest score, a wireless access point with performance that best meets the user's needs is selected, thereby improving the user's network experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 The figure is a flow chart of a method for selecting a wireless access point provided by an embodiment of the present invention.

[0038] Figure 2 It is a principle block diagram of a device for selecting a wireless access point provided by an embodiment of the present invention.

[0039] Figure 3 It is a block diagram of the internal structure principle of the intelligent terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0041] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any unit and all combinations of one or more associated listed items.

[0042] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.

[0043] With the continuous development of wireless communication technology, wireless networks have become an important part of people's daily life and work. As the core component of wireless networks, the performance and connection stability of wireless access points (APs) are crucial to the user's network experience. Before successfully connecting to an AP, the performance of the AP is usually judged only based on the RSSI of the AP. However, in addition to RSSI, factors such as frequency band, bandwidth, and whether it is in a DFS channel are also important factors affecting performance and stability. In addition, users have different usage preferences in different scenarios. Therefore, when evaluating the performance of an AP, its performance, stability, and security are comprehensively evaluated based on factors such as the frequency band, bandwidth, whether it is in a DFS channel, and encryption type of the AP. Considering scenario factors, you can select the AP with the best performance, highest stability, and strongest security to connect to, thereby obtaining a better network experience.

[0044] Exemplary Methods

[0045] This embodiment provides a method for selecting a wireless access point. Figure 1 As shown, the method comprises the following steps:

[0046] Step S100, obtaining environmental information, and selecting a scene mode according to the environmental information;

[0047] Specifically, when the user is connected to a wireless network, the environment in which the user is located can reflect the user's needs. By scanning and analyzing the environmental information, the scene in which the device is located can be determined. If the environmental information shows that the user is surrounded by green plants, it is inferred that the user is in an outdoor park, and the scene mode can be a park green space. If there are doctors and nurses in the environmental information, it is inferred that the user is in a hospital, and the scene mode can be a hospital.

[0048] In one implementation, step S100 in this embodiment includes the following steps:

[0049] Step S101, scanning the environment to obtain environmental information, wherein the environmental information includes geographic coordinate information and real scene information;

[0050] Step S102: Select the scene mode according to the environmental information, wherein the scene mode includes a default mode, an airport mode, a hospital mode and an office mode.

[0051] Specifically, geographic coordinate information can be obtained through the positioning system of the device. The geographic coordinates can be used to obtain the location information marked on the map, such as stadiums, hospitals, swimming pools, etc., and then the real-scene information can be obtained by scanning the environment. Real-scene information includes: trees, buildings, crowds, clothing, facilities, etc. By combining the geographic coordinate information and the environmental information obtained by the real-scene information, the environmental information can reflect the current environment. For example, if the geographic coordinate information is a hospital, but the user's environment is scanned and surrounded by green trees and blue sky and white clouds, it can be determined that the user's environmental information is an outdoor green space, and the scene mode is selected as outdoor. If the geographic coordinate information is a hospital, and the scanned user's environment has the words "operating room", it can be determined that the environmental information is a hospital, and the scene mode is selected as hospital. When the user's scene mode cannot be identified, the default mode can be used.

[0052] Step S200, calculating a comprehensive score of each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength;

[0053] Specifically, in the same scenario mode, the comprehensive performance of the wireless access point is measured by the comprehensive score of the wireless access point, and the comprehensive performance of the wireless access point is positively correlated with the score. For example, in the hospital scenario, the comprehensive score of AP1 is 85 points, and the comprehensive score of AP2 is 90 points, which means that in the hospital scenario, the comprehensive performance of AP2 is better than that of AP1.

[0054] In one implementation, the following steps are included before step S200 in this embodiment:

[0055] Step M200: search for accessible wireless access points, and calculate the performance indicators of each accessible wireless access point, wherein the performance indicators include a frequency band score, a standard type score, a bandwidth score, a DFS channel score, an encryption type score, and a received signal strength score.

[0056] Specifically, a query request for a wireless access point is sent to a wireless access point, and the obtained reply message includes an identifier and performance parameters of each of the wireless access points. The wireless access point that receives the reply message is marked as an accessible wireless access point, and is distinguished by the identifier of the wireless access point. The performance index of each accessible wireless access point can be calculated by the performance parameter, and the performance of the wireless access point can be evaluated by scoring each performance of the wireless access point.

[0057] Specifically, when the terminal searches for a wireless access point, the search for the AP may be automatically performed when the terminal has not established a Wi-Fi connection, or the search for the AP may be performed when triggered by a user, or the search for the AP may be performed when the terminal has established a Wi-Fi connection and is passively disconnected by the currently connected AP, or the search for the AP with a stronger signal may be performed when the terminal has established a Wi-Fi connection.

[0058] In one implementation, step M200 in this embodiment includes the following steps:

[0059] Step M201: Search for accessible wireless access points, and obtain the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel, encryption type, and received signal strength of the accessible wireless access points;

[0060] Specifically, the working frequency band of the wireless access point indicates the WIFI protocol supported by the wireless access point, including 2.4G, 5G and 6G frequency bands. The WIFI standard types are 802.11n, 802.11ac, and 802.11ax. Bandwidth is an important indicator for measuring the speed of wireless devices. We divide the bandwidth into five intervals with 20MHz, 40MHz, 80MHz, and 160MHz as the dividing points. Bandwidth less than 40MHz is recorded as 20Hz. Bandwidth greater than or equal to 40MHz and less than 80MHz is recorded as 40MHz. Bandwidth greater than or equal to 80MHz and less than 160MHz is recorded as 80MHz. Bandwidth greater than or equal to 160MHz is recorded as 160MHz. DFS Dynamic Frequency Selection is one of the functions of the 5GHz wireless band. Originally, DFS channels were reserved for specific radar signals only. At present, relevant channels are open for use in accordance with relevant regional regulations. However, when a radar is detected on a DFS channel, it is necessary to quickly exit the channel and switch to another DFS channel, resulting in an unstable WIFI connection. Non-DFS channels are more stable in use, and the DFS channel indication indicates whether the wireless access point is in a DFS channel. An open network is a network without a password set, and any user can connect to and access the network. The security of this type of network is very low, and connecting to an open network is prone to attacks or leakage of personal information. A non-open network is a network that requires a password to connect. The security of this type of network is relatively high because only users who know the password can connect to the network. The encryption type indicates whether the wireless access point is encrypted. The received signal strength (RSSI) indicates the signal strength at a certain location within the coverage of a wireless network and is the most important indicator for measuring AP performance.

[0061] Step M202: score the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength of the accessible wireless access point respectively to obtain a performance indicator of each accessible wireless access point.

[0062] Specifically, by assigning points to the above indicators, f(f) represents the frequency band score, f(b) represents the bandwidth score, f(s) represents the standard type score, f(d) represents whether it is in the DFS channel score, f(secy) represents the encryption type score, and f(r) represents the received signal strength score.

[0063] Specifically, different score values ​​are calculated according to the frequency band in which the wireless access point works. Currently, the WIFI protocol supports 2.4G, 5G, and 6G bands. The 2.4G band has a low operating frequency and a slow speed, while the 5G band has a higher frequency and can provide more bandwidth, thereby achieving a faster speed. The 6G band can provide more bandwidth than the 5G band. In terms of transmission speed, the 6G band has the fastest rate, followed by the 5G band and the 2.4G band. Therefore, the 2.4G band has 0 points, the 5G band has 5 points, and the 6G band has 10 points. The scoring rules are defined as follows:

[0064]

[0065] Different scores are calculated based on the WIFI standard type supported by the wireless access point. The scoring rules are defined as follows:

[0066]

[0067] Different score values ​​are calculated based on the bandwidth of the wireless access point. The larger the bandwidth, the faster the transmission speed. Therefore, 20MHz is 0 points, 40MHz is 3 points, 80MHz is 6 points, and 160MHz is 10 points. The scoring rules are defined as follows:

[0068]

[0069] Different scores are calculated based on whether the wireless access point is in a DFS channel. Non-DFS channels are more stable in use, so a DFS channel scores 0 points, and a non-DFS channel scores 10 points. The scoring rules are defined as follows:

[0070]

[0071] Different scores are calculated based on the wireless access point encryption type. An open network is a network without a password set, and any user can connect to and access the network. The security of this type of network is very low, and connecting to an open network is prone to attacks or leakage of personal information. A non-open network is a network that requires a password to connect to. The security of this type of network is relatively high because only users who know the password can connect to the network. Therefore, an open network is 0 points, and a non-open network is 10 points. The scoring rules are defined as follows:

[0072]

[0073] This can more intuitively show the performance of each wireless access point.

[0074] In one implementation, step M202 in this embodiment includes the following steps:

[0075] Step M2021: Calculate the received signal strength score of the accessible wireless access point according to the received signal strength of the accessible wireless access point. The calculation formula is:

[0076] f(r)=(r+r offset )*r slope ,

[0077] Where f(r) is the received signal strength score of the accessible wireless access point, r is the received signal strength of the accessible wireless access point, and r is a negative number. offset is the first constant, r slope is the second constant.

[0078] Specifically, the received signal strength indication is an optional part of the wireless transmission layer, which is used to determine the link quality and whether to increase the broadcast transmission strength. When the RSSI of a wireless access point is -85dB, the connection of the wireless access point is unreliable and has no meaning to connect. The larger the RSSI of a wireless access point, the higher the link quality. By calculating the received signal strength score of the accessible wireless access point, the quality of the wireless access point link can be intuitively evaluated, thereby helping users select a wireless access point with better performance. In this embodiment, the first constant r offst The value is 85, the second constant r slope The value is 1.2.

[0079] In one implementation, step S200 in this embodiment includes the following steps:

[0080] Step S201: according to the scene mode, setting a weight value in the scene mode for the performance indicator;

[0081] Specifically, different scene modes have different requirements for wireless access points. According to the characteristics and requirements of various scene modes, adjusting the weight of the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength in the comprehensive score can help users find a more suitable wireless access point. In this embodiment, the weight configuration of Table 1 is used to assign weights to each performance parameter.

[0082] Table 1. Weight values ​​in scene mode

[0083]

[0084] Step S202: performing weighted summation on the performance indicators of each accessible wireless access point according to the weight values ​​in the scenario mode to obtain a comprehensive score of each wireless access point.

[0085] Specifically, in each scenario mode, the calculated frequency band score, standard type score, bandwidth score, whether it is in a DFS channel score, encryption type score, and received signal strength score are weighted according to Table 1 to obtain a comprehensive score of the wireless access point. The calculation formula is as follows:

[0086] S=(d(f)*f(f)+d(s)*f(s)+d(b)*f(b)+d(d)*f(d)+d(secy)*f(secy))*f(r),

[0087] Where S is the comprehensive score of the wireless access point, f(f) represents the frequency band score, f(b) represents the bandwidth score, f(s) represents the standard type score, f(d) represents the DFS channel score, f(secy) represents the encryption type score, f(r) represents the received signal strength score, d(f) is the working frequency band weight, d(s) is the WIFI standard type weight, d(b) is the bandwidth weight, d(d) is the DFS channel indication weight, and d(secy) is the encryption type weight.

[0088] For example, in the airport scene mode, device A scans the surrounding WIFI access points and tries to connect to WIFI. Device A scans 4 APs, as follows:

[0089] AP1: operates in the 5G frequency band, 80211ax, with a bandwidth of 80 MHz, in a DFS channel, using open encryption type, and an RSSI of -60 dBm.

[0090] AP2: operates in the 5G frequency band, 80211ax, with a bandwidth of 80 MHz, is not in a DFS channel, uses a non-open encryption type, and has an RSSI of -76 dBm.

[0091] AP3: works in the 2.4 GHz band, 80211n, 40 MHz bandwidth, is not in a DFS channel, uses a non-open encryption type, and has an RSSI of -46 dBm.

[0092] AP4: works in the 2.4 GHz band, 80211ax, 40 MHz bandwidth, is not in a DFS channel, uses non-open encryption type, and has an RSSI of -35 dBm.

[0093] The comprehensive score of each AP is calculated according to the comprehensive score formula of wireless access points:

[0094] AP1: S=(20%*5+20%*6+10%*6+30%*0+20%*0)*((-60+85)*1.2)=84.

[0095] AP2: S=(20%*5+20%*6+10%*6+30%*10+20%*10)*

[0096] ((-76+85)*1.2)=84.24.

[0097] AP3: S=(20%*0+20%*0+10%*3+30%*10+20%*10)*

[0098] ((-46+85)*1.2)=245.04.

[0099] AP4: S=(20%*0+20%*6+10%*3+30%*10+20%*10)*

[0100] ((-35+85)*1.2)=468.

[0101] Step S300: Select a destination wireless access point according to the comprehensive score of each wireless access point.

[0102] Specifically, according to the comprehensive score of each wireless access point, the wireless access point with the highest comprehensive score is preferentially selected as the destination wireless access point, and a WIFI link is established through the destination wireless access point to obtain the best network experience.

[0103] In one implementation, step S300 in this embodiment includes the following steps:

[0104] Step S301: sort the comprehensive scores of each wireless access point from high to low to obtain a sorted list of wireless access points;

[0105] Step S302: Select wireless access points as destination wireless access points in sequence according to the wireless access point sorting list until a connection is established.

[0106] Specifically, as described in the above example, the wireless access points are sorted from high to low according to the comprehensive score values, and the ranking list is AP4, AP3, AP2, AP1. According to the ranking list, AP4 has a score of 468 and ranks first. Device A will preferentially choose to connect to AP4. When it cannot establish a link with AP4, it will choose AP3, which ranks second, and so on, until a WIFI link is established.

[0107] Exemplary Devices

[0108] like Figure 2 As shown in , this embodiment also provides a device for selecting a wireless access point, the device comprising:

[0109] A scene mode acquisition module 10, used to acquire environmental information and select a scene mode according to the environmental information;

[0110] A scoring module 20, configured to calculate a comprehensive score of each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength;

[0111] The wireless access point selection module 30 is used to select a target wireless access point according to the comprehensive score of each wireless access point.

[0112] In one implementation, the scene mode acquisition module 10 includes:

[0113] A scanning unit, used to scan the environment to obtain environmental information, wherein the environmental information includes geographic coordinate information and real scene information;

[0114] A scene mode acquisition unit is used to select the scene mode according to the environmental information, wherein the scene mode includes a default mode, an airport mode, a hospital mode and an office mode.

[0115] In one implementation, the device further includes:

[0116] The performance indicator acquisition module is used to search for accessible wireless access points and calculate the performance indicators of each accessible wireless access point, wherein the performance indicators include a frequency band score, a standard type score, a bandwidth score, a DFS channel score, an encryption type score, and a received signal strength score.

[0117] In one implementation, the performance indicator acquisition module includes:

[0118] A data acquisition unit, used to search for accessible wireless access points, and obtain the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength of the accessible wireless access points;

[0119] The performance indicator acquisition unit is used to assign scores to the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type and received signal strength of the accessible wireless access point, and obtain the performance indicator of each accessible wireless access point.

[0120] In one implementation, the performance indicator acquisition unit includes:

[0121] The received signal strength score acquisition subunit is used to calculate the received signal strength score of the accessible wireless access point according to the received signal strength of the accessible wireless access point, and the calculation formula is:

[0122] f(r)=(r+r offset )*r slope ,

[0123] Where f(r) is the received signal strength score of the accessible wireless access point, r is the received signal strength of the accessible wireless access point, and r is a negative number. offset is the first constant, r slope is the second constant.

[0124] In one implementation, the scoring module 20 includes:

[0125] A weight value setting unit, used to set a weight value in a scene mode for the performance indicator according to the scene mode;

[0126] The weighted summing unit is used to perform weighted summing of the performance indicators of each accessible wireless access point according to the weight value in the scenario mode to obtain a comprehensive score of each wireless access point.

[0127] In one implementation, the wireless access point selection module 30 includes:

[0128] A sorting unit, used to sort the comprehensive score of each wireless access point from high to low according to the score, to obtain a sorted list of wireless access points;

[0129] The wireless connection unit is used to select wireless access points as destination wireless access points in sequence according to the wireless access point sorting list until a connection is established.

[0130] Based on the above embodiments, the present invention further provides an intelligent terminal, whose principle block diagram can be shown as follows: Figure 3As shown. The intelligent terminal includes a processor, a memory, a network interface, a display screen, and a temperature sensor connected through a system bus. Among them, the processor of the intelligent terminal is used to provide computing and control capabilities. The memory of the intelligent terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the intelligent terminal is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for selecting a wireless access point is implemented. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is pre-set inside the intelligent terminal to detect the operating temperature of the internal device.

[0131] Those skilled in the art will understand that Figure 3 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the smart terminal to which the scheme of the present invention is applied. A specific smart terminal may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0132] In one embodiment, a smart terminal is provided. The smart terminal includes a memory, a processor, and a wireless access point selection program stored in the memory and executable on the processor. When the processor executes the wireless access point selection program, the following operation instructions are implemented:

[0133] Acquiring environmental information, and selecting a scene mode according to the environmental information;

[0134] Calculate a comprehensive score for each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength;

[0135] The destination wireless access point is selected based on the comprehensive score of each wireless access point.

[0136] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, operating database or other media used in the embodiments provided by the present invention may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double operational data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0137] In summary, the present invention discloses a method, device, intelligent terminal and medium for selecting a wireless access point, the method comprising: obtaining environmental information, and selecting a scene mode according to the environmental information; calculating a comprehensive score of each wireless access point according to the scene mode; and selecting a target wireless access point according to the comprehensive score of each wireless access point. When evaluating the performance of a wireless access point, the present invention takes into account the differentiated characteristics of the scene mode, and by adjusting the weight of each scoring item, a wireless access point with the best performance, highest stability and strong security in the current scene mode can be selected for connection, thereby obtaining a better network experience.

[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for selecting a wireless access point, characterized in that: The method comprises: Acquiring environmental information, and selecting a scene mode according to the environmental information; Calculate a comprehensive score for each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength; The destination wireless access point is selected based on the comprehensive score of each wireless access point.

2. The method for selecting a wireless access point according to claim 1, characterized in that: The acquiring of environmental information and selecting a scene mode according to the environmental information includes: Scanning the environment to obtain environmental information, wherein the environmental information includes geographic coordinate information and real scene information; The scene mode is selected according to the environmental information, wherein the scene modes include a default mode, an airport mode, a hospital mode, and an office mode.

3. The method for selecting a wireless access point according to claim 1, characterized in that: Before calculating the comprehensive score of each wireless access point according to the scenario mode, the method further includes: Accessible wireless access points are searched, and performance indicators of each accessible wireless access point are calculated, wherein the performance indicators include a frequency band score, a standard type score, a bandwidth score, a DFS channel score, an encryption type score, and a received signal strength score.

4. The method for selecting a wireless access point according to claim 3, characterized in that: The searching for accessible wireless access points and calculating the performance index of each accessible wireless access point includes: Search for accessible wireless access points, and obtain the working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel, encryption type, and received signal strength of the accessible wireless access points; The working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type and received signal strength of the accessible wireless access point are scored respectively to obtain a performance indicator of each accessible wireless access point.

5. The method for selecting a wireless access point according to claim 4, characterized in that: The working frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type and received signal strength of the accessible wireless access point are respectively scored to obtain performance indicators of each accessible wireless access point, including: According to the received signal strength of the accessible wireless access point, the received signal strength score of the accessible wireless access point is calculated, and the calculation formula is: f(r)=(r+r offset )*r slope , Where f(r) is the received signal strength score of the accessible wireless access point, r is the received signal strength of the accessible wireless access point, and r is a negative number. offset is the first constant, r slope is the second constant.

6. The method for selecting a wireless access point according to claim 3, characterized in that: Calculating a comprehensive score of each wireless access point according to the scenario mode includes: According to the scene mode, setting a weight value in the scene mode for the performance indicator; According to the weight value in the scenario mode, a weighted sum is performed on the performance index of each accessible wireless access point to obtain a comprehensive score of each wireless access point.

7. The method for selecting a wireless access point according to claim 1, characterized in that: The step of selecting a destination wireless access point according to the comprehensive score of each wireless access point includes: Sort the comprehensive scores of each wireless access point from high to low to obtain a sorted list of wireless access points; According to the wireless access point sorting list, wireless access points are selected in sequence as destination wireless access points until a connection is established.

8. A method and apparatus for selecting a wireless access point, characterized in that: The device comprises: A scene mode acquisition module, used to acquire environmental information and select a scene mode according to the environmental information; A scoring module, configured to calculate a comprehensive score for each wireless access point according to the scenario mode, wherein the comprehensive score evaluates the performance of the wireless access point in the scenario mode based on the operating frequency band, WIFI standard type, bandwidth, whether it is in a DFS channel indication, encryption type, and received signal strength; The wireless access point selection module is used to select a destination wireless access point according to the comprehensive score of each wireless access point.

9. An intelligent terminal, characterized in that: The intelligent terminal includes a memory, a processor, and a wireless access point selection program stored in the memory and executable on the processor. When the processor executes the wireless access point selection program, the steps of the method for selecting a wireless access point according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program for selecting a wireless access point. When the program for selecting a wireless access point is executed by a processor, the steps of the method for selecting a wireless access point according to any one of claims 1 to 7 are implemented.