Wireless access point access method and device and terminal equipment

By obtaining the network connection information of the wireless access point, determining the target AP according to preset conditions and switching, the problem of low access flexibility of the wireless access point is solved and a more stable network connection is achieved.

CN118890675APending Publication Date: 2024-11-01XIAN UNISOC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410917648.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-09
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the existing wireless access point access method, the flexibility of accessing AP is low, resulting in the network may be stuck when the AP signal strength currently connected to the terminal device is low, and the signal cannot be switched effectively to better. AP.

Method used

By acquiring the network connection information of at least one wireless access point AP, the target AP is determined based on preset channel utilization and signal strength and the terminal device is controlled to switch to the target AP to avoid network interruptions caused by the current AP signal strength.

Benefits of technology

Improves the flexibility of wireless access points, ensuring that terminal devices can switch to better APs without the current AP signal strength problems, thereby stabilizing the network connection and reducing lag and data packet loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118890675A_ABST
    Figure CN118890675A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a wireless access point access method and device and terminal equipment. The method comprises: in response to a wireless network access instruction, obtaining network connection information of at least one first wireless access point AP, the at least one first AP having the same service set identifier SSID; determining a target AP in the at least one first AP according to the network connection information of each first AP; and controlling a target terminal to access the target AP. And the AP access flexibility is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication technology, and in particular to a wireless access point access method, device and terminal equipment. Background Art

[0002] After a terminal device accesses the network through a wireless access point (AP), it can switch between different APs in the same network through seamless roaming to connect to an AP with better network quality.

[0003] In the related art, the AP can be accessed in the following manner: when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet, the service set identifier (SSID) of the AP currently accessed by the terminal device is determined, and at least one AP corresponding to the SSID is determined. Among the at least one AP, the AP with the largest signal strength is determined as the target AP, and the terminal device is controlled to switch from the currently accessed AP to the target AP. In the above process, when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet, the target AP is determined and switched. If the signal strength of the currently accessed AP is low, the wireless network will be stuck. And the AP with the largest signal strength is determined as the target AP, resulting in low flexibility in accessing the AP. Summary of the invention

[0004] The embodiments of the present application provide a wireless access point access method, apparatus, and terminal device to solve the problem of low flexibility in accessing an AP.

[0005] In a first aspect, an embodiment of the present application provides a wireless access point access method, including:

[0006] In response to the wireless network access instruction, acquiring network connection information of at least one first wireless access point AP, wherein the at least one first AP has the same service set identifier SSID;

[0007] determining a target AP among the at least one first AP according to the network connection information of each first AP;

[0008] Control the target terminal to access the target AP.

[0009] In a possible implementation, in response to a wireless network access instruction, acquiring network connection information of at least one first wireless access point AP includes:

[0010] In response to the wireless network access instruction, determining a first SSID corresponding to a second AP currently accessed by the target terminal;

[0011] According to the first SSID, the network connection information of the at least one first AP and each first AP is determined.

[0012] In a possible implementation manner, for any first AP, determining the network connection information of the first AP includes:

[0013] Obtain a first media access control address MAC of the first AP;

[0014] Determine a first number of first terminals connected to the first AP;

[0015] Obtaining a first channel and a first signal strength corresponding to the first AP;

[0016] Determine that the network connection information of the first AP includes the first MAC address, the first number, the first channel, and the first signal strength

[0017] In a possible implementation manner, determining the first number of first terminals connected to the first AP includes:

[0018] Acquire at least one first data, where the first data is data transmitted between the first terminal and the first AP;

[0019] For any first data, the first data is parsed to obtain a source address and a destination address corresponding to the first data;

[0020] Determine a first address of the first terminal according to the source address and the destination address;

[0021] The first number is determined to be the number of the at least one first address.

[0022] In a possible implementation manner, determining a target AP in the at least one first AP according to the network connection information of each first AP includes:

[0023] Obtaining preset quantity, preset channel utilization and preset signal strength;

[0024] The target AP is determined among the at least one first AP according to the preset number, the preset channel utilization, the preset signal strength, and network connection information of each first AP.

[0025] In a possible implementation manner, determining the target AP in the at least one first AP according to the preset number, the preset channel utilization, the preset signal strength, and the network connection information of each first AP includes:

[0026] According to the preset number, determining at least one first candidate AP from the at least one first AP, wherein a first number of the first candidate APs is less than the preset number;

[0027] According to the preset signal strength, determining at least one second candidate AP from the at least one first candidate AP, wherein the first signal strength of the second candidate AP is greater than the preset signal strength;

[0028] The target AP is determined from the at least one second candidate AP according to the preset channel utilization and the first channel of each first AP.

[0029] In a possible implementation manner, determining the target AP from the at least one second candidate AP according to the preset channel utilization rate and the first channel of each first AP includes:

[0030] For any first AP, determining a first channel utilization rate of the first AP according to the first channel of the first AP;

[0031] If the first channel utilization of the first AP is less than the preset channel utilization, the second candidate AP is determined as the target AP.

[0032] In a possible implementation manner, determining, according to the first channel of the first AP, a utilization rate of the first channel of the first AP includes:

[0033] Determine a first identifier of a first channel of each first AP;

[0034] Determine, among the at least one first AP, at least one intermediate AP corresponding to the first AP, the first identifiers of the intermediate APs being the same;

[0035] Determine a second quantity corresponding to the at least one first AP, where the second quantity is a total quantity of the first identifier of the at least one first AP;

[0036] A ratio of a third number of the at least one intermediate AP to the second number is determined as the first channel utilization rate.

[0037] In a possible implementation manner, controlling the target terminal to access the target AP includes:

[0038] Determine whether a second AP currently accessed by the target terminal is the target AP;

[0039] If not, the target terminal is controlled to disconnect from the second AP and access the target AP.

[0040] In a second aspect, an embodiment of the present application provides a wireless access point access device, the device comprising:

[0041] An acquisition module, configured to acquire network connection information of at least one first wireless access point AP in response to a wireless network access instruction, wherein the at least one first AP has the same service set identifier SSID;

[0042] a determination module, configured to determine a target AP among the at least one first AP according to the network connection information of each first AP;

[0043] The control module is used to control the target terminal to access the target AP.

[0044] In a possible implementation manner, the acquisition module is specifically used to:

[0045] In response to the wireless network access instruction, determining a first SSID corresponding to a second AP currently accessed by the target terminal;

[0046] According to the first SSID, the network connection information of the at least one first AP and each first AP is determined.

[0047] In a possible implementation manner, the acquisition module is specifically used to:

[0048] Obtain a first media access control address MAC of the first AP;

[0049] Determine a first number of first terminals connected to the first AP;

[0050] Obtaining a first channel and a first signal strength corresponding to the first AP;

[0051] Determine that the network connection information of the first AP includes the first MAC address, the first number, the first channel, and the first signal strength

[0052] In a possible implementation manner, the acquisition module is specifically used to:

[0053] Acquire at least one first data, where the first data is data transmitted between the first terminal and the first AP;

[0054] For any first data, the first data is parsed to obtain a source address and a destination address corresponding to the first data;

[0055] Determine a first address of the first terminal according to the source address and the destination address;

[0056] The first number is determined to be the number of the at least one first address.

[0057] In a possible implementation manner, the determining module is specifically configured to:

[0058] Obtaining preset quantity, preset channel utilization and preset signal strength;

[0059] The target AP is determined among the at least one first AP according to the preset number, the preset channel utilization, the preset signal strength, and network connection information of each first AP.

[0060] In a possible implementation manner, the determining module is specifically configured to:

[0061] According to the preset number, determining at least one first candidate AP from the at least one first AP, wherein a first number of the first candidate APs is less than the preset number;

[0062] According to the preset signal strength, determining at least one second candidate AP from the at least one first candidate AP, wherein the first signal strength of the second candidate AP is greater than the preset signal strength;

[0063] The target AP is determined from the at least one second candidate AP according to the preset channel utilization and the first channel of each first AP.

[0064] In a possible implementation manner, the determining module is specifically configured to:

[0065] For any first AP, determining a first channel utilization rate of the first AP according to the first channel of the first AP;

[0066] If the first channel utilization of the first AP is less than the preset channel utilization, the second candidate AP is determined as the target AP.

[0067] In a possible implementation manner, the determining module is specifically configured to:

[0068] Determine a first identifier of a first channel of each first AP;

[0069] Determine, among the at least one first AP, at least one intermediate AP corresponding to the first AP, the first identifiers of the intermediate APs being the same;

[0070] Determine a second quantity corresponding to the at least one first AP, where the second quantity is a total quantity of the first identifier of the at least one first AP;

[0071] A ratio of a third number of the at least one intermediate AP to the second number is determined as the first channel utilization rate.

[0072] In a possible implementation manner, the control module is specifically used to:

[0073] Determine whether a second AP currently accessed by the target terminal is the target AP;

[0074] If not, the target terminal is controlled to disconnect from the second AP and access the target AP.

[0075] In a third aspect, the present application provides a chip having a computer program stored thereon, wherein when the computer program is executed by the chip, the method as described in any one of the first aspects is implemented.

[0076] In a fourth aspect, the present application provides a chip module having a computer program stored thereon, and when the computer program is executed by the chip module, the method as described in any one of the first aspects is implemented.

[0077] In a fifth aspect, an embodiment of the present application provides a terminal device, including:

[0078] at least one processor; and

[0079] a memory communicatively connected to the at least one processor; wherein,

[0080] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform any method described in the first aspect.

[0081] In a sixth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute any one of the methods in the first aspect.

[0082] In a seventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements any method in the first aspect when executed by a processor.

[0083] The wireless access point access method, device and terminal device provided in the embodiments of the present application obtain network connection information of at least one first wireless access point AP in response to the wireless network access instruction of the target terminal, and the service set identifier SSID of at least one first AP is the same. According to the network connection information of each first AP, the target AP is determined in at least one first AP. The target terminal is controlled to access the target AP. In the above process, the target terminal can directly obtain the network connection information of at least one first wireless access point AP after accessing the AP. And according to the network connection information of at least one first wireless access point AP, the target AP is determined in at least one first AP. Avoid determining the target AP and switching when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet. And the target AP is determined based on the network connection information of at least one first wireless access point AP, rather than determining the target AP based on the network strength. The flexibility of accessing the AP is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present application;

[0085] Figure 2 A schematic diagram of a flow chart of a wireless access point access method provided in an embodiment of the present application;

[0086] Figure 3 A schematic diagram of a process for determining a first SSID corresponding to an AP currently accessed by a target terminal provided in an embodiment of the present application;

[0087] Figure 4 A schematic diagram of a flow chart of another wireless access point access method provided in an embodiment of the present application;

[0088] Figure 5 A schematic diagram of a wireless access point access process provided by an embodiment of the present application;

[0089] Figure 6 A schematic diagram of the structure of a wireless access point access device provided in an embodiment of the present application;

[0090] Figure 7 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0091] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0092] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0093] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0094] For ease of understanding, below, combined Figure 1 , the application scenarios to which the embodiments of the present application are applicable are described.

[0095] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of the present application. Figure 1 , including a terminal device 101 and an access point 102. The terminal device 101 can access the network through the access point 102 before running an application program that needs to access the network.

[0096] In the related art, the AP can be accessed in the following manner: when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet, the SSID of the AP currently accessed by the terminal device is determined, and at least one AP corresponding to the SSID is determined. Among the at least one AP, the AP with the largest signal strength is determined as the target AP, and the terminal device is controlled to switch from the currently accessed AP to the target AP. In the above process, when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet, the target AP is determined and switched. If the signal strength of the currently accessed AP is low, the wireless network will be stuck. And the AP with the largest signal strength is determined as the target AP, resulting in low flexibility in accessing the AP.

[0097] In an embodiment of the present application, in response to a wireless network access instruction of a target terminal, network connection information of at least one first wireless access point AP is obtained, and the service set identifier SSID of at least one first AP is the same. Based on the network connection information of each first AP, a target AP is determined in at least one first AP. The target terminal is controlled to access the target AP. In the above process, the target terminal can directly obtain the network connection information of at least one first wireless access point AP after accessing the AP. And based on the network connection information of at least one first wireless access point AP, the target AP is determined in at least one first AP. Avoid determining the target AP and switching when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet. And the target AP is determined based on the network connection information of at least one first wireless access point AP, rather than determining the target AP based on the network strength. The flexibility of accessing the AP is improved.

[0098] The method shown in the present application is described below through specific embodiments. It should be noted that the following embodiments can exist independently or in combination with each other, and the same or similar contents will not be described repeatedly in different embodiments.

[0099] Figure 2 A flowchart of a wireless access point access method provided in an embodiment of the present application. Figure 2 , the method may include:

[0100] S201. In response to a wireless network access instruction, obtain network connection information of at least one first AP.

[0101] The execution subject of the embodiment of the present application may be a terminal device, or a chip, a chip module, or a wireless access point access device set in the terminal device. The wireless access point access device may be implemented by software, or by a combination of software and hardware. The terminal device may be a mobile phone, a tablet computer, etc.

[0102] The SSID of at least one first AP is the same.

[0103] The network connection information of at least one first AP can be obtained in response to a wireless network access instruction in the following manner: in response to the wireless network access instruction of the target terminal, the first SSID corresponding to the AP currently accessed by the target terminal is determined; based on the first SSID, at least one first AP and the network connection information of each first AP are determined.

[0104] The user can confirm to enable the function of accessing the wireless network in the target terminal, and the target terminal responds to the wireless network access instruction and accesses the wireless network through the current AP. After the target terminal accesses the wireless network, the first SSID corresponding to the current AP can be determined.

[0105] Next, combine Figure 3 , a description of the process of determining the first SSID corresponding to the AP currently accessed by the target terminal. Figure 3 A schematic diagram of a process for determining the first SSID corresponding to the AP currently accessed by the target terminal provided in an embodiment of the present application. Figure 3 , including interfaces 301 to 302. Interfaces 301 to 302 may be pages provided for the target terminal. Please refer to interface 301, including the home page of the target terminal. The user may slide down from the top of the home page of the target terminal. Please refer to interface 302, the target device displays a control page in response to the user's sliding operation. The user clicks the icon corresponding to the wireless network on the control page. In response to the user's clicking operation, the target terminal generates a wireless network access instruction.

[0106] The target terminal accesses the wireless network A through the current AP according to the wireless network access instruction, and determines that the first SSID corresponding to the wireless network A is WXWA. The target terminal determines that at least one first AP includes AP1, AP2 and AP3 according to the first SSID.

[0107] The network connection information of the first AP includes a first media access control address (Media Access Control Address, MAC), a first number of first terminals connected to the first AP, a first channel, and a first signal strength.

[0108] For example, according to the above example, it is determined that at least one AP corresponding to the first SSID includes AP1, AP2, and AP3. The network connection information of AP1, AP2, and AP3 may be specifically shown in Table 1:

[0109] Table 1

[0110] First AP First MAC First quantity First Channel First signal strength AP1 MAC A1 3 6 -60dBm AP2 MAC A2 2 11 -48dBm AP3 MAC A3 0 5 -80dBm

[0111] S202: Determine a target AP in at least one first AP according to the network connection information of each first AP.

[0112] The target AP can be determined in at least one first AP based on the network connection information of each first AP in the following manner: obtaining a preset number, a preset channel utilization rate, and a preset signal strength; determining the target AP in at least one first AP based on the preset number, the preset channel utilization rate, the preset signal strength, and the network connection information of each first AP.

[0113] The preset number, preset channel utilization and preset signal strength may be set in advance and stored in a preset storage space of the target terminal.

[0114] For any first AP, if the first number of the first APs is less than the preset number, the first signal strength is greater than the preset signal strength, and the first channel utilization is greater than the preset channel utilization, the first AP can be determined to be the target AP.

[0115] For any first AP, the first channel utilization rate of the first AP can be determined in the following manner: determine the first identifier of the first channel of each first AP; in at least one first AP, determine at least one intermediate AP corresponding to the first AP, the first identifier of the intermediate AP is the same; determine the second number corresponding to at least one first AP, the second number is the total number of the first identifier of at least one first AP; determine the ratio of the third number of at least one intermediate AP to the second number as the first channel utilization rate.

[0116] For example, according to Table 1 above, the first identifier of the first channel of AP1 is determined to be 6, the first identifier of the first channel of AP2 is determined to be 11, and the first identifier of the first channel of AP3 is determined to be 5. Therefore, the third number of at least one intermediate AP corresponding to each first AP is 1. If the total number of first identifiers is determined to be 3, then the second number corresponding to at least one first AP can be determined to be 3. Therefore, it can be determined that the utilization rate of the first channel corresponding to each first AP can be specifically as shown in Table 2:

[0117] Table 2

[0118] First AP Second quantity The third quantity First channel utilization AP1 3 1 33.3% AP2 3 1 33.3% AP3 3 1 33.3%

[0119] Assume that the preset number is 3, the preset channel utilization is 35%, and the preset signal strength is -60dBm. According to the network connection information of each first AP shown in Table 1 above, it is determined that the first number 2 of AP2 is less than the preset number, the first signal strength -48dBm is greater than the preset signal strength, and the first channel utilization 33.3% is greater than the preset channel utilization. Therefore, the target terminal determines that the target AP is AP2.

[0120] S203: Control the target terminal to access the target AP.

[0121] The target terminal may be controlled to access the target AP in the following manner: determining whether the second AP currently accessed by the target terminal is the target AP; if not, controlling the target terminal to disconnect from the second AP and access the target AP.

[0122] If the second AP currently accessed by the target terminal is the target AP, the target terminal continues to access the second AP.

[0123] For example, according to the above example, the target AP is determined to be AP2. The target terminal determines that the second AP currently accessed is AP1. Therefore, the target terminal disconnects from AP1 and connects to AP2.

[0124] The wireless access point access method provided in the embodiment of the present application obtains the network connection information of at least one first AP in response to the wireless network access instruction of the target terminal. According to the network connection information of each first AP, the target AP is determined in at least one first AP. The target terminal is controlled to access the target AP. In the above process, the target terminal can directly obtain the network connection information of at least one first wireless access point AP after accessing the AP. And according to the network connection information of at least one first wireless access point AP, the target AP is determined in at least one first AP. The target AP is determined and switched only when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet. And the target AP is determined according to the network connection information of at least one first wireless access point AP, rather than determining the target AP according to the network strength. The flexibility of accessing the AP is improved.

[0125] Based on any of the above embodiments, Figure 4 , describes the detailed process of wireless access point access.

[0126] Figure 4 A schematic diagram of a flow chart of another wireless access point access method provided in an embodiment of the present application.

[0127] See also Figure 4 , the method comprising:

[0128] S401: In response to a wireless network access instruction, determine a first SSID corresponding to an AP currently accessed by a target terminal.

[0129] Optionally, after the target terminal accesses the wireless network in response to the wireless network access instruction, it can also determine whether to determine the first SSID corresponding to the AP currently accessed by the target terminal according to a preset condition, thereby obtaining network connection information and determining the target AP.

[0130] The preset condition may be set in advance and stored in the preset storage space of the target terminal. The preset condition may be that the current signal strength of the target terminal is less than or equal to the preset strength, or that the target terminal is currently in a moving state, etc. This application does not make explicit restrictions.

[0131] The preset condition may be a default condition set when the target terminal leaves the factory, or a custom condition selected by the user when using the target terminal.

[0132] S402: For any first AP, obtain a first media access control address of the first AP.

[0133] The first MAC of the first AP may be determined according to a Basic Service Set Identifier (BSSID) of the first AP.

[0134] S403: Determine a first number of first terminals connected to the first AP.

[0135] The first number of first terminals connected to the first AP can be determined in the following manner: obtain at least one first data, where the first data is data transmitted between the first terminal and the first AP; for any first data, parse and process the first data to obtain a source address and a destination address corresponding to the first data; determine the first address of the first terminal based on the source address and the destination address; and determine the first number to be the number of at least one first address.

[0136] At least one first address is different, and at least one first data acquisition period is a preset duration. The first terminal is a terminal device that is currently connected to the first AP and transmits data through the first AP during the current period. The start time corresponding to the current period is the current time, and the duration corresponding to the current period is the preset duration. The preset duration can be set in advance and stored in the preset storage space of the target terminal.

[0137] The Internet Protocol (IP) address of the first AP that is not the source address or the destination address is determined as the first address of the first terminal.

[0138] For example, assuming that the duration corresponding to the current time period is the preset duration of 1 second, and the current time is 2024 / 07 / 01 15:25:11. Then, in the current time period 2024 / 07 / 01 15:25:11 to 2024 / 07 / 01 15:25:12, the target terminal obtains 3 first data, and the destination address and source address of each first data can be specifically shown in Table 3:

[0139] Table 3

[0140] First Data Destination Address Source Address Data 1 Address A1 Address Z1 Data 2 Address Z2 Address A1 Data 3 Address Z3 Address A1

[0141] Assuming that the IP address of the first AP is address A1, according to Table 3, it can be determined that the first addresses of the first terminals are address Z1, address Z2 and address Z3, respectively, and the number of at least one first address can be determined to be 3. Therefore, the target terminal determines that the first number of first terminals connected to the first AP is 3.

[0142] S404: Obtain a first channel and a first signal strength corresponding to the first AP.

[0143] The first channel and the first signal strength corresponding to the first AP may be determined according to the network parameters of the first AP.

[0144] S405: Determine that the network connection information of the first AP includes a first MAC address, a first number, a first channel, and a first signal strength.

[0145] S406: Obtain a preset number, a preset channel utilization rate, and a preset signal strength.

[0146] The preset number, preset channel utilization and preset signal strength can be obtained in the preset storage space of the target terminal. The preset number, preset channel utilization and preset signal strength can be the default settings of the target terminal or can be user-defined settings, which are not limited in this application.

[0147] S407: Determine at least one first candidate AP from at least one first AP according to a preset number.

[0148] The first number of first selectable APs is less than a preset number.

[0149] When determining the target AP, it can be determined whether the corresponding first AP is connected to more first terminals according to the first number, so as to avoid the situation where the same AP is connected to more terminal devices, resulting in poor network quality.

[0150] For example, it is assumed that the network connection parameters of at least one first AP may be specifically as shown in Table 4:

[0151] Table 4

[0152] First AP First MAC First quantity First Channel First signal strength AP4 MAC A4 1 6 -55dBm AP5 MAC A5 3 11 -60dBm AP6 MAC A6 2 11 -50dBm AP7 MAC A7 1 3 -40dBm

[0153] The target terminal obtains a preset number of 3 in the preset storage space. According to Table 4, it can be determined that the first number of AP4, AP6 and AP7 is less than the preset number. Therefore, the target terminal determines that at least one first candidate AP includes AP4, AP6 and AP7.

[0154] S408: Determine at least one second candidate AP from at least one first candidate AP according to a preset signal strength.

[0155] The first signal strength of the second candidate AP is greater than the preset signal strength.

[0156] For example, the target terminal obtains a preset signal strength of -55dBm in the preset storage space. According to the above example, it can be determined that at least one first candidate AP includes AP4, AP6 and AP7. In at least one first candidate AP, it can be determined that the first signal strength of AP6 and AP7 is greater than the preset signal strength. Therefore, the target terminal determines that at least one second candidate AP includes AP6 and AP7 in at least one first candidate AP.

[0157] S409: Determine a target AP from at least one second candidate AP according to a preset channel utilization rate and a first channel of each first AP.

[0158] The target AP can be determined from at least one second candidate AP based on the preset channel utilization and the first channel of each first AP in the following manner: for any first AP, the first channel utilization of the first AP is determined based on the first channel of the first AP; if the first channel utilization of the first AP is less than the preset channel utilization, the second candidate AP is determined as the target AP.

[0159] The smaller the utilization rate of the first channel, the fewer terminals are currently transmitting data through the first channel. In this way, signal interference can be avoided, which may lead to a poor network. The target terminal determines the target AP based on the network connection information of each first AP, which can avoid the slow AP switching process and data packet loss.

[0160] For example, according to the above example, it is determined that at least one second candidate AP includes AP6 and AP7. The first channel utilization rate of each second candidate AP may be specifically as shown in Table 5:

[0161] Table 5

[0162] First AP Second quantity The third quantity First channel utilization AP6 3 2 66.7% AP7 3 1 33.3%

[0163] The target terminal obtains a preset channel utilization rate of 40% in the preset storage space. According to Table 5, it can be determined that the first channel utilization rate of AP7 is less than the preset channel utilization rate. Therefore, the target terminal determines that the target AP is AP7 in at least one second candidate AP.

[0164] S410: Control the target terminal to access the target AP.

[0165] If there is no target AP in at least one second candidate AP, no operation is performed on the currently accessed second AP until it is determined that there is a target AP, and the target terminal is controlled to access the target AP. If there are multiple target APs in at least one second candidate AP, the target terminal is controlled to access the target AP with the largest signal strength, or the target terminal is controlled to access the target AP with the smallest first number, or the target terminal is controlled to access the target AP with the smallest first channel utilization. This can be determined based on user settings, and this application does not impose any restrictions.

[0166] For example, according to the above example, the target AP is determined to be AP7. The target terminal determines that the second AP currently accessed is AP4. Therefore, the target terminal disconnects from AP4 and accesses AP7.

[0167] The wireless access point access method provided in the embodiment of the present application determines the first SSID corresponding to the AP currently accessed by the target terminal in response to the wireless network access instruction of the target terminal. For any first AP, obtain the first media access control address of the first AP. Determine the first number of first terminals connected to the first AP. Obtain the first channel and the first signal strength corresponding to the first AP. Determine that the network connection information of the first AP includes the first MAC address, the first number, the first channel and the first signal strength. Obtain the preset number, the preset channel utilization rate and the preset signal strength. According to the preset number, determine at least one first candidate AP in at least one first AP. According to the preset signal strength, determine at least one second candidate AP in at least one first candidate AP. Determine the target AP in at least one second candidate AP according to the preset channel utilization rate and the first channel of each first AP. Control the target terminal to access the target AP. In the above process, the target terminal can directly obtain the network connection information of at least one first wireless access point AP after accessing the AP. And determine the target AP in at least one first AP according to the network connection information of at least one first wireless access point AP. Avoid determining the target AP and switching when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet. And the target AP is determined according to the network connection information of at least one first wireless access point AP, rather than according to the network strength, thereby improving the flexibility of accessing the AP.

[0168] Based on any of the above embodiments, Figure 5 , an example is given to illustrate the process of wireless access point access.

[0169] Figure 5 A schematic diagram of a wireless access point access process provided in an embodiment of the present application. Figure 5 , including a target terminal 501 and a first AP 502. The target terminal 501 can be a mobile phone, a tablet computer, a computer, etc. The first AP 502 includes AP8 to AP12, and the SSIDs of AP8 to AP12 are the same. The user can click the icon corresponding to the wireless network in the target terminal 501, and the target terminal 501 generates a wireless network access instruction in response to the user's click operation. And according to the wireless network access instruction, access AP8 in the first AP. After accessing AP8, the target terminal 501 obtains the network connection information of AP8 to AP12, which can be specifically shown in Table 6:

[0170] Table 6

[0171] First AP First MAC First quantity First Channel First signal strength AP8 MAC A8 3 6 -70dBm AP9 MAC A8 2 5 -65dBm AP10 MAC A10 1 5 -40dBm AP11 MAC A11 0 3 -45dBm AP12 MAC A12 3 11 -55dBm

[0172] The target terminal 501 obtains a preset number of 3 in the preset storage space. As shown in Table 6, it can be determined that the first number of AP9, AP10 and AP11 is less than the preset number. Therefore, the target terminal 501 determines that at least one first AP to be selected includes AP9, AP10 and AP11. The target terminal 501 obtains a preset signal strength of -55dBm in the preset storage space, and then it can be determined that among AP9, AP10 and AP11, it can be determined that the first signal strength of AP10 and AP11 is greater than the preset signal strength. Therefore, the target terminal 501 determines that at least one second AP to be selected includes AP10 and AP11. The target terminal 501 determines that the first channel utilization of AP10 and AP11 can be specifically shown in Table 7:

[0173] Table 7

[0174] First AP Second quantity The third quantity First channel utilization AP10 4 2 50% AP11 4 1 25%

[0175] The target terminal 501 obtains the preset channel utilization rate of 40% in the preset storage space. As shown in Table 5, it can be determined that the first channel utilization rate of AP11 is less than the preset channel utilization rate. Therefore, the target terminal 501 determines that the target AP is AP11. The target terminal 501 determines that the currently accessed AP is AP8. Therefore, the target terminal 501 disconnects from AP4 and accesses AP7.

[0176] The wireless access point access process provided by the embodiment of the present application determines the first SSID corresponding to the AP currently accessed by the target terminal in response to the wireless network access instruction of the target terminal. For any first AP, obtain the first media access control address of the first AP. Determine the first number of first terminals connected to the first AP. Obtain the first channel and the first signal strength corresponding to the first AP. Determine that the network connection information of the first AP includes the first MAC address, the first number, the first channel and the first signal strength. Obtain the preset number, the preset channel utilization rate and the preset signal strength. According to the preset number, determine at least one first candidate AP in at least one first AP. According to the preset signal strength, determine at least one second candidate AP in at least one first candidate AP. Determine the target AP in at least one second candidate AP according to the preset channel utilization rate and the first channel of each first AP. Control the target terminal to access the target AP. In the above process, the target terminal can directly obtain the network connection information of at least one first wireless access point AP after accessing the AP. And determine the target AP in at least one first AP according to the network connection information of at least one first wireless access point AP. Avoid determining the target AP and switching when the signal strength of the AP currently accessed by the terminal device causes the terminal device to be unable to access the Internet. And the target AP is determined according to the network connection information of at least one first wireless access point AP, rather than according to the network strength, thereby improving the flexibility of accessing the AP.

[0177] Figure 6 This is a schematic diagram of the structure of the wireless access point access device provided in the embodiment of the present application. Figure 6 , the wireless access point access device 10 may include:

[0178] An acquisition module 11 is used to acquire network connection information of at least one first wireless access point AP in response to a wireless network access instruction, wherein the at least one first AP has the same service set identifier SSID;

[0179] A determination module 12, configured to determine a target AP in the at least one first AP according to the network connection information of each first AP;

[0180] The control module 13 is used to control the target terminal to access the target AP.

[0181] In a possible implementation manner, the acquisition module 11 is specifically used for:

[0182] In response to the wireless network access instruction, determining a first SSID corresponding to a second AP currently accessed by the target terminal;

[0183] According to the first SSID, the network connection information of the at least one first AP and each first AP is determined.

[0184] In a possible implementation manner, the acquisition module 11 is specifically used for:

[0185] Obtain a first media access control address MAC of the first AP;

[0186] Determine a first number of first terminals connected to the first AP;

[0187] Obtaining a first channel and a first signal strength corresponding to the first AP;

[0188] Determine that the network connection information of the first AP includes the first MAC address, the first number, the first channel, and the first signal strength

[0189] In a possible implementation manner, the acquisition module 11 is specifically used for:

[0190] Acquire at least one first data, where the first data is data transmitted between the first terminal and the first AP;

[0191] For any first data, the first data is parsed to obtain a source address and a destination address corresponding to the first data;

[0192] Determine a first address of the first terminal according to the source address and the destination address;

[0193] The first number is determined to be the number of the at least one first address.

[0194] In a possible implementation manner, the determining module 12 is specifically configured to:

[0195] Obtaining preset quantity, preset channel utilization and preset signal strength;

[0196] The target AP is determined among the at least one first AP according to the preset number, the preset channel utilization, the preset signal strength, and network connection information of each first AP.

[0197] In a possible implementation manner, the determining module 12 is specifically configured to:

[0198] According to the preset number, determining at least one first candidate AP from the at least one first AP, wherein a first number of the first candidate APs is less than the preset number;

[0199] According to the preset signal strength, determining at least one second candidate AP from the at least one first candidate AP, wherein the first signal strength of the second candidate AP is greater than the preset signal strength;

[0200] The target AP is determined from the at least one second candidate AP according to the preset channel utilization and the first channel of each first AP.

[0201] In a possible implementation manner, the determining module 12 is specifically configured to:

[0202] For any first AP, determining a first channel utilization rate of the first AP according to the first channel of the first AP;

[0203] If the first channel utilization of the first AP is less than the preset channel utilization, the second candidate AP is determined as the target AP.

[0204] In a possible implementation manner, the determining module 12 is specifically configured to:

[0205] Determine a first identifier of a first channel of each first AP;

[0206] Determine, among the at least one first AP, at least one intermediate AP corresponding to the first AP, the first identifiers of the intermediate APs being the same;

[0207] Determine a second quantity corresponding to the at least one first AP, where the second quantity is a total quantity of the first identifier of the at least one first AP;

[0208] A ratio of a third number of the at least one intermediate AP to the second number is determined as the first channel utilization rate.

[0209] In a possible implementation manner, the control module 13 is specifically configured to:

[0210] Determine whether a second AP currently accessed by the target terminal is the target AP;

[0211] If not, the target terminal is controlled to disconnect from the second AP and access the target AP.

[0212] The wireless access point access device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0213] Figure 7 This is a schematic diagram of the structure of the terminal device provided in the embodiment of the present application. Figure 7 The terminal device 20 may include: a memory 21 and a processor 22. Exemplarily, the memory 21 and the processor 22 are interconnected via a bus 23.

[0214] The memory 21 is used to store program instructions;

[0215] The processor 22 is used to execute the program instructions stored in the memory, so as to enable the terminal device 20 to execute the method shown in the above method embodiment.

[0216] The terminal device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be repeated here.

[0217] An embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above method.

[0218] The embodiment of the present application may also provide a computer program product, including a computer program, which can implement the above method when executed by a processor.

[0219] All or part of the steps of the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid state drive, magnetic tape, floppy disk, optical disc and any combination thereof.

[0220] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0221] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0222] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0223] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0224] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A wireless access point access method, characterized in that: include: In response to the wireless network access instruction, acquiring network connection information of at least one first wireless access point AP, wherein the at least one first AP has the same service set identifier SSID; determining a target AP among the at least one first AP according to the network connection information of each first AP; Control the target terminal to access the target AP.

2. The method according to claim 1, characterized in that In response to the wireless network access instruction, acquiring network connection information of at least one first wireless access point AP includes: In response to the wireless network access instruction, determining a first SSID corresponding to a second AP currently accessed by the target terminal; According to the first SSID, the network connection information of the at least one first AP and each first AP is determined.

3. The method according to claim 2, characterized in that For any first AP; Determining the network connection information of the first AP includes: Obtain a first media access control address MAC of the first AP; Determine a first number of first terminals connected to the first AP; Obtaining a first channel and a first signal strength corresponding to the first AP; Determine that the network connection information of the first AP includes the first MAC address, the first number, the first channel, and the first signal strength.

4. The method according to claim 3, characterized in that Determining a first number of first terminals connected to the first AP includes: Acquire at least one first data, where the first data is data transmitted between the first terminal and the first AP; For any first data, the first data is parsed to obtain a source address and a destination address corresponding to the first data; Determine a first address of the first terminal according to the source address and the destination address; The first number is determined to be the number of the at least one first address.

5. The method according to any one of claims 1 to 4, characterized in that: Determining a target AP among the at least one first AP according to the network connection information of each first AP includes: Obtaining preset quantity, preset channel utilization and preset signal strength; The target AP is determined among the at least one first AP according to the preset number, the preset channel utilization, the preset signal strength, and network connection information of each first AP.

6. The method according to claim 5, characterized in that Determining the target AP from the at least one first AP according to the preset number, the preset channel utilization, the preset signal strength, and the network connection information of each first AP includes: According to the preset number, determining at least one first candidate AP from the at least one first AP, wherein a first number of the first candidate APs is less than the preset number; According to the preset signal strength, determining at least one second candidate AP from the at least one first candidate AP, wherein the first signal strength of the second candidate AP is greater than the preset signal strength; The target AP is determined from the at least one second candidate AP according to the preset channel utilization and the first channel of each first AP.

7. The method according to claim 6, characterized in that Determining the target AP from the at least one second candidate AP according to the preset channel utilization rate and the first channel of each first AP includes: For any first AP, determining a first channel utilization rate of the first AP according to the first channel of the first AP; If the first channel utilization of the first AP is less than the preset channel utilization, the second candidate AP is determined as the target AP.

8. The method according to claim 7, characterized in that Determining, according to the first channel of the first AP, a utilization rate of the first channel of the first AP includes: Determine a first identifier of a first channel of each first AP; Determine, among the at least one first AP, at least one intermediate AP corresponding to the first AP, the first identifiers of the intermediate APs being the same; Determine a second quantity corresponding to the at least one first AP, where the second quantity is a total quantity of the first identifier of the at least one first AP; A ratio of a third number of the at least one intermediate AP to the second number is determined as the first channel utilization rate.

9. The method according to any one of claims 1 to 8, characterized in that: Controlling the target terminal to access the target AP includes: Determine whether a second AP currently accessed by the target terminal is the target AP; If not, the target terminal is controlled to disconnect from the second AP and access the target AP.

10. A wireless access point access device, characterized in that: The device comprises: An acquisition module, configured to acquire network connection information of at least one first wireless access point AP in response to a wireless network access instruction, wherein the at least one first AP has the same service set identifier SSID; a determination module, configured to determine a target AP among the at least one first AP according to the network connection information of each first AP; The control module is used to control the target terminal to access the target AP.

11. A terminal device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.

12. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: in, The computer instructions are used to make a computer execute the method according to any one of claims 1 to 9.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.