A router connection method, device and system
By dynamically selecting the Wi-Fi protocol, the poor network quality problem of mobile phones caused by the compatibility problem of Wi-Fi 7 protocol is solved according to the conditions of the preset identifier, and the connection reliability and user experience are improved.
Patent Information
- Application Number
- CN202410306473.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-21
- Publication Date
- 2025-01-10
- Estimated Expiration
- 2043-02-21
AI Technical Summary
Due to the compatibility issues of Wi-Fi 7 protocol, the mobile phone network quality is poor and the user experiences on the Internet are poor.
The frames sent by the preset router are received through the electronic device, and dynamically select to establish a connection based on the Wi-Fi 7 protocol or Wi-Fi 6 protocol based on whether the preset identifier meets specific conditions to ensure the reliability of the connection and network quality.
It effectively reduces the poor network quality of mobile phones caused by the compatibility issues of Wi-Fi 7 protocol, and improves the network quality and connection reliability of users when using mobile phones.
Smart Images

Figure CN118139210B_ABST
Abstract
Description
[0001] This application is a divisional application. The application number of the original application is 202310186386.9, and the original application date is February 21, 2023. The entire contents of the original application are incorporated into this application by reference. Technical Field
[0002] The present application relates to the field of communication technology, and in particular to a method, device and system for connecting a router. Background Art
[0003] With the development of wireless network communication technologies, such as wireless local area network (WLAN) technology, the seventh generation Wi-Fi wireless network (i.e. Wi-Fi 7) has gradually become the next generation of major wireless network communication technology. The seventh generation Wi-Fi wireless network can reach speeds of up to 30 Gbits per second, which is three times the maximum speed of 9.6 Gbps of the sixth generation Wi-Fi wireless network (i.e. Wi-Fi 6). Compared with Wi-Fi 6, Wi-Fi 7 can support up to 16 data streams, and in addition to the traditional 2.4 GHz and 5 GHz frequency bands, Wi-Fi 7 will also support the 6 GHz frequency band, and the three frequency bands can work simultaneously.
[0004] However, since the application of the Wi-Fi 7 protocol is still immature, there may be problems such as poor mobile network quality due to compatibility issues of the Wi-Fi 7 protocol (such as compatibility with other protocols or device hardware), resulting in a poor Internet experience for users. Summary of the invention
[0005] The present application provides a method, device and system for connecting a router, which can effectively control the risks of poor network quality caused by compatibility issues of a first preset Wi-Fi protocol and improve the user's Internet experience.
[0006] In a first aspect, the present application provides a method for connecting a router, including: an electronic device receiving a preset frame sent from a preset router, wherein the preset router supports a first preset Wi-Fi protocol, and the preset frame carries a preset identifier of the preset router; if the preset identifier satisfies a first preset condition, the electronic device and the preset router establish a connection based on the first preset Wi-Fi protocol; if the preset identifier satisfies a second preset condition, the electronic device and the preset router establish a connection based on a second preset Wi-Fi protocol.
[0007] Based on the method provided by the present application, after the electronic device receives the preset frame carrying the preset identifier sent from the preset router, the electronic device can actively establish a connection with the preset router based on the first preset Wi-Fi protocol or the second preset Wi-Fi protocol according to whether the preset identifier meets the first preset condition or the second preset condition. This can effectively control the risks brought by the first preset Wi-Fi protocol, improve the reliability of the connection between the electronic device and the preset router, and reduce the occurrence of problems such as poor mobile phone network quality caused by compatibility issues of the first preset Wi-Fi protocol.
[0008] In a possible implementation of the first aspect, the preset identifier satisfies the first preset condition including: the preset identifier is in the whitelist, and / or the preset identifier is not in the blacklist; the preset identifier satisfies the second preset condition including: the preset identifier is in the blacklist, and / or the preset identifier is not in the whitelist. Based on this, if the preset identifier of the preset router is in the whitelist, and / or the preset identifier is not in the blacklist, then the electronic device establishes a connection with the preset router based on the first preset Wi-Fi protocol. If the preset identifier of the preset router is in the blacklist, and / or the preset identifier is not in the whitelist, then the electronic device establishes a connection with the preset router based on the second preset Wi-Fi protocol. In other words, the electronic device can adaptively select a suitable Wi-Fi protocol to establish a connection with the preset router according to the specific situation of the preset router. Thereby, the risks brought by the first preset Wi-Fi protocol can be effectively controlled, the reliability of the connection between the electronic device and the preset router can be improved, and the occurrence of problems such as poor mobile phone network quality caused by compatibility issues of the first preset Wi-Fi protocol can be reduced.
[0009] In another possible implementation of the first aspect, the version of the second preset Wi-Fi protocol is lower than the version of the first preset Wi-Fi protocol. Based on this, if the preset identifier of the preset router is in the white list, and / or the preset identifier is not in the black list, then the electronic device establishes a connection with the preset router based on the first preset Wi-Fi protocol. If the preset identifier of the preset router is in the black list, and / or the preset identifier is not in the white list, then the electronic device establishes a connection with the preset router based on the second preset Wi-Fi protocol that is lower than the first preset Wi-Fi protocol. That is to say, if the preset identifier of the preset router is not in the white list, the electronic device can select a lower version of the Wi-Fi protocol to establish a connection with the preset router. Thereby, the incompatibility between the electronic device and the preset router can be reduced, and the electronic device can actively and dynamically select a more suitable Wi-Fi protocol for the connection with the preset router, thereby improving the reliability of the connection between the electronic device and the preset router.
[0010] In another possible implementation of the first aspect, the router corresponding to the whitelist satisfies one or more of the following conditions: the multi-link aggregation technology MLO connection of the router satisfies the first preset sub-condition, the wireless roaming between the router and the test router satisfies the second preset sub-condition, and the traffic rate of the router is greater than the preset rate.
[0011] Based on the method provided by the present application, if the preset router meets one or more of the following conditions: the router's multi-link aggregation technology MLO connection meets the first preset sub-condition, the wireless roaming between the router and the test router meets the second preset sub-condition, and the router's streaming rate is greater than the preset rate, then the electronic device can establish a connection with the preset router based on the first preset Wi-Fi protocol after receiving the preset frame sent from the preset router. In other words, when the preset router meets certain conditions, the electronic device can establish a connection with the preset router based on the first preset Wi-Fi protocol that is higher than the second preset Wi-Fi protocol. Thereby, the probability of problems such as poor mobile phone network quality due to compatibility issues of the first preset Wi-Fi protocol can be reduced, and the network quality of users when using mobile phones can be improved.
[0012] In another possible implementation of the first aspect, the router corresponding to the blacklist satisfies any one of the following conditions: the MLO connection of the router does not satisfy the first preset sub-condition, the wireless roaming between the router and the test router does not satisfy the second preset sub-condition, and the traffic rate of the router is less than the preset rate.
[0013] Based on the method provided in the present application, if the preset router meets any one of the following conditions: the MLO connection of the router does not meet the first preset sub-condition, the wireless roaming between the router and the test router does not meet the second preset sub-condition, and the streaming rate of the router is less than the preset rate, then the electronic device can establish a connection with the preset router based on the second preset Wi-Fi protocol after receiving the preset frame sent from the preset router. In other words, when the preset router does not meet certain conditions, the electronic device can establish a connection with the preset router based on the second preset Wi-Fi protocol with a lower version than the first preset Wi-Fi protocol. Thereby, the probability of problems such as poor mobile phone network quality due to compatibility issues of the first preset Wi-Fi protocol can be reduced, the network quality when the user uses the mobile phone can be improved, and the reliability of the connection between the electronic device and the preset router can be improved.
[0014] In another possible implementation of the first aspect, the electronic device adds the preset identifier to the whitelist in response to the first preset operation; and / or the electronic device adds the preset identifier to the blacklist in response to the second preset operation. Based on this, if the preset identifier is not in the whitelist or blacklist, but the user wants to add the preset identifier to the whitelist or blacklist, then the electronic device can add the preset identifier to the whitelist or blacklist in response to the second preset operation. Thereby, the flexibility of the whitelist mechanism of the router on the electronic device side is improved, and the diversity of the connection process between the electronic device and the preset router supporting the first preset Wi-Fi protocol is improved.
[0015] In another possible implementation of the first aspect, the whitelist is stored in a first preset directory of the electronic device; the blacklist is stored in a second preset directory of the electronic device. Based on this, after the electronic device receives a preset frame sent by a preset router that supports the first preset Wi-Fi protocol, the electronic device can actively and dynamically select the first preset Wi-Fi protocol or the second preset Wi-Fi protocol to establish a connection with the preset router based on the relationship between the preset identifier and the whitelist in the first preset directory or the blacklist in the second preset directory. Thereby, the probability of problems such as poor mobile phone network quality due to compatibility issues of the first preset Wi-Fi protocol can be reduced, the network quality when the user uses the mobile phone can be improved, and the reliability of the connection between the electronic device and the preset router can be improved.
[0016] In another possible implementation of the first aspect, before the electronic device receives the preset frame sent from the preset router, the method further includes: when the electronic device updates the operating system, the whitelist included in the first installation package obtained is stored in the first preset directory of the electronic device; and / or, when the electronic device updates the operating system, the blacklist included in the second installation package obtained is stored in the second preset directory of the electronic device. Based on this, if the whitelist or blacklist is not stored in the electronic device, the electronic device can store the whitelist in the first preset directory of the electronic device or store the blacklist in the second preset directory of the electronic device through the first installation package or the second installation package obtained when updating the operating system.
[0017] In another possible implementation of the first aspect, when the electronic device updates the operating system, the whitelist is updated according to the third installation package obtained, wherein the third installation package includes the first preset whitelist; and / or, when the electronic device updates the operating system, the blacklist is updated according to the fourth installation package obtained, wherein the fourth installation package includes the first preset blacklist. Based on this, when the identifier of the router included in the whitelist or blacklist changes (for example, increases or decreases), the whitelist under the first preset directory or the blacklist under the second preset directory is updated by the third installation package or the fourth installation package obtained when the operating system is updated. Thereby, the whitelist or blacklist is dynamically configured, and the flexibility and operability of configuring the whitelist or blacklist to the electronic device are improved.
[0018] In another possible implementation of the first aspect, the electronic device receives a first preset configuration file sent by a preset electronic device, and updates a whitelist according to the first preset configuration file, wherein the first preset configuration file includes a second preset whitelist; and / or, the electronic device receives a second preset configuration file sent by a preset electronic device, and updates a blacklist according to the second preset configuration file, wherein the second preset configuration file includes a second preset blacklist. Based on this, when the identifier of the router included in the whitelist or blacklist changes (for example, increases or decreases), the whitelist under the first preset directory or the blacklist under the second preset directory is updated by receiving the first preset configuration file or the second preset configuration file sent by the preset electronic device. Thereby, the whitelist or blacklist is dynamically configured, and the flexibility and operability of configuring the whitelist or blacklist to the electronic device are improved.
[0019] In another possible implementation of the first aspect, before the electronic device receives the preset frame sent from the preset router, the method also includes: when the electronic device is turned on, the whitelist and / or blacklist is read, and the whitelist and / or blacklist is set to the Wi-Fi firmware. Based on this, when the electronic device is turned on, it can read the whitelist under the first preset directory and / or the blacklist under the second preset directory, so as to set the whitelist and / or blacklist to the Wi-Fi firmware, and then the whitelist and / or blacklist is set to the Wi-Fi chip. After the electronic device receives the preset frame sent by the preset router, the bottom layer can determine based on which Wi-Fi protocol to establish a connection with the preset router according to the identifier of the router stored in the whitelist and the preset identifier in the received preset frame.
[0020] In another possible implementation of the first aspect, the preset frame includes: a beacon frame and / or a detection response frame. Based on this, the electronic device can receive a beacon frame and / or a detection response frame sent from a preset router that supports the first preset Wi-Fi protocol. It can be understood that the preset router can actively send to the electronic device; or the preset router can passively send a detection response frame to the electronic device in response to a detection request frame sent by the electronic device.
[0021] In another possible implementation of the first aspect, the first preset Wi-Fi protocol is a Wi-Fi 7 protocol.
[0022] Based on the method provided by the present application, after the electronic device receives the preset frame carrying the preset identifier sent from the preset router, the electronic device can actively establish a connection with the preset router based on the Wi-Fi 7 protocol or the second preset Wi-Fi protocol according to whether the preset identifier meets the first preset condition or the second preset condition. This can effectively control the risks brought by the Wi-Fi 7 protocol, improve the reliability of the connection between the electronic device and the preset router, and reduce the occurrence of problems such as poor mobile phone network quality caused by compatibility issues of the Wi-Fi 7 protocol.
[0023] In another possible implementation of the first aspect, the second preset Wi-Fi protocol is a Wi-Fi 6 protocol.
[0024] Based on the method provided by the present application, after the electronic device receives a preset frame carrying a preset identifier sent from a preset router, the electronic device can actively establish a connection with the preset router based on the Wi-Fi 7 protocol or the Wi-Fi 6 protocol according to whether the preset identifier meets the first preset condition or the second preset condition. This can effectively control the risks brought by the Wi-Fi 7 protocol, improve the reliability of the connection between the electronic device and the preset router, and reduce the occurrence of problems such as poor mobile phone network quality caused by compatibility issues of the Wi-Fi 7 protocol.
[0025] In a second aspect, the present application provides a router connection system, the router connection system comprising: an electronic device and a preset router. The electronic device is used to store computer program code, and the computer program code includes computer instructions. When the computer instructions are executed by the processor, the electronic device performs the following steps: the electronic device receives a preset frame sent from a preset router, wherein the preset router supports a first preset Wi-Fi protocol, and the preset frame carries a preset identifier of the preset router; if the preset identifier satisfies a first preset condition, the electronic device establishes a connection with the preset router based on the first preset Wi-Fi protocol; if the preset identifier satisfies a second preset condition, the electronic device establishes a connection with the preset router based on the second preset Wi-Fi protocol.
[0026] In a possible implementation of the second aspect, the above-mentioned preset identifier satisfies the first preset condition including: the preset identifier is in the whitelist and / or the preset identifier is not in the blacklist; the preset identifier satisfies the second preset condition including: the preset identifier is in the blacklist and / or the preset identifier is not in the whitelist.
[0027] In another possible implementation of the second aspect, a version of the second preset Wi-Fi protocol is lower than a version of the first preset Wi-Fi protocol.
[0028] In another possible implementation of the second aspect, the router corresponding to the above whitelist satisfies one or more of the following conditions: the multi-link aggregation technology MLO connection of the router satisfies the first preset sub-condition, the wireless roaming between the router and the test router satisfies the second preset sub-condition, and the traffic rate of the router is greater than the preset rate.
[0029] In another possible implementation of the second aspect, the router corresponding to the above blacklist satisfies any one of the following conditions: the MLO connection of the router does not meet the first preset sub-condition, the wireless roaming between the router and the test router does not meet the second preset sub-condition, and the traffic rate of the router is less than the preset rate.
[0030] In another possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device also performs the following steps: the electronic device adds a preset identifier to a whitelist in response to a first preset operation; and / or the electronic device adds a preset identifier to a blacklist in response to a second preset operation.
[0031] In another possible implementation of the second aspect, the white list is stored in a first preset directory of the electronic device; and the black list is stored in a second preset directory of the electronic device.
[0032] In another possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: before the electronic device receives a preset frame sent from a preset router, the method also includes: when the electronic device updates the operating system, the whitelist included in the acquired first installation package is stored in a first preset directory of the electronic device; and / or, when the electronic device updates the operating system, the blacklist included in the acquired second installation package is stored in a second preset directory of the electronic device.
[0033] In another possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: when the electronic device updates the operating system, the electronic device updates the whitelist according to the obtained third installation package, wherein the third installation package includes the first preset whitelist; and / or, when the electronic device updates the operating system, the electronic device updates the blacklist according to the obtained fourth installation package, wherein the fourth installation package includes the first preset blacklist.
[0034] In another possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: the electronic device receives a first preset configuration file sent by a preset electronic device, and updates a whitelist according to the first preset configuration file, wherein the first preset configuration file includes a second preset whitelist; and / or the electronic device receives a second preset configuration file sent by a preset electronic device, and updates a blacklist according to the second preset configuration file, wherein the second preset configuration file includes a second preset blacklist.
[0035] In another possible implementation of the second aspect, when the above-mentioned computer instructions are executed by the processor, the electronic device further performs the following steps: before the electronic device receives a preset frame sent from a preset router, the method also includes: when the electronic device is turned on, reading the whitelist and / or blacklist, and setting the whitelist and / or blacklist to the Wi-Fi firmware.
[0036] In another possible implementation of the second aspect, the preset frame includes: a beacon frame and / or a detection response frame.
[0037] In another possible implementation of the second aspect, the first preset Wi-Fi protocol is a Wi-Fi 7 protocol.
[0038] In another possible implementation of the second aspect, the second preset Wi-Fi protocol is a Wi-Fi 6 protocol.
[0039] In a third aspect, the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method of the first aspect and any possible implementation method thereof.
[0040] In a fourth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method of the first aspect and any possible implementation manner. The computer may be the electronic device described above.
[0041] In a fifth aspect, the present application provides a chip system, which includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by lines. The chip system is applied to an electronic device including a communication module and a memory; the interface circuit is used to receive a signal from the memory and send a signal to the processor, the signal including a computer instruction stored in the memory. When the processor executes the computer instruction, the electronic device executes the method of the first aspect and any possible implementation.
[0042] It can be understood that the beneficial effects that can be achieved by the electronic device described in the second aspect and any possible implementation method thereof, the computer storage medium described in the third aspect, the computer program product described in the fourth aspect, and the chip system described in the fifth aspect can refer to the beneficial effects in the first aspect and any possible implementation method thereof, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of the effect of a seventh-generation Wi-Fi wireless network provided in an embodiment of the present application;
[0044] Figure 2 A display schematic diagram of a mobile phone provided in an embodiment of the present application;
[0045] Figure 3 A schematic diagram of a system architecture provided for an embodiment of the present application;
[0046] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0047] Figure 5 A schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0048] Figure 6 A schematic diagram of a flow chart of a method for connecting a router provided in an embodiment of the present application;
[0049] Figure 7 A display schematic diagram of another mobile phone provided in an embodiment of the present application;
[0050] Figure 8 A flowchart of another method for connecting a router provided in an embodiment of the present application;
[0051] Fig. 9 A display diagram of another mobile phone provided in an embodiment of the present application;
[0052] Fig.10 A display diagram of another mobile phone provided in an embodiment of the present application;
[0053] Fig.11A display diagram of another mobile phone provided in an embodiment of the present application;
[0054] Fig.12 A display diagram of another mobile phone provided in an embodiment of the present application;
[0055] Fig.13 A display diagram of another mobile phone provided in an embodiment of the present application;
[0056] Fig.14 A display diagram of another mobile phone provided in an embodiment of the present application;
[0057] Fig.15 A schematic diagram of the structure of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The technical solution in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. In the description of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.
[0059] In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar items with substantially the same functions and effects. Those skilled in the art will understand that the words "first", "second" and the like are only used for descriptive purposes, and do not limit the quantity and execution order, nor can they be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. And the words "first", "second" and the like are not necessarily different. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present embodiment, unless otherwise specified, "at least one" means one or more, and "multiple" means two or more.
[0060] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0061] Invention related terms:
[0062] Wireless network communication technology (Wi-Fi): also known as "mobile hotspot" in Chinese, is a wireless local area network technology created based on the IEEE802.11 standard.
[0063] Wi-Fi 7: The IEEE standard that Wi-Fi 7 complies with is 802.11be-Extremely High Throughput (ETH).
[0064] Access Point (AP): Provides wireless access services, allows other wireless devices to access, and provides data access. General wireless routers / bridges work in this mode. APs are allowed to connect to each other.
[0065] Station (STA): Similar to a wireless terminal, STA itself does not accept wireless access, but it can connect to an AP. Generally, wireless network cards work in this mode.
[0066] Organizationally Unique Identifier (OUI): A unique identifier issued to various organizations.
[0067] Wireless Local Area Networks (WLAN): refers to the use of wireless communication technology to interconnect computer devices to form a network system that can communicate with each other and share resources. The essential feature of wireless LAN is that it no longer uses communication cables to connect computers to the network, but connects wirelessly, making network construction and terminal mobility more flexible.
[0068] It should be noted that Multi-Link Operation (MLO) is a very core feature of WiFi 7 technology. ML0 can create bundles or bonds of multiple links (radios) in different bands and channels as a virtual link between connected network nodes (such as AP and STA). Wi-Fi-7 MLO is a physical layer solution that can communicate by aggregating multiple channels on different frequency bands. Based on Wi-Fi-7 MLO, data can be transmitted seamlessly even if the frequency band is interfered or congested, thus achieving faster and more reliable network connection. For example, WiFi 7MLO can enable a device (such as a mobile phone) to connect to multiple WiFi hotspots at the same time, such as 2.4G+5G. Figure 1 As shown in (a) in FIG. 1 , multiple links can be established between the access point and the station, for example, link 1 (2.4G), link 1 (5G), and link 3 (6G). Figure 1As shown in (b) in the figure, the network Wi-Fi links can be switched dynamically. When one of the links encounters interference, it can dynamically switch to another better Wi-Fi link. For example, when link 1 encounters interference, it can dynamically switch to link 2, thereby achieving lower network latency.
[0069] It is understandable that there are certain risks in the current application of the Wi-Fi 7 protocol. The reasons include: the MLO STA mode that currently supports the Wi-Fi 7 protocol is not commercially available in the industry; hardware compatibility issues, such as there are currently no routers that support the Wi-Fi 7 MLO mode, and the ecosystem is not mature; there may be protocol compatibility issues between the Wi-Fi 7 protocol and other protocols such as the Wi-Fi 6 protocol or the Wi-Fi 5 protocol.
[0070] In some embodiments, when a preset router supports the WiFi 7 protocol, the mobile phone can establish a connection with the preset router based on the WiFi 7 protocol, such as Figure 2 As shown in (a) in the figure, the mobile phone can display the "Wi-Fi 7" icon 201 to prompt the user that the mobile phone has established a connection with the preset router based on the WiFi 7 protocol. However, since there may be protocol compatibility issues between the Wi-Fi 7 protocol and the Wi-Fi 6 protocol and the Wi-Fi 5 protocol, when the mobile phone directly establishes a connection with the preset router through the Wi-Fi 7 protocol, roaming anomalies between the preset router and other routers that do not support the WiFi 7 protocol may occur due to the compatibility issues of the Wi-Fi 7 protocol. There may also be problems such as poor mobile phone network quality. When the mobile phone network quality is poor, the mobile phone can display text 202, namely "The current network is unstable, please check your network settings", to prompt the user that the current network quality is poor.
[0071] In order to effectively control the risks brought by the WiFi 7 protocol, improve the reliability of the connection between the wireless access point and the station, and reduce the occurrence of problems such as poor mobile phone network quality due to compatibility issues of the WiFi 7 protocol, in other embodiments, a whitelist mechanism for routers that support the WiFi 7 protocol can be established in advance on the mobile phone side. If the preset router is in the whitelist, the mobile phone can establish a connection with the router based on the WiFi 7 protocol; if the preset router is not in the whitelist, the mobile phone can establish a connection with the router based on other versions of the WiFi protocol (for example, the WiFi 6 protocol). Assuming that the preset router is not in the whitelist, when the mobile phone establishes a connection with the router based on the WiFi 6 protocol, such as Figure 2As shown in (b) in FIG. 1 , the mobile phone may display an icon 203 of “Wi-Fi 6” to prompt the user that the mobile phone has established a connection with the preset router based on the WiFi 6 protocol. After the mobile phone establishes a connection with the router based on the WiFi 6 protocol, the network quality of the mobile phone may be better. When the network quality of the mobile phone is better, the mobile phone may display text 204, i.e., “The current network is better”, to prompt the user that the current network quality is better.
[0072] like Figure 3 FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application. The system may include: a first device and a second device.
[0073] Exemplarily, the first device (also referred to as an electronic device) in the embodiments of the present application may be a mobile phone, a tablet computer, a desktop computer, a handheld computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), an augmented reality (AR) or virtual reality (VR) device, and the embodiments of the present application do not impose any special restrictions on the specific form of the first device.
[0074] The operating system of the first device may be Optional, in Magic can be installed on the platform System. Optional, The platform can also be integrated Mobile Services (Google Mobile Service, ) module. Or the first device may be system or other operating systems. The embodiment of the present application does not limit the type of operating system of the first device.
[0075] The second device provided in the embodiment of the present application may include but is not limited to a wireless AP, for example, a wireless router (also referred to as a fat AP). The operating system of the second device may include but is not limited to Optional, in Magic can be installed on the platform System. Optional, The platform can also be integrated Mobile Services (Google Mobile Service, ) module. Or the operating system of the second device may also be System Lightweight IoT operating system (lite ), Linux system, dual-frame system, or other operating systems. Or the second device may not run an operating system, which is not limited in the embodiments of the present application.
[0076] In an embodiment of the present application, the second device may include but is not limited to a wireless router that supports the Wi-Fi 7 protocol, and the first device and the second device may communicate based on various Wi-Fi protocols.
[0077] In the present application embodiment, Figure 4 Taking the first device as an example, the electronic device 400 (such as a mobile phone) is used to illustrate the structure of the first device provided in the embodiment of the present application. Figure 4 As shown, the electronic device 400 (such as a mobile phone) may include: a processor 410, an external memory interface 420, an internal memory 421, a universal serial bus (USB) interface 430, a charging management module 440, a power management module 441, a battery 442, an antenna 1, an antenna 2, a mobile communication module 450, a wireless communication module 460, an audio module 470, a speaker 470A, a receiver 470B, a microphone 470C, an earphone interface 470D, a sensor module 480, a button 490, a motor 491, an indicator 492, a camera 493, a display screen 494, and a subscriber identification module (SIM) card interface 495, etc.
[0078] It is to be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device 400. In other embodiments, the electronic device 400 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0079] The processor 410 may include one or more processing units, for example, the processor 410 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0080] The charging management module 440 is used to receive charging input from the charger. The power management module 441 is used to connect the battery 442, the charging management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and / or the charging management module 440 to power the processor 410, the internal memory 421, the external memory, the display screen 494, the camera 493, and the wireless communication module 460.
[0081] The wireless communication function of the electronic device 400 can be implemented through the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor and the baseband processor.
[0082] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 400 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network.
[0083] The mobile communication module 450 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 400. The mobile communication module 450 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 450 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 450 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 450 can be set in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 450 can be set in the same device as at least some of the modules of the processor 410.
[0084] In the embodiment of the present application, the process of the electronic device 400 sending and receiving information based on the mobile communication module 450 can be: the antenna 1 receives electromagnetic waves and converts them into electrical signals to receive information; the antenna 1 receives electrical signals and converts them into electromagnetic waves and transmits them to send information.
[0085] The wireless communication module 460 can provide wireless communication solutions including WLAN (such as wireless fidelity (Wi-Fi) network), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 400. The wireless communication module 460 can be one or more devices integrating at least one communication processing module.
[0086] In the embodiment of the present application, the process of the electronic device 400 sending and receiving information based on the wireless communication module 460 may be: the wireless communication module 460 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 410. The wireless communication module 460 may also receive a signal to be sent from the processor 410, modulate the frequency of the signal, amplify the signal, and convert it into an electromagnetic wave for radiation through the antenna 2.
[0087] In an embodiment of the present application, a wireless access point (such as a wireless router) can convert a wired signal into a wireless signal (such as a WI-FI signal) through its internal central processing unit (CPU) and a wireless chip, and then transmit the wireless signal through an antenna. The electronic device 400 can receive wireless signals through an internal antenna (such as antenna 2), and the wireless chip included in the wireless communication module 460 can convert the wireless signal into an electrical signal, thereby completing the data transmission. It should be noted that during the transmission process, the wireless signal will be absorbed by different materials, resulting in signal attenuation, which is the main form of wireless attenuation. Generally speaking, the higher the density of the material and the more metal it contains, the stronger the absorption of the wireless signal. Other factors that may cause wireless signal loss include reflection, scattering, refraction, diffraction, etc.
[0088] The electronic device 400 implements the display function through a GPU, a display screen 494, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 410 may include one or more GPUs, which execute program instructions to generate or change display information.
[0089] The display screen 494 is used to display images, videos, etc. The display screen 494 includes a display panel.
[0090] In an embodiment of the present application, the “WLAN setting interface” may be displayed on the display screen 494 , and the “WLAN setting interface” may include: “Wi-Fi 7” icon, “Wi-Fi 6” icon, router model, etc.
[0091] The electronic device 400 can realize the shooting function through the ISP, the camera 493, the video codec, the GPU, the display screen 494 and the application processor, etc. The ISP is used to process the data fed back by the camera 493. The camera 493 is used to capture a still image or a video.
[0092] The external memory interface 420 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 400. The external memory card communicates with the processor 410 through the external memory interface 420 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0093] The internal memory 421 may be used to store computer executable program codes, which include instructions. The processor 410 executes various functional applications and data processing of the electronic device 400 by running the instructions stored in the internal memory 421. For example, in an embodiment of the present application, the processor 410 may execute the instructions stored in the internal memory 421, and the internal memory 421 may include a program storage area and a data storage area.
[0094] The electronic device 400 can implement audio functions such as music playing and recording through the audio module 470, the speaker 470A, the receiver 470B, the microphone 470C, the headphone jack 470D, and the application processor.
[0095] The audio module 470 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal. The speaker 470A can be used to convert audio electrical signal into sound signal. The receiver 470B can be used to convert audio electrical signal into sound signal. The microphone 470C can be used to convert sound signal into electrical signal. The headphone jack 470D is used to connect wired headphones.
[0096] The buttons 490 include a power button, a volume button, etc. The motor 491 can generate a vibration prompt. The indicator 492 can be an indicator light, which can be used to indicate the charging status, power change, etc. The SIM card interface 495 is used to connect a SIM card.
[0097] The methods in the following embodiments can all be implemented in the electronic device 400 having the above hardware structure.
[0098] The software system of the electronic device 400 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 400 is exemplified.
[0099] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through interfaces. In some embodiments, The system may include an application layer, an application framework layer, an Android runtime and a system library, a hardware abstraction layer (HAL) and a kernel layer. Taking the system as an example, in other operating systems (such as IOS system, etc.), as long as the functions implemented by each functional module are similar to the embodiments of the present application, the solution of the present application can also be implemented.
[0100] Among them, the application layer can include a series of application packages.
[0101] like Figure 5 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, wireless local area network (WLAN), Bluetooth, music, video, short message, lock screen application, setting application, etc. Of course, the application layer may also include other application packages, such as payment application, shopping application, banking application, chat application or financial application, etc., which are not limited in this application.
[0102] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions. For example, it may include an activity manager, a window manager, a content provider, a view system, a resource manager, a notification manager, and a Wi-Fi service, etc., and the embodiments of the present application do not impose any restrictions on this.
[0103] Among them, the Wi-Fi service can be started during the startup phase of the electronic device and can be used to transmit and save Wi-Fi related information.
[0104] The view system can include visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, the display interface of a network connection application can include a view for displaying text and a view for displaying images.
[0105] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.
[0106] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0107] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0108] OpenGL ES is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0109] SGL is a graphics engine for 2D graphics.
[0110] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system. The core library consists of two parts: one is the function that the Java language needs to call, and the other is the Android core library. The application layer and the application framework layer run in the virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0111] The HAL layer is an encapsulation of the Linux kernel driver, providing an interface to the upper layer and shielding the implementation details of the low-level hardware.
[0112] The HAL layer may include Wi-Fi HAL, audio HAL, and camera HAL.
[0113] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, Wi-Fi driver, audio driver, sensor driver, etc. Among them, the camera driver is the driver layer of the Camera device, which is mainly responsible for the interaction with the hardware.
[0114] In the embodiment of the present application, the electronic device 400 is taken as an example, that is, a mobile phone. Figure 6As shown in, step 601, the mobile phone is turned on. Step 602, the Wi-Fi driver is loaded. Step 603, the Wi-Fi driver reads the preset list stored in the preset configuration file, and sets it to the Wi-Fi firmware, so that the preset configuration file is set to the chip. Among them, the name of the preset configuration file can be "WCNSS_qcom_cfg.ini", and the preset list can be a white list (such as an OUI white list) or a black list (such as an OUI black list). Among them, the preset configuration file can be, but is not limited to, stored in the first preset directory of the electronic device 400.
[0115] The hardware layer includes displays, cameras, antennas, etc. Among them, the antenna can receive electromagnetic waves and convert them into electrical signals to receive information; the antenna can receive electrical signals and convert them into electromagnetic waves to transmit them to send information.
[0116] For ease of understanding, the following takes the first device (also referred to as an electronic device) as a mobile phone and the second device as a preset router as an example, and describes in detail the connection method of the router provided in the embodiment of the present application in conjunction with the accompanying drawings.
[0117] It can be understood that in order to reduce the probability of problems such as poor mobile phone network quality due to compatibility issues of the first preset Wi-Fi protocol and improve the network quality when users use mobile phones, in an embodiment of the present application, the preset router that supports the first preset Wi-Fi protocol can be tested in advance, and the preset identifier of the preset router can be added to the preset list according to the test results. Among them, the first Wi-Fi protocol may include but is not limited to Wi-Fi 8 protocol, Wi-Fi 7 protocol, Wi-Fi 6 protocol and other protocols, and the preset list may include but is not limited to whitelist and blacklist. The preset identifier of the router may include but is not limited to: the OUI of the router, the model of the router, etc. Among them, the OUI of the router can correspond to the model of the router one by one. The whitelist may be but is not limited to the model whitelist and OUI whitelist; the blacklist may be but is not limited to the model blacklist and OUI blacklist.
[0118] In an embodiment of the present application, if the preset router passes the test, the preset identifier of the preset router can be added to the whitelist; if the preset router fails the test, the preset identifier of the preset router is added to the blacklist. Exemplarily, taking the preset identifier of the preset router as OUI and the preset list as the OUI whitelist as an example, the OUI whitelist can be called oui_allow_list, and the oui_allow_list can include: OUIs of preset routers such as oui1 and oui2. Among them, oui1 can be the OUI of the first preset router, and oui2 can be the OUI of the second preset router. Exemplarily, taking the preset identifier of the preset router as OUI and the preset list as the OUI blacklist as an example, the OUI blacklist can be called oui_ban_list, and the oui_ban_list can include: OUIs of preset routers such as oui3 and oui4. Among them, oui3 can be the OUI of the third preset router, and oui4 can be the OUI of the fourth preset router.
[0119] In an embodiment of the present application, the corresponding routers in the whitelist may satisfy one or more of the following conditions: the MLO connection of the router satisfies a first preset sub-condition, the wireless roaming between the router and the test router satisfies a second preset sub-condition, the Internet access function of the electronic device is normal after connecting to the router, the streaming rate of the router is greater than (or greater than or equal to, greater than is used as an example in the following embodiments) a preset rate, the router can be scanned by a mobile phone and the mobile phone can correctly display the network information of the router, the connection between the router and the mobile phone is normal and the mobile phone can correctly display the network information to which it is connected.
[0120] In an embodiment of the present application, the router corresponding to the blacklist satisfies any one or any multiple of the following conditions: the MLO connection of the router does not satisfy the first preset sub-condition, the wireless roaming between the router and the test router does not satisfy the second preset sub-condition, the Internet access function of the electronic device is abnormal after connecting to the router, the streaming rate of the router is less than (or less than or equal to, less than is used as an example in the following embodiments) the preset rate, the router cannot be scanned by the mobile phone, the mobile phone cannot correctly display the network information of the router, the connection between the router and the mobile phone is abnormal, and the mobile phone cannot correctly display the network information to which it is connected.
[0121] In some embodiments of the present application, the first Wi-Fi protocol is the Wi-Fi 7 protocol, and the router 1 identified as "router model 1" is in the whitelist as an example. Figure 7As shown in (a) of FIG. 1 , router 1 can be scanned by the mobile phone and displayed on the "WLAN settings" interface of the mobile phone. The information of router 1 can be displayed on area 701. Area 701 can display the identifier "router model 1" of router 1 and its corresponding "Wi-Fi 7" icon. In response to the user clicking the "Wi-Fi 7" icon corresponding to the identifier "router model 1", as shown in FIG. Figure 7 As shown in (b), the mobile phone can display the network information to which the mobile phone is connected in area 702. The network information to which the mobile phone is connected may include: the text "Connected to:", the identification of router 1 "Router Model 1" and its corresponding "Wi-Fi 7" icon. The mobile phone may also display the "Wi-Fi 7" icon 703 on the status bar.
[0122] In some embodiments of the present application, the MLO connection of the router satisfies the first preset sub-condition, which may include but is not limited to: the router can be connected to multiple working frequency bands of Wi-Fi at the same time. Exemplarily, the MLO connection of the router satisfies the first preset sub-condition, which may include but is not limited to: the mobile phone can be connected to 2 Wi-Fi hotspots at the same time, wherein the two Wi-Fi hotspots can respectively operate on the 2.4G frequency band and the 5G frequency band.
[0123] It can be understood that if the MLO connection of the router meets the first preset sub-condition, then after the connection between the mobile phone and the router is established, the network delay of the mobile phone is lower. The reason is that: the Wi-Fi link can be switched dynamically, and when one of the links encounters interference, it can dynamically switch to another better Wi-Fi link; the mobile phone's network has higher reliability, because: multi-channel Wi-Fi can make data transmission more reliable, and noisy environment can reduce the probability of disconnection; the mobile phone's network throughput is faster, because: the network speed aggregation of multiple links can lead to higher network speed.
[0124] In some embodiments of the present application, the test router may include, but is not limited to, a router supporting a first preset Wi-Fi protocol and / or a router supporting a second preset Wi-Fi protocol. The roaming between the router and the test router satisfies the second preset sub-condition and may include, but is not limited to: the wireless roaming between the router and the router supporting the first preset Wi-Fi protocol is normal, the wireless roaming between the router and the router supporting the second preset Wi-Fi protocol is normal, the wireless roaming between the router and the router supporting the first preset Wi-Fi protocol is normal, and the wireless roaming between the router and the router supporting the second preset Wi-Fi protocol is normal. The version of the second Wi-Fi protocol may be lower than the version of the first Wi-Fi protocol. For example, if the version of the first Wi-Fi protocol is Wi-Fi 8, the version of the second Wi-Fi protocol may include, but is not limited to, Wi-Fi 7, Wi-Fi 6, etc.; if the version of the first Wi-Fi protocol is Wi-Fi 7, the version of the second Wi-Fi protocol may include, but is not limited to, Wi-Fi 6, Wi-Fi 5, etc. If the version of the first Wi-Fi protocol is Wi-Fi 6, then the version of the second Wi-Fi protocol may include but is not limited to Wi-Fi 5, Wi-Fi 4, etc.
[0125] Among them, wireless roaming can be, but is not limited to, referring to the situation that when a wireless workstation (such as a mobile phone) moves to a critical area of the coverage of two APs (such as a router), the wireless workstation associates with a new AP and disconnects from the original AP, and maintains an uninterrupted network connection during the process. It can be understood that wireless roaming is equivalent to the mobile call function of a mobile phone, which can provide uninterrupted and seamless call capabilities when a mobile phone moves from the coverage of one base station to the coverage of another base station.
[0126] In some embodiments of the present application, the normal Internet access function of the electronic device after connecting to the router may include but is not limited to the Internet access speed of the electronic device after connecting to the router being greater than a preset Internet speed, wherein the preset Internet speed may include but is not limited to 10 megabits per second (Mbps), 5Mbps, etc.
[0127] In some embodiments of the present application, one of the key performance indicators (KPI) of the router, namely, the traffic rate of the router, may refer to the wireless real-time rate of the router, and the preset rate may include but is not limited to 700Mbps, 500Mbps, etc. In a possible design, the preset condition may also be that the router supports a certain preset feature, etc., and the setting of the preset condition is not limited in any way in the embodiments of the present application.
[0128] In some embodiments of the present application, before the mobile phone leaves the factory, an OUI whitelist can be added to a preset configuration file in a first preset directory of the mobile phone, or an OUI blacklist can be added to a preset configuration file in a second preset directory of the mobile phone. In other words, the whitelist can be stored in the first preset directory of the mobile phone; the blacklist can be stored in the second preset directory of the mobile phone.
[0129] In another possible design of the present application, if the mobile phone is not configured with a whitelist or a blacklist before leaving the factory, then when the mobile phone updates the operating system, it can obtain a first installation package including a whitelist, and store the obtained whitelist in a first preset directory of the mobile phone, or it can obtain a second installation package including a blacklist, and store the obtained blacklist in a second preset directory of the mobile phone.
[0130] In some embodiments, each time the mobile phone is turned on, the Wi-Fi driver can load data, the Wi-Fi driver can read the whitelist under the first preset directory and / or the blacklist under the second preset directory, and set the whitelist and / or the blacklist to the Wi-Fi firmware. In other embodiments, in response to the user starting the Wi-Fi function, the Wi-Fi driver included in the mobile phone can read the whitelist under the first preset directory and / or the blacklist under the second preset directory, and set the whitelist and / or the blacklist to the Wi-Fi firmware, so that the whitelist and / or the blacklist are set in the Wi-Fi chip.
[0131] It should be noted that, during the test of the preset router supporting the first Wi-Fi protocol, when the identifier (such as OUI) of the router included in the whitelist or blacklist changes (for example, increases or decreases), the mobile phone can update the whitelist or blacklist in the following manner.
[0132] In a possible design of the present application, when updating the operating system, the mobile phone can update the whitelist according to the obtained third installation package, wherein the third installation package includes the first preset whitelist; and / or, when updating the operating system, the mobile phone can update the blacklist according to the obtained fourth installation package, wherein the fourth installation package includes the first preset blacklist.
[0133] Exemplarily, when the mobile phone updates the operating system, it can obtain a third installation package, which can include a first preset whitelist, which can be the same as or different from the whitelist, and the mobile phone can use the first preset whitelist to update the whitelist. For example, the first preset whitelist is stored in the first preset directory of the mobile phone to cover the whitelist. When the mobile phone updates the operating system, it can obtain a fourth installation package, which can include a first preset blacklist, which can be the same as or different from the blacklist, and the mobile phone can use the first preset blacklist to update the blacklist. For example, the first preset blacklist is stored in the second preset directory of the mobile phone to cover the blacklist.
[0134] In another possible design of the present application, the mobile phone can receive a first preset configuration file sent by a preset electronic device, and update the whitelist according to the first preset configuration file, wherein the first preset configuration file includes a second preset whitelist; and / or, the mobile phone can receive a second preset configuration file sent by the preset electronic device, and update the blacklist according to the second preset configuration file, wherein the second preset configuration file includes a second preset blacklist.
[0135] The preset electronic device may be a mobile phone, a tablet computer, a desktop computer, a handheld computer, a laptop computer, an ultra-mobile personal computer, a netbook, a personal digital assistant, an augmented reality\virtual reality device, etc.
[0136] Exemplarily, taking the preset electronic device as a tablet computer as an example, the mobile phone can receive a first preset configuration file sent by the tablet computer, the first preset configuration file can include a second preset whitelist, the second preset whitelist can be the same as or different from the whitelist, and the mobile phone can use the second preset whitelist to update the whitelist. For example, the second preset whitelist is stored in the first preset directory of the mobile phone to cover the whitelist. The mobile phone can receive a second preset configuration file sent by the tablet computer, the second preset configuration file can include a second preset blacklist, the second preset blacklist can be the same as or different from the blacklist, and the mobile phone can use the second preset blacklist to update the blacklist. For example, the second preset blacklist is stored in the second preset directory of the mobile phone to cover the blacklist.
[0137] It should be noted that the mobile phone can also add the preset router to the whitelist or blacklist in response to the user performing a preset operation. The embodiment of the present application does not impose any limitation on the method of adding the identifier of the router to the whitelist or blacklist.
[0138] like Figure 8 As shown in , an embodiment of the present application provides a method for connecting a router, including the following steps. In the following steps, it is assumed that the preset identifier of the preset router is OUI:
[0139] Before the mobile phone receives the preset frame sent from the preset router, the mobile phone can read the white list and / or black list when it is turned on, and set the white list and / or black list to the Wi-Fi firmware. The preset frame may include but is not limited to a beacon frame and / or a probe response frame.
[0140] 801. Preset router broadcast identifier.
[0141] As an example, the preset router can periodically broadcast beacon frames at a certain time interval to inform other electronic devices (such as mobile phones) of the existence of its wireless network so that other electronic devices can join the network. The beacon frame carries a preset identifier of the preset router.
[0142] 802. The mobile phone detects that the user has turned on the Wi-Fi function of the mobile phone.
[0143] For example, Fig. 9 As shown in (a) of FIG. 1 , in response to the user clicking the “settings” icon 901, as shown in FIG. Fig. 9 As shown in (b) of FIG. 1 , the mobile phone may display a “settings” interface. The “settings” interface may include text “WLAN settings” 902, text “display and brightness”, and text “other settings”, etc. In response to the user clicking on the text “WLAN settings” 902, as shown in FIG. Fig. 9 As shown in (c) of FIG. 1 , the mobile phone may display an interface of “WLAN settings”. The interface of “WLAN settings” may include a button 903 .
[0144] In a possible design of the related art, in response to the user clicking button 903, as shown in FIG. Fig. 9 As shown in (d) in the figure, the mobile phone may display another interface of "WLAN settings", which may include information about the networks currently available to the mobile phone. The network identifier of each network in the information about the networks currently available to the mobile phone may include but is not limited to the device model, device ID (Identity document), and user-defined name (e.g., living room router, Zhang San's router, router 1, Zhang San's mobile phone, etc.).
[0145] If the router 1 scanned by the mobile phone is a router that supports the Wi-Fi 7 protocol, and the router 4 scanned by the mobile phone is a router that supports the Wi-Fi 6 protocol, then the information of the currently available networks can be displayed in area 904 on the mobile phone. The information of the currently available networks may include but is not limited to: the identification of router 1 "Route model 1" and its corresponding "Wi-Fi 7" icon, etc.
[0146] In an embodiment of the present application, when the Wi-Fi function of the mobile phone is turned on, the electronic device can receive a preset frame sent from a preset router, wherein the preset router supports a first preset Wi-Fi protocol, and the preset frame carries a preset identifier of the preset router. The preset frame may include but is not limited to a beacon frame and / or a detection response frame.
[0147] The mobile phone can send a Probe Request frame to the preset routers around it to obtain (also called scanning) the probe response frame with its identifier replied by the preset router. The ProbeResponse frame is used to respond to the Probe Request frame, and the Probe Request frame can be a frame used by the mobile phone to scan whether there is an available network around it. If the preset router broadcasts a beacon frame with its identifier, the mobile phone can also receive the beacon frame sent by the preset router with its identifier, wherein the information sent by the preset router received by the mobile phone may include the following information:
[0148] Tag:Vendor Specific:Realtek Semiconductor Corp.
[0149] Tag length:6
[0150] OUI:00:e0:4c(Realtek Semiconductor
[0151] Vendor Specific OUI Type:2
[0152] Vendor Specific Data:020160
[0153] Among them, "OUI: 00:e0:4c" 901 may indicate that the OUI field in the beacon frame includes: 00:e0:4c. "00:e0:4c" may be the OUI of router 1. That is, the mobile phone receives the information broadcast by the preset router with the OUI "00:e0:4c".
[0154] In one implementation of the related art, taking the first Wi-Fi protocol as the Wi-Fi 7 protocol, the preset identifier of the preset router as OUI, and the preset list as the OUI whitelist as an example, Fig.10 As shown in (a) of FIG. 1 , in response to the user clicking on the identifier “route model 1” 1001 of router 1, as shown in FIG. Fig.10As shown in (b), the mobile phone can establish a connection with the router 1 based on the Wi-Fi 7 protocol. The mobile phone interface may include the network information 1002 to which the mobile phone is connected, the icon of the network to which the mobile phone is connected, that is, the "Wi-Fi 7" icon 1003 displayed in the status bar, etc., wherein the router information 1002 to which the mobile phone is connected includes: the text "Connected to:", the identification of the router 1 "Router Model 1" and its corresponding "Wi-Fi 7" icon.
[0155] It is understandable that since there may be protocol compatibility issues between the Wi-Fi 7 protocol and the Wi-Fi 6 protocol and the Wi-Fi 5 protocol, when the mobile phone directly establishes a connection with "Router 1" through the Wi-Fi 7 protocol, problems such as poor mobile phone network quality may occur due to compatibility issues of the Wi-Fi 7 protocol.
[0156] It should be noted that step 702 can be executed before step 701, or step 702 and step 701 can be executed simultaneously. The execution order of step 701 and step 702 is not limited in any way in the embodiment of the present application.
[0157] 803. If the OUI of the preset router meets the first preset condition, the mobile phone establishes a connection with the preset router based on the first Wi-Fi protocol.
[0158] The OUI of the preset router satisfies the first preset condition, which may include but is not limited to: the OUI of the preset router is in the white list, and / or the OUI of the preset router is not in the black list.
[0159] 804. If the OUI of the preset router meets the second preset condition, the mobile phone establishes a connection with the preset router based on the second Wi-Fi protocol.
[0160] The OUI of the preset router meeting the second preset condition may include but is not limited to: the OUI of the preset router is in the blacklist, and / or the OUI of the preset router is not in the whitelist.
[0161] In the embodiment of the present application, the version of the second Wi-Fi protocol may be lower than the version of the first Wi-Fi protocol. For example, if the version of the first Wi-Fi protocol is Wi-Fi 8, the version of the second Wi-Fi protocol may include but is not limited to Wi-Fi 7, Wi-Fi 6, etc.; if the version of the first Wi-Fi protocol is Wi-Fi 7, the version of the second Wi-Fi protocol may include but is not limited to Wi-Fi 6, Wi-Fi 5, etc. If the version of the first Wi-Fi protocol is Wi-Fi 6, the version of the second Wi-Fi protocol may include but is not limited to Wi-Fi 5, Wi-Fi 4, etc.
[0162] In the following embodiments of the present application, the preset identifier of the preset router is OUI, the preset list is the OUI whitelist, the first Wi-Fi protocol is the Wi-Fi 7 protocol, the second Wi-Fi protocol is the Wi-Fi 6 protocol, the OUI whitelist oui_allow_list includes: 00:e0:4c and 00:a0:4c, and the OUI blacklist oui_ban_list includes: 00:b0:4c.
[0163] In an embodiment of the present application, the OUI of the preset router carried in the beacon frame or Probe Response frame that the mobile phone can receive, the OUI of the preset router may include: OUI of router 1: 00:e0:4c, OUI of router 2: 00:a0:4c, OUI of router 3: 00:b0:4c, OUI of router 4: 00:c0:4c and OUI of router 5: 00:d0:4c.
[0164] In a possible design of the present application, the mobile phone can determine the comparison result by comparing each OUI stored in the whitelist oui_allow_list with the OUI of the router carried in the received beacon frame or Probe Response frame.
[0165] The comparison result may indicate that the OUI of router 1: 00:e0:4c and the OUI of router 2: 00:a0:4c are both in the whitelist, that is, router 1 and router 2 are the routers corresponding to the whitelist. The comparison result indicates that the OUI of router 3: 00:b0:4c, the OUI of router 4: 00:c0:4c, and the OUI of router 5: 00:d0:4c are not in the whitelist, that is, router 3, router 4, or router 5 are not the routers corresponding to the whitelist.
[0166] The comparison result may also indicate: The comparison result indicates that the OUI of router 3: 00:b0:4c is in the blacklist, that is, router 3 is the router corresponding to the blacklist. The comparison result indicates that the OUI of router 1: 00:e0:4c, the OUI of router 2: 00:a0:4c, the OUI of router 4: 00:c0:4c, and the OUI of router 5: 00:d0:4c are not in the blacklist, that is, router 1, router 2, router 4, or router 5 is not a router in the whitelist.
[0167] In an embodiment of the present application, after comparing the received preset identifier of the preset router and the whitelist, if the OUI of the preset router is in the whitelist and / or is not in the blacklist, the mobile phone can establish a connection with the preset router based on the second Wi-Fi protocol; if the OUI of the router is in the blacklist and / or is not in the whitelist, the mobile phone can establish a connection with the preset router based on the first Wi-Fi protocol.
[0168] In a possible implementation of the present application, taking the preset identifier of the preset router as OUI, the preset list as the OUI whitelist, the first Wi-Fi protocol as the Wi-Fi 7 protocol, and the second Wi-Fi protocol as the Wi-Fi 6 protocol as an example, it is assumed that both router 3 and router 5 support the Wi-Fi 7 protocol, but since the OUI of router 3 and the OUI of router 5 are not in the whitelist, that is, router 3 and router 5 are not routers corresponding to the whitelist; or since the OUI of router 3 is in the blacklist and the OUI of router 5 is not in the whitelist, that is, router 3 is the router corresponding to the blacklist and router 3 is not the router corresponding to the whitelist.
[0169] In a possible design of the present application, since neither Router 3 nor Router 5 is a router in the whitelist, the network information of Router 3 and Router 5 displayed on the mobile phone can be changed to prompt the user that "Router 3" and "Router 5" cannot establish a connection based on Wi-Fi 7, but can establish a connection based on the Wi-Fi 6 protocol. Fig.11 As shown in (a) of FIG. 1 , the mobile phone may display an interface 1101, which includes the currently available networks of the mobile phone. The interface 1101 may include: the identifier "router model 3" of router 3 and its corresponding "Wi-Fi 6" icon 1102; the identifier "router model 5" of router 5 and its corresponding "Wi-Fi 6" icon 1103.
[0170] In response to the user clicking on the identifier 1104 of router 1 included in the interface 1101, namely "routing model 1", as shown in FIG. Fig.11 As shown in (b), the mobile phone can establish a connection with router 1 based on the Wi-Fi 7 protocol. The mobile phone interface may include the router information 1105 to which the mobile phone is connected, the icon of the network to which the mobile phone is connected, that is, the "Wi-Fi 7" icon 1106 displayed in the status bar, etc., wherein the router information 1105 to which the mobile phone is connected includes: the text "Connected to:", the identifier of router 1 "Router model 1" and its corresponding "Wi-Fi 7" icon.
[0171] like Fig.11As shown in (c) in FIG. 1 , in response to the user clicking the “Wi-Fi 6” icon 1007 corresponding to the identifier “Route Model 3” of the router 3 included on the mobile phone interface, as shown in FIG. Fig.11 As shown in (d), the mobile phone can establish a connection with "Router 3" based on the Wi-Fi 6 protocol, and the mobile phone interface may include information 1108 of the router to which the mobile phone is connected and an icon 1109 of "Wi-Fi 6" to which the mobile phone is connected, etc. Among them, the information 1108 of the router to which the mobile phone is connected includes: the text "Connected to:", the identifier of router 3 "Router model 3" and its corresponding "Wi-Fi 6" icon.
[0172] In another specific implementation of the present application, Fig.12 As shown in (a), the network information of router 3 can be displayed in area 1201 of the mobile phone screen; the network information of router 5 can be displayed in area 1204 of the mobile phone screen. The network information of router 3 may include: network information of router 3 based on Wi-Fi 6 protocol and network information of router 3 based on Wi-Fi 7 protocol. An icon 1203 may be displayed in area 1202 where the network information of router 3 based on Wi-Fi 7 protocol is located, and icon 1203 may be used to indicate that the network of router 3 based on Wi-Fi 7 protocol is unavailable.
[0173] It should be noted that the area 1202 where the network information of the router 3 based on the Wi-Fi 7 protocol is located can also be grayed out to indicate that the network of the router 3 based on the Wi-Fi 7 protocol is unavailable. The embodiment of the present application does not impose any limitation on the display method representing that the router is unavailable.
[0174] In some embodiments of the present application, the mobile phone can add the preset router to the whitelist in response to the user's preset operation, thereby updating the whitelist. When the user restarts the mobile phone or restarts the Wi-Fi function, the Wi-Fi driver can read the updated whitelist and set the updated whitelist to the Wi-Fi firmware, so that the updated whitelist is set to the Wi-Fi chip.
[0175] Among them, the preset operation may include but is not limited to: preset body movements, preset expressions, preset voice commands, preset eye movements, and preset touch operations. In the embodiment of the present application, taking the preset operation as a preset touch operation as an example, the mobile phone can respond to the preset touch operation performed by the user through a finger or a stylus. In other words, the executor of the preset touch operation can be a user or an automatic device. The user can use a finger or a stylus to click (or press). The automatic clicking device is usually a stylus or a stylus head. The path of the stylus or the stylus head is set by a program to achieve clicks (or presses) at different positions.
[0176] In a specific implementation of the present application, taking the preset operation as a preset touch operation and the preset identifier of the preset router as an example, Fig.12 As shown in (a) of FIG. 1 , in response to the user clicking on the icon 1203 corresponding to the identifier “router model 3” of router 3 included on the mobile phone interface, as shown in FIG. Fig.12 As shown in (b) of FIG. 1 , a pop-up window 1205 may be displayed on the mobile phone, and the pop-up window 1205 may include a prompt text "This network is not available". Alternatively, Fig.12 As shown in (c) of FIG. 1 , a pop-up window 1206 may be displayed on the mobile phone, and the pop-up window 1206 may include the text "This network is not available" and an "Add to whitelist" button 1207. The mobile phone may respond to the user's preset touch operation, that is, clicking the "Add to whitelist" button 1207, and add the OUI of router 3 to the whitelist. Fig.12 As shown in (d) in FIG. 1 , a prompt message 1208 may be displayed on the mobile phone, namely, “Added, please restart the mobile phone or WLAN.” Of course, in some examples, it may not be necessary to restart the mobile phone or WLAN.
[0177] In another specific implementation of the present application, taking the preset operation as a preset touch operation as an example, Fig.13 As shown in (a) in the figure, the network information of router 3 can be displayed in area 1301 of the mobile phone screen; the network information of router 5 can be displayed in area 1302 of the mobile phone screen. Among them, area 1301 can display an icon 1303 of the Wi-Fi 7 capability corresponding to the identifier “Route Model 3” of router 3 and an icon “Wi-Fi 6” corresponding to the identifier “Route Model 3” of router 3. Area 1302 can display an icon 1304 of the Wi-Fi 7 capability corresponding to the identifier “Route Model 5” of router 5 and an icon “Wi-Fi 6” corresponding to the identifier “Route Model 5” of router 5. In response to the user clicking on icon 1303 of the Wi-Fi 7 capability corresponding to the identifier “Route Model 3” of router 3 displayed in area 1301, it can be shown as follows Fig.13 As shown in (b) of FIG. 1 , a pop-up window 1305 may be displayed on the mobile phone, and the pop-up window 1305 may include a prompt text “Do you need to add to the Wi-Fi 7 whitelist?”, a button “Yes”, and a button “No”. The mobile phone may respond to the user performing a preset touch operation, that is, clicking the button “Yes”, as shown in FIG. Fig.13 As shown in (c) in FIG. 1 , a prompt message 1306 may be displayed on the mobile phone, namely, “Added, please restart the mobile phone or WLAN”.
[0178] It should be noted that in response to the user adding router 3 to the whitelist, the mobile phone can add the OUI of router 3: 00:b0:4c to the whitelist. The updated whitelist may include: 00:e0:4c, 00:a0:4c and 00:b0:4c. When the user restarts the mobile phone or restarts the Wi-Fi function of the mobile phone (for example, restarting the WLAN switch), Fig.14 As shown in (a) of FIG. 1 , the mobile phone may display the text “Router 3” and its corresponding “Wi-Fi 7” icon in area 1401, and display the identifier of router 5 “Router Model 5” and its corresponding “Wi-Fi 6” icon in area 1402. Alternatively, Fig.14 As shown in (b) in FIG. 14 , the mobile phone can display the identifier “router model 3” of router 3 and the corresponding “Wi-Fi 7” icon in area 1403, and can also display the network information of router 5 in area 1404. The network information of router 5 may include: network information of router 5 based on the Wi-Fi 7 protocol and network information of router 5 based on the Wi-Fi 6 protocol. A disabled icon may be displayed in the area where the network information of router 5 based on the Wi-Fi 7 protocol is located to indicate that router 5 is unavailable.
[0179] In a specific implementation of the present application, in order to control the risks brought by the Wi-Fi 7 protocol, the preset identifier of the preset router is OUI, the preset list is the OUI whitelist, the first Wi-Fi protocol is the Wi-Fi 7 protocol, and the second Wi-Fi protocol is the Wi-Fi 6 protocol. For example, the preset router can broadcast its identifier (e.g., OUI) in a beacon frame. After the user turns on the WI-FI function, the mobile phone can send a Probe Request frame to the preset routers around to obtain (also known as scanning) the detection response (proberes ponse) frame carrying its identifier replied by the preset router. The mobile phone can compare the OUIs stored in the blacklist with the OUI of the router carried in the received beacon frame or ProbeResponse frame. If the OUI of the preset router is in the OUI blacklist, then a connection can be established with the preset router based on the Wi-Fi 6 protocol. If the OUI of the preset router is not in the OUI blacklist, a connection is established with the preset router based on the Wi-Fi 7 protocol.
[0180] Based on the method provided in the embodiment of the present application, after the mobile phone receives the preset frame carrying the preset identifier sent from the preset router, the mobile phone can actively and dynamically establish a connection with the preset router based on the Wi-Fi 7 protocol or the Wi-Fi 6 protocol according to the conditions satisfied by the preset identifier. This can effectively control the risks brought by the Wi-Fi 7 protocol, improve the reliability of the connection between the mobile phone and the preset router, reduce the occurrence of problems such as poor mobile phone network quality caused by compatibility issues of the Wi-Fi 7 protocol, and improve the network quality when users use their mobile phones.
[0181] The present application provides a router connection system, which includes: an electronic device and a preset router. The electronic device may include: a touch screen, a memory, and one or more processors. The touch screen, the memory, and the processor are coupled. The memory is used to store computer program code, and the computer program code includes computer instructions. When the processor executes the computer instructions, the electronic device can execute the various functions or steps executed by the mobile phone in the above method embodiment. The structure of the electronic device can refer to Figure 4 The structure of the electronic device 400 is shown.
[0182] The present application also provides a chip system (eg, a system on a chip (SoC)), such as Fig.15 As shown, the chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 and the interface circuit 1502 can be interconnected via lines. For example, the interface circuit 1502 can be used to receive signals from other devices (such as a memory of an electronic device). For another example, the interface circuit 1502 can be used to send signals to other devices (such as a processor 1501 or a touch screen of an electronic device). Exemplarily, the interface circuit 1502 can read instructions stored in the memory and send the instructions to the processor 1501. When the instructions are executed by the processor 1501, the electronic device can execute the various steps in the above embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in the embodiments of the present application.
[0183] An embodiment of the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on the above-mentioned electronic device, the electronic device executes each function or step executed by the electronic device in the above-mentioned method embodiment.
[0184] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0185] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0186] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0187] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0188] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0189] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application shall be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory is used to store computer program codes, the computer program codes comprise computer instructions, and when the computer instructions are executed by the processor, the electronic device performs the following steps: The electronic device receives a preset frame sent from a preset router, wherein both the preset router and the electronic device support a first preset Wi-Fi protocol, and the preset frame carries a preset identifier of the preset router; If the preset identifier is in the preset whitelist or the preset identifier is not in the preset blacklist, the electronic device and the preset router establish a connection based on the first preset Wi-Fi protocol; If the preset identifier is not in the preset whitelist or the preset identifier is in the preset blacklist, the electronic device establishes a connection with the preset router based on a second preset Wi-Fi protocol; The preset whitelist includes preset identifiers of routers that meet the following multiple conditions, and the preset blacklist includes preset identifiers of routers that do not meet any one of the multiple conditions; The multiple conditions include: The router supports connecting to multiple working frequency bands of Wi-Fi simultaneously; The wireless roaming between the router and the router supporting the first preset Wi-Fi protocol is normal, and the wireless roaming between the router and the router supporting the second preset Wi-Fi protocol is normal; The traffic rate of the router is greater than a preset rate.
2. The electronic device according to claim 1, characterized in that: The version of the second preset Wi-Fi protocol is lower than the version of the first preset Wi-Fi protocol.
3. The electronic device according to claim 1 or 2, characterized in that: When the computer instructions are executed by the processor, the electronic device further performs the following steps: The electronic device adds the preset identifier to the whitelist in response to a first preset operation; and / or, The electronic device adds the preset identifier to the blacklist in response to a second preset operation.
4. The electronic device according to claim 1 or 2, characterized in that: The whitelist is stored in a first preset directory of the electronic device; The blacklist is stored in a second preset directory of the electronic device.
5. The electronic device according to claim 1 or 2, characterized in that: When the computer instruction is executed by the processor, the electronic device further performs the following steps: before the electronic device receives a preset frame sent from a preset router, When the electronic device updates the operating system, the whitelist included in the acquired first installation package is stored in a first preset directory of the electronic device; and / or, When the electronic device updates the operating system, the blacklist included in the acquired second installation package is stored in the second preset directory of the electronic device.
6. The electronic device according to claim 1 or 2, characterized in that: When the computer instructions are executed by the processor, the electronic device further performs the following steps: When the electronic device updates the operating system, the electronic device updates the whitelist according to the acquired third installation package, wherein the third installation package includes the first preset whitelist; and / or, When the electronic device updates the operating system, the blacklist is updated according to the acquired fourth installation package, wherein the fourth installation package includes the first preset blacklist.
7. The electronic device according to claim 1 or 2, characterized in that: When the computer instructions are executed by the processor, the electronic device further performs the following steps: The electronic device receives a first preset configuration file sent by a preset electronic device, and updates the whitelist according to the first preset configuration file, wherein the first preset configuration file includes a second preset whitelist; and / or, The electronic device receives a second preset configuration file sent by a preset electronic device, and updates the blacklist according to the second preset configuration file, wherein the second preset configuration file includes a second preset blacklist.
8. The electronic device according to claim 1 or 2, characterized in that: When the computer instruction is executed by the processor, the electronic device further performs the following steps: before the electronic device receives a preset frame sent from a preset router, When the electronic device is turned on, it reads the white list and / or the black list, and sets the white list and / or the black list to the Wi-Fi firmware.
9. The electronic device according to claim 1 or 2, characterized in that: The preset frame includes: a beacon frame and / or a detection response frame.
10. The electronic device according to claim 1 or 2, characterized in that: The first preset Wi-Fi protocol is the Wi-Fi 7 protocol.
11. The electronic device according to claim 1 or 2, characterized in that: The second preset Wi-Fi protocol is the Wi-Fi 6 protocol.
Citation Information
Patent Citations
Method and device for realizing O2O Internet service and router equipment
CN109905836A
Wi-fi configuration method and electronic device
WO2022143153A1