WO2024104107A1 - Wi-Fi网络接入方法、装置、通信设备及可读存储介质 - Google Patents

Wi-Fi网络接入方法、装置、通信设备及可读存储介质 Download PDF

Info

Publication number
WO2024104107A1
WO2024104107A1 PCT/CN2023/127752 CN2023127752W WO2024104107A1 WO 2024104107 A1 WO2024104107 A1 WO 2024104107A1 CN 2023127752 W CN2023127752 W CN 2023127752W WO 2024104107 A1 WO2024104107 A1 WO 2024104107A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
access point
information
electronic device
address
Prior art date
Application number
PCT/CN2023/127752
Other languages
English (en)
French (fr)
Inventor
王鼎
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024104107A1 publication Critical patent/WO2024104107A1/zh

Links

Classifications

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

Definitions

  • the present application belongs to the field of communication technology, and specifically relates to a Wi-Fi network access method, apparatus, communication equipment and readable storage medium.
  • WLAN Wireless Local Area Networks
  • Wi-Fi 6 protocol the Wi-Fi 6 protocol
  • the purpose of the embodiments of the present application is to provide a Wi-Fi network access method, apparatus, communication device, and readable storage medium, which can solve the problem of low success rate of electronic devices accessing Wi-Fi networks.
  • an embodiment of the present application provides a Wi-Fi network access method, the method comprising: a target Wi-Fi access point sends M Wi-Fi information when a target condition is met, each Wi-Fi information is 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; wherein, when 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 that receives the M Wi-Fi information; satisfying the target condition includes any one of the following: reaching a target broadcast time of the target Wi-Fi access point, and the target Wi-Fi access point receives a target Wi-Fi detection request from the first electronic device.
  • an embodiment of the present application provides a Wi-Fi network access device, which may include a sending module; the sending module is used to send M Wi-Fi information when a target condition is met, 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, when 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 that receives the M Wi-Fi information; satisfying the target condition includes any one of the following: satisfying the target The target broadcast time of the Wi-Fi access point and the target Wi-Fi access point receive the target Wi-Fi detection request from the first electronic device.
  • an embodiment of the present application provides a communication device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
  • an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
  • an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.
  • the target Wi-Fi access point sends M Wi-Fi information when the target condition is met, each Wi-Fi information is 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; wherein, when the M Wi-Fi types indicated by the M Wi-Fi information include the 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; satisfying the target condition includes any one of the following: reaching the target broadcast time of the target Wi-Fi access point, and the target Wi-Fi access point receiving the target Wi-Fi detection request from the first electronic device.
  • the target Wi-Fi access point can send Wi-Fi information indicating M Wi-Fi types supported by the target Wi-Fi access point, that is, M Wi-Fi information, it can be ensured that electronic devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information, so that electronic devices supporting different Wi-Fi types can scan the target Wi-Fi access point, thereby successfully connecting to 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.
  • FIG1 is a schematic diagram of a flow chart of a Wi-Fi network access method according to an embodiment of the present application
  • FIG. 2 is a schematic diagram of an embodiment of an application of a Wi-Fi network access method provided in an embodiment of the present application
  • FIG3 is a second flow chart of a Wi-Fi network access method provided in an embodiment of the present application.
  • FIG4 is a second schematic diagram of an application example of the Wi-Fi network access method provided in an embodiment of the present application.
  • FIG5 is a third schematic diagram of an application example of the Wi-Fi network access method provided in an embodiment of the present application.
  • FIG6 is a fourth schematic diagram of an application example of the Wi-Fi network access method provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of the structure of a Wi-Fi network access device provided in an embodiment of the present application.
  • FIG8 is a schematic diagram of the structure of a communication device provided in an embodiment of the present application.
  • FIG9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • FIG. 10 is a schematic diagram of the structure of a network side device provided in an embodiment of the present application.
  • first, second, etc. in the specification and claims of this 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 interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first”, “second”, etc. are generally of one type, and the number of objects is not limited.
  • the first object can be one or more.
  • “and/or” in the specification and claims represents at least one of the connected objects, and the character “/" generally indicates that the objects associated with each other are in an "or” relationship.
  • WLAN technology continues to develop rapidly, from supporting 5.5Mbps and 11Mbps complementary code keying (CCK) coding to supporting a single spatial stream with a maximum rate of 1.2Gbps Orthogonal Frequency-Division Multiple Access (OFDMA) technology.
  • the data transmission mode has also experienced: single input single output (SISO) - multiple input multiple output (MIMO) - multi-user MIMO.
  • SISO single input single output
  • MIMO multiple input multiple output
  • the encryption method has 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.
  • WLAN devices According to statistics from the Wi-Fi Alliance, more than 18 billion WLAN devices will be put into use and 4.4 billion devices will be shipped in 2022.
  • the rapid development of WLAN technology and the huge base of WLAN devices have also brought some compatibility issues. For example, wireless terminals from many years ago (such as car computers) and many traditional electrical appliances that do not require high Wi-Fi performance (such as film cutters and printers). These devices cannot recognize the new Wi-Fi protocol, which may cause network connection failure and have a greater impact on user use.
  • Wi-Fi connection process is completed through the exchange of Wi-Fi frames between the two connected parties.
  • These Wi-Fi messages are traditional protocol messages and are sent at classic Wi-Fi rates. This method ensures that electronic devices can exchange frames with Wi-Fi6 hotspots (access points) under different Wi-Fi types.
  • Wi-Fi 6 hotspot For example, take the connection between a Wi-Fi 6 hotspot and a non-Wi-Fi 6 device as an example.
  • the traditional protocol is used (5G uses 802.11a, 2.4G uses 802.11b), so there is no physical layer compatibility issue in the connection process between non-Wi-Fi 6 devices and Wi-Fi 6 hotspots.
  • Wi-Fi 6 hotspots there may still be compatibility issues between Wi-Fi 6 hotspots and non-Wi-Fi 6 devices at the Medium Access Control (MAC) layer.
  • the length and format of non-Wi-Fi 6 beacon frames are very different.
  • the beacon of Wi-Fi 6 hotspots carries more information. This may cause the MAC layer of non-Wi-Fi 6 devices to be unable to parse the beacon frame normally, which in turn causes the non-Wi-Fi 6 device to fail to connect to the Wi-Fi 6 hotspot.
  • the Wi-Fi network access method provided in the embodiment of the present application is intended to solve the MAC layer compatibility problem that may occur in the Wi-Fi connection stage of electronic devices under different Wi-Fi types. Specifically:
  • the Wi-Fi access point can broadcast beacon frames indicating multiple different Wi-Fi types (i.e., Wi-Fi information), so that electronic devices supporting different Wi-Fi types can successfully parse the beacon frames indicating the corresponding Wi-Fi types, and connect to the Wi-Fi access point based on the result information obtained from the parsing. This ensures that electronic devices with lower Wi-Fi types can also connect to Wi-Fi access points with higher Wi-Fi types. This can improve the access success rate.
  • Wi-Fi information i.e., Wi-Fi information
  • the Wi-Fi access point after receiving a Wi-Fi detection request sent in a broadcast form, the Wi-Fi access point can broadcast beacon frames indicating multiple different Wi-Fi types (i.e., Wi-Fi information), so that electronic devices that support different Wi-Fi types can successfully parse the detection response (i.e., Wi-Fi information) of the corresponding Wi-Fi type, and connect to the Wi-Fi access point based on the result information obtained by the analysis.
  • Wi-Fi information i.e., Wi-Fi information
  • the Wi-Fi access point after receiving a Wi-Fi detection request sent in unicast form, the Wi-Fi access point can feedback a detection response corresponding to the Wi-Fi type indicated by the Wi-Fi detection request, so that the electronic device that sent the Wi-Fi detection request can successfully parse the detection response and connect to the Wi-Fi access point based on the result information obtained by the analysis. This ensures that electronic devices with lower Wi-Fi types can also connect to Wi-Fi access points with higher Wi-Fi types. This can improve the access success rate.
  • Wi-Fi5 and Wi-Fi6 are different Wi-Fi types.
  • the Wi-Fi network access method provided in the embodiment of the present application only increases the beacon and detection response overhead of the Wi-Fi access point compared to the related technology, and therefore will not reduce the transmission performance of Wi-Fi6 devices that support higher Wi-Fi types.
  • This application does not require more hardware resources; provided that the number of connected electronic devices remains unchanged, the theoretical performance of Wi-Fi can be on par with a hotspot with only a single Wi-Fi 6 soft access point (softAP).
  • FIG1 shows a schematic flow chart of the Wi-Fi network access method provided by the embodiment of the present application.
  • the Wi-Fi network access method provided by the embodiment of the present application may include the following steps 101 and 102.
  • Step 101 When a target Wi-Fi access point meets a target condition, the target Wi-Fi access point sends M Wi-Fi information.
  • Step 102 The first electronic device receives M pieces of Wi-Fi information.
  • Each piece of the M Wi-Fi information may 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.
  • the M Wi-Fi types indicated by the M Wi-Fi information include the first electronic device In the case of a supported Wi-Fi type, the first electronic device is connected to the target Wi-Fi access point, and the first electronic device is an electronic device that receives M Wi-Fi information.
  • satisfying the target condition may include any of the following: in one possible implementation, satisfying the target broadcast time of the target Wi-Fi access point; in another possible implementation, the target Wi-Fi access point receives a target Wi-Fi detection request from the first electronic device.
  • the target Wi-Fi access point can support M Wi-Fi types.
  • the Wi-Fi 6 access point can support Wi-Fi 5 type, Wi-Fi 6 type, etc.
  • the M Wi-Fi types may be at least some of the Wi-Fi types supported by the target Wi-Fi 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 may include: Wi-Fi 5 type and Wi-Fi 6 type.
  • the determination of the M Wi-Fi types is specifically determined based on the market share of each Wi-Fi type. 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.
  • 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.
  • 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, and a protocol corresponding to the Wi-Fi type.
  • each piece of Wi-Fi information may include a capability set corresponding to the Wi-Fi type indicated by it.
  • each Wi-Fi information also 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, encryption method corresponding to the Wi-Fi type, Wi-Fi identification of the target Wi-Fi access point, etc.
  • the first electronic device is within the range of the target Wi-Fi access point, specifically, an electronic device within 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, such as the target Wi-Fi access point is a Wi-Fi 6 access point, and the first electronic device is a Wi-Fi 5 device.
  • the M pieces of Wi-Fi information may specifically be M beacon frames, and each beacon frame corresponds to a Wi-Fi type.
  • the first electronic device after the first electronic device receives M Wi-Fi information, it can first parse each Wi-Fi information. And for one of the Wi-Fi information among the M Wi-Fi information, if the first electronic device successfully parses the Wi-Fi information, it means that the first electronic device has searched for 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 WiFi network with the Wi-Fi type indicated by the Wi-Fi information through the target Wi-Fi access point. If the first electronic device cannot successfully parse 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.
  • the first electronic device can successfully parse one or more of the M Wi-Fi information If the first electronic device displays the Wi-Fi information of the target Wi-Fi access point, 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 one or more Wi-Fi information, and the user can trigger the first electronic device to initiate a connection request to the Wi-Fi network of the target Wi-Fi access point under the corresponding Wi-Fi type by inputting one of the names in these Wi-Fi identifiers as needed.
  • the Wi-Fi identifier such as the Wi-Fi name
  • 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, that is, including a Wi-Fi module, such as a mobile phone, a tablet computer, etc.
  • the target Wi-Fi access point can send Wi-Fi information indicating M Wi-Fi types supported by the target Wi-Fi access point, that is, M Wi-Fi information, it can be ensured that electronic devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information, so that electronic devices supporting different Wi-Fi types can discover the target Wi-Fi access point, thereby successfully connecting to 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.
  • the M Wi-Fi types correspond one-to-one to the M addresses of the target Wi-Fi access points, and the above step 101 can be specifically implemented through the following step 101a.
  • Step 101a When the target Wi-Fi access point meets the target conditions, the target Wi-Fi access point sends M Wi-Fi information through M addresses.
  • the M addresses may be M MAC addresses of the target Wi-Fi access point. It can be understood that each MAC address corresponds to a MAC layer of the target Wi-Fi access point.
  • the target Wi-Fi access point may include M MAC layers, each MAC layer corresponds to a Wi-Fi type, and each MAC layer has a MAC address.
  • M MAC layers M MAC layers
  • each MAC layer corresponds to a Wi-Fi type
  • each MAC layer has a MAC address.
  • the target Wi-Fi access point may periodically perform hotspot broadcasting, that is, the target Wi-Fi access point may send M Wi-Fi information in a broadcasting manner.
  • a possible implementation may also be called a hotspot broadcasting manner, in which an electronic device (such as the first electronic device) within the range of the target Wi-Fi access point may perform Wi-Fi access point detection by passive scanning.
  • step 101a can be specifically implemented through the following step 101a1.
  • Step 101a1 When the target broadcast time of the target Wi-Fi access point is reached, the target Wi-Fi access point sends M Wi-Fi information through M addresses.
  • the target Wi-Fi access point after the target Wi-Fi access point sends M Wi-Fi information, all electronic devices within the range of the target Wi-Fi access point can receive the M Wi-Fi information.
  • a Wi-Fi access point can broadcast a beacon frame so that an electronic device can scan the Wi-Fi access point during passive scanning.
  • the beacon frame broadcast by a Wi-Fi5 access point indicates the Wi-Fi5 type
  • the beacon frame broadcast by a Wi-Fi6 access point indicates the Wi-Fi6 type.
  • the MAC layer of the electronic device may not be able to successfully parse the beacon frame broadcast by the Wi-Fi6 access point, which in turn causes the Wi-Fi connection to fail.
  • the target Wi-Fi access point is a Wi-Fi6 access point as an example.
  • the Wi-Fi6 access point can send out two broadcasts at the same time when the time to send a beacon frame (i.e., the target broadcast time) is reached.
  • a Wi-Fi 6 access point may broadcast beacon frame 1 with MAC address 1, where beacon frame 1 indicates the Wi-Fi 6 type, and further, beacon frame 1 may include a capability set that supports Wi-Fi 6; and broadcast beacon frame 2 with MAC address 2, where beacon frame 2 indicates the Wi-Fi 5 type, and further, beacon frame 2 may include a capability set that indicates Wi-Fi 5.
  • beacon frame 1 indicates the Wi-Fi 6 type
  • beacon frame 2 indicates the Wi-Fi 5 type
  • beacon frame 2 may include a capability set that indicates Wi-Fi 5.
  • the target Wi-Fi access point when the target Wi-Fi access point receives the 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, another possible implementation may also be referred to as an active detection Wi-Fi access point method.
  • the first electronic device can inform the target Wi-Fi access point of the capability set it supports 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., one Wi-Fi information) to inform the electronic device that the corresponding Wi-Fi detection request has been received, and each Wi-Fi detection response frame indicates a Wi-Fi type supported by the target Wi-Fi access point.
  • the target Wi-Fi access point can return at least one Wi-Fi detection response (i.e., one Wi-Fi information) to inform the electronic device that the corresponding Wi-Fi detection request has been received, and each Wi-Fi detection response frame indicates a Wi-Fi type supported by the target Wi-Fi access point.
  • the first electronic device may have two different ways to detect Wi-Fi access points (broadcast detection and point-to-point unicast detection).
  • the Wi-Fi network access method provided in the embodiment of the present application may further include the following steps 103 and 104.
  • the above step 101 may be specifically performed by the following steps: 101b implementation.
  • Step 103 The first electronic device broadcasts a target Wi-Fi detection request.
  • Step 104 The target Wi-Fi access point receives the target Wi-Fi detection request.
  • the target detection request is used to request detection of a Wi-Fi access point.
  • the target detection request may include a capability set corresponding to the Wi-Fi type supported by the first electronic device.
  • the target detection request also includes at least one of the following: address information of the first electronic device (such as address information of the MAC layer of the first electronic device), identification information of the first electronic device, encryption method supported by the first electronic device, etc.
  • Step 101b The target Wi-Fi access point sends M Wi-Fi information to the first electronic device via M addresses.
  • the first electronic device can receive the M Wi-Fi information. That is, the target Wi-Fi access point can send M Wi-Fi information exclusively to the first electronic device.
  • step 101b For other descriptions of step 101b, refer to the relevant descriptions in the above embodiments.
  • the Wi-Fi network access method provided in the embodiment of the present application is exemplarily described below with reference to specific examples.
  • the target Wi-Fi access point is a Wi-Fi 6 access point
  • the first electronic device sends a Wi-Fi detection request by broadcasting
  • the target Wi-Fi access point supports Wi-Fi 6 type and Wi-Fi 5 type
  • the MAC address of the target Wi-Fi access point corresponding to the Wi-Fi 6 type is MAC1
  • the MAC address of the target Wi-Fi access point corresponding to the Wi-Fi 5 type is MAC2
  • a detection response 1 can be sent to the first electronic device through MAC1, and the detection response 1 carries a capability set that supports the Wi-Fi 6 type.
  • a detection response 2 is sent to the first electronic device through MAC2, and the detection response 2 carries a capability set that does not support the Wi-Fi 6 type. If the first electronic device cannot parse the detection response 1, it can scan the Wi-Fi 6 access point by receiving and successfully parsing the detection response 2. In this way, regardless of whether the first electronic device supports Wi-Fi 6, the first electronic device can successfully discover the Wi-Fi 6 access point, thereby increasing the probability of the first electronic device successfully accessing the Wi-Fi network.
  • the target Wi-Fi access point when the target Wi-Fi access point receives the Wi-Fi detection request sent by the first electronic device in a broadcast form, the target Wi-Fi access point can reply M Wi-Fi information to the first electronic device, and different Wi-Fi information indicates different Wi-Fi types supported by the target Wi-Fi access point. Therefore, compared with the solution of replying only one detection response in the related art, the Wi-Fi network access method provided in the embodiment of the present application can increase the probability that the first electronic device successfully detects the Wi-Fi access point, thereby increasing the probability that the first electronic device successfully accesses the Wi-Fi network.
  • the first electronic device may send the target Wi-Fi detection request in a unicast manner, that is, send the target Wi-Fi detection request to a specific address.
  • the first electronic device may send a signal to a specific address (such as the first address) among the M addresses of the target Wi-Fi access point.
  • the target Wi-Fi detection request is sent to the first electronic device through the second address. It can be understood that if the target Wi-Fi access point receives the target Wi-Fi detection request through the second address, it means that the first electronic device supports the Wi-Fi type corresponding to the second address. Therefore, after receiving the target Wi-Fi detection 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 Wi-Fi type indicated by the target Wi-Fi information corresponds to the second address.
  • the target Wi-Fi access point can specifically receive the target Wi-Fi detection request through the second address.
  • the target Wi-Fi detection request may include address information indicating the first address.
  • the Wi-Fi network access method provided in the embodiment of the present application is exemplarily described below with reference to specific examples.
  • the first electronic device directly detects the surrounding Wi-Fi access points in a point-to-point unicast manner. Assuming that the target Wi-Fi access point is a Wi-Fi 6 access point, the MAC address of the target Wi-Fi access point corresponding to Wi-Fi 6 is MAC1, and the MAC address of the target Wi-Fi access point corresponding to a non-Wi-Fi 6 type (such as a Wi-Fi 5 type) is MAC2; then:
  • the target Wi-Fi access point receives the target Wi-Fi detection request through MAC1, and sends a detection response 1 (i.e., target Wi-Fi information) to the first electronic device through MAC1, and the detection response 1 indicates the Wi-Fi6 type, and the detection response 1 carries a capability set corresponding to the target Wi-Fi access point and the Wi-Fi6 type.
  • a detection response 1 i.e., target Wi-Fi information
  • the target Wi-Fi access point receives the target Wi-Fi detection request through MAC2, and sends a detection response 2 (i.e., target Wi-Fi information) to the first electronic device through MAC2, and the detection response 2 indicates the Wi-Fi5 type, and the detection response 2 carries a capability set corresponding to the target Wi-Fi access point and the Wi-Fi5 type.
  • the first electronic device can successfully scan the Wi-Fi6 access point, thereby increasing the probability of the first electronic device successfully accessing the Wi-Fi network.
  • each of the M Wi-Fi information can also be used to indicate an address of the target Wi-Fi access point, which corresponds to a Wi-Fi type corresponding to each Wi-Fi information.
  • the Wi-Fi network access method provided in the embodiment of the present application can also include the following steps 105 and 106.
  • Step 105 The target Wi-Fi access point receives the target Wi-Fi connection request.
  • 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 Wi-Fi information among the M Wi-Fi information.
  • the first address is an address indicated by Wi-Fi information that is successfully parsed by the first electronic device.
  • the user may trigger the first electronic device to send a Wi-Fi connection request to the first address corresponding to the Wi-Fi identifier by inputting one of the Wi-Fi identifiers.
  • Step 106 The target Wi-Fi access point sends Wi-Fi connection information to the first electronic device via the first address.
  • the Wi-Fi connection information may be used to indicate a connection result between the first electronic device and the target Wi-Fi access point.
  • the access result may include: connection success or connection failure.
  • the target Wi-Fi access point after receiving the target Wi-Fi connection request, can connect to the first electronic device, and then send Wi-Fi connection response information to the first electronic device based on the connection result.
  • the first electronic device may receive the Wi-Fi connection information.
  • the second address is the same as the first address.
  • the first electronic device and the target Wi-Fi access point may perform data transmission via a target capability set, wherein the target capability set includes capabilities commonly supported by the target Wi-Fi access point and the first electronic device.
  • the target Wi-Fi access point can implement data transmission with the first electronic device based on the capabilities jointly supported by 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, thereby avoiding data transmission failure.
  • the Wi-Fi network access method provided in the embodiment of the present application can be executed by a Wi-Fi network access device.
  • 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 embodiment of the present application.
  • the embodiment of the present application further provides a Wi-Fi network access device.
  • FIG7 shows a schematic diagram of the structure of the Wi-Fi network access device provided by the embodiment of the present application.
  • the Wi-Fi network access device 70 provided by the embodiment of the present application may include: a sending module 71.
  • the sending module 71 may be used to send M Wi-Fi information when the target condition is met, each Wi-Fi information may 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;
  • the M Wi-Fi types indicated by the M Wi-Fi information may 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
  • Meeting the target condition may include any one of the following: meeting the target broadcast time of the target Wi-Fi access point, and the target Wi-Fi access point receiving the target Wi-Fi detection request from the first electronic device.
  • the M Wi-Fi types correspond one-to-one to the M addresses of the target Wi-Fi access points;
  • the sending module 71 may be specifically configured to send M Wi-Fi information via the M addresses.
  • the M addresses are M medium access control MAC layer MAC addresses of the target Wi-Fi access point.
  • each Wi-Fi information may also be used to indicate a target Wi-Fi access point. Address, one address corresponds to one Wi-Fi type.
  • the above-mentioned Wi-Fi network access device may also include a receiving module.
  • the receiving module may be configured to receive a target Wi-Fi connection request after the sending module 71 sends the M Wi-Fi information, where the target Wi-Fi connection request is a connection request sent by the first electronic device to the first address, where the first address is an address indicated by one of the Wi-Fi information in the M Wi-Fi information;
  • the sending module 71 may also be used to send Wi-Fi connection information to the first electronic device via the first address;
  • the Wi-Fi connection information may be used to indicate a connection result between the first electronic device and the target Wi-Fi access point.
  • the Wi-Fi network access device can send Wi-Fi information indicating M Wi-Fi types supported by the target Wi-Fi access point, that is, M Wi-Fi information, it can be ensured that electronic devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information, so that electronic devices supporting different Wi-Fi types can scan the target Wi-Fi access point, thereby successfully connecting to 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.
  • the Wi-Fi network access device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the Wi-Fi network access device provided in the embodiment of the present application can implement each process implemented by the method embodiments of Figures 1 to 6, and will not be described again here to avoid repetition.
  • an embodiment of the present application further provides a communication device, including a processor 901 and a memory 902, where the memory 902 stores a program or instruction that can be run on the processor 901, and when the program or instruction is executed by the processor 901, each step performed by the target Wi-Fi access point in the above-mentioned Wi-Fi network access method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here.
  • the communication device provided in the embodiment of the present application may be an electronic device or a network side device with a Wi-Fi access function.
  • FIG9 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power consumption.
  • a power supply such as a battery
  • the electronic device structure shown in FIG9 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown, or combine certain components, or arrange components differently, which will not be described in detail here.
  • the radio frequency unit 1001 may be used to send M Wi-Fi information when the target condition is met, each Wi-Fi information may 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;
  • the M Wi-Fi types indicated by the M Wi-Fi information may 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
  • Meeting the target condition may include any one of the following: meeting the target broadcast time of the target Wi-Fi access point, and the target Wi-Fi access point receiving the target Wi-Fi detection request from the first electronic device.
  • the M Wi-Fi types correspond one-to-one to the M addresses of the target Wi-Fi access points;
  • the radio frequency unit 1001 may be specifically configured to send M Wi-Fi information via the M addresses.
  • the M addresses are M medium access control MAC layer MAC addresses of the target Wi-Fi access point.
  • each piece of Wi-Fi information may also be used to indicate an address of the target Wi-Fi access point, where one address corresponds to one Wi-Fi type.
  • the radio frequency unit 1001 may be configured to receive a target Wi-Fi connection request after the radio frequency unit 1001 sends M Wi-Fi information, where the target Wi-Fi connection request is a connection request sent by a first electronic device to a first address, where the first address is an address indicated by one Wi-Fi information in the M Wi-Fi information;
  • the radio frequency unit 1001 may also be used to send Wi-Fi connection information to the first electronic device via the first address;
  • the Wi-Fi connection information may be used to indicate a connection result between the first electronic device and the target Wi-Fi access point.
  • the Wi-Fi network access device can send Wi-Fi information indicating M Wi-Fi types supported by the target Wi-Fi access point, that is, M Wi-Fi information, it can be ensured that electronic devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information, so that electronic devices supporting different Wi-Fi types can scan the target Wi-Fi access point, thereby successfully connecting to 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.
  • the electronic device can send Wi-Fi information indicating M Wi-Fi types supported by the target Wi-Fi access point, that is, M Wi-Fi information, it can be ensured that all Wi-Fi devices supporting different Wi-Fi types can successfully parse at least one of the M Wi-Fi information, so that all Wi-Fi devices supporting different Wi-Fi types can scan the target Wi-Fi access point, thereby successfully connecting to 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.
  • the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042.
  • the graphics processing unit 10041 is used for the video capture mode. Or image data of a static picture or video obtained by an image capture device (such as a camera) in an image capture mode is processed.
  • the display unit 1006 may include a display panel 10061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072.
  • the touch panel 1071 is also called a touch screen.
  • the touch panel 10071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
  • the memory 1009 can be used to store software programs and various data.
  • the memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 1010 may 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 application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
  • 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.
  • the radio frequency device 112 receives information through the antenna 111 and sends the received information to the baseband device 113 for processing.
  • the baseband device 113 processes the information to be sent and sends it to the radio frequency device 112.
  • the radio frequency device 112 processes the received information and sends it out through the antenna 111.
  • the method executed by the target Wi-Fi access point in the above embodiment may be implemented in the baseband device 113 , which includes a baseband processor.
  • the baseband device 113 may include, for example, at least one baseband board, on which a plurality of chips are arranged, as shown in FIG. As shown in FIG. 11 , one of the chips is, for example, a baseband processor, which is connected to the memory 115 through a bus interface to call the program in the memory 115 to execute the target Wi-Fi access point operation shown in the above method embodiment.
  • the network side device may also include a network interface 116, which is, for example, a common public radio interface (CPRI).
  • a network interface 116 which is, for example, a common public radio interface (CPRI).
  • CPRI common public radio interface
  • the network side device 1100 of the embodiment of the present invention also includes: instructions or programs stored in the memory 115 and executable on the processor 114.
  • the processor 114 calls the instructions or programs in the memory 115 to execute the methods executed by the modules shown in Figure 7 and achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiment of the present application further provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the program or instruction is executed by a processor, each process of the above-mentioned Wi-Fi network access method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
  • An embodiment of the present application further provides a chip, the chip including a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run a program or instruction to implement each process of the above-mentioned Wi-Wi network access method embodiment, and can achieve the same technical effect, to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned Wi-Wi network access method embodiment, and can achieve the same technical effect. To avoid repetition, it is not repeated here.
  • the above embodiment method can be implemented by means of software plus a necessary general hardware platform, or by hardware, but in many cases the former is a better implementation method.
  • the technical solution of the present application, or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, disk, CD), including a number of instructions for enabling a terminal
  • the terminal (which may be a mobile phone, computer, server, or network device, etc.) executes the methods described in each embodiment of the present application.

Landscapes

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

Abstract

本申请公开了一种Wi-Fi网络接入方法、装置、通信设备及可读存储介质,属于通信技术领域。该方法可以包括:目标Wi-Fi接入点在满足目标条件的情况下,发送M个Wi-Fi信息,各Wi-Fi信息用于指示所述目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;其中,在M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到M个Wi-Fi信息的电子设备;满足目标条件包括以下任一项:达到目标Wi-Fi接入点的目标广播时间、目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。

Description

Wi-Fi网络接入方法、装置、通信设备及可读存储介质
相关申请的交叉引用
本申请主张在2022年11月17日在中国提交申请号为202211441130.X的中国专利的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于通信技术领域,具体涉及一种Wi-Fi网络接入方法、装置、通信设备及可读存储介质。
背景技术
随着无线局域网(Wireless Local Area Networks,WLAN)技术持续高速发展,WLAN的应用越来越广泛。
然而,由于WLAN技术发展太快、WLAN设备基数巨大,因此导致一些兼容性问题。例如,多年前的无线终端(诸如汽车车机)以及很多对Wi-Fi性能要求并不高的传统电器(诸如膜切机、打印机),无法解析出改进的Wi-Fi接入点的Wi-Fi协议,如Wi-Fi6协议,从而可能导致电子设备接入Wi-Fi网络失败。即相关技术中电子设备接入Wi-Fi网络的成功率较低。
发明内容
本申请实施例的目的是提供一种Wi-Fi网络接入方法、装置、通信设备及可读存储介质,能够解决电子设备接入Wi-Fi网络的成功率较低的问题。
第一方面,本申请实施例提供了一种Wi-Fi网络接入方法,该方法包括:目标Wi-Fi接入点在满足目标条件的情况下,发送M个Wi-Fi信息,各Wi-Fi信息用于指示所述目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;其中,在M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到M个Wi-Fi信息的电子设备;满足目标条件包括以下任一项:达到目标Wi-Fi接入点的目标广播时间、目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。
第二方面,本申请实施例提供了一种Wi-Fi网络接入装置,该Wi-Fi网络接入装置可以包括发送模块;发送模块,用于在满足目标条件的情况下,发送M个Wi-Fi信息,各Wi-Fi信息用于指示目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;其中,在M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到M个Wi-Fi信息的电子设备;满足目标条件包括以下任一项:满足目标 Wi-Fi接入点的目标广播时间、目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。
第三方面,本申请实施例提供了一种通信设备,该通信设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面所述的方法。
在本申请实施例中,目标Wi-Fi接入点在满足目标条件的情况下,发送M个Wi-Fi信息,各Wi-Fi信息用于指示所述目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;其中,在M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到M个Wi-Fi信息的电子设备;满足目标条件包括以下任一项:达到目标Wi-Fi接入点的目标广播时间、目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。通过该方案,当满足目标条件时,由于目标Wi-Fi接入点可以发送指示目标Wi-Fi接入点所支持的M个Wi-Fi类型的Wi-Fi信息,即M个Wi-Fi信息,因此可以确保支持不同Wi-Fi类型的电子设备均可以成功解析M个Wi-Fi信息中的至少一个,从而使得支持不同Wi-Fi类型的电子设备均可以扫描到目标Wi-Fi接入点,从而成功与目标Wi-Fi接入点连接,进而通过目标Wi-Fi接入点接入Wi-Fi网络。如此可以提高接入Wi-Fi网络的成功率。
附图说明
图1是本申请实施例提供的Wi-Fi网络接入方法的流程示意图之一;
图2是本申请实施例提供的Wi-Fi网络接入方法的应用的实施例示意图之一;
图3是本申请实施例提供的Wi-Fi网络接入方法的流程示意图之二;
图4是本申请实施例提供的Wi-Fi网络接入方法的应用的实施例示意图之二;
图5是本申请实施例提供的Wi-Fi网络接入方法的应用的实施例示意图之三;
图6是本申请实施例提供的Wi-Fi网络接入方法的应用的实施例示意图之四;
图7是本申请实施例提供的Wi-Fi网络接入装置的结构示意图;
图8是本申请实施例提供的通信设备的结构示意图;
图9是本申请实施例提供的电子设备的结构示意图;
图10是本申请实施例提供的网络侧设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面对本申请实施例中使用的术语进行解释说明。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的Wi-Fi网络接入方法、装置、设备及可读存储介质进行详细地说明。
目前WLAN技术持续高速发展,从支持5.5Mbps和11Mbps的补充代码键控(Complementary code keying,CCK)编码发展至,支持单空间流最大速率1.2Gbps的正交频分多址(Orthogonal Frequency-Division Multiple Access,OFDMA)技术。数据传输模式也依次经历:单输入单输出(single input single output,SISO)——多输入多输出(Multiple Input Multiple Output,MIMO)——多用户MIMO。加密方式从有线等效保密(Wired Equivalent Privacy,WEP)发展至Wi-Fi保护接入3(Wi-Fi Protected Access 3,WPA3)。总之,无论是性能还是安全方面,WLAN的发展都日新月异。
根据Wi-Fi联盟的统计数据,2022年将有超过180亿台WLAN设备投入使用,44亿台设备发运。然而WLAN技术发展太快、WLAN设备基数巨大也带来了一些兼容性问题。比如多年前的无线终端(诸如汽车车机)以及很多对Wi-Fi性能要求并不高的传统电器(诸如膜切机、打印机)。这些设备不能识别新的Wi-Fi协议,可能导致网络连接失败继而对用户使用造成较大影响。
Wi-Fi连接过程通过连接双方之间的Wi-Fi帧交互完成。这些Wi-Fi报文都是传统协议报文,通过经典Wi-Fi速率发送。这种方式确保电子设备可以和不同Wi-Fi类型下的Wi-Fi6热点(接入点)进行帧交互。
示例性地,以Wi-Fi6热点与非Wi-Fi6的设备之间的为例。在两者的Wi-Fi连接过程中,采用传统协议(5G使用802.11a,2.4G使用802.11b),因此非Wi-Fi6的设备和Wi-Fi6热点之间连接过程不存在物理层兼容性问题。
但是Wi-Fi6热点和非Wi-Fi6设备之间仍然可能存在介质访问控制(Medium Access Control,MAC)层的兼容性问题。具体的,Wi-Fi6热点的信标(beacon)帧和 非Wi-Fi6的beacon帧的长度、格式都有很大差异。且Wi-Fi6热点的beacon带有更多的信息。这可能导致非Wi-Fi6设备的MAC层无法正常解析该beacon帧,继而导致非Wi-Fi6设备连接Wi-Fi6热点失败。
而在本申请实施例提供的Wi-Fi网络接入方法旨在解决不同Wi-Fi类型下的电子设备,在Wi-Fi连接阶段可能出现的MAC层兼容性问题。具体的:
一种方式中,对于一个Wi-Fi接入点,该Wi-Fi接入点可以广播指示多种不同Wi-Fi类型的信标帧(即Wi-Fi信息),以便于支持不同Wi-Fi类型的电子设备可以成功解析指示对应Wi-Fi类型的信标帧,并根据解析得到的结果信息,与该Wi-Fi接入点连接。如此可以确保Wi-Fi类型较低的电子设备也能够与Wi-Fi类型较高的Wi-Fi接入点连接。从而可以提高接入成功率。
另一种方式中,对于一个Wi-Fi接入点,该Wi-Fi接入点在接收到以广播形式发送的Wi-Fi探测请求之后,可以广播指示多种不同Wi-Fi类型的信标帧(即Wi-Fi信息),以便于支持不同Wi-Fi类型的电子设备可以成功解析对应Wi-Fi类型的探测响应(即Wi-Fi信息),并根据解析得到的结果信息,与该Wi-Fi接入点连接。如此可以确保Wi-Fi类型较低的电子设备也能够与Wi-Fi类型较高的Wi-Fi接入点连接。从而可以提高接入成功率。
再一种方式中,对于一个Wi-Fi接入点,该Wi-Fi接入点在接收到以单播形式发送的Wi-Fi探测请求之后,可以反馈与该Wi-Fi探测请求指示的Wi-Fi类型对应的探测响应,以便于发送该Wi-Fi探测请求的电子设备能够成功解析该探测响应,并根据解析得到的结果信息,与该Wi-Fi接入点连接。如此可以确保Wi-Fi类型较低的电子设备也能够与Wi-Fi类型较高的Wi-Fi接入点连接。从而可以提高接入成功率。
可以理解,本申请实施例中,Wi-Fi5与Wi-Fi6为不同Wi-Fi类型。
如此,本申请实施例提供的Wi-Fi网络接入方法仅比相关技术增加了Wi-Fi接入点的beacon和探测响应的开销,因此不会降低支持较高Wi-Fi类型的Wi-Fi6设备的传输性能。
本申请不需要占用更多硬件资源;在连接的电子设备数量不变前提下,Wi-Fi理论性能可与只开单个Wi-Fi6软接入点(softAP)的热点持平。
本申请实施例提供了一种Wi-Fi网络接入方法,图1示出了本申请实施例提供的Wi-Fi网络接入方法流程示意图,如图1所示,本申请实施例提供的Wi-Fi网络接入方法可以包括下述的步骤101和步骤102。
步骤101、目标Wi-Fi接入点在满足目标条件的情况下,发送M个Wi-Fi信息。
步骤102、第一电子设备接收M个Wi-Fi信息。
其中,M个Wi-Fi信息中各Wi-Fi信息可以用于指示目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数。
本申请实施例中,在M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备 所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到M个Wi-Fi信息的电子设备。
本申请实施例中,满足目标条件可以包括以下任一项:一种可能的实现方式,满足目标Wi-Fi接入点的目标广播时间;另一种可能的实现方式,目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。
本申请实施例中,目标Wi-Fi接入点可以支持M个Wi-Fi类型。例如,对于Wi-Fi6接入点,Wi-Fi6接入点可以支持Wi-Fi5类型、Wi-Fi6类型等。
可选地,M个Wi-Fi类型可以为目标Wi-Fi接入点支持的至少部分Wi-Fi类型。
例如,对于Wi-Fi6接入点,Wi-Fi6接入点可以支持Wi-Fi4类型、Wi-Fi5类型、Wi-Fi6类型,但是M个Wi-Fi类型可以包括:Wi-Fi5类型和Wi-Fi6类型。对于M个Wi-Fi类型的确定,具体根据各Wi-Fi类型在市场中的占比确定,例如,若一个Wi-Fi类型已经被淘汰,则目标Wi-Fi接入点可以确定M个Wi-Fi类型中不包括该Wi-Fi类型。
可选地,目标Wi-Fi接入点支持的每个Wi-Fi类型均对应目标Wi-Fi接入点的一个地址(物理地址,MAC地址)和一个能力集。
可选地,Wi-Fi类型对应的能力集包括以下至少一项:该Wi-Fi类型对应的速率集、该Wi-Fi类型对应的协议。
可选地,各Wi-Fi信息中可以包括其指示的Wi-Fi类型对应的能力集。
可选地,各Wi-Fi信息中还包括以下至少一项:与该Wi-Fi类型对应的地址的地址信息、该Wi-Fi类型的标识信息、该Wi-Fi类型对应的加密方式、目标Wi-Fi接入点的Wi-Fi标识等。
本申请实施例中,第一电子设备为目标Wi-Fi接入点所在范围,具体为目标Wi-Fi接入点的所在Wi-Fi网络的覆盖范围内的电子设备。第一电子设备支持的最高Wi-Fi类型低于或等于目标Wi-Fi接入点支持的最高Wi-Fi类型,如目标Wi-Fi接入点为Wi-Fi6接入点,而第一电子设备为Wi-Fi5设备。
可选地,上述M个Wi-Fi信息具体可以为M个信标帧,每个信标帧对应一种Wi-Fi类型。
本申请实施例中,第一电子设备接收到M个Wi-Fi信息之后,可以先对各Wi-Fi信息进行解析。且针对该M个Wi-Fi信息中的其中一个Wi-Fi信息,若第一电子设备成功解析该Wi-Fi信息,则表示第一电子设备搜索到了目标Wi-Fi接入点,从而第一电子设备即可基于该Wi-Fi信息与目标Wi-Fi接入点连接,以通过目标Wi-Fi接入点,接入Wi-Fi类型为该Wi-Fi信息指示的Wi-Fi类型的WiFi网络。若第一电子设备无法成功解析该Wi-Fi信息,则第一电子设备无法通过该Wi-Fi信息搜索到目标Wi-Fi接入点,从而无法与目标Wi-Fi接入点连接。
可选地,假设第一电子设备可以成功解析上述M个Wi-Fi信息中的一个或多个 Wi-Fi信息,那么第一电子设备显示目标Wi-Fi接入点在一个或多个Wi-Fi信息对应的Wi-Fi类型下的Wi-Fi标识(如Wi-Fi名称),用户可根据需求,通过对这些Wi-Fi标识中的其中一个名称的输入,触发第一电子设备发起对目标Wi-Fi接入点在对应Wi-Fi类型下的Wi-Fi网络的连接请求。
可选地,目标Wi-Fi接入点可以为手机、路由器等任意可以产生Wi-Fi网络的设备;电子设备可以为具有Wi-Fi功能,即包括Wi-Fi模块的任意终端,如手机,平板电脑等。
如此,由于目标Wi-Fi接入点可以发送指示目标Wi-Fi接入点所支持的M个Wi-Fi类型的Wi-Fi信息,即M个Wi-Fi信息,因此可以确保支持不同Wi-Fi类型的电子设备均可以成功解析M个Wi-Fi信息中的至少一个,从而使得支持不同Wi-Fi类型的电子设备均可以发现目标Wi-Fi接入点,从而成功与目标Wi-Fi接入点连接,进而通过目标Wi-Fi接入点接入Wi-Fi网络。如此可以提高接入Wi-Fi网络的成功率。
可选地,M个Wi-Fi类型与目标Wi-Fi接入点的M个地址一一对应,上述步骤101具体可以通过下述的步骤101a实现。
步骤101a、目标Wi-Fi接入点在满足目标条件的情况下,通过M个地址发送M个Wi-Fi信息。
可选地,上述M个地址可以为目标Wi-Fi接入点的M个MAC地址。可以理解,每个MAC地址对应目标Wi-Fi接入点的一个MAC层。
具体而言,目标Wi-Fi接入点可以包括M个MAC层,每个MAC层对应一个Wi-Fi类型,且每个MAC层具有一个MAC地址。如此由于可以通过M个MAC层的MAC地址发送指示与M个MAC层对应的Wi-Fi类型的Wi-Fi信息,因此避免相关技术中因接入点侧与电子设备侧之间MAC层不兼容而导致电子设备无法接入Wi-Fi网络的缺陷。
下面分别对一种可能的实现方式和另一种可能的实现方式进行说明。
一种可能的实现方式
可选地,在一种可能的实现方式中,目标Wi-Fi接入点可以周期性地进行热点广播,即目标Wi-Fi接入点可以以广播方式发送M个Wi-Fi信息。从而一种可能的实现方式也可以称为热点广播方式,在这种方式下,在目标Wi-Fi接入点所在范围内的电子设备(如第一电子设备)可以通过被动扫描的方式进行Wi-Fi接入点探测。
可选地,在一种可能的实现方式中,上述的步骤101a具体可以通过下述的步骤101a1实现。
步骤101a1、目标Wi-Fi接入点在达到目标Wi-Fi接入点的目标广播时间的情况下,通过M个地址发送M个Wi-Fi信息。
本申请实施例中,目标Wi-Fi接入点发送M个Wi-Fi信息之后,处于目标Wi-Fi接入点所在范围内的电子设备均可以接收该M个Wi-Fi信息。
下面结合具体示例对一种可能的实现方式进行说明。
在相关技术中,Wi-Fi接入点可以广播信标帧,以便电子设备在被动扫描时可扫描到Wi-Fi接入点。具体而言,Wi-Fi5接入点广播的信标帧指示Wi-Fi5类型;Wi-Fi6接入点广播的信标帧指示Wi-Fi6类型。对于Wi-Fi6接入点来说,若一个电子设备不支持Wi-Fi6类型,则该电子设备的MAC层可能无法成功解析Wi-Fi6接入点广播的信标帧,从而继而导致Wi-Fi连接失败。虽然,若开启不支持Wi-Fi6的接入点可以确保不发生此类兼容性问题,但是会严重影响电子设备的Wi-Fi传输性能。而在本申请实施例中,以目标Wi-Fi接入点为Wi-Fi6接入点为例。如图2所示,Wi-Fi6接入点在达到发送信标帧的时间(即目标广播时间)的情况下,可以同时发出两种广播。具体的,Wi-Fi6接入点可以以MAC地址1广播信标帧1,信标帧1指示Wi-Fi6类型,进一步地信标帧1中可以包括支持Wi-Fi6的能力集;以MAC地址2广播信标帧2,信标帧2指示Wi-Fi5类型,进一步地信标帧2中可以包括指示Wi-Fi5的能力集。如此原先通过被动扫描无法扫描到Wi-Fi6接入点的第一电子设备,此时可以通过MAC地址2的广播扫描到Wi-Fi6接入点。
如此,当达到目标Wi-Fi接入点广播信标帧的时间时,由于目标Wi-Fi接入点可以同时广播指示多种Wi-Fi类型的Wi-Fi信息,从而使得支持不同类型的电子设备均可以成功解析目标Wi-Fi接入点广播的1个或多个Wi-Fi信息,如此可以确保支持不同类型的电子设备均可以通过被动扫描的方式探测到目标Wi-Fi节点,进而可以提高电子设备接入Wi-Fi网络的成功率。
另一种可能的实现方式
可选地,在另一种可能的实现方式中,当目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求时,表示第一电子设备在主动探测Wi-Fi接入点;因此另一种可能的实现方式也可以称为主动探测Wi-Fi接入点方式。
具体而言,在主动探测Wi-Fi接入点方式中,第一电子设备可以通过发送Wi-Fi探测请求的方式,将其支持的能力集告知目标Wi-Fi接入点;目标Wi-Fi接入点接收到Wi-Fi探测请求后,可以返回至少一个Wi-Fi探测响应(即至一个Wi-Fi信息),以告知电子设备已收到对应的Wi-Fi探测请求,且每个Wi-Fi探测响应帧指示目标Wi-Fi接入点支持的一种Wi-Fi类型。
可选地,第一电子设备可能有两种不同的方式来探测Wi-Fi接入点(广播探测和点对点单播探测)。
下面分别对广播探测和点对点单播探测进行详细说明。
1、广播探测
可选地,假设目标Wi-Fi接入点支持M个Wi-Fi类型,M为大于1的整数;那么:结合图1,如图3所示,在上述步骤101之前,本申请实施例提供的Wi-Fi网络接入方法还可以包括下述的步骤103和步骤104,上述步骤101具体可以通过下述的步骤 101b实现。
步骤103、第一电子设备广播目标Wi-Fi探测请求。
步骤104、目标Wi-Fi接入点接收目标Wi-Fi探测请求。
其中,目标探测请求用于请求探测Wi-Fi接入点。
可选地,目标探测请求中可以包括与第一电子设备支持Wi-Fi类型对应的能力集。
可选地,目标探测请求中还包括以下至少一项:第一电子设备的地址信息(如第一电子设备的MAC层的地址信息)、第一电子设备的标识信息、第一电子设备支持的加密方式等。
步骤101b、目标Wi-Fi接入点通过M个地址向第一电子设备发送M个Wi-Fi信息。
本申请实施例中,目标Wi-Fi接入点向第一电子设备发送M个Wi-Fi信息之后,第一电子设备可以接收该M个Wi-Fi信息。即目标Wi-Fi接入点可以专门向第一电子设备发送M个Wi-Fi信息。
对于步骤101b的其他描述,参见上述实施例中的相关描述。
下面结合具体示例对本申请实施例提供的Wi-Fi网络接入方法进行示例性说明。
示例性地,如图4所示,在广播探测中,假设目标Wi-Fi接入点为Wi-Fi6接入点,且第一电子设备通过广播发送Wi-Fi探测请求,又假设目标Wi-Fi接入点支持Wi-Fi6类型和Wi-Fi5类型,且Wi-Fi6类型对应目标Wi-Fi接入点的MAC地址为MAC1,Wi-Fi5类型对应目标Wi-Fi接入点的MAC地址为MAC2;那么:
在Wi-Fi6接入点接收到第一电子设备发送的Wi-Fi探测请求后,可以通过MAC1向第一电子设备发送探测响应1,探测响应1中携带支持Wi-Fi6类型的能力集。并且通过MAC2向第一电子设备发送探测响应2,探测响应2中携带不支持Wi-Fi6类型的能力集。若第一电子设备无法解析探测响应1,此时可通过接收并成功解析探测响应2来扫描Wi-Fi6接入点。如此,无论第一电子设备是否支持Wi-Fi6,第一电子设备均可以成功发现Wi-Fi6接入点,从而可以提高第一电子设备成功接入Wi-Fi网络的概率。
如此,当目标Wi-Fi接入点接收到第一电子设备以广播形式发送的Wi-Fi探测请求时,目标Wi-Fi接入点可以向第一电子设备回复M个Wi-Fi信息,且不同Wi-Fi信息指示目标Wi-Fi接入点支持的不同Wi-Fi类型,因此相比于相关技术中只回复一种探测响应的方案,本申请实施例提供的Wi-Fi网络接入方法可以提高第一电子设备成功探测到Wi-Fi接入点的概率,从而可以提高第一电子设备成功接入Wi-Fi网络的概率。
2、点对点单播探测
可选地,第一电子设备可以以单播方式发送目标Wi-Fi探测请求,即向特定地址发送目标Wi-Fi探测请求。
可选地,第一电子设备可以向目标Wi-Fi接入点的M个地址中的特定地址(如第 二地址)发送目标Wi-Fi探测请求。可以理解,目标Wi-Fi接入点通过第二地址接收到目标Wi-Fi探测请求,则表示第一电子设备支持与第二地址对应的Wi-Fi类型。从而目标Wi-Fi接入点在接收到目标Wi-Fi探测请求之后,可以通过第二地址向第一电子设备发送目标Wi-Fi信息,其中,目标Wi-Fi信息指示的Wi-Fi类型与第二地址对应。
可以理解,本申请实施例中,目标Wi-Fi接入点具体可以通过第二地址接收目标Wi-Fi探测请求。
可选地,目标Wi-Fi探测请求中可以包括指示第一地址的地址信息。
对于目标Wi-Fi信息的其他描述,参见上述实施例中对M个Wi-Fi信息的相关描述。
下面结合具体示例对本申请实施例提供的Wi-Fi网络接入方法进行示例性说明。
示例性地,第一电子设备通过点对点单播方式直接探测周围Wi-Fi接入点。假设目标Wi-Fi接入点为Wi-Fi6接入点,目标Wi-Fi接入点的与Wi-Fi6的MAC地址为MAC1,目标Wi-Fi接入点的与非Wi-Fi6类型(如Wi-Fi5类型)对应的MAC地址为MAC2;那么:
如图5所示,当第一电子设备向MAC1发送目标Wi-Fi探测请求时,目标Wi-Fi接入点通过MAC1接收目标Wi-Fi探测请求,并通过MAC1向第一电子设备发送探测响应1(即目标Wi-Fi信息),探测响应1指示Wi-Fi6类型,且探测响应1中携带目标Wi-Fi接入点与Wi-Fi6类型对应的一个能力集。如图6所示,当第一电子设备向MAC2发送目标Wi-Fi探测请求时,目标Wi-Fi接入点通过MAC2接收目标Wi-Fi探测请求,并通过MAC2向第一电子设备发送探测响应2(即目标Wi-Fi信息),探测响应2指示Wi-Fi5类型,且探测响应2中携带目标Wi-Fi接入点与Wi-Fi5类型对应的一个能力集。如此,无论第一电子设备是否支持Wi-Fi6,第一电子设备均可以成功扫描到Wi-Fi6接入点,从而可以提高第一电子设备成功接入Wi-Fi网络的概率。
可选地,上述M个Wi-Fi信息中的各Wi-Fi信息还可以用于指示目标Wi-Fi接入点的一个地址,该地址与各Wi-Fi信息对应的一个Wi-Fi类型对应。在上述步骤102之后,本申请实施例提供的Wi-Fi网络接入方法还可以包括下述的步骤105和步骤106。
步骤105、目标Wi-Fi接入点接收目标Wi-Fi连接请求。
其中,目标Wi-Fi连接请求为第一电子设备向第一地址发送的连接请求,第一地址为M个Wi-Fi信息中的一个Wi-Fi信息所指示的地址。
可选地,第一地址为第一电子设备解析成功一个Wi-Fi信息指示的地址。
可选地,若第一电子设备显示成功解析的Wi-Fi信息中的Wi-Fi标识,则用户可以通过对这些Wi-Fi标识中的一个Wi-Fi标识的输入,触发第一电子设备向该Wi-Fi标识对应的第一地址发送Wi-Fi连接请求。
步骤106、目标Wi-Fi接入点通过第一地址,向第一电子设备发送Wi-Fi连接信息。
其中,上述Wi-Fi连接信息可以用于指示第一电子设备与目标Wi-Fi接入点之间的连接结果。可选地,该接入结果可以包括:连接成功或连接失败。
本申请实施例中,目标Wi-Fi接入点接收到目标Wi-Fi连接请求之后,可以与第一电子设备连接的操作。然后再基于连接结果,向第一电子设备发送Wi-Fi连接响应信息。
本申请实施例中,目标Wi-Fi接入点向第一电子设备发送Wi-Fi连接信息之后,第一电子设备可以接收该Wi-Fi连接信息。
可以理解,在点对点单播探测方式下,第二地址与第一地址相同。
可选地,在Wi-Fi连接信息指示第一电子设备与目标Wi-Fi接入点连接成功的情况下,第一电子设备与目标Wi-Fi接入点可以通过目标能力集进行数据传输。其中,目标能力集中包括目标Wi-Fi接入点和第一电子设备的共同支持的能力。
如此,当第一电子设备成功接入目标Wi-Fi网络的情况下,由于目标Wi-Fi接入点可以基于目标Wi-Fi接入点和第一电子设备的共同支持的能力,实现与第一电子设备的数据传输,因此可以提高目标Wi-Fi接入点和第一电子设备之间的数据传输的可靠性,避免数据传输失败。
本申请实施例提供的Wi-Fi网络接入方法,执行主体可以为Wi-Fi网络接入装置。本申请实施例中以Wi-Fi网络接入装置执行Wi-Fi网络接入方法为例,说明本申请实施例提供的Wi-Fi网络接入装置。
本申请实施例还提供了一种Wi-Fi网络接入装置,图7示出了本申请实施例提供的Wi-Fi网络接入装置的结构示意图,如图7所示,本申请实施例提供的Wi-Fi网络接入装置70可以包括:发送模块71。
其中,发送模块71,可以用于在满足目标条件的情况下,发送M个Wi-Fi信息,各Wi-Fi信息可以用于指示目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;
其中,在上述M个Wi-Fi信息指示的M个Wi-Fi类型中可以包括第一电子设备所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到上述M个Wi-Fi信息的电子设备;
满足目标条件可以包括以下任一项:满足目标Wi-Fi接入点的目标广播时间、目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。
一种可能的实现方式中,上述M个Wi-Fi类型与目标Wi-Fi接入点的M个地址一一对应;
发送模块71,具体可以用于通过上述M个地址发送M个Wi-Fi信息。
一种可能的实现方式中,上述M个地址为目标Wi-Fi接入点的M个介质访问控制MAC层的MAC地址。
一种可能的实现方式中,各Wi-Fi信息还可以用于指示目标Wi-Fi接入点的一个 地址,一个地址与一个Wi-Fi类型对应。上述Wi-Fi网络接入装置还可以包括接收模块。
接收模块,可以用于在发送模块71发送M个Wi-Fi信息之后,接收来目标Wi-Fi连接请求,目标Wi-Fi连接请求为第一电子设备向第一地址发送的连接请求,第一地址为上述M个Wi-Fi信息中的一个Wi-Fi信息所指示的地址;
发送模块71,还可以用于通过第一地址,向第一电子设备发送Wi-Fi连接信息;
其中,Wi-Fi连接信息可以用于指示第一电子设备与目标Wi-Fi接入点之间的连接结果。
如此,当满足目标条件时,当满足目标条件时,由于Wi-Fi网络接入装置可以发送指示目标Wi-Fi接入点所支持的M个Wi-Fi类型的Wi-Fi信息,即M个Wi-Fi信息,因此可以确保支持不同Wi-Fi类型的电子设备均可以成功解析M个Wi-Fi信息中的至少一个,从而使得支持不同Wi-Fi类型的电子设备均可以扫描到目标Wi-Fi接入点,从而成功与目标Wi-Fi接入点连接,进而通过目标Wi-Fi接入点接入Wi-Fi网络。如此可以提高接入Wi-Fi网络的成功率。
本申请实施例中的Wi-Fi网络接入装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的Wi-Fi网络接入装置能够实现图1至图6的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图8所示,本申请实施例还提供一种通信设备,包括处理器901和存储器902,存储器902上存储有可在所述处理器901上运行的程序或指令,该程序或指令被处理器901执行时实现上述Wi-Fi网络接入方法实施例的目标Wi-Fi接入点执行的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例提供的通信设备可以为具有Wi-Fi接入功能的电子设备或网络侧设备。
下面以通信设备为电子设备为例,对通信设备的结构进行示例性地说明。图9为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1010逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,射频单元1001,可以用于在满足目标条件的情况下,发送M个Wi-Fi信息,各Wi-Fi信息可以用于指示目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;
其中,在上述M个Wi-Fi信息指示的M个Wi-Fi类型中可以包括第一电子设备所支持的Wi-Fi类型的情况下,第一电子设备与目标Wi-Fi接入点连接,第一电子设备为接收到上述M个Wi-Fi信息的电子设备;
满足目标条件可以包括以下任一项:满足目标Wi-Fi接入点的目标广播时间、目标Wi-Fi接入点接收到来自第一电子设备的目标Wi-Fi探测请求。
一种可能的实现方式中,上述M个Wi-Fi类型与目标Wi-Fi接入点的M个地址一一对应;
射频单元1001,具体可以用于通过上述M个地址发送M个Wi-Fi信息。
一种可能的实现方式中,上述M个地址为目标Wi-Fi接入点的M个介质访问控制MAC层的MAC地址。
一种可能的实现方式中,各Wi-Fi信息还可以用于指示目标Wi-Fi接入点的一个地址,一个地址与一个Wi-Fi类型对应。
射频单元1001,可以用于在射频单元1001发送M个Wi-Fi信息之后,接收来目标Wi-Fi连接请求,目标Wi-Fi连接请求为第一电子设备向第一地址发送的连接请求,第一地址为上述M个Wi-Fi信息中的一个Wi-Fi信息所指示的地址;
射频单元1001,还可以用于通过第一地址,向第一电子设备发送Wi-Fi连接信息;
其中,Wi-Fi连接信息可以用于指示第一电子设备与目标Wi-Fi接入点之间的连接结果。
如此,当满足目标条件时,当满足目标条件时,由于Wi-Fi网络接入装置可以发送指示目标Wi-Fi接入点所支持的M个Wi-Fi类型的Wi-Fi信息,即M个Wi-Fi信息,因此可以确保支持不同Wi-Fi类型的电子设备均可以成功解析M个Wi-Fi信息中的至少一个,从而使得支持不同Wi-Fi类型的电子设备均可以扫描到目标Wi-Fi接入点,从而成功与目标Wi-Fi接入点连接,进而通过目标Wi-Fi接入点接入Wi-Fi网络。如此可以提高接入Wi-Fi网络的成功率。
如此,当满足目标条件时,由于电子设备可以发送指示目标Wi-Fi接入点所支持的M个Wi-Fi类型的Wi-Fi信息,即M个Wi-Fi信息,因此可以确保支持不同Wi-Fi类型的Wi-Fi设备均可以成功解析M个Wi-Fi信息中的至少一个,从而使得支持不同Wi-Fi类型的Wi-Fi设备均可以扫描到目标Wi-Fi接入点,从而成功与目标Wi-Fi接入点连接,进而通过目标Wi-Fi接入点接入Wi-Fi网络。如此可以提高接入Wi-Fi网络的成功率。
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式 或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元1007包括触控面板10071以及其他输入设备10072中的至少一种。触控面板1071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器1009可用于存储软件程序以及各种数据。存储器1009可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作***、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1009可以包括易失性存储器或非易失性存储器,或者,存储器1009可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任意其它适合类型的存储器。
处理器1010可包括一个或多个处理单元;可选的,处理器1010集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作***、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。
下面以通信设备为网络侧设备为例,对通信设备的结构进行示例性地说明。如图10所示,该网络侧设备1100包括:天线111、射频装置112、基带装置113、处理器114和存储器115。天线111与射频装置112连接。在上行方向上,射频装置112通过天线111接收信息,将接收的信息发送给基带装置113进行处理。在下行方向上,基带装置113对要发送的信息进行处理,并发送给射频装置112,射频装置112对收到的信息进行处理后经过天线111发送出去。
以上实施例中目标Wi-Fi接入点执行的方法可以在基带装置113中实现,该基带装置113包括基带处理器。
基带装置113例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图 11所示,其中一个芯片例如为基带处理器,通过总线接口与存储器115连接,以调用存储器115中的程序,执行以上方法实施例中所示的目标Wi-Fi接入点操作。
该网络侧设备还可以包括网络接口116,该接口例如为通用公共无线接口(common public radio interface,CPRI)。
具体地,本发明实施例的网络侧设备1100还包括:存储在存储器115上并可在处理器114上运行的指令或程序,处理器114调用存储器115中的指令或程序执行图7所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述Wi-Fi网络接入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述Wi-Wi网络接入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述Wi-Wi网络接入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终 端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (13)

  1. 一种Wi-Fi网络接入方法,所述方法包括:
    目标Wi-Fi接入点在满足目标条件的情况下,发送M个Wi-Fi信息,各所述Wi-Fi信息用于指示所述目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;
    其中,在所述M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备所支持的Wi-Fi类型的情况下,所述第一电子设备与所述目标Wi-Fi接入点连接,所述第一电子设备为接收到所述M个Wi-Fi信息的电子设备;
    所述满足目标条件包括以下任一项:满足所述目标Wi-Fi接入点的目标广播时间、所述目标Wi-Fi接入点接收到来自所述第一电子设备的目标Wi-Fi探测请求。
  2. 根据权利要求1所述的方法,其中,所述M个Wi-Fi类型与所述目标Wi-Fi接入点的M个地址一一对应;
    所述目标Wi-Fi接入点在满足目标条件的情况下,发送M个Wi-Fi信息,包括:
    所述目标Wi-Fi接入点在满足所述目标条件的情况下,通过所述M个地址发送所述M个Wi-Fi信息。
  3. 根据权利要求2所述的方法,其中,所述M个地址为所述目标Wi-Fi接入点的M个介质访问控制MAC层的MAC地址。
  4. 根据权利要求1至3中任一项所述的方法,其中,各所述Wi-Fi信息还用于指示所述目标Wi-Fi接入点的一个地址,所述一个地址与所述一个Wi-Fi类型对应;
    所述发送M个Wi-Fi信息之后,所述方法还包括:
    所述目标Wi-Fi接入点接收目标Wi-Fi连接请求,所述目标Wi-Fi连接请求为所述第一电子设备向第一地址发送的连接请求,所述第一地址为所述M个Wi-Fi信息中的一个Wi-Fi信息所指示的地址;
    所述目标Wi-Fi接入点通过所述第一地址,向所述第一电子设备发送Wi-Fi连接信息;
    其中,所述Wi-Fi连接信息用于指示所述第一电子设备与所述目标Wi-Fi接入点之间的连接结果。
  5. 一种Wi-Fi网络接入装置,所述装置包括发送模块;
    所述发送模块,用于在满足目标条件的情况下,发送M个Wi-Fi信息,各所述Wi-Fi信息用于指示所述目标Wi-Fi接入点所支持的一个Wi-Fi类型,M为大于或等于2的整数;
    其中,在所述M个Wi-Fi信息指示的M个Wi-Fi类型中包括第一电子设备所支持的Wi-Fi类型的情况下,所述第一电子设备与所述目标Wi-Fi接入点连接,所述第一电子设备为接收到所述M个Wi-Fi信息的电子设备;
    所述满足目标条件包括以下任一项:满足所述目标Wi-Fi接入点的目标广播时间、 所述目标Wi-Fi接入点接收到来自所述第一电子设备的目标Wi-Fi探测请求。
  6. 根据权利要求5所述的装置,其中,所述M个Wi-Fi类型与所述目标Wi-Fi接入点的M个地址一一对应;
    所述发送模块,具体用于通过所述M个地址发送M个Wi-Fi信息。
  7. 根据权利要求6所述的装置,其中,所述M个地址为所述目标Wi-Fi接入点的M个介质访问控制MAC层的MAC地址。
  8. 根据权利要求5至7中任一项所述的装置,其中,各所述Wi-Fi信息还用于指示所述目标Wi-Fi接入点的一个地址,所述一个地址与所述一个Wi-Fi类型对应;
    所述装置还包括接收模块;
    所述接收模块,用于在所述发送模块发送M个Wi-Fi信息之后,接收来目标Wi-Fi连接请求,所述目标Wi-Fi连接请求为所述第一电子设备向第一地址发送的连接请求,所述第一地址为所述M个Wi-Fi信息中的一个Wi-Fi信息所指示的地址;
    所述发送模块,还用于通过所述第一地址,向所述第一电子设备发送Wi-Fi连接信息;
    其中,所述Wi-Fi连接信息用于指示所述第一电子设备与所述目标Wi-Fi接入点之间的连接结果。
  9. 一种通信设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至4中任一项所述的Wi-Fi网络接入方法的步骤。
  10. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至4中任一项所述的Wi-Fi网络接入方法的步骤。
  11. 一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至4中任一项所述的Wi-Fi网络接入方法。
  12. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至4中任一项所述的Wi-Fi网络接入方法。
  13. 一种通信设备,所述通信设备用于执行如权利要求1至4中任一项所述的Wi-Fi网络接入方法。
PCT/CN2023/127752 2022-11-17 2023-10-30 Wi-Fi网络接入方法、装置、通信设备及可读存储介质 WO2024104107A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211441130.X 2022-11-17
CN202211441130.XA CN115835334A (zh) 2022-11-17 2022-11-17 Wi-Fi网络接入方法、装置、通信设备及可读存储介质

Publications (1)

Publication Number Publication Date
WO2024104107A1 true WO2024104107A1 (zh) 2024-05-23

Family

ID=85528842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/127752 WO2024104107A1 (zh) 2022-11-17 2023-10-30 Wi-Fi网络接入方法、装置、通信设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN115835334A (zh)
WO (1) WO2024104107A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115835334A (zh) * 2022-11-17 2023-03-21 维沃移动通信有限公司 Wi-Fi网络接入方法、装置、通信设备及可读存储介质
CN117880893B (zh) * 2024-03-11 2024-05-14 四川天邑康和通信股份有限公司 一种应用于fttr组网的网络负载均衡方法、装置和介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104684048A (zh) * 2015-03-04 2015-06-03 小米科技有限责任公司 Wifi列表的展现方法和装置
CN111867004A (zh) * 2020-06-06 2020-10-30 烽火通信科技股份有限公司 一种Wi-Fi6场景下无线终端接入的方法和装置
US20210068038A1 (en) * 2019-09-01 2021-03-04 Arris Enterprises Llc Backwards compatibility using selective probe-response suppression
US20210282063A1 (en) * 2020-03-07 2021-09-09 Arris Enterprises Llc Wlan steering based on capabilities
CN115835334A (zh) * 2022-11-17 2023-03-21 维沃移动通信有限公司 Wi-Fi网络接入方法、装置、通信设备及可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104684048A (zh) * 2015-03-04 2015-06-03 小米科技有限责任公司 Wifi列表的展现方法和装置
US20210068038A1 (en) * 2019-09-01 2021-03-04 Arris Enterprises Llc Backwards compatibility using selective probe-response suppression
US20210282063A1 (en) * 2020-03-07 2021-09-09 Arris Enterprises Llc Wlan steering based on capabilities
CN111867004A (zh) * 2020-06-06 2020-10-30 烽火通信科技股份有限公司 一种Wi-Fi6场景下无线终端接入的方法和装置
CN115835334A (zh) * 2022-11-17 2023-03-21 维沃移动通信有限公司 Wi-Fi网络接入方法、装置、通信设备及可读存储介质

Also Published As

Publication number Publication date
CN115835334A (zh) 2023-03-21

Similar Documents

Publication Publication Date Title
WO2024104107A1 (zh) Wi-Fi网络接入方法、装置、通信设备及可读存储介质
CN110557777B (zh) 网络连接的控制方法、终端及存储介质
US9008062B2 (en) Systems and methods for AP discovery with FILS beacon
US20150081823A1 (en) Terminal Search Method and Apparatus
RU2719348C1 (ru) Способ поискового вызова и устройство поискового вызова
US8457629B2 (en) Apparatus and method for providing service status information based on access class restriction list in mobile communication system
US20180048633A1 (en) Perception-free authentication method and system, and control method and system based on the same
US20230180112A1 (en) Access control method and apparatus, and communication device
US20070002884A1 (en) Usage of multiple SSIDs for doing fast WLAN network discovery
US7471944B2 (en) Method and apparatus for identifying and tracking target subscribers in a universal mobile telephone system
US20230337128A1 (en) Network selection method and apparatus, device, and storage medium
US20220225108A1 (en) Channel indication sending method, channel scanning method, and apparatus
WO2022166755A1 (zh) 一种信息处理方法及设备、存储介质
US20240040364A1 (en) Method for multi-card terminal device cooperative communication and electronic device
US20110261766A1 (en) Wlan device and channel scanning method
US20090252129A1 (en) Known station hidden network discovery
WO2023284682A1 (zh) 中继的识别方法、中继的确定方法、终端及网络侧设备
WO2022017466A1 (zh) 消息发送、消息接收方法、装置及通信设备
US20230171687A1 (en) Wireless roaming method and system
CN114080045B (zh) 数据发送处理方法、资源配置方法及相关设备
US20200383161A1 (en) Access control method and device, and computer storage medium
CN114258011B (zh) 信息发送方法、信息接收方法、装置及终端
WO2021249438A1 (zh) 模式切换方法、终端及网络侧设备
US8073449B2 (en) Wireless macro cell overlay
US20100118755A1 (en) Control apparatus, signal transmission method and computer program product for the control apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23890543

Country of ref document: EP

Kind code of ref document: A1