Wi-Fi network access method and apparatus, communication device, and readable storage medium
By broadcasting or responding to beacon frames and probe responses of various Wi-Fi types through Wi-Fi access points, the problem of electronic devices being unable to parse new Wi-Fi protocols is solved, thus improving the success rate of accessing Wi-Fi networks.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- VIVO MOBILE COMM CO LTD
- Filing Date
- 2022-11-17
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, electronic devices have a low success rate in accessing Wi-Fi networks because they cannot parse new Wi-Fi protocols, especially due to prominent compatibility issues, such as MAC layer compatibility problems between Wi-Fi 6 hotspots and non-Wi-Fi 6 devices.
Wi-Fi access points broadcast or respond to beacon frames and probe responses of various Wi-Fi types to ensure that electronic devices can parse and connect to supported Wi-Fi types, including sending M Wi-Fi messages, where M is an integer greater than or equal to 2, and connecting when the target conditions are met.
It improves the success rate of different Wi-Fi types of devices accessing Wi-Fi networks, ensuring that devices supporting different Wi-Fi types can successfully resolve and connect to the Wi-Fi access point, thus improving the access success rate.
Smart Images

Figure CN115835334B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the technical field of communication, and particularly relates to a Wi-Fi network access method and device, communication equipment and a readable storage medium. BACKGROUND
[0002] With the continuous and rapid development of WLAN (Wireless Local Area Networks) technology, the application of WLAN is becoming more and more widespread.
[0003] However, due to the rapid development of WLAN technology and the huge base of WLAN devices, some compatibility problems are caused. For example, wireless terminals (such as car radios) and many traditional electrical appliances (such as film cutting machines and printers) that do not have high requirements for Wi-Fi performance cannot parse the Wi-Fi protocol of the improved Wi-Fi access point, such as the Wi-Fi6 protocol, which may cause the electronic device to fail to access the Wi-Fi network. That is, the success rate of the electronic device accessing the Wi-Fi network in the related art is low. SUMMARY
[0004] The purpose of the embodiments of the present application is to provide a Wi-Fi network access method and device, communication equipment and a readable storage medium, which can solve the problem of low success rate of electronic devices accessing the Wi-Fi network.
[0005] In a first aspect, the embodiments of the present application provide a Wi-Fi network access method, which comprises: a target Wi-Fi access point sending M Wi-Fi information under the condition of meeting a target condition, each Wi-Fi information being used to indicate one Wi-Fi type supported by the target Wi-Fi access point, M being an integer greater than or equal to 2; wherein, in the case that M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by a first electronic device, the first electronic device is connected with the target Wi-Fi access point, the first electronic device being an electronic device receiving the M Wi-Fi information; the target condition meeting any one of the following: reaching a target broadcast time of the target Wi-Fi access point, the target Wi-Fi access point receiving a target Wi-Fi probe request from the first electronic device.
[0006] In a second aspect, the embodiments of the present application provide a Wi-Fi network access device, which can include a sending module; the sending module is configured to send M Wi-Fi information under a target condition, each Wi-Fi information is used to indicate a Wi-Fi type supported by a target Wi-Fi access point, and M is an integer greater than or equal to 2; wherein, in the case that the M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by a first electronic device, the first electronic device is connected to the target Wi-Fi access point, and the first electronic device is an electronic device receiving the M Wi-Fi information; the target condition includes any of the following: a target broadcast time of the target Wi-Fi access point is met, or the target Wi-Fi access point receives a target Wi-Fi probe request from the first electronic device.
[0007] In a third aspect, the embodiments of the present application provide a communication device, which includes a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the method according to the first aspect.
[0008] In a fourth aspect, the embodiments of the present application provide a readable storage medium, which stores programs or instructions, and the programs or instructions are executed by a processor to implement the steps of the method according to the first aspect.
[0009] In a fifth aspect, the embodiments of the present application provide a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run programs or instructions to implement the method according to the first aspect.
[0010] In a sixth aspect, the embodiments of the present application provide a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the method according to the first aspect.
[0011] In the embodiment of the present application, the target Wi-Fi access point sends M Wi-Fi information under the condition of meeting a target condition, each Wi-Fi information is used to indicate one Wi-Fi type supported by the target Wi-Fi access point, M is an integer greater than or equal to 2; wherein, in the case that the M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by the first electronic device, the first electronic device is connected with the target Wi-Fi access point, and the first electronic device is an electronic device receiving the M Wi-Fi information; the target condition includes any of the following: reaching a target broadcast time of the target Wi-Fi access point, the target Wi-Fi access point receiving a target Wi-Fi probe request from the first electronic device. Through the scheme, when the target condition is met, since the target Wi-Fi access point can send the Wi-Fi information indicating the M Wi-Fi types supported by the target Wi-Fi access point, i.e. the M Wi-Fi information, it can be ensured that the electronic devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information, so that the electronic devices supporting different Wi-Fi types can scan the target Wi-Fi access point, thereby successfully connecting with the target Wi-Fi access point, and then accessing the Wi-Fi network through the target Wi-Fi access point. In this way, the success rate of accessing the Wi-Fi network can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0012] Figure 1 is one of the flow diagrams of the Wi-Fi network access method provided by the embodiments of the present application;
[0013] Figure 2 is one of the application embodiment diagrams of the Wi-Fi network access method provided by the embodiments of the present application;
[0014] Figure 3 is the second flow diagram of the Wi-Fi network access method provided by the embodiments of the present application;
[0015] Figure 4 is the second application embodiment diagram of the Wi-Fi network access method provided by the embodiments of the present application;
[0016] Figure 5 is the third application embodiment diagram of the Wi-Fi network access method provided by the embodiments of the present application;
[0017] Figure 6 is the fourth application embodiment diagram of the Wi-Fi network access method provided by the embodiments of the present application;
[0018] Figure 7 is the structure diagram of the Wi-Fi network access device provided by the embodiments of the present application;
[0019] Figure 8 FIG. 1 is a structural schematic diagram of a communication device provided by an embodiment of the present application;
[0020] Figure 9 FIG. 2 is a structural schematic diagram of an electronic device provided by an embodiment of the present application;
[0021] Figure 10 FIG. 3 is a structural schematic diagram of a network-side device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0022] The technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.
[0023] The terms "first", "second", and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be exchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", and the like are generally of a kind and do not limit the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.
[0024] The terms used in the embodiments of the present application are explained below.
[0025] The Wi-Fi network access method, device, equipment and readable storage medium provided by the embodiments of the present application will be described in detail below with reference to the drawings, specific embodiments and application scenarios.
[0026] Currently, WLAN technology continues to develop rapidly. From the complementary code keying (CCK) encoding supporting 5.5 Mbps and 11 Mbps to the orthogonal frequency-division multiple access (OFDMA) technology supporting a single spatial stream with a maximum rate of 1.2 Gbps. The data transmission mode also experienced: single input single output (SISO) - multiple input multiple output (MIMO) - multi-user MIMO. Encryption methods have developed from wired equivalent privacy (WEP) to Wi-Fi protected access 3 (WPA3). In short, whether in terms of performance or security, the development of WLAN is changing with each passing day.
[0027] According to the statistics of the Wi-Fi Alliance, more than 18 billion WLAN devices will be put into use in 2022, and 4.4 billion devices will be shipped. However, the rapid development of WLAN technology and the huge base of WLAN devices also bring some compatibility problems. For example, wireless terminals (such as car radios) many years ago and many traditional appliances (such as film cutting machines, printers) that do not require high Wi-Fi performance. These devices cannot identify new Wi-Fi protocols, which may cause network connection failure and have a greater impact on user use.
[0028] The Wi-Fi connection process is completed through the Wi-Fi frame interaction between the two parties. These Wi-Fi messages are traditional protocol messages, which are sent through classic Wi-Fi rates. This method ensures that electronic devices can interact with Wi-Fi6 hotspots (access points) under different Wi-Fi types.
[0029] Exemplarily, taking the Wi-Fi6 hotspot and the non-Wi-Fi6 device as an example. In the Wi-Fi connection process of the two, the traditional protocol (5G uses 802.11a, and 2.4G uses 802.11b) is used, so there is no physical layer compatibility problem between the non-Wi-Fi6 device and the Wi-Fi6 hotspot in the connection process.
[0030] However, there may still be compatibility problems in the Medium Access Control (MAC) layer between the Wi-Fi 6 hotspot and the non-Wi-Fi 6 device. Specifically, the length and format of the beacon frame of the Wi-Fi 6 hotspot and the beacon frame of the non-Wi-Fi 6 are quite different. Moreover, the beacon of the Wi-Fi 6 hotspot carries more information. This may cause the MAC layer of the non-Wi-Fi 6 device to fail to normally parse the beacon frame, and then cause the non-Wi-Fi 6 device to fail to connect to the Wi-Fi 6 hotspot.
[0031] The Wi-Fi network access method provided in the embodiments of the present application aims to solve the MAC layer compatibility problem that may occur in the Wi-Fi connection stage of the electronic device of different Wi-Fi types. Specifically:
[0032] In one way, for a Wi-Fi access point, the Wi-Fi access point can broadcast beacon frames (i.e., Wi-Fi information) indicating a plurality of different Wi-Fi types, so that electronic devices supporting different Wi-Fi types can successfully parse the beacon frame indicating the corresponding Wi-Fi type, and connect to the Wi-Fi access point according to the result information obtained by parsing. In this way, it can be ensured that electronic devices of lower Wi-Fi types can also be connected to Wi-Fi access points of higher Wi-Fi types. Thus, the access success rate can be improved.
[0033] In another way, for a Wi-Fi access point, after receiving a Wi-Fi probe request sent in broadcast form, the Wi-Fi access point can broadcast beacon frames (i.e., Wi-Fi information) indicating a plurality of different Wi-Fi types, so that electronic devices supporting different Wi-Fi types can successfully parse the probe response (i.e., Wi-Fi information) corresponding to the Wi-Fi type, and connect to the Wi-Fi access point according to the result information obtained by parsing. In this way, it can be ensured that electronic devices of lower Wi-Fi types can also be connected to Wi-Fi access points of higher Wi-Fi types. Thus, the access success rate can be improved.
[0034] In another way, for a Wi-Fi access point, after receiving a Wi-Fi probe request sent in broadcast form, the Wi-Fi access point can broadcast beacon frames (i.e., Wi-Fi information) indicating a plurality of different Wi-Fi types, so that electronic devices supporting different Wi-Fi types can successfully parse the probe response (i.e., Wi-Fi information) corresponding to the Wi-Fi type, and connect to the Wi-Fi access point according to the result information obtained by parsing. In this way, it can be ensured that electronic devices of lower Wi-Fi types can also be connected to Wi-Fi access points of higher Wi-Fi types. Thus, the access success rate can be improved.
[0035] It can be understood that, in the embodiments of the present application, Wi-Fi5 and Wi-Fi6 are different Wi-Fi types.
[0036] Therefore, the Wi-Fi network access method provided by the embodiments of the present application only increases the overhead of the beacon and probe response of the Wi-Fi access point compared with the related art, and therefore does not reduce the transmission performance of the Wi-Fi6 device supporting a higher Wi-Fi type.
[0037] The present application does not need to occupy more hardware resources; under the premise that the number of connected electronic devices does not change, the theoretical performance of Wi-Fi can be flat with a hotspot with only a single Wi-Fi6 soft access point (softAP).
[0038] The embodiments of the present application provide a Wi-Fi network access method, Figure 1 The flowchart of the Wi-Fi network access method provided by the embodiments of the present application is shown in FIG. 1. Figure 1 As shown in FIG. 1, the Wi-Fi network access method provided by the embodiments of the present application can include the following steps 101 and 102.
[0039] Step 101, the target Wi-Fi access point sends M Wi-Fi information under the condition that a target condition is met.
[0040] Step 102, the first electronic device receives the M Wi-Fi information.
[0041] Among the M Wi-Fi information, each Wi-Fi information can be used to indicate a Wi-Fi type supported by the target Wi-Fi access point, and M is an integer greater than or equal to 2.
[0042] In the embodiments of the present application, in the case where the M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by the first electronic device, the first electronic device is connected with the target Wi-Fi access point, and the first electronic device is an electronic device that receives the M Wi-Fi information.
[0043] In the embodiments of the present application, the target condition can include any of the following: one possible implementation, the target broadcast time of the target Wi-Fi access point is met; another possible implementation, the target Wi-Fi access point receives a target Wi-Fi probe request from the first electronic device.
[0044] In the embodiments of the present application, the target Wi-Fi access point can support M Wi-Fi types. For example, for a Wi-Fi6 access point, the Wi-Fi6 access point can support Wi-Fi5 type, Wi-Fi6 type, etc.
[0045] Optionally, the M Wi-Fi types can be at least part of Wi-Fi types supported by the target Wi-Fi access point.
[0046] For example, for a Wi-Fi 6 access point, the Wi-Fi 6 access point can support Wi-Fi 4 type, Wi-Fi 5 type, and Wi-Fi 6 type, but the M Wi-Fi types can include Wi-Fi 5 type and Wi-Fi 6 type. For the determination of the M Wi-Fi types, the market share of each Wi-Fi type is determined, for example, if a Wi-Fi type has been eliminated, the target Wi-Fi access point can determine that the M Wi-Fi types do not include the Wi-Fi type.
[0047] Optionally, each Wi-Fi type supported by the target Wi-Fi access point corresponds to an address (physical address, MAC address) and a capability set of the target Wi-Fi access point.
[0048] Optionally, the capability set corresponding to the Wi-Fi type includes at least one of the following: a rate set corresponding to the Wi-Fi type, a protocol corresponding to the Wi-Fi type.
[0049] Optionally, each Wi-Fi information can include a capability set corresponding to the Wi-Fi type indicated by the Wi-Fi information.
[0050] Optionally, each Wi-Fi information further includes at least one of the following: address information of the address corresponding to the Wi-Fi type, identification information of the Wi-Fi type, an encryption method corresponding to the Wi-Fi type, a Wi-Fi identifier of the target Wi-Fi access point, etc.
[0051] In the embodiment of the application, the first electronic device is in the range of the target Wi-Fi access point, specifically, the electronic device in the coverage range of the Wi-Fi network where the target Wi-Fi access point is located. The highest Wi-Fi type supported by the first electronic device is lower than or equal to the highest Wi-Fi type supported by the target Wi-Fi access point, for example, the target Wi-Fi access point is a Wi-Fi 6 access point, and the first electronic device is a Wi-Fi 5 device.
[0052] Optionally, the above-mentioned M Wi-Fi information can be M beacon frames, each beacon frame corresponding to a Wi-Fi type.
[0053] In the embodiments of the present application, after the first electronic device receives the M Wi-Fi information, the first electronic device can first analyze each Wi-Fi information. For one of the M Wi-Fi information, if the first electronic device successfully analyzes the Wi-Fi information, it means that the first electronic device has found the target Wi-Fi access point, so that the first electronic device can connect to the target Wi-Fi access point based on the Wi-Fi information, so as to access the Wi-Fi network of the Wi-Fi type indicated by the Wi-Fi information through the target Wi-Fi access point. If the first electronic device cannot successfully analyze the Wi-Fi information, the first electronic device cannot search for the target Wi-Fi access point through the Wi-Fi information, and thus cannot connect to the target Wi-Fi access point.
[0054] Optionally, assuming that the first electronic device can successfully analyze one or more of the M Wi-Fi information, the first electronic device displays the Wi-Fi identifier (such as the Wi-Fi name) of the target Wi-Fi access point under the Wi-Fi type corresponding to the one or more Wi-Fi information. The user can input one of the Wi-Fi identifiers according to the demand, so as to trigger the first electronic device to initiate a connection request for the Wi-Fi network of the target Wi-Fi access point under the corresponding Wi-Fi type.
[0055] Optionally, the target Wi-Fi access point can be any device that can generate a Wi-Fi network, such as a mobile phone or a router. The electronic device can be any terminal with Wi-Fi function, such as a mobile phone, a tablet computer, etc.
[0056] In this way, since the target Wi-Fi access point can send the Wi-Fi information indicating the M Wi-Fi types supported by the target Wi-Fi access point, i.e., the M Wi-Fi information, it can be ensured that the electronic devices supporting different Wi-Fi types can successfully analyze at least one of the M Wi-Fi information, so that the electronic devices supporting different Wi-Fi types can discover the target Wi-Fi access point, and successfully connect to the target Wi-Fi access point, and then access the Wi-Fi network through the target Wi-Fi access point. In this way, the success rate of accessing the Wi-Fi network can be improved.
[0057] Optionally, the M Wi-Fi types correspond one by one to the M addresses of the target Wi-Fi access point, and the step 101 can be implemented by the following step 101a.
[0058] In step 101a, the target Wi-Fi access point sends the M Wi-Fi information through the M addresses under the condition that the target condition is met.
[0059] Optionally, the M addresses can be M MAC addresses of the target Wi-Fi access point. It can be understood that each MAC address corresponds to one MAC layer of the target Wi-Fi access point.
[0060] Specifically, the target Wi-Fi access point can include M MAC layers, each MAC layer corresponds to one Wi-Fi type, and each MAC layer has one MAC address. In this way, since the Wi-Fi information indicating the Wi-Fi type corresponding to the M MAC layers can be sent through the MAC addresses of the M MAC layers, the defect that the electronic device cannot access the Wi-Fi network due to the incompatibility of the MAC layers between the access point side and the electronic device side in the related art is avoided.
[0061] Next, one possible implementation and another possible implementation will be described respectively.
[0062] One possible implementation
[0063] Optionally, in one possible implementation, the target Wi-Fi access point can periodically perform hotspot broadcasting, that is, the target Wi-Fi access point can send the M Wi-Fi information in a broadcast manner. Therefore, one possible implementation can also be called a hotspot broadcasting manner, in which manner, the electronic device (such as the first electronic device) within the range of the target Wi-Fi access point can perform Wi-Fi access point detection in a passive scanning manner.
[0064] Optionally, in one possible implementation, the step 101a can be implemented by the following step 101a1.
[0065] Step 101a1, the target Wi-Fi access point sends the M Wi-Fi information through the M addresses in the case that the target Wi-Fi access point reaches the target broadcasting time of the target Wi-Fi access point.
[0066] In the embodiment of the present application, after the target Wi-Fi access point sends the M Wi-Fi information, the electronic device within the range of the target Wi-Fi access point can receive the M Wi-Fi information.
[0067] Next, one possible implementation will be described in combination with a specific example.
[0068] In the related art, a Wi-Fi access point can broadcast a beacon frame so that an electronic device can scan the Wi-Fi access point when passively scanning. Specifically, a beacon frame broadcast by a Wi-Fi 5 access point indicates a Wi-Fi 5 type; a beacon frame broadcast by a Wi-Fi 6 access point indicates a Wi-Fi 6 type. For a Wi-Fi 6 access point, if an electronic device does not support the Wi-Fi 6 type, the MAC layer of the electronic device can fail to successfully parse the beacon frame broadcast by the Wi-Fi 6 access point, thereby causing a Wi-Fi connection failure. Although enabling an access point that does not support Wi-Fi 6 can ensure that such compatibility problems do not occur, it will seriously affect the Wi-Fi transmission performance of the electronic device. In the embodiments of the present application, the target Wi-Fi access point is taken as a Wi-Fi 6 access point. As shown in FIG. 3, the Wi-Fi 6 access point can simultaneously broadcast two types of broadcasts when reaching the time of sending a beacon frame (i.e., a target broadcast time). Specifically, the Wi-Fi 6 access point can broadcast a beacon frame 1 with a MAC address 1, the beacon frame 1 indicating a Wi-Fi 6 type, and further including a capability set supporting Wi-Fi 6 in the beacon frame 1; and broadcast a beacon frame 2 with a MAC address 2, the beacon frame 2 indicating a Wi-Fi 5 type, and further including a capability set indicating Wi-Fi 5 in the beacon frame 2. In this way, a first electronic device that cannot scan the Wi-Fi 6 access point through passive scanning can scan the Wi-Fi 6 access point through the broadcast of the MAC address 2. Figure 2
[0069] In this way, when reaching the time of broadcasting a beacon frame by the target Wi-Fi access point, the target Wi-Fi access point can simultaneously broadcast Wi-Fi information indicating multiple Wi-Fi types, so that electronic devices supporting different types can successfully parse one or more Wi-Fi information broadcast by the target Wi-Fi access point. In this way, it can be ensured that electronic devices supporting different types can detect the target Wi-Fi node through passive scanning, thereby improving the success rate of the electronic device accessing the Wi-Fi network.
[0070] Another possible implementation
[0071] Optionally, in another possible implementation, when the target Wi-Fi access point receives a target Wi-Fi detection request from the first electronic device, it indicates that the first electronic device is actively detecting the Wi-Fi access point. Therefore, the other possible implementation can also be referred to as an active detection of the Wi-Fi access point mode.
[0072] Specifically, in the active Wi-Fi access point detection method, the first electronic device can inform the target Wi-Fi access point of its supported capability set by sending a Wi-Fi detection request; after receiving the Wi-Fi detection request, the target Wi-Fi access point can return at least one Wi-Fi detection response (i.e., a Wi-Fi message) to inform the electronic device that it has received the corresponding Wi-Fi detection request, and each Wi-Fi detection response frame indicates a Wi-Fi type supported by the target Wi-Fi access point.
[0073] Alternatively, the first electronic device may use two different methods to detect Wi-Fi access points (broadcast detection and peer-to-peer unicast detection).
[0074] The following sections will provide detailed explanations of broadcast detection and point-to-point unicast detection.
[0075] 1. Broadcast detection
[0076] Optionally, assuming the target Wi-Fi access point supports M Wi-Fi types, where M is an integer greater than 1; then: combining Figure 1 ,like Figure 3 As shown, before step 101 above, the Wi-Fi network access method provided in this application embodiment may further include steps 103 and 104 below. Step 101 above can be specifically implemented through step 101b below.
[0077] Step 103: The first electronic device broadcasts a target Wi-Fi detection request.
[0078] Step 104: The target Wi-Fi access point receives the target Wi-Fi detection request.
[0079] Among them, the target detection request is used to request the detection of Wi-Fi access points.
[0080] Optionally, the target detection request may include a set of capabilities corresponding to the Wi-Fi type supported by the first electronic device.
[0081] Optionally, the target detection request may also include at least one of the following: address information of the first electronic device (such as the MAC layer address information of the first electronic device), identification information of the first electronic device, encryption methods supported by the first electronic device, etc.
[0082] Step 101b: The target Wi-Fi access point sends M Wi-Fi information to the first electronic device through M addresses.
[0083] In this embodiment of the application, after the target Wi-Fi access point sends M Wi-Fi messages to the first electronic device, the first electronic device can receive the M Wi-Fi messages. That is, the target Wi-Fi access point can specifically send M Wi-Fi messages to the first electronic device.
[0084] For further description of step 101b, please refer to the relevant descriptions in the above embodiments.
[0085] The Wi-Fi network access method provided in this application embodiment will be illustrated below with specific examples.
[0086] For example, such as Figure 4 As shown, in broadcast detection, assuming the target Wi-Fi access point is a Wi-Fi 6 access point, and the first electronic device sends a Wi-Fi detection request via broadcast, and further assuming the target Wi-Fi access point supports both Wi-Fi 6 and Wi-Fi 5 types, and the MAC address corresponding to the target Wi-Fi access point for Wi-Fi 6 is MAC1, and the MAC address corresponding to the target Wi-Fi access point for Wi-Fi 5 is MAC2; then:
[0087] After receiving a Wi-Fi probe request from the first electronic device, the Wi-Fi 6 access point can send probe response 1 to the first electronic device via MAC1. Probe response 1 carries a set of capabilities that support Wi-Fi 6. Simultaneously, it can send probe response 2 to the first electronic device via MAC2, carrying a set of capabilities that do not support Wi-Fi 6. If the first electronic device cannot parse probe response 1, it can scan for Wi-Fi 6 access points by receiving and successfully parsing probe response 2. In this way, regardless of whether the first electronic device supports Wi-Fi 6, it can successfully discover Wi-Fi 6 access points, thereby increasing the probability of the first electronic device successfully connecting to the Wi-Fi network.
[0088] Thus, when the target Wi-Fi access point receives a Wi-Fi probe request broadcast by the first electronic device, the target Wi-Fi access point can reply with M Wi-Fi information to the first electronic device. Different Wi-Fi information indicates different Wi-Fi types supported by the target Wi-Fi access point. Therefore, compared with the related technology that only replies with one probe response, the Wi-Fi network access method provided in this application embodiment can increase the probability that the first electronic device can successfully detect the Wi-Fi access point, thereby increasing the probability that the first electronic device can successfully access the Wi-Fi network.
[0089] 2. Point-to-point unicast detection
[0090] Optionally, the first electronic device can send the target Wi-Fi probe request in a unicast manner, i.e., sending the target Wi-Fi probe request to a specific address.
[0091] Optionally, the first electronic device can send the target Wi-Fi probe request to a specific address (e.g., the second address) among the M addresses of the target Wi-Fi access point. It can be understood that the target Wi-Fi access point receives the target Wi-Fi probe request through the second address, which indicates that the first electronic device supports the Wi-Fi type corresponding to the second address. Therefore, after receiving the target Wi-Fi probe request, the target Wi-Fi access point can send the target Wi-Fi information to the first electronic device through the second address, wherein the target Wi-Fi information indicates the Wi-Fi type corresponding to the second address.
[0092] It can be understood that in the embodiments of the present application, the target Wi-Fi access point can specifically receive the target Wi-Fi probe request through the second address.
[0093] Optionally, the target Wi-Fi probe request can include address information indicating the first address.
[0094] For other descriptions of the target Wi-Fi information, refer to the related descriptions of the M Wi-Fi information in the above embodiments.
[0095] The Wi-Fi network access method provided by the embodiments of the present application will be exemplarily described below in combination with specific examples.
[0096] Exemplarily, the first electronic device directly probes the surrounding Wi-Fi access point through a point-to-point unicast manner. Assuming that the target Wi-Fi access point is a Wi-Fi6 access point, the MAC address of the target Wi-Fi access point corresponding to Wi-Fi6 is MAC1, and the MAC address of the target Wi-Fi access point corresponding to a non-Wi-Fi6 type (e.g., a Wi-Fi5 type) is MAC2; then:
[0097] As shown in Figure 5 When the first electronic device sends the target Wi-Fi probe request to MAC1, the target Wi-Fi access point receives the target Wi-Fi probe request through MAC1 and sends a probe response 1 (i.e., target Wi-Fi information) to the first electronic device through MAC1, wherein the probe response 1 indicates the Wi-Fi6 type, and the probe response 1 carries a set of capabilities of the target Wi-Fi access point corresponding to the Wi-Fi6 type. As shown in Figure 6As shown, when the first electronic device sends the target Wi-Fi probe request to MAC2, the target Wi-Fi access point receives the target Wi-Fi probe request through MAC2, and sends a probe response 2 (i.e., target Wi-Fi information) to the first electronic device through MAC2, the probe response 2 indicates the Wi-Fi5 type, and the probe response 2 carries a set of capabilities of the target Wi-Fi access point corresponding to the Wi-Fi5 type. In this way, whether the first electronic device supports Wi-Fi6 or not, the first electronic device can successfully scan the Wi-Fi6 access point, so as to improve the probability of the first electronic device successfully accessing the Wi-Fi network.
[0098] Optionally, each Wi-Fi information in the M Wi-Fi information can also be used to indicate an address of the target Wi-Fi access point, the address corresponding to the Wi-Fi type corresponding to each Wi-Fi information. After the step 102, the Wi-Fi network access method provided by the embodiment of the application can further include the following steps 105 and 106.
[0099] Step 105, the target Wi-Fi access point receives a target Wi-Fi connection request.
[0100] Optionally, the target Wi-Fi connection request is a connection request sent by the first electronic device to the first address, and the first address is an address indicated by one of the M Wi-Fi information.
[0101] Optionally, the first address is an address successfully parsed by the first electronic device from one of the Wi-Fi information.
[0102] Optionally, if the first electronic device displays the Wi-Fi identification in the successfully parsed Wi-Fi information, the user can trigger the first electronic device to send the Wi-Fi connection request to the first address corresponding to the Wi-Fi identification through the input of one of the Wi-Fi identifications.
[0103] Step 106, the target Wi-Fi access point sends Wi-Fi connection information to the first electronic device through the first address.
[0104] Optionally, the Wi-Fi connection information can be used to indicate the connection result between the first electronic device and the target Wi-Fi access point. Optionally, the access result can include: connection success or connection failure.
[0105] In the embodiment of the application, after the target Wi-Fi access point receives the target Wi-Fi connection request, the target Wi-Fi access point can be connected with the first electronic device. Then, based on the connection result, the target Wi-Fi access point sends the Wi-Fi connection response information to the first electronic device.
[0106] In the embodiments of the present application, after the target Wi-Fi access point sends the Wi-Fi connection information to the first electronic device, the first electronic device can receive the Wi-Fi connection information.
[0107] It can be understood that in the point-to-point unicast detection mode, the second address is the same as the first address.
[0108] Optionally, in the case where the Wi-Fi connection information indicates that the first electronic device is successfully connected to the target Wi-Fi access point, the first electronic device and the target Wi-Fi access point can perform data transmission through the target capability set. The target capability set includes the common supported capabilities of the target Wi-Fi access point and the first electronic device.
[0109] In this way, when the first electronic device successfully accesses the target Wi-Fi network, since the target Wi-Fi access point can perform data transmission with the first electronic device based on the common supported capabilities of the target Wi-Fi access point and the first electronic device, the reliability of data transmission between the target Wi-Fi access point and the first electronic device can be improved, and data transmission failure can be avoided.
[0110] The Wi-Fi network access method provided in the embodiments of the present application can be executed by a Wi-Fi network access device. In the embodiments of the present application, the Wi-Fi network access device executing the Wi-Fi network access method is taken as an example to illustrate the Wi-Fi network access device provided in the embodiments of the present application.
[0111] The embodiments of the present application also provide a Wi-Fi network access device, Figure 7 The structure schematic diagram of the Wi-Fi network access device provided in the embodiments of the present application is shown in FIG. 7. As shown in FIG. 7, the Wi-Fi network access device 70 provided in the embodiments of the present application can include a sending module 71. Figure 7
[0112] The sending module 71 can be used to send M Wi-Fi information in the case where the target condition is met. Each Wi-Fi information can be used to indicate one Wi-Fi type supported by the target Wi-Fi access point, and M is an integer greater than or equal to 2.
[0113] In the case where the M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by the first electronic device, the first electronic device is connected to the target Wi-Fi access point, and the first electronic device is an electronic device that receives the M Wi-Fi information.
[0114] Meeting the target conditions may include any of the following: meeting the target broadcast time of the target Wi-Fi access point, or the target Wi-Fi access point receiving a target Wi-Fi probe request from the first electronic device.
[0115] In one possible implementation, the M Wi-Fi types mentioned above correspond one-to-one with the M addresses of the target Wi-Fi access point;
[0116] The sending module 71 can be used to send M Wi-Fi information through the above M addresses.
[0117] In one possible implementation, the aforementioned M addresses are the M Media Access Control (MAC) layer MAC addresses of the target Wi-Fi access point.
[0118] In one possible implementation, the Wi-Fi information can also be used to indicate an address of the target Wi-Fi access point, with each address corresponding to a Wi-Fi type. The aforementioned Wi-Fi network access device may also include a receiving module.
[0119] The receiving module can be used to receive a target Wi-Fi connection request after the sending module 71 sends M Wi-Fi information. The target Wi-Fi connection request is a connection request sent by the first electronic device to a first address, where the first address is the address indicated by one of the M Wi-Fi information.
[0120] The sending module 71 can also be used to send Wi-Fi connection information to the first electronic device via the first address;
[0121] The Wi-Fi connection information can be used to indicate the connection result between the first electronic device and the target Wi-Fi access point.
[0122] Thus, when the target conditions are met, since the Wi-Fi network access device can send Wi-Fi information indicating the M Wi-Fi types supported by the target Wi-Fi access point (i.e., M Wi-Fi information items), it can be ensured that electronic devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information items. This allows electronic devices supporting different Wi-Fi types to scan for the target Wi-Fi access point and successfully connect to it, thereby accessing the Wi-Fi network through the target Wi-Fi access point. This improves the success rate of accessing the Wi-Fi network.
[0123] The Wi-Fi network access device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.
[0124] The Wi-Fi network access device provided in this application embodiment can achieve... Figures 1 to 6 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.
[0125] Optionally, such as Figure 8 As shown, this application embodiment also provides a communication device, including a processor 901 and a memory 902. The memory 902 stores a program or instructions that can run on the processor 901. When the program or instructions are executed by the processor 901, they implement the various steps executed by the target Wi-Fi access point in the above-described Wi-Fi network access method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0126] It should be noted that the communication device provided in this application embodiment can be an electronic device or a network-side device with Wi-Fi access function.
[0127] The following uses communication equipment as an example to illustrate the structure of communication equipment. Figure 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0128] The electronic device 1000 includes, but is not limited to, components such as: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
[0129] Those skilled in the art will understand that the electronic device 1000 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1010 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 9 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0130] The radio frequency unit 1001 can be used to send M Wi-Fi information messages when the target conditions are met. Each Wi-Fi information message can be used to indicate a Wi-Fi type supported by the target Wi-Fi access point, where M is an integer greater than or equal to 2.
[0131] In a possible implementation, the M Wi-Fi types correspond to M addresses of the target Wi-Fi access point one by one.
[0132] The target condition can include any of the following: the target Wi-Fi access point meets a target broadcast time, or the target Wi-Fi access point receives a target Wi-Fi probe request from the first electronic device.
[0133] In a possible implementation, the M Wi-Fi types correspond to M addresses of the target Wi-Fi access point one by one.
[0134] The radio frequency unit 1001 can be specifically configured to send the M Wi-Fi information through the M addresses.
[0135] In a possible implementation, the M addresses are M media access control (MAC) layer addresses of the target Wi-Fi access point.
[0136] In a possible implementation, each Wi-Fi information can also be used to indicate an address of the target Wi-Fi access point, and one address corresponds to one Wi-Fi type.
[0137] The radio frequency unit 1001 can be configured to receive a target Wi-Fi connection request after the radio frequency unit 1001 sends the M Wi-Fi information, the target Wi-Fi connection request being a connection request sent by the first electronic device to a first address, and the first address being an address indicated by one of the M Wi-Fi information.
[0138] The radio frequency unit 1001 can also be configured to send Wi-Fi connection information to the first electronic device through the first address.
[0139] The Wi-Fi connection information can be used to indicate a connection result between the first electronic device and the target Wi-Fi access point.
[0140] Thus, when the target condition is met, since the Wi-Fi network access device can send the Wi-Fi information indicating the M Wi-Fi types supported by the target Wi-Fi access point, i.e., the M Wi-Fi information, it can be ensured that the electronic devices supporting different Wi-Fi types can all successfully parse at least one of the M Wi-Fi information, so that the electronic devices supporting different Wi-Fi types can all scan the target Wi-Fi access point, thereby successfully connecting with the target Wi-Fi access point, and further accessing the Wi-Fi network through the target Wi-Fi access point. In this way, the success rate of accessing the Wi-Fi network can be improved.
[0141] Thus, when the target condition is met, since the electronic device can send the Wi-Fi information indicating the M Wi-Fi types supported by the target Wi-Fi access point, i.e., the M Wi-Fi information, it can be ensured that the Wi-Fi devices supporting different Wi-Fi types can all successfully parse at least one of the M Wi-Fi information, so that the Wi-Fi devices supporting different Wi-Fi types can all scan the target Wi-Fi access point, thereby successfully connecting with the target Wi-Fi access point, and further accessing the Wi-Fi network through the target Wi-Fi access point. In this way, the success rate of accessing the Wi-Fi network can be improved.
[0142] It should be understood that in the embodiments of the present application, the input unit 1004 can include a graphics processor (GPU) 10041 and a microphone 10042. The graphics processor 10041 processes image data of a still picture or a video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 can include a display panel 10061, which can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 can include two parts of a touch detection device and a touch controller. The other input devices 10072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on-off keys, etc.), trackballs, mice, joysticks, and the like, which will not be described here.
[0143] The memory 1009 can be used to store software programs and various data. The memory 1009 can mainly include a first storage area storing programs or instructions, and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory 1009 can include a volatile memory or a non-volatile memory, or the memory 1009 can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synch link DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable type of memory.
[0144] The processor 1010 can include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and an application program, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 1010.
[0145] The structure of the communication device will be described exemplarily below taking the communication device as an example of a network side device. As shown in FIG. 1, the communication device can include a processor 1010, a memory 1009, a power supply 1011, a bus 1012, a communication interface 1013, an input device 1014, and an output device 1015. Figure 10As shown, the network-side device 1100 includes an antenna 111, a radio frequency device 112, a baseband device 113, a processor 114, and a memory 115. The antenna 111 is connected to the radio frequency device 112. In the uplink direction, the radio frequency device 112 receives information through the antenna 111 and sends the received information to the baseband device 113 for processing. In the downlink direction, the baseband device 113 processes information to be sent and sends the processed information to the radio frequency device 112, which processes the received information and sends it out through the antenna 111.
[0146] The method performed by the target Wi-Fi access point in the above embodiments can be implemented in the baseband device 113, which includes a baseband processor.
[0147] The baseband device 113 may, for example, include at least one baseband board on which a plurality of chips are disposed, one of which is a baseband processor, for example, connected to the memory 115 through a bus interface to call programs in the memory 115 and perform the operations of the target Wi-Fi access point shown in the above method embodiments.
[0148] The network-side device can also include a network interface 116, which is a common public radio interface (CPRI), for example.
[0149] Specifically, the network-side device 1100 of the embodiments of the present application further includes instructions or programs stored on the memory 115 and executable on the processor 114, and the processor 114 calls the instructions or programs in the memory 115 to perform the methods performed by the modules shown above and achieve the same technical effects. To avoid repetition, this will not be described here. Figure 7 The modules shown perform the methods and achieve the same technical effects. To avoid repetition, this will not be described here.
[0150] The embodiments of the present application also provide a readable storage medium having programs or instructions stored thereon, which are executed by a processor to implement the various processes of the above Wi-Fi network access method embodiments and achieve the same technical effects. To avoid repetition, this will not be described here.
[0151] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes a computer readable storage medium, such as a computer readable memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0152] The embodiment of the present application further provides a chip, which comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, realizes various processes of the Wi-Wi network access method embodiment, and can achieve the same technical effects. To avoid repetition, details are not described herein.
[0153] It should be understood that the chip mentioned in the embodiment of the present application can also be referred to as a system chip, a system chip, a chip system or a system on chip, etc.
[0154] The embodiment of the present application provides a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to realize various processes of the Wi-Wi network access method embodiment and achieve the same technical effects. To avoid repetition, details are not described herein.
[0155] It should be noted that in this paper, the term "including", "containing" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to the order of functions shown or discussed, but can also include the execution of functions in a substantially simultaneous manner or in a reverse order according to the functions involved, for example, the described method can be executed in a different order from the described order, and various steps can also be added, omitted or combined. In addition, the features described with reference to some examples can be combined in other examples.
[0156] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a plurality of instructions for making a terminal (which can be a mobile phone, computer, server or network equipment, etc.) execute the method described in various embodiments of the present application.
[0157] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative, but not restrictive, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the purpose of the present application and the scope protected by the claims.
Claims
1. A Wi-Fi network access method, characterized by, The method comprises: The target Wi-Fi access point sends M Wi-Fi information under a target condition, each of the Wi-Fi information indicating one Wi-Fi type supported by the target Wi-Fi access point, M being an integer greater than or equal to 2; Wherein, in a case that the M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by a first electronic device, the first electronic device is connected to the target Wi-Fi access point, the first electronic device being an electronic device receiving the M Wi-Fi information; The target condition comprises any one of the following: a target broadcast time of the target Wi-Fi access point is met, the target Wi-Fi access point receives a target Wi-Fi probe request from the first electronic device; The M Wi-Fi types correspond to M addresses of the target Wi-Fi access point one by one; The target Wi-Fi access point sends M Wi-Fi information under a target condition, comprising: The target Wi-Fi access point simultaneously sends the M Wi-Fi information through the M addresses under the target condition.
2. The method of claim 1, wherein, The M addresses are M media access control (MAC) layer MAC addresses of the target Wi-Fi access point.
3. The method according to claim 1 or 2, characterized in that, Each of the Wi-Fi information is further used to indicate one address of the target Wi-Fi access point, the one address corresponding to the one Wi-Fi type; After the M Wi-Fi information is sent, the method further comprises: The target Wi-Fi access point receives a target Wi-Fi connection request, the target Wi-Fi connection request being a connection request sent by the first electronic device to a first address, the first address being an address indicated by one of the M Wi-Fi information; The target Wi-Fi access point sends Wi-Fi connection information to the first electronic device through the first address; Wherein, the Wi-Fi connection information is used to indicate a connection result between the first electronic device and the target Wi-Fi access point.
4. A Wi-Fi network access device, characterized in that, The apparatus comprises a sending module; The sending module is used to simultaneously send M Wi-Fi information under a target condition, each of the Wi-Fi information indicating one Wi-Fi type supported by a target Wi-Fi access point, M being an integer greater than or equal to 2; Wherein, in a case that the M Wi-Fi types indicated by the M Wi-Fi information include a Wi-Fi type supported by a first electronic device, the first electronic device is connected to the target Wi-Fi access point, the first electronic device being an electronic device receiving the M Wi-Fi information; The target condition comprises any one of the following: a target broadcast time of the target Wi-Fi access point is met, the target Wi-Fi access point receives a target Wi-Fi probe request from the first electronic device; The M Wi-Fi types correspond to M addresses of the target Wi-Fi access point one by one. The sending module is specifically configured to send M Wi-Fi information through the M addresses simultaneously.
5. The apparatus of claim 4, wherein, The M addresses are M media access control (MAC) layer MAC addresses of the target Wi-Fi access point.
6. The apparatus of claim 4 or 5, wherein, Each of the Wi-Fi information is further configured to indicate one address of the target Wi-Fi access point, and the one address corresponds to the one Wi-Fi type. The apparatus further includes a receiving module. The receiving module is configured to receive a target Wi-Fi connection request after the sending module sends the M Wi-Fi information, the target Wi-Fi connection request is a connection request sent by the first electronic device to a first address, and the first address is an address indicated by one of the M Wi-Fi information. The sending module is further configured to send Wi-Fi connection information to the first electronic device through the first address. The Wi-Fi connection information is configured to indicate a connection result between the first electronic device and the target Wi-Fi access point.
7. A communication device, characterized by The apparatus includes a processor and a memory, the memory stores programs or instructions executable on the processor, and the programs or instructions are executed by the processor to implement the steps of the Wi-Fi network access method in any one of claims 1 to 3.
8. A readable storage medium, characterized by, The readable storage medium stores programs or instructions, and the programs or instructions are executed by the processor to implement the steps of the Wi-Fi network access method in any one of claims 1 to 3.
Citation Information
Patent Citations
Method and device for accessing wireless terminal in Wi-Fi6 scene
CN111867004A
Backwards compatibility using selective probe-response suppression
US20210068038A1