Access point information acquisition method and device, access point information providing method and device, equipment and medium

By collecting access point information in the same channel on the access point side and transmitting it in the detection response message, the problem of long scanning time of wireless terminals and incomplete access point information is solved, and the accuracy and accuracy of the access point list are achieved. Improvement of user experience.

CN118695330AActive Publication Date: 2024-09-24ZHEJIANG DAHUA TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411162121.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-09-24
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

Existing wireless terminals take too long to scan for access points, resulting in an incomplete list of access points and affecting user experience; shortening the scanning time results in inaccurate access point information.

Method used

By regularly sending beacon frame messages on the access point side, the information of other access points in the same channel is collected, and this information is included in the detection response message, so that the terminal can obtain the information in the channel after receiving a single detection response message. Information about all access points, while using channel state information to filter out access points that are not within scan coverage.

Benefits of technology

This effectively shortens the dwell time of terminal scanning channels, ensures the integrity and accuracy of the access point list, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118695330A
    Figure CN118695330A
Patent Text Reader

Abstract

The invention discloses access point information acquisition and providing methods, devices, equipment and a medium, which are used for improving the generation efficiency of an access point list of a terminal, and the generated access point list is complete, so that the efficiency of accessing Wi-Fi by the terminal is improved, and the user experience is improved. The access point information acquisition method provided by the invention comprises the following steps: when a terminal needs to access a Wi-Fi network, sending a detection request message to at least one access point in at least one channel to which the terminal belongs; a detection response message replied by at least one access point is received, and the detection response message replied by each access point comprises information of at least one access point of a channel to which the access point belongs; and determining an access point list based on the information of the at least one access point included in the detection response message replied by the at least one access point, the access point list including the information of the at least one access point to be accessed by the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless network technology, and in particular to a method, device, equipment and medium for acquiring and providing access point information. Background Art

[0002] At present, existing network cameras, laptops, mobile phones and other terminals all support Wi-Fi technology. These wireless terminals scan and find APs (Access Points) deployed in different locations around them, and select the AP they need to access the Wi-Fi network. AP is a wireless access device. In a Wi-Fi network, each AP can be accessed by multiple terminals, which are also called stations (STAs). Summary of the invention

[0003] The embodiments of the present application provide a method, apparatus, device and medium for obtaining and providing access point information, so as to improve the efficiency of generating an access point list of a terminal, and the generated access point list is complete, thereby improving the efficiency of the terminal accessing Wi-Fi and enhancing the user experience.

[0004] On the terminal side, an access point information acquisition method provided in an embodiment of the present application includes: When the terminal needs to access the Wi-Fi network, a probe request message is sent to at least one access point in at least one channel to which the terminal belongs; receiving a probe response message replied by at least one of the access points, wherein the probe response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; Based on the information of at least one access point included in the probe response message replied by at least one of the access points, an access point list is determined, where the access point list includes the information of at least one access point to be accessed by the terminal.

[0005] In the method described in the embodiment of the present application, when a terminal needs to access a Wi-Fi network, a detection request message is sent to at least one access point in at least one channel to which the terminal belongs, and then a detection response message replied by at least one access point can be received, wherein the detection response message replied by each access point includes information of at least one access point of the channel to which the access point belongs, so that for each channel, as long as the terminal receives a detection response message of the channel, it can obtain information of all access points in the channel. Thus, based on the information of at least one access point included in the detection response message replied by at least one access point, an access point list can be determined, and the access point list includes information of at least one access point to be accessed by the terminal, that is, a complete access point list is obtained, and the dwell time of the terminal scanning the channel is effectively reduced, thereby improving the efficiency of the terminal accessing WiFi and enhancing the user experience.

[0006] In some embodiments, the probe response message replied by each access point further includes: channel state information of the channel to which the access point belongs.

[0007] In some embodiments, the method further comprises: The probe response message replied by each access point: Acquire channel state information of the channel to which the access point belongs from the probe response message replied by the access point; Based on the channel state information of the channel to which the access point belongs, the information of the access point that is not within the coverage range of the scanning signal of the terminal is deleted.

[0008] In some embodiments, deleting information of access points that are not within the coverage range of the scanning signal of the terminal based on the channel state information of the channel to which the access point belongs includes: Determine, according to the channel state information of the channel to which the access point belongs, the relative positions between different access points in the channel to which the access point belongs, and the signal strength of each access point in the channel to which the access point belongs; According to the relative positions of different access points in the channel to which the access point belongs and the signal strength of each access point in the channel to which the access point belongs, the information of the access points that are not within the coverage range of the scanning signal of the terminal is deleted.

[0009] In some embodiments, the method further comprises: Outputting the access point list to a user through a user interface; When an instruction of selecting a target access point by a user is received through the user interface, the local terminal is connected to the target access point.

[0010] Accordingly, on the access point side, an access point information providing method provided in an embodiment of the present application includes: Detect beacon frame messages of other access points in the channel to which the local access point belongs; When receiving the beacon frame message of the other access point, generating the information of the other access point based on the beacon frame message of the other access point; When receiving a probe request message sent by a terminal, a probe response message is replied to the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

[0011] On the terminal side, an access point information acquisition device provided in an embodiment of the present application includes: a probe request sending unit, configured to send a probe request message to at least one access point on at least one channel to which the terminal belongs when the terminal needs to access the Wi-Fi network; A detection response receiving unit, configured to receive a detection response message replied by at least one of the access points, wherein the detection response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; The access point list determining unit is configured to determine an access point list based on information of at least one access point included in a probe response message replied by at least one of the access points, wherein the access point list includes information of at least one access point to be accessed by the terminal.

[0012] Accordingly, on the access point side, an access point information providing device provided by an embodiment of the present application includes: A beacon frame detection unit, used to detect beacon frame messages of other access points in the channel to which the local access point belongs; Another access point information acquisition unit is used to generate the information of the other access point based on the beacon frame message of the other access point when receiving the beacon frame message of the other access point; The probe request processing unit is used to reply a probe response message to the terminal when receiving a probe request message sent by the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

[0013] Another embodiment of the present application provides an electronic device, which includes a memory and a processor, wherein the memory is used to store program instructions, and the processor is used to call the program instructions stored in the memory and execute any of the above methods according to the obtained program.

[0014] Another embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute any of the above methods. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0016] Figure 1 A schematic diagram of the overall process of a method for obtaining access point information provided in an embodiment of the present application; Figure 2 A schematic diagram of the overall process of a method for providing access point information provided in an embodiment of the present application; Figure 3 A specific flow chart of a communication method provided in an embodiment of the present application; Figure 4 A schematic diagram of a network topology provided for an embodiment of the present application; Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application; Figure 6 A schematic diagram of the structure of an access point information acquisition device provided in an embodiment of the present application; Figure 7 A schematic diagram of the structure of an access point information providing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0018] The embodiments of the present application provide a method, apparatus, device and medium for obtaining and providing access point information, so as to improve the efficiency of generating an access point list of a terminal, and the generated access point list is complete, thereby improving the efficiency of the terminal accessing Wi-Fi and enhancing the user experience.

[0019] Among them, the method and the device, equipment, and medium are based on the same application concept. Since the principles of solving problems by the method and the device, equipment, and medium are similar, the implementation of the device, equipment, medium, and method can refer to each other, and the repeated parts will not be repeated.

[0020] The terms "first", "second", etc. (if any) in the specification and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described herein can be implemented in a sequence other than the content illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0021] The following examples and embodiments are to be understood as illustrative examples only. Although this specification may refer to "one", "an" or "some" examples or embodiments in several places, this does not mean that each such reference relates to the same example or embodiment, nor does it mean that the feature applies only to a single example or embodiment. Individual features of different embodiments may also be combined to provide other embodiments. In addition, terms such as "including" and "comprising" should be understood as not limiting the described embodiments to consist only of those features that have been mentioned; such examples and embodiments may also include features, structures, units, modules, etc. that are not specifically mentioned.

[0022] The following is a detailed description of each embodiment of the present application in conjunction with the accompanying drawings. It should be noted that the display order of the embodiments of the present application only represents the order of the embodiments, and does not represent the advantages and disadvantages of the technical solutions provided by the embodiments.

[0023] The following is an explanation of some technical terms involved in the embodiments of this application: Beacon Frame: It is one of the management frames periodically sent by the access point (AP) in the Wi-Fi network. Its main function is to provide the network identification and some basic network information, so that nearby devices can sense the existence of the network and can choose to connect to the network that suits their needs.

[0024] Probe Request: A frame that a terminal STA sends to a nearby access point (AP) in a Wi-Fi network to search for nearby available access points. The probe request frame is sent in a broadcast mode, so all nearby APs can receive the request.

[0025] Probe Response Frame: A frame sent by a Wi-Fi access point (AP) as a response to a probe request frame sent by a device. It contains detailed information about the AP and its network, enabling the device to decide whether to connect to that AP.

[0026] Channel State Information (CSI): Information used to estimate the channel characteristics of a communication link. CSI describes how the signal propagates in the channel, combines multiple effects such as delay, amplitude attenuation and phase offset, and describes the amplitude and phase of each subcarrier in the frequency domain. CSI-based wireless positioning technology uses the received CSI information to locate the wireless device.

[0027] Before a terminal accesses a Wi-Fi network, it must first trigger a scan to discover the surrounding APs. The scanning methods are divided into active scanning and passive scanning. Passive scanning is when the AP regularly broadcasts Beacon Frame messages on its own channel, and the terminal device traverses all wireless channels to receive Beacon Frame messages. Active scanning is when the terminal device traverses all wireless channels and sends a Probe Request message in each channel. All APs in the network that receive the Probe Request message will reply to the terminal with a Probe Response message.

[0028] Whether it is active scanning or passive scanning, the terminal needs to traverse all wireless channels and stay in each channel for a certain period of time to ensure that it can receive information from all APs in the channel. Most Wi-Fi modules stay in each channel for 100 milliseconds. If it is less than 100 milliseconds, the scanned AP list information will be incomplete and the results of the two scans will be very different. With the popularization of 5G signals, the number of Wi-Fi channel lists has become larger. According to the 802.11ac specification, the number of Wi-Fi 5G channels is 25, plus the original 13 channels of the 2.4G frequency band, there are a total of 38 channels. If each channel stays for 200 milliseconds, the scanning time is 7.6 seconds. Since most terminal products display the AP list on the interface, it takes much longer than 7.6 seconds from the interface to the final interface to display the scan results, which leads to a poor experience for terminal users when using the product. Shortening the channel dwell time will lead to an incomplete AP list, which will still lead to a poor experience for users when using the product.

[0029] Therefore, an embodiment of the present application provides an access point information acquisition method, which can balance the wireless scanning time and scanning results of STA. Each AP detects all AP information in its own channel. When broadcasting its own information, it also broadcasts the information of other APs in the channel, thereby shortening the channel residence time of STA while ensuring the completeness of the AP channel list.

[0030] Furthermore, the embodiments of the present application can also combine the current channel state information (CSI)-based positioning technology to realize the advantages of wireless device positioning technology, filter and retain the information of APs within a reasonable range, and calculate a reasonable received signal strength indication (RSSI) value, and based on this, filter out APs that are not within the STA scanning coverage range, thereby obtaining a more accurate AP list.

[0031] The application scenarios of the embodiments of the present application include all wireless local area network terminal products. Example

[0032] On the terminal side, see Figure 1 , an access point information acquisition method provided by an embodiment of the present application includes: S101. When a terminal needs to access a Wi-Fi network, a probe request message is sent to at least one access point in at least one channel to which the terminal belongs; The terminal, such as a STA terminal; For example, the STA traverses all wireless channels and sends a Probe Request message in each channel.

[0033] Each wireless channel may have one or more access points.

[0034] S102, receiving a probe response message replied by at least one of the access points, wherein the probe response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; The probe response message is, for example, a Probe Response message.

[0035] The probe response message replied by each access point includes the information of at least one access point of the channel to which the access point belongs. For example, for each access point in each channel scanned by the terminal, the ProbeResponse message replied by the access point may include the information of the access point and the information of other access points in the channel to which the access point belongs. Therefore, for each channel, as long as the STA receives a Probe Response message of the channel, it can obtain the information of all APs in the channel, effectively reducing the stay time required for the terminal to scan the channel, and can also obtain a complete AP list, thereby improving the efficiency of generating the access point list, improving the efficiency of terminal access to WiFi, and improving user experience.

[0036] S103: Determine an access point list based on information of at least one access point included in a probe response message replied by at least one of the access points, where the access point list includes information of at least one access point to be accessed by the terminal.

[0037] In some embodiments, the probe response message replied by each access point further includes: channel state information of the channel to which the access point belongs.

[0038] In some embodiments, the method further comprises: The probe response message replied by each access point: Obtain the channel state information (CSI) of the channel to which the access point belongs from the probe response message replied by the access point; Based on the channel state information of the channel to which the access point belongs, the information of the access point that is not within the coverage range of the scanning signal of the terminal is deleted.

[0039] That is to say, in the embodiment of the present application, APs that are not within the scanning coverage of the STA can be filtered out, so that the STA can obtain a more accurate AP list.

[0040] In some embodiments, deleting information of access points that are not within the coverage range of the scanning signal of the terminal based on the channel state information of the channel to which the access point belongs includes: Determine, according to the channel state information of the channel to which the access point belongs, the relative positions between different access points in the channel to which the access point belongs, and the signal strength of each access point in the channel to which the access point belongs; According to the relative positions of different access points in the channel to which the access point belongs and the signal strength of each access point in the channel to which the access point belongs, the information of the access points that are not within the coverage range of the scanning signal of the terminal is deleted.

[0041] In some embodiments, the method further comprises: Outputting the access point list to a user through a user interface; When an instruction of selecting a target access point by a user is received through the user interface, the local terminal is connected to the target access point.

[0042] In some embodiments, the access points displayed from top to bottom in the access point list output on the user interface are sorted in order of signal strength from strong to weak, thereby facilitating the user to select the access point with the strongest signal from front to back for terminal access. Example

[0043] Accordingly, on the access point side, see Figure 2 , an access point information providing method provided in an embodiment of the present application includes: S201, detecting beacon frame messages of other access points in the channel to which the local access point belongs; The beacon frame message of the other access point is, for example, a Beacon message of the other access point.

[0044] S202: when receiving the beacon frame message of the other access point, generating information of the other access point based on the beacon frame message of the other access point; The information of other access points includes, for example, the names, signal strengths, and channel numbers of other APs in the channel to which the local access point belongs.

[0045] S203: When receiving a probe request message sent by a terminal, reply a probe response message to the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

[0046] In some embodiments, when each AP sends a Beacon message on its own channel, it also carries CSI information, so that the information of the access point can also include CSI information. Therefore, when each AP receives a probe request message sent by a terminal and replies to a probe response message to the terminal, the probe response message can also carry CSI information, so that the terminal can obtain the channel state information of the channel to which the access point belongs from the probe response message replied by the access point; and then based on the channel state information of the channel to which the access point belongs, delete the information of the access point that is not within the coverage range of the terminal's scanning signal, that is, filter out the APs that are not within the terminal's scanning coverage range, so as to obtain a more accurate AP list.

[0047] More specific examples are given below. Example

[0048] Assume that the first AP and the second AP belong to one of the multiple channels scanned by the STA (for example, called the first channel). The following takes the first AP, the second AP, and the STA in the first channel as an example (the interaction process between APs and STAs in other channels is similar). Figure 3 , a communication method provided in an embodiment of the present application includes: S301, the second AP sends a beacon frame message (i.e., a Beacon Frame message) on the first channel to which the local AP belongs; S302: After receiving a beacon frame message sent by a second AP in a first channel to which a local AP belongs, the first AP generates and saves AP information, including information of the first AP and information of the second AP.

[0049] That is to say, in this embodiment, each AP may receive one or more Beacon Frame messages from other APs belonging to the same channel in its own channel at regular intervals, and then detect and save the information of other APs in the channel where the local AP is located based on the Beacon Frame messages of other APs. The AP information includes information such as AP name, signal strength, and channel number. Each channel can have one or more APs.

[0050] In some embodiments, each AP carries CSI information when sending a Beacon Frame message. When a local AP receives a Beacon Frame message from another AP, the AP obtains information about all APs in its own channel, which further includes CSI information.

[0051] S303, the STA sends a Probe Request message in each channel (including the first channel); S304. When the first AP receives the Probe Request message sent by the STA, the first AP sends all the stored information of all APs in its own channel to the STA via a Probe Response message.

[0052] It can be seen that for the first channel, as long as the STA receives a Probe Response message of the channel, it can obtain the information of all APs in the channel, which effectively reduces the residence time of scanning the channel.

[0053] S305. After receiving the Probe Response message sent by the first AP, the STA generates an AP list.

[0054] That is to say, the STA will generate an AP list based on the AP information extracted from the Probe Response message returned from each channel. The information of all APs can be directly added to the AP list, or all AP information can be filtered according to preset rules. For example, in some embodiments, the Probe Response message sent by the first AP also carries the CSI value of the first channel, so that the STA can calculate the relative position and RSSI value of each AP of the first channel through the CSI value, and filter the APs whose RSSI values ​​in the first channel do not meet the preset range. Assuming that the RSSI value of the second AP is less than the preset value (for example, -80), the information of the second AP is filtered out, thereby filtering out APs that are not within the scanning coverage range of the STA, and not adding the information of the second AP to the AP list, thereby obtaining a more accurate AP list.

[0055] For example, Figure 4 The network topology diagram of the scanning coverage when the STA performs channel scanning is given in FIG. 1 , assuming that there are 11 APs and only 5 channels are involved. Of course, in actual scenarios, there are more APs and wider distribution channels.

[0056] by Figure 4 For example, assuming that the STA is a network camera, when connecting the network camera to the Internet or manually switching to the network, you need to enter the display interface of the network camera web or supporting APP, trigger a scan of surrounding hotspots, obtain the scan results (that is, the list of connectable APs), and then select the required network to connect.

[0057] exist Figure 4 In the figure, the number of hotspots that STA can normally scan is AP1 to AP7, a total of 7. Generally, the scanning channel dwell time is set to 200ms to ensure that the number of APs in each channel is complete. When the STA is a dual-band device, it needs to traverse all 2.4G channels and 5G channels, which takes a total of 7.6s.

[0058] Each AP broadcasts Beacon Frame messages on its own channel at a fixed time, and receives Beacon Frame messages sent by other APs at a fixed time. Figure 4 AP1 and AP2 can receive each other's Beacon Frame messages. When STA triggers scanning, it receives the Probe Response message sent by AP1 or AP2 in channel 1, and can collect the complete AP list information in channel 1 (including the information of AP1 and AP2). Therefore, there is no need to stay for 200ms. The channel dwell time can be set to 60ms or even lower to meet the requirements.

[0059] AP8 and AP11 in channel 4 can receive each other's Beacon Frame messages. However, since AP11 is far away from STA and is not within the signal coverage range, STA cannot receive information from AP11. When STA sends a Probe Request message in channel 4, AP8 will send AP11's ProbeResponse message together with the ProbeResponse message when replying to it. At this time, the role of the CSI information in the Probe Response message comes into play. Through the CSI positioning technology, STA can calculate the relative position of AP11 based on the CSI information sent by AP11 and AP8, and further obtain the accurate RSSI value of AP11. Therefore, it can be judged that AP11 is not within the STA scanning coverage range based on the RSSI value, and the AP11 information is deleted.

[0060] In summary, the method provided in the embodiments of the present application solves the following technical problems: The wireless terminal product takes too long to scan surrounding access points; If the wireless terminal product's channel scanning dwell time is shortened, the information of surrounding access points will be incomplete; If an access point is used to synchronize information of other access points on the same channel to a wireless terminal to shorten the scanning time, the access point information in the scanning result will be inaccurate.

[0061] That is to say, in the technical solution provided by the embodiment of the present application, the AP collects information about all APs in its own channel by monitoring the Beacon Frame messages periodically sent by other APs in its own channel, and puts the AP information into the Probe Response message for sending. Furthermore, the Beacon Frame message and the ProbeResponse message sent by the AP carry CSI information, which can be used to calculate the true RSSI value of each AP, filter out the AP information that does not meet the conditions, and make the AP list information displayed on the display interface more accurate. In short, the embodiment of the present application can not only ensure the integrity of the AP list while reducing the time required for the terminal to scan the channel, but also improve the accuracy of the AP list, thereby bringing a better user experience.

[0062] The following is an introduction to the equipment or device provided in the embodiments of the present application, in which the explanations or examples of technical features that are the same or corresponding to those described in the above method will not be repeated later.

[0063] An electronic device provided in an embodiment of the present application may be, for example, any communication device. Figure 5 , for example, including: a processor 600 and a memory 620; Wherein, when the electronic device is used as a terminal side device: The processor 600 is used to read the program in the memory 620 and execute the following process: When the terminal needs to access the Wi-Fi network, a probe request message is sent to at least one access point in at least one channel to which the terminal belongs; receiving a probe response message replied by at least one of the access points, wherein the probe response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; Based on the information of at least one access point included in the probe response message replied by at least one of the access points, an access point list is determined, where the access point list includes the information of at least one access point to be accessed by the terminal.

[0064] In some embodiments, the probe response message replied by each access point further includes: channel state information of the channel to which the access point belongs.

[0065] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following process: The probe response message replied by each access point: Acquire channel state information of the channel to which the access point belongs from the probe response message replied by the access point; Based on the channel state information of the channel to which the access point belongs, the information of the access point that is not within the coverage range of the scanning signal of the terminal is deleted.

[0066] In some embodiments, deleting information of access points that are not within the coverage range of the scanning signal of the terminal based on the channel state information of the channel to which the access point belongs includes: Determine, according to the channel state information of the channel to which the access point belongs, the relative positions between different access points in the channel to which the access point belongs, and the signal strength of each access point in the channel to which the access point belongs; According to the relative positions of different access points in the channel to which the access point belongs and the signal strength of each access point in the channel to which the access point belongs, the information of the access points that are not within the coverage range of the scanning signal of the terminal is deleted.

[0067] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following process: Outputting the access point list to a user through a user interface; When an instruction of selecting a target access point by a user is received through the user interface, the local terminal is connected to the target access point.

[0068] When the electronic device is used as an access point side device: The processor 600 is used to read the program in the memory 620 and execute the following process: Detect beacon frame messages of other access points in the channel to which the local access point belongs; When receiving the beacon frame message of the other access point, generating the information of the other access point based on the beacon frame message of the other access point; When receiving a probe request message sent by a terminal, a probe response message is replied to the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

[0069] In some embodiments, the processor 600 is further configured to read a program in the memory 620 and execute the following process: The beacon frame message is sent in the channel to which the local access point belongs.

[0070] The transceiver 610 is configured to receive and send data under the control of the processor 600 .

[0071] Among them, Figure 5 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 600 and various circuits of memory represented by memory 620 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 610 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including wireless channels, wired channels, optical cables, and other transmission media. For different user devices, the user interface 630 may also be an interface capable of externally and internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like.

[0072] The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 can store data used by the processor 600 when performing operations.

[0073] In some embodiments, the processor 600 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0074] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0075] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as those in the method embodiment will not be described in detail here.

[0076] On the terminal side, see Figure 6 , an access point information acquisition device provided in an embodiment of the present application includes: A probe request sending unit 11 is configured to send a probe request message to at least one access point in at least one channel to which the terminal belongs when the terminal needs to access a Wi-Fi network; A detection response receiving unit 12 is configured to receive a detection response message replied by at least one of the access points, wherein the detection response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; The access point list determining unit 13 is configured to determine an access point list based on information of at least one access point included in a probe response message replied by at least one of the access points, wherein the access point list includes information of at least one access point to be accessed by the terminal.

[0077] In some embodiments, the probe response message replied by each access point further includes: channel state information of the channel to which the access point belongs.

[0078] In some embodiments, the access point list determining unit 13 is further configured to: The probe response message replied by each access point: Acquire channel state information of the channel to which the access point belongs from the probe response message replied by the access point; Based on the channel state information of the channel to which the access point belongs, the information of the access point that is not within the coverage range of the scanning signal of the terminal is deleted.

[0079] In some embodiments, deleting information of access points that are not within the coverage range of the scanning signal of the terminal based on the channel state information of the channel to which the access point belongs includes: Determine, according to the channel state information of the channel to which the access point belongs, the relative positions between different access points in the channel to which the access point belongs, and the signal strength of each access point in the channel to which the access point belongs; According to the relative positions of different access points in the channel to which the access point belongs and the signal strength of each access point in the channel to which the access point belongs, the information of the access points that are not within the coverage range of the scanning signal of the terminal is deleted.

[0080] In some embodiments, the access point list determining unit 13 is further configured to: Outputting the access point list to a user through a user interface; When an instruction of selecting a target access point by a user is received through the user interface, the local terminal is connected to the target access point.

[0081] On the access point side, see Figure 7 , an access point information providing device provided in an embodiment of the present application includes: A beacon frame detection unit 21 is used to detect beacon frame messages of other access points in the channel to which the local access point belongs; The other access point information acquiring unit 22 is configured to generate information of the other access point based on the beacon frame message of the other access point when receiving the beacon frame message of the other access point; The probe request processing unit 23 is used to reply a probe response message to the terminal when receiving a probe request message sent by the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

[0082] In some embodiments, the access point information providing apparatus further comprises a unit for sending a beacon frame message in a channel to which the local access point belongs.

[0083] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0084] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0085] Any of the devices or apparatuses provided in the embodiments of the present application may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a personal digital assistant (PDA), etc. It may include a central processing unit (CPU), a memory, an input / output device, etc. The input device may include a keyboard, a mouse, a touch screen, etc. The output device may include a display device, such as a liquid crystal display (LCD), a cathode ray tube (CRT), etc.

[0086] The memory may include a read-only memory (ROM) and a random access memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiment of the present application, the memory may be used to store the program of any of the methods provided in the embodiment of the present application.

[0087] The processor calls the program instructions stored in the memory, and the processor is used to execute any of the methods provided in the embodiments of the present application according to the obtained program instructions.

[0088] The present application embodiment also provides a computer program product or computer program, which includes a computer instruction, which is stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction so that the computer device performs any of the methods described in the above embodiments. The program product can use any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0089] The embodiment of the present application provides a computer-readable storage medium for storing computer program instructions used by the apparatus provided in the embodiment of the present application, which includes a program for executing any of the methods provided in the embodiment of the present application. The computer-readable storage medium may be a non-transitory computer-readable medium.

[0090] The computer-readable storage medium can be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.

[0091] It should be understood that: The access technology through which entities in the communication network transmit traffic can be any suitable current or future technology, such as WLAN (Wireless Local Access Network), WiMAX (Worldwide Interoperability for Microwave Access), LTE, LTE-A, 5G, Bluetooth, infrared, etc.; in addition, the embodiments can also apply wired technology, for example, IP-based access technology, such as a wired network or a fixed line.

[0092] Embodiments suitable for being implemented as software code or a portion thereof and running using a processor or processing functionality are independent of the software code and may be specified using any known or future developed programming language, such as a high-level programming language such as objective-C, C, C++, C#, Java, Python, Javascript, other scripting languages, etc., or a low-level programming language such as machine language or assembler.

[0093] The implementation of the embodiments is hardware independent and may be implemented using any known or future developed hardware technology or any mixture thereof, such as a microprocessor or CPU (central processing unit), MOS (metal oxide semiconductor), CMOS (complementary MOS), BiMOS (bipolar MOS), BiCMOS (bipolar CMOS), ECL (emitter coupled logic) and / or TTL (transistor-transistor logic).

[0094] Embodiments may be implemented as separate devices, apparatuses, units, components, or functions, or in a distributed manner, for example, one or more processors or processing functions may be used or shared in a process, or one or more processing segments or processing portions may be used and shared in a process, wherein one physical processor or more than one physical processor may be used to implement one or more processing portions dedicated to a specific process as described.

[0095] The device may be implemented by a semiconductor chip, a chipset, or a (hardware) module including such a chip or chipset.

[0096] The embodiments may also be implemented as any combination of hardware and software, such as ASIC (Application Specific IC (Integrated Circuit)) components, FPGA (Field Programmable Gate Array) or CPLD (Complex Programmable Logic Device) components or DSP (Digital Signal Processor) components.

[0097] The embodiments may also be implemented as a computer program product including a computer usable medium having computer readable program code embodied therein, the computer readable program code being adapted to perform the processes as described in the embodiments, wherein the computer usable medium may be a non-transitory medium.

[0098] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program codes.

[0099] The present application is 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 processor 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 processor 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.

[0100] 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.

[0101] 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 in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0102] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations 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.

Claims

1. A method for acquiring access point information, characterized in that: The method comprises: When the terminal needs to access the Wi-Fi network, a probe request message is sent to at least one access point in at least one channel to which the terminal belongs; receiving a probe response message replied by at least one of the access points, wherein the probe response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; Based on the information of at least one access point included in the probe response message replied by at least one of the access points, an access point list is determined, where the access point list includes the information of at least one access point to be accessed by the terminal.

2. The method according to claim 1, characterized in that The detection response message replied by each access point also includes: channel state information of the channel to which the access point belongs.

3. The method according to claim 2, characterized in that The method further comprises: The probe response message replied by each access point: Acquire channel state information of the channel to which the access point belongs from the probe response message replied by the access point; Based on the channel state information of the channel to which the access point belongs, the information of the access point that is not within the coverage range of the scanning signal of the terminal is deleted.

4. The method according to claim 3, characterized in that: The deleting the information of the access point that is not within the coverage range of the scanning signal of the terminal based on the channel state information of the channel to which the access point belongs, includes: Determine, according to the channel state information of the channel to which the access point belongs, the relative positions between different access points in the channel to which the access point belongs, and the signal strength of each access point in the channel to which the access point belongs; According to the relative positions of different access points in the channel to which the access point belongs and the signal strength of each access point in the channel to which the access point belongs, the information of the access points that are not within the coverage range of the scanning signal of the terminal is deleted.

5. The method according to claim 1, characterized in that The method further comprises: Outputting the access point list to a user through a user interface; When an instruction of selecting a target access point by a user is received through the user interface, the local terminal is connected to the target access point.

6. A method for providing access point information, characterized in that: The method comprises: Detect beacon frame messages of other access points in the channel to which the local access point belongs; When receiving the beacon frame message of the other access point, generating the information of the other access point based on the beacon frame message of the other access point; When receiving a probe request message sent by a terminal, a probe response message is replied to the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

7. An access point information acquisition device, characterized in that: The device comprises: a probe request sending unit, configured to send a probe request message to at least one access point on at least one channel to which the terminal belongs when the terminal needs to access the Wi-Fi network; A detection response receiving unit, configured to receive a detection response message replied by at least one of the access points, wherein the detection response message replied by each of the access points includes information of at least one access point of the channel to which the access point belongs; The access point list determining unit is configured to determine an access point list based on information of at least one access point included in a probe response message replied by at least one of the access points, wherein the access point list includes information of at least one access point to be accessed by the terminal.

8. An access point information providing device, characterized in that: The device comprises: A beacon frame detection unit, used to detect beacon frame messages of other access points in the channel to which the local access point belongs; Another access point information acquisition unit is used to generate the information of the other access point based on the beacon frame message of the other access point when receiving the beacon frame message of the other access point; The probe request processing unit is used to reply a probe response message to the terminal when receiving a probe request message sent by the terminal, wherein the probe response message includes information of the local access point and information of other access points in the channel to which the local access point belongs.

9. An electronic device, characterized in that: include: A memory for storing program instructions; A processor, configured to call the program instructions stored in the memory, and execute the method according to any one of claims 1 to 6 according to the obtained program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable the computer to execute the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Dedicated channel for fast initial link setup in a wireless network

    CN106165496A

  • Method and apparatus for receiving WUR discovery frame in wireless LAN system

    CN110999418A

  • Information acquisition method and device

    CN111181668A

  • Rapid roaming method and system

    CN111479267A

  • Method for discovering neighbor node in wireless local area network

    KR1020150057979A