CN116471707B - Method, device and system for connecting router - Google Patents

Method, device and system for connecting router Download PDF

Info

Publication number
CN116471707B
CN116471707B CN202310186386.9A CN202310186386A CN116471707B CN 116471707 B CN116471707 B CN 116471707B CN 202310186386 A CN202310186386 A CN 202310186386A CN 116471707 B CN116471707 B CN 116471707B
Authority
CN
China
Prior art keywords
preset
router
protocol
electronic equipment
white list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310186386.9A
Other languages
Chinese (zh)
Other versions
CN116471707A (en
Inventor
范小凤
侯添译
赵辰
黄鹏飞
申奥
郝一休
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202310186386.9A priority Critical patent/CN116471707B/en
Publication of CN116471707A publication Critical patent/CN116471707A/en
Application granted granted Critical
Publication of CN116471707B publication Critical patent/CN116471707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a method, a device and a system for connecting a router, which relate to the technical field of communication and can effectively control risks of poor network quality and the like caused by compatibility problems of a first preset Wi-Fi protocol. The method is applied to a system comprising the electronic equipment and a preset router, and comprises the following steps: the electronic equipment receives a preset frame sent by a preset router, wherein the preset router supports a first preset Wi-Fi protocol, and a preset identifier of the preset router is carried in the preset frame; if the preset identifier meets a first preset condition, the electronic equipment and the preset router establish connection based on a first preset Wi-Fi protocol; if the preset identifier Fu Manzu is a second preset condition, the electronic device establishes a connection with the preset router based on a second preset Wi-Fi protocol.

Description

Method, device and system for connecting router
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for connecting a router.
Background
With the development of wireless network communication technologies, such as the development of wireless local area network (Wireless Local Area Networks, WLAN) technologies, the seventh generation Wi-Fi wireless network (i.e., wi-Fi 7) is gradually becoming the next generation main wireless network communication technology. Seventh generation Wi-Fi wireless networks may be up to 30 gigabits per second (Gbits) up to three times the maximum 9.6 gigabits per second (Gbps) rate of the sixth generation Wi-Fi wireless networks (i.e., wi-Fi 6). Compared with Wi-Fi 6, wi-Fi 7 can support 16 data streams at most, and Wi-Fi 7 can additionally support a 6GHz frequency band besides the traditional two frequency bands of 2.4 GHz (GHz) and 5GHz, and the three frequency bands can work simultaneously.
However, the Wi-Fi 7 protocol is not mature at present, so that the problem of poor network quality of the mobile phone due to the compatibility problem of the Wi-Fi 7 protocol (such as the compatibility problem with other protocols or device hardware) may occur, so that the internet surfing experience of the user is poor.
Disclosure of Invention
The method, the device and the system for connecting the router can effectively control risks of poor network quality and the like caused by compatibility problems of the first preset Wi-Fi protocol, and improve Internet surfing experience of users.
In a first aspect, the present application provides a method for connecting a router, including: the electronic equipment receives a preset frame sent by a preset router, wherein the preset router supports a first preset Wi-Fi protocol, and a preset identifier of the preset router is carried in the preset frame; if the preset identifier meets a first preset condition, the electronic equipment and the preset router establish connection based on a first preset Wi-Fi protocol; if the preset identifier Fu Manzu is a second preset condition, the electronic device establishes a connection with the preset router based on a second preset Wi-Fi protocol.
Based on the method provided by the application, after the electronic equipment receives the preset frame which is sent by the preset router and carries the preset identifier, the electronic equipment can actively establish 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. Therefore, risks brought by the first preset Wi-Fi protocol can be effectively controlled, reliability of connection between the electronic equipment and the preset router is improved, and the problems of poor network quality of the mobile phone and the like caused by the compatibility of the first preset Wi-Fi protocol are reduced.
In a possible implementation manner of the first aspect, the preset identifier meeting the first preset condition includes: the preset identifier is in the white list and/or the preset identifier is not in the black list; the preset identifier Fu Manzu second preset condition includes: 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 white list and/or the preset identifier is not in the black list, 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, the electronic device establishes connection with the preset router based on a second preset Wi-Fi protocol. That is, the electronic device may adaptively select an appropriate Wi-Fi protocol according to the specific situation of the preset router to establish a connection with the preset router. Therefore, risks brought by the first preset Wi-Fi protocol can be effectively controlled, reliability of connection between the electronic equipment and the preset router is improved, and the problems of poor network quality of the mobile phone and the like caused by the compatibility of the first preset Wi-Fi protocol are reduced.
In another possible implementation of the first aspect, the second preset Wi-Fi protocol has a lower version than 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, 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, the electronic device establishes a connection with the preset router based on a second preset Wi-Fi protocol lower than the first preset Wi-Fi protocol. That is, if the preset identifier of the preset router is not in the white list, the electronic device may select a lower version of Wi-Fi protocol to establish a connection with the preset router. Therefore, the situation that the electronic equipment is incompatible with the preset router can be reduced, the electronic equipment can actively and dynamically select a more proper Wi-Fi protocol for the connection between the electronic equipment and the preset router, and the reliability of the connection between the electronic equipment and the preset router is improved.
In another possible implementation manner of the first aspect, the routers corresponding to the whitelist satisfy one or more of the following conditions: the multi-link aggregation technology MLO connection of the router meets a first preset sub-condition, the wireless roaming between the router and the test router meets a second preset sub-condition, and the streaming rate of the router is larger than the preset rate.
Based on the method provided by the application, if the preset router meets one or more of the following conditions: the MLO connection of the router meets a first preset sub-condition, the wireless roaming between the router and the test router meets a second preset sub-condition, the streaming rate of the router is larger than the preset rate, and then the electronic equipment can establish connection with the preset router based on a first preset Wi-Fi protocol after receiving a preset frame sent by the preset router. That is, in the case where the preset router satisfies a certain condition, the electronic device may establish a connection with the preset router based on a first preset Wi-Fi protocol that is higher in version than the second preset Wi-Fi protocol. Therefore, the probability of the problem of poor network quality of the mobile phone and the like due to the compatibility problem of the first preset Wi-Fi protocol can be reduced, and the network quality of a user when using the mobile phone is improved.
In another possible implementation manner 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 meet a first preset sub-condition, the wireless roaming between the router and the test router does not meet a second preset sub-condition, and the streaming rate of the router is smaller than the preset rate.
Based on the method provided by the 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 smaller than the preset rate, so that the electronic equipment can establish connection with the preset router based on the second preset Wi-Fi protocol after receiving the preset frame sent by the preset router. That is, in the case where the preset router does not satisfy a certain condition, the electronic device may establish a connection with the preset router based on a second preset Wi-Fi protocol that is lower in version than the first preset Wi-Fi protocol. Therefore, the probability of the problem of poor network quality of the mobile phone and the like due to the compatibility problem of the first preset Wi-Fi protocol can be reduced, the network quality of a user when using the mobile phone is improved, and the reliability of connection between the electronic equipment and the preset router is improved.
In another possible implementation manner of the first aspect, the electronic device adds the preset identifier to the white list in response to a first preset operation; and/or the electronic equipment responds to the second preset operation and adds the preset identification to the blacklist. Based on this, if the preset identifier is not in the white list or the black list, but the user wants to add the preset identifier to the white list or the black list, the electronic device may add the preset identifier to the white list or the black list in response to the second preset operation. Therefore, the flexibility of the white list mechanism of the router on the electronic equipment side is improved, and the diversity of the connection process of the electronic equipment and the preset router supporting the first preset Wi-Fi protocol is improved.
In another possible implementation manner of the first aspect, the white list is stored under a first preset directory of the electronic device; the blacklist is stored under a second preset directory of the electronic equipment. Based on the above, after the electronic device receives the preset frame sent by the preset router supporting 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 connection with the preset router according to the relation between the preset identifier and the white list under the first preset directory or the black list under the second preset directory. Therefore, the probability of the problem of poor network quality of the mobile phone and the like due to the compatibility problem of the first preset Wi-Fi protocol can be reduced, the network quality of a user when using the mobile phone is improved, and the reliability of connection between the electronic equipment and the preset router is improved.
In another possible implementation manner of the first aspect, before the electronic device receives the preset frame sent from the preset router, the method further includes: when the electronic equipment updates an operating system, storing the acquired white list included in the first installation package under a first preset directory of the electronic equipment; and/or when the electronic equipment updates the operating system, storing the blacklist included in the acquired second installation package under a second preset directory of the electronic equipment. Based on the above, if the white list or the black list is not stored in the electronic device, the electronic device may store the white list under a first preset directory of the electronic device or store the black list under a second preset directory of the electronic device by updating the first installation package or the second installation package acquired when the operating system is updated.
In another possible implementation manner of the first aspect, when the electronic device updates the operating system, the white list is updated according to the obtained third installation package, where the third installation package includes the first preset white list; and/or updating the blacklist according to the obtained fourth installation package when the electronic equipment updates the operating system, wherein the fourth installation package comprises the first preset blacklist. Based on this, when the identifier of the router included in the white list or the black list is changed (e.g., increased or decreased), the white list under the first preset directory or the black list under the second preset directory is updated by updating the third installation package or the fourth installation package acquired at the time of the operating system. Therefore, the white list or the black list is dynamically configured, and the flexibility and operability of configuring the white list or the black list to the electronic equipment are improved.
In another possible implementation manner of the first aspect, the electronic device receives a first preset configuration file sent by a preset electronic device, and updates a white list according to the first preset configuration file, where the first preset configuration file includes a second preset white list; and/or the electronic equipment receives a second preset configuration file sent by the preset electronic equipment, and updates the blacklist according to the second preset configuration file, wherein the second preset configuration file comprises the second preset blacklist. Based on this, when the identifier of the router included in the white list or the black list is changed (e.g., increased or decreased), the white list under the first preset directory or the black list under the second preset directory is updated by receiving the first preset profile or the second preset profile sent by the preset electronic device. Therefore, the white list or the black list is dynamically configured, and the flexibility and operability of configuring the white list or the black list to the electronic equipment are improved.
In another possible implementation manner of the first aspect, before the electronic device receives the preset frame sent from the preset router, the method further includes: and when the electronic equipment is started, reading the white list and/or the black list, and setting the white list and/or the black list to the Wi-Fi firmware. Based on the above, when the electronic device is started, the white list under the first preset directory and/or the black list under the second preset directory can be read, so that the white list and/or the black list is set to the Wi-Fi firmware, and the white list and/or the black list is set to the Wi-Fi chip. After the electronic device receives the preset frame sent by the preset router, the bottom layer can judge which Wi-Fi protocol is used for establishing connection with the preset router according to the identifier of the router stored in the white list and the preset identifier in the received preset frame.
In another possible implementation manner of the first aspect, the preset frame includes: beacon frames and/or detection reply frames. Based on this, the electronic device may receive a beacon frame and/or a detection reply frame sent from a preset router supporting the first preset Wi-Fi protocol. It can be appreciated that the preset router can actively transmit to the electronic device; alternatively, the preset router may passively send a detection reply frame to the electronic device in response to a detection request frame sent by the electronic device.
In another possible implementation of the first aspect, the first preset Wi-Fi protocol is a Wi-Fi 7 protocol.
Based on the method provided by the application, after the electronic equipment receives the preset frame which is sent by the preset router and carries the preset identifier, the electronic equipment can actively establish 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. Therefore, risks brought by Wi-Fi 7 protocol can be effectively controlled, reliability of connection between the electronic equipment and the preset router is improved, and problems of poor network quality of the mobile phone and the like caused by compatibility of Wi-Fi 7 protocol are reduced.
In another possible implementation of the first aspect, the second preset Wi-Fi protocol is a Wi-Fi 6 protocol.
Based on the method provided by the application, after the electronic equipment receives the preset frame which is sent by the preset router and carries the preset identifier, the electronic equipment can actively establish 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. Therefore, risks brought by Wi-Fi 7 protocol can be effectively controlled, reliability of connection between the electronic equipment and the preset router is improved, and problems of poor network quality of the mobile phone and the like caused by compatibility of Wi-Fi 7 protocol are reduced.
In a second aspect, the present application provides a connection system of a router, the connection system of the router including: electronic equipment and a preset router. Wherein the electronic device is for storing computer program code, the computer program code comprising computer instructions. The computer instructions, when executed by the processor, cause the electronic device to perform the steps of: the electronic equipment receives a preset frame sent by a preset router, wherein the preset router supports a first preset Wi-Fi protocol, and a preset identifier of the preset router is carried in the preset frame; if the preset identifier meets a first preset condition, the electronic equipment and the preset router establish connection based on a first preset Wi-Fi protocol; if the preset identifier Fu Manzu is a second preset condition, the electronic device establishes a connection with the preset router based on a second preset Wi-Fi protocol.
In a possible implementation manner of the second aspect, the satisfaction of the first preset condition by the preset identifier includes: the preset identifier is in the white list and/or the preset identifier is not in the black list; the preset identifier Fu Manzu second preset condition includes: the preset identifier is in the blacklist and/or the preset identifier is not in the whitelist.
In another possible implementation manner of the second aspect, the version of the second preset Wi-Fi protocol is lower than the version of the first preset Wi-Fi protocol.
In another possible implementation manner of the second aspect, the routers corresponding to the whitelist satisfy one or more of the following conditions: the multi-link aggregation technology MLO connection of the router meets a first preset sub-condition, the wireless roaming between the router and the test router meets a second preset sub-condition, and the streaming rate of the router is larger than the preset rate.
In another possible implementation manner of the second aspect, the router corresponding to the blacklist satisfies any one of the following conditions: the MLO connection of the router does not meet a first preset sub-condition, the wireless roaming between the router and the test router does not meet a second preset sub-condition, and the streaming rate of the router is smaller than the preset rate.
In another possible implementation manner of the second aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: the electronic equipment responds to a first preset operation, and a preset identifier is added to the white list; and/or the electronic equipment responds to the second preset operation and adds the preset identification to the blacklist.
In another possible implementation manner of the second aspect, the whitelist is stored under a first preset directory of the electronic device; the blacklist is stored in a second preset directory of the electronic equipment.
In another possible implementation manner of the second aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: before the electronic device receives the preset frame sent by the preset router, the method further comprises the following steps: when the electronic equipment updates an operating system, storing the acquired white list included in the first installation package under a first preset directory of the electronic equipment; and/or when the electronic equipment updates the operating system, storing the blacklist included in the acquired second installation package under a second preset directory of the electronic equipment.
In another possible implementation manner of the second aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: updating the white list according to the acquired third installation package when the electronic equipment updates the operating system, wherein the third installation package comprises a first preset white list; and/or updating the blacklist according to the obtained fourth installation package when the electronic equipment updates the operating system, wherein the fourth installation package comprises the first preset blacklist.
In another possible implementation manner of the second aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: the electronic equipment receives a first preset configuration file sent by preset electronic equipment, and updates a white list according to the first preset configuration file, wherein the first preset configuration file comprises a second preset white list; and/or the electronic equipment receives a second preset configuration file sent by the preset electronic equipment, and updates the blacklist according to the second preset configuration file, wherein the second preset configuration file comprises the second preset blacklist.
In another possible implementation manner of the second aspect, the computer instructions, when executed by the processor, cause the electronic device to further perform the steps of: before the electronic device receives the preset frame sent by the preset router, the method further comprises the following steps: and when the electronic equipment is started, reading the white list and/or the black list, and setting the white list and/or the black list to the Wi-Fi firmware.
In another possible implementation manner of the second aspect, the preset frame includes: beacon frames and/or detection reply frames.
In another possible implementation manner of the second aspect, the first preset Wi-Fi protocol is a Wi-Fi 7 protocol.
In another possible implementation manner of the second aspect, the second preset Wi-Fi protocol is a Wi-Fi 6 protocol.
In a third aspect, the present application provides a computer readable storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform a method as in the first aspect and any one of its possible embodiments.
In a fourth aspect, the present application provides a computer program product for, when run on a computer, causing the computer to perform the method as in the first aspect and any one of the possible embodiments. The computer may be the electronic device described above.
In a fifth aspect, the present application provides a chip system comprising one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a wire. The chip system is applied to the electronic equipment comprising the communication module and the memory; the interface circuit is for receiving signals from the memory and transmitting signals to the processor, the signals including computer instructions stored in the memory. When the processor executes computer instructions, the electronic device performs the method as in the first aspect and any of the possible implementations.
It will be appreciated that the electronic device according to the second aspect and any possible implementation manner of the second aspect, the computer storage medium according to the third aspect, the computer program product according to the fourth aspect, and the chip system according to the fifth aspect may achieve the advantages, which are referred to in the first aspect and any possible implementation manner of the first aspect, and are not described herein again.
Drawings
Fig. 1 is an effect schematic diagram of a seventh generation Wi-Fi wireless network according to an embodiment of the present application;
fig. 2 is a schematic display diagram of a mobile phone according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a system architecture according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a structure of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic software architecture of an electronic device according to an embodiment of the present application;
fig. 6 is a flow chart of a connection method of a router according to an embodiment of the present application;
fig. 7 is a schematic diagram of a display of another mobile phone according to an embodiment of the present application;
fig. 8 is a flowchart of another connection method of a router according to an embodiment of the present application;
fig. 9 is a schematic display diagram of another mobile phone according to an embodiment of the present application;
Fig. 10 is a schematic display diagram of another mobile phone according to an embodiment of the present application;
fig. 11 is a schematic display diagram of another mobile phone according to an embodiment of the present application;
fig. 12 is a schematic display diagram of another mobile phone according to an embodiment of the present application;
fig. 13 is a schematic display diagram of another mobile phone according to an embodiment of the present application;
fig. 14 is a schematic display diagram of another mobile phone according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Wherein, in the description of the present application, "/" means or, unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone.
In addition, in order to clearly describe 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 item or similar items having substantially the same function and effect. It will be appreciated by those skilled in the art that the words "first," "second," and the like are used for descriptive purposes only and are not limited in number or order of execution nor are they to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. And the words "first", "second", etc. are not necessarily different. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present embodiment, unless otherwise indicated, "at least one" means one or more, and "a plurality" means two or more.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
Terminology related to the invention:
wireless network communication technology (Wi-Fi): also referred to as "mobile hotspot" in chinese, is a wireless local area network technology created in the IEEE 802.11 standard.
Wi-Fi 7: wi-Fi 7 is in accordance with IEEE Specification 802.11be-Extremely High Throughput (ETH).
Access Point (AP): providing wireless access services, allowing other wireless devices to access, providing data access, and general wireless routing/bridging functions in this mode. The AP and the AP allow for interconnection.
Station (STA): like a wireless terminal, the STA itself does not accept wireless access, it may connect to the AP, and the general wireless network card operates in this mode.
Organization unique identifier (Organizationally Unique Identifier, OUI): unique identifiers issued to various organizations.
Wireless local area network (Wireless Local Area Networks, WLAN): the wireless communication technology is used for interconnecting computer equipment to form a network system which can communicate with each other and realize resource sharing. The wireless local area network is essentially characterized in that a computer is connected with a network without using a communication cable, and is connected in a wireless mode, so that the construction of the network and the movement of a terminal are more flexible.
It should be noted that, multi-Link Operation (MLO) is a very core feature in WiFi 7 technology. ML0 may create bundles or bindings of multiple links (radios) in different bands and channels as one virtual link between connecting network nodes (e.g., APs and STAs). Wi-Fi-7 MLO is a physical layer solution, can communicate through aggregating a plurality of channels on different frequency bands, and based on Wi-Fi-7 MLO, even if the frequency bands are interfered or congestion occurs, data can be transmitted seamlessly, so that faster and more reliable network connection is realized. For example, wiFi 7MLO may implement one device (e.g., a cell phone) to connect to multiple WiFi hotspots simultaneously, such as 2.4g+5g. As shown in fig. 1 (a), multiple links, e.g., link 1 (2.4G), link 1 (5G), and link 3 (6G), may be established between an access point and a station. As shown in fig. 1 (b), the Wi-Fi link of the network may be dynamically switched, when one of the Wi-Fi links encounters interference, the Wi-Fi link of the other Wi-Fi link may be dynamically switched to, for example, when the link 1 encounters interference, the Wi-Fi link may be dynamically switched to the link 2, thereby realizing lower network delay.
It will be appreciated that there is a certain risk in currently applying Wi-Fi7 protocols, for reasons including: the current MLO STA mode supporting Wi-Fi7 protocol is not commercially available in the industry; hardware compatibility problems, such as no router supporting Wi-Fi 7MLO mode at present, ecologically immature; there may be protocol compatibility issues between Wi-Fi7 protocol and Wi-Fi6 protocol or Wi-Fi5 protocol, etc.
In some embodiments, when a certain preset router supports the WiFi 7 protocol, the mobile phone may establish a connection with the preset router based on the WiFi 7 protocol, as shown in (a) of fig. 2, the mobile phone may display an icon 201 of "Wi-Fi 7" 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 a problem of compatibility between the Wi-Fi7 protocol and the Wi-Fi6 protocol and the Wi-Fi5 protocol at present, when the mobile phone directly establishes a connection with the preset router through the Wi-Fi7 protocol, roaming abnormality between the preset router and other routers not supporting the WiFi 7 protocol may occur due to the problem of compatibility of the Wi-Fi7 protocol, and a problem of poor network quality of the mobile phone may also occur, when the network quality of the mobile phone is poor, the text 202 may be displayed on the mobile phone, that is, "the current network is unstable, please check your network setting" to prompt the user that the current network quality is poor.
In order to effectively control risks brought by the WiFi 7 protocol, improve reliability of connection between the wireless access point and the station, reduce occurrence of problems such as poor quality of the mobile phone network caused by compatibility of the WiFi 7 protocol, in other embodiments, a set of whitelist mechanism about routers supporting the WiFi 7 protocol may be established on the mobile phone side in advance. If the preset router is in the white list, the mobile phone can establish connection with the router based on the WiFi 7 protocol; if the default router is not on the white list, the handset may establish a connection with the router based on other versions of the WiFi protocol (e.g., wiFi 6 protocol). Assuming that the preset router is not in the white list, when the handset establishes a connection with the router based on the WiFi 6 protocol, the handset may display an icon 203 of "Wi-Fi 6" to prompt the user that the handset has established a connection with the preset router based on the WiFi 6 protocol, as shown in (b) of fig. 2. After the handset establishes a connection with the router based on the WiFi 6 protocol, the network quality of the handset may be better. When the network quality of the mobile phone is good, the text 204, i.e. "the current network is good", can be displayed on the mobile phone to prompt the user that the current network quality is good.
Fig. 3 is a schematic diagram of a system architecture according to an embodiment of the present application. The system may include: a first device and a second device.
For example, the first device (may also be referred to as an electronic device) in the embodiments of the present application may be an electronic device such as a mobile phone, a tablet computer, a desktop (desktop computer), a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), an augmented reality (augmented reality, AR) \virtual reality (VR) device, and the specific form of the first device is not limited in particular.
Wherein the operating system of the first device may beOptionally, in->The platform can be carried with +.>The system. Optionally, a->Can also be integrated on the platform/>Mobile services (google mobile service,)>) And (5) a module. Or the first device may be +>The system or other operating system, the embodiment of the application does not limit the type of the operating system of the first device.
The second device provided by the embodiments of the present application may include, but is not limited to, a wireless AP, such as a wireless router (also referred to as fat AP). Wherein the operating system of the second device may include, but is not limited to Alternatively, inThe platform can be loaded with Magic +.>The system. Optionally, a->The platform can also be integrated with->Mobile services (google mobile service,)>) And (5) a module. Or the operating system of the second device may also be +.>System lightweight Internet of things operating system (lite->) A linux system, a dual-framework system, or other operating system. Or the second device may not run the operating system, which embodiments of the present application are not limited to.
In an embodiment of the present application, the second device may include, but is not limited to, a wireless router supporting Wi-Fi 7 protocol, and the first device and the second device may communicate based on various Wi-Fi protocols.
In the embodiment of the present application, taking the electronic device 400 (such as a mobile phone) as an example of the first device shown in fig. 4, the structure of the first device provided in the embodiment of the present application is illustrated. As shown in fig. 4, an electronic device 400 (e.g., a cell phone) may include: processor 410, external memory interface 420, internal memory 421, universal serial bus (universal serial bus, USB) interface 430, charge management module 440, power management module 441, battery 442, antenna 1, antenna 2, mobile communication module 450, wireless communication module 460, audio module 470, speaker 470A, receiver 470B, microphone 470C, headset interface 470D, sensor module 480, keys 490, motor 491, indicator 492, camera 493, display screen 494, and subscriber identity module (subscriber identification module, SIM) card interface 495, among others.
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, electronic device 400 may include more or fewer components than shown, or may combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 410 may include one or more processing units, such as: the processor 410 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The charge management module 440 is configured to receive a charge input from a charger. The power management module 441 is configured to connect the battery 442, the charge management module 440 and the processor 410. The power management module 441 receives input from the battery 442 and/or the charge management module 440 to power the processor 410, the internal memory 421, the external memory, the display screen 494, the camera 493, the wireless communication module 460, and the like.
The wireless communication function of the electronic device 400 may be implemented by the antenna 1, the antenna 2, the mobile communication module 450, the wireless communication module 460, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in electronic device 400 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network.
The mobile communication module 450 may provide a solution for wireless communication, including 2G/3G/4G/5G, as applied to the electronic device 400. The mobile communication module 450 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 450 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 450 may amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate the electromagnetic waves. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the processor 410. In some embodiments, at least some of the functional modules of the mobile communication module 450 may be disposed in the same device as at least some of the modules of the processor 410.
In the embodiment of the present application, the process of the electronic device 400 receiving and transmitting information based on the mobile communication module 450 may be: the antenna 1 receives electromagnetic waves and converts them into electric signals to receive information; the antenna 1 receives an electric signal and converts it into electromagnetic waves to transmit information.
The wireless communication module 460 may provide solutions for wireless communication including WLAN (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 400. The wireless communication module 460 may be one or more devices that integrate at least one communication processing module.
In the embodiment of the present application, the process of the electronic device 400 receiving and transmitting information based on the wireless communication module 460 may be: the wireless communication module 460 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and transmits the processed signals to the processor 410. The wireless communication module 460 may also receive a signal to be transmitted from the processor 410, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In the embodiment of the application, the wireless access point (such as a wireless router) can convert the wired signal into a wireless signal (such as a WI-FI signal) through a central processing unit (central processing unit, CPU) and a wireless chip inside the wireless access point, and then transmit the wireless signal through an antenna. The electronic device 400 may receive a wireless signal through an internal antenna (e.g., antenna 2), and a wireless chip included in the wireless communication module 460 may convert the wireless signal into an electrical signal, thereby completing data transmission. It should be noted that the wireless signal is absorbed by different materials during transmission, resulting in attenuation of the signal, which is a major form of wireless attenuation. In general, the higher the density of the material, the more metal is contained, and the stronger the absorption of the radio signal. Radio signal losses can result, including reflection, scattering, refraction, diffraction, etc.
The electronic device 400 implements display functions via a GPU, a display screen 494, and an application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 494 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 410 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 494 is used to display images, videos, and the like. The display screen 494 includes a display panel.
In the embodiment of the present application, the "WLAN setting interface" may be displayed on the display screen 494, and the "WLAN setting interface" may include: a "Wi-Fi 7" icon, a "Wi-Fi 6" icon, a model of a router, and so on.
Electronic device 400 may implement capture functionality through an ISP, camera 493, video codec, GPU, display screen 494, and application processor, among others. The ISP is used to process the data fed back by the camera 493. The camera 493 is used to capture still images or video.
The external memory interface 420 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 400. The external memory card communicates with the processor 410 through an external memory interface 420 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 421 may be used to store computer-executable program code that includes instructions. The processor 410 executes various functional applications of the electronic device 400 and data processing by executing instructions stored in the internal memory 421. For example, in the present embodiment, the processor 410 may include a storage program area and a storage data area by executing instructions stored in the internal memory 421.
Electronic device 400 may implement audio functionality through audio module 470, speaker 470A, receiver 470B, microphone 470C, headphone interface 470D, and an application processor, among others. Such as music playing, recording, etc.
The audio module 470 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. Speaker 470A may be used to convert audio electrical signals into sound signals. Receiver 470B may be used to convert the audio electrical signal into a sound signal. Microphone 470C may be used to convert sound signals into electrical signals. The headphone interface 470D is for connecting a wired headphone.
The keys 490 include a power-on key, a volume key, etc. The motor 491 may generate a vibration cue. The indicator 492 may be an indicator light that may be used to indicate a state of charge, a change in charge, etc. The SIM card interface 495 is used to connect to a SIM card.
The methods in the following embodiments may be implemented in the electronic device 400 having the above-described hardware structure.
The software system of the electronic device 400 may employ a layered architecture, an event driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Embodiments of the invention are configured in a layered manner The system is an example illustrating the software architecture of the electronic device 400.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate via interfaces. In some embodiments of the present invention, in some embodiments,the system may include an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, a hardware abstraction layer (hardware abstraction layer, HAL), and a kernel layer. It should be noted that the embodiment of the present application is described as +.>The system is illustrated in other operating systems (e.g., IOS systems, etc.), as long as the functions implemented by the various functional modules are similar to those implemented by the embodiments of the present application.
The application layer may include a series of application packages, among other things.
As shown in fig. 5, the application package may include applications for cameras, gallery, calendar, phone calls, map, navigation, wireless local area network (wireless local area networks, WLAN), bluetooth, music, video, short message, lock screen application, setup application, etc. Of course, the application layer may also include other application packages, such as a payment application, a shopping application, a banking application, a chat application, or a financial application, which are not limited in this application.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. For example, an activity manager, a window manager, a content provider, a view system, a resource manager, a notification manager, a Wi-Fi service, etc., to which embodiments of the present application do not impose any limitation.
The Wi-Fi service can be started in the starting-up stage of the electronic equipment and can be used for transmitting and storing relevant information of Wi-Fi.
The view system may include visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface of the network connection application may include a view displaying text and a view displaying a picture.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D image engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio video encoding formats, such as: MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
OpenGL ES is used to implement three-dimensional graphics drawing, image rendering, compositing, and layer processing, among others.
SGL is the drawing engine for 2D drawing.
Android Runtime (Android run) includes a core library and virtual machines. Android run is responsible for scheduling and management of the Android system. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The HAL layer is encapsulation of a Linux kernel driver, provides an interface upwards, and shields implementation details of low-level hardware.
The HAL layer may include Wi-Fi HAL, audio (Audio) HAL, camera HAL, and the like.
The kernel layer is a layer between hardware and software. The kernel layer contains at least display driver, wi-Fi driver, audio driver, sensor driver, etc. The Camera driving is a driving layer of the Camera device and is mainly responsible for interaction with hardware.
In this embodiment, taking the electronic device 400 as a mobile phone as an example, as shown in fig. 6, in step 601, the mobile phone is powered on. Step 602, wi-Fi drive loading. In step 603, the Wi-Fi driver reads the preset list stored in the preset configuration file and sets the preset list to the Wi-Fi firmware, so that the preset configuration file is set in the chip. The name of the preset configuration file may be "wcnss_qcom_cfg.ini", and the preset list may be a white list (e.g. OUI white list) or a black list (e.g. OUI black list). The preset configuration file may be, but is not limited to being, stored in the first preset directory of the electronic device 400.
The hardware layer comprises a display, a camera, an antenna and the like. The antenna can receive electromagnetic waves and convert the electromagnetic waves into electric signals so as to receive information; the antenna may receive an electrical signal and convert it into electromagnetic waves for transmission.
In order to facilitate understanding, the following specifically describes a method for connecting a router provided in the embodiments of the present application with reference to the accompanying drawings, taking a first device (which may also be referred to as an electronic device) as a mobile phone and a second device as a preset router as an example.
It can be understood that, in order to reduce the probability of the problem of poor network quality of the mobile phone and the like due to the problem of compatibility of the first preset Wi-Fi protocol, and improve the network quality when the user uses the mobile phone, in this embodiment of the present application, a preset router supporting the first preset Wi-Fi protocol may be tested in advance, and a preset identifier of the preset router may be added to a preset list according to the test result. The first Wi-Fi protocol may include, but is not limited to, a Wi-Fi 8 protocol, a Wi-Fi 7 protocol, a Wi-Fi 6 protocol, and the like, and the preset list may include, but is not limited to, a white list and a black list. The preset identifiers of routers may include, but are not limited to: OUI of router, model of router, etc. The OUI of the router may correspond to the model number of the router one by one. The whitelist may be, but is not limited to, a model whitelist, an OUI whitelist; the blacklist may be, but is not limited to, a model blacklist, an OUI blacklist.
In the embodiment of the present application, if the preset router passes the test, the preset identifier of the preset router may be added to the white list; if the preset router fails the test, adding the preset identifier of the preset router into a blacklist. Illustratively, taking the preset identifier of the preset router as the OUI and the preset list as the OUI white list as an example, the OUI white list may be called OUI _allowed_list, and OUI _allowed_list may include: OUI1 and OUI, etc. preset the OUI of the router. Wherein OUI may be the OUI of the first preset router and OUI2 may be the OUI of the second preset router. Illustratively, taking the preset identifier of the preset router as the OUI and the preset list as the OUI blacklist as an example, the OUI blacklist may be called OUI _ban_list, and the OUI _ban_list may include: OUI3 and OUI, etc. preset the OUI of the router. Wherein OUI may be the OUI of the third preset router and OUI4 may be the OUI of the fourth preset router.
In embodiments of the present application, the corresponding router 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 surfing function is normal after the electronic device is connected with the router, the streaming rate of the router is greater than (or equal to or greater than (in the following embodiment, by taking the greater than as an example) the preset rate, the router can be scanned by the 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 the mobile phone is connected.
In the embodiment of the application, the router corresponding to the blacklist meets any one or more 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, the internet surfing function is abnormal after the electronic equipment is connected with the router, the streaming rate of the router is smaller than (or equal to, in the following embodiment, smaller than an example) the preset rate, the router cannot be scanned by a 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 connected to the mobile phone.
In some embodiments of the present application, taking the first Wi-Fi protocol is Wi-Fi7 protocol, and the router 1 identified as "route model 1" is in a white list, as shown in (a) of fig. 7, the router 1 may be scanned by a mobile phone and may be displayed on a "WLAN setup" interface of the mobile phone, information of the router 1 may be displayed on the area 701, and an icon of the identifier "route model 1" of the router 1 and its corresponding "Wi-Fi 7" may be displayed on the area 701. In response to the user clicking on the icon identifying "Wi-Fi 7" corresponding to "route model 1", as shown in (b) of fig. 7, the mobile phone may display network information to which the mobile phone is connected on the area 702, and the network information to which the mobile phone is connected may include: the word "connected to: the mobile phone may also display an icon 703 of "Wi-Fi 7" on the status bar, which identifies "route model 1" of router 1 and its corresponding icon of "Wi-Fi 7".
In some embodiments of the present application, the satisfaction of the first preset sub-condition by the MLO connection of the router may include, but is not limited to: the router may be simultaneously connected to multiple operating bands of Wi-Fi. Illustratively, the MLO connection of the router meeting the first preset sub-condition may include, but is not limited to: the mobile phone can be connected with 2 Wi-Fi hot spots at the same time, wherein the two Wi-Fi hot spots can work on a 2.4G frequency band and a 5G frequency band respectively.
It can be appreciated that if the MLO connection of the router satisfies the first preset sub-condition, after the connection is established between the mobile phone and the router, the network delay of the mobile phone is low, because: the Wi-Fi links can be dynamically switched, and when one path encounters interference, the other path of better Wi-Fi links can be dynamically switched; the network of the mobile phone has higher reliability because: the multiple Wi-Fi channels can enable data transmission to be more reliable, and the noisy environment can reduce the probability of wire breakage; the network throughput of the mobile phone is faster because: the multi-linked network speed aggregation may lead to higher network speeds.
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. Roaming between the router and the test router to meet the second preset sub-condition 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. Wherein 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, then the version of the second Wi-Fi protocol may include, but is not limited to, wi-Fi 7, wi-Fi 6, and so on; if the version of the first Wi-Fi protocol is Wi-Fi 7, then the version of the second Wi-Fi protocol can include, but is not limited to, wi-Fi 6, wi-Fi 5, and so on. If the version of the first Wi-Fi protocol is Wi-Fi 6, then the version of the second Wi-Fi protocol can include, but is not limited to, wi-Fi 5, wi-Fi 4, and so on.
Where wireless roaming may normally refer, but is not limited to, when a wireless station (e.g., a handset) moves to a critical area of coverage of two APs (e.g., routers), the wireless station associates with a new AP and disassociates with the original AP, and maintains an uninterrupted network connection during the process. It will be appreciated that wireless roaming corresponds to the mobile telephony function of a handset, which provides uninterrupted, seamless telephony capability when moving from the coverage of one base station to the coverage of another.
In some embodiments of the present application, the normal internet surfing function after the electronic device is connected to the router may include, but is not limited to, the internet surfing speed after the electronic device is connected to the router being greater than a preset internet surfing speed. The preset network speed may include, but is not limited to, 10 megabits per second (Mbps), 5Mbps, and the like.
In some embodiments of the present application, one of the key performance indicators (Key Performance Indicator, KPI) of the router, i.e., the streaming 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, and so on. In one possible design, the preset condition may also be that the router supports a certain preset characteristic, and the setting of the preset condition is not limited in this embodiment of the present application.
In some embodiments of the present application, before the mobile phone leaves the factory, the OUI whitelist may be added to the preset configuration file under the first preset directory of the mobile phone, or the OUI blacklist may be added to the preset configuration file under the second preset directory of the mobile phone. That is, the white list may be stored under a first preset directory of the mobile phone; the blacklist may be stored under a second preset directory of the handset.
In another possible design of the present application, if the mobile phone is not configured with the white list or the black list before leaving the factory, when updating the operating system, the mobile phone may obtain a first installation package including the white list, and store the obtained white list under a first preset directory of the mobile phone, or may obtain a second installation package including the black list, and store the obtained black list under a second preset directory of the mobile phone.
In some embodiments, the Wi-Fi driver may load data each time the mobile phone is powered on, and the Wi-Fi driver may read the white list under the first preset directory and/or the black list under the second preset directory, and set the white list and/or the black list to the Wi-Fi firmware. In other embodiments, in response to a user initiating a Wi-Fi function, a Wi-Fi driver included in the mobile phone may read a white list under a first preset directory and/or a black list under a second preset directory, and set the white list and/or the black list to Wi-Fi firmware, so that the white list and/or the black list is set to a Wi-Fi chip.
It should be noted that, in the process of testing a preset router supporting the first Wi-Fi protocol, when an identifier (e.g., OUI) of a router included in the whitelist or the blacklist is changed (e.g., increased or decreased), the mobile phone may update the whitelist or the blacklist in the following manner.
In one possible design of the present application, when updating the operating system, the mobile phone may update the white list according to the obtained third installation package, where the third installation package includes the first preset white list; and/or when updating the operating system, the mobile phone can update the blacklist according to the acquired fourth installation package, wherein the fourth installation package comprises the first preset blacklist.
In an exemplary embodiment, when updating the operating system, the mobile phone may acquire a third installation package, where the third installation package may include a first preset whitelist, the first preset whitelist may be the same as or different from the whitelist, and the mobile phone may update the whitelist with the first preset whitelist. For example, the first preset white list is stored under the first preset directory of the mobile phone to cover the white list. When the mobile phone updates the operating system, a fourth installation package can be obtained, the fourth installation package can comprise a first preset blacklist, the first preset blacklist can be the same as or different from the blacklist, and the mobile phone can update the blacklist by using the first preset blacklist. For example, the first preset blacklist is stored under a second preset directory of the mobile phone to cover the blacklist.
In another possible design of the present application, the mobile phone may receive a first preset configuration file sent by the preset electronic device, and update the white list according to the first preset configuration file, where the first preset configuration file includes a second preset white list; and/or the mobile phone can receive a second preset configuration file sent by the preset electronic equipment and update the blacklist according to the second preset configuration file, wherein the second preset configuration file comprises the second preset blacklist.
The preset electronic device may be a mobile phone, a tablet computer, a desktop computer, a handheld computer, a notebook computer, an ultra mobile personal computer, a netbook, a personal digital assistant, an augmented reality/virtual reality device, and the like.
Taking a preset electronic device as a tablet computer as an example, the mobile phone may receive a first preset configuration file sent by the tablet computer, where the first preset configuration file may include a second preset whitelist, the second preset whitelist may be the same as or different from the whitelist, and the mobile phone may update the whitelist with the second preset whitelist. For example, the second preset white list is stored under the first preset directory of the mobile phone to cover the white list. The mobile phone can receive a second preset configuration file sent by the tablet personal computer, the second preset configuration file can comprise a second preset blacklist, the second preset blacklist can be the same as or different from the blacklist, and the mobile phone can update the blacklist by using the second preset blacklist. For example, the second preset blacklist is stored under the second preset directory of the mobile phone to cover the blacklist.
It should be noted that, the mobile phone may also add the preset router to the white list or the black list in response to the user executing the preset operation, and the adding manner of the identifier of the router in the white list or the black list in the embodiment of the present application is not limited.
As shown in fig. 8, an embodiment of the present application provides a method for connecting routers, including the following steps, taking an example that a preset identifier of a preset router is OUI:
before the mobile phone receives a preset frame sent by the preset router, the mobile phone can read a white list and/or a black list when being started, and the white list and/or the black list is set to Wi-Fi firmware. The preset frame may include, but is not limited to, a beacon frame (beacon frame) and/or a probe response frame.
801. The preset router broadcasts an identifier.
As an example, the preset router may periodically broadcast beacon frames at certain time intervals to tell other electronic devices (e.g., cell phones) about the presence of their own wireless networks so that other electronic devices may join the network. The beacon frame carries a preset identifier of a preset router.
802. The mobile phone detects that the user turns on the Wi-Fi function of the mobile phone.
Illustratively, as shown in (a) of fig. 9, in response to a user clicking on the "set" icon 901, the handset may display a "set" interface, as shown in (b) of fig. 9. The "settings" interface may include, among other things, the text "WLAN settings" 902, the text "display and brightness", and the text "other settings". In response to the user clicking on the word "WLAN settings" 902, the handset may display an interface for "WLAN settings" as shown in fig. 9 (c). Wherein a button 903 may be included on the interface of "WLAN setup".
In one possible design of the related art, in response to the user clicking on button 903, the handset may display another interface for "WLAN setup" as shown in fig. 9 (d), which may include information on the currently available networks of the handset. The network identifier of each network in the information of the currently available networks of the mobile phone may include, but is not limited to, a device model, a device ID (Identity document), a user-defined name (e.g., a router in a living room, a router in the third party, a router 1 in the third party, a mobile phone in the third party, etc.).
If the router 1 scanned by the mobile phone is a router supporting Wi-Fi 7 protocol, and the router 4 scanned by the mobile phone is a router supporting Wi-Fi 6 protocol, the information of the currently available network may be displayed in the area 904 on the mobile phone, where the information of the currently available network may include, but is not limited to: an icon of the router 1 identifying "route model 1" and its corresponding "Wi-Fi 7", and so on.
In this embodiment of the present application, after the Wi-Fi function of the mobile phone is turned on, the electronic device may receive a preset frame sent from a preset router, where 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 reply frame.
The handset may send a detection Request (Probe Request) frame to surrounding preset routers to obtain (also referred to as scan) a detection response (Probe response) frame carrying its identifier, which is returned to the preset router. The Probe Response frame is used to reply to a Probe Request frame, which may be a frame that the handset uses to scan for available networks around. If the preset router broadcasts the beacon frame carrying the identifier, the mobile phone can also receive the beacon frame carrying the identifier sent by the preset router, wherein the information sent by the preset router and received by the mobile phone can comprise the following information:
Tag:Vendor Specific:Realtek Semiconductor Corp.
Tag length:6
OUI:00:e0:4c(Realtek Semiconductor
Vendor Specific OUI Type:2
Vendor Specific Data:020160
wherein, "OUI:00:e0:4c "901 may indicate that the OUI fields in the beacon frame include: 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 of "00:e0:4c".
In one implementation of the related art, taking the first Wi-Fi protocol as Wi-Fi7 protocol, the preset identifier of the preset router is OUI, the preset list is a white list of OUI as shown in (a) of fig. 10, in response to the user clicking the identifier "route model 1"1001 of the router 1, as shown in (b) of fig. 10, the mobile phone may establish a connection with the router 1 based on Wi-Fi7 protocol, and may include network information 1002 to which the mobile phone is connected, an icon of a network to which the mobile phone is connected, that is, an icon 1003 of "Wi-Fi 7" displayed in a status bar, and the like on the mobile phone interface, where the router information 1002 to which the mobile phone is connected includes: the word "connected to: "the icon of router 1's identification" route model 1 "and its corresponding" Wi-Fi7 ".
It can be appreciated that, because there may be a problem of compatibility between the Wi-Fi7 protocol and the Wi-Fi6 protocol and between the Wi-Fi5 protocol, when the mobile phone directly establishes a connection with the "router 1" through the Wi-Fi7 protocol, a problem of poor network quality of the mobile phone caused by the problem of compatibility of the Wi-Fi7 protocol may occur.
It should be noted that, step 702 may be performed before step 701, or step 702 and step 701 may be performed simultaneously, and the execution sequence of step 701 and step 702 is not limited in any way in the embodiment of the present application.
803. If the OUI of the preset router meets the first preset condition, the mobile phone establishes connection with the preset router based on the first Wi-Fi protocol.
Wherein the preset router's OUI meeting the first preset condition 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.
804. If the OUI of the preset router meets the second preset condition, the mobile phone establishes connection with the preset router based on a second Wi-Fi protocol.
Wherein the preset router's OUI 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.
In the embodiment of the 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, then the version of the second Wi-Fi protocol may include, but is not limited to, wi-Fi 7, wi-Fi 6, and so on; if the version of the first Wi-Fi protocol is Wi-Fi 7, then the version of the second Wi-Fi protocol can include, but is not limited to, wi-Fi 6, wi-Fi 5, and so on. If the version of the first Wi-Fi protocol is Wi-Fi 6, then the version of the second Wi-Fi protocol can include, but is not limited to, wi-Fi 5, wi-Fi 4, and so on.
In the following embodiments of the present application, the preset identifier of the preset router is OUI, the preset list is an OUI white list, the first Wi-Fi protocol is a Wi-Fi 7 protocol, the second Wi-Fi protocol is a Wi-Fi 6 protocol, and the OUI white list OUI _allowances_list includes: the OUI blacklist oui _ban_list includes, in 00:e0:4c and 00:a0:4c: 00:b0:4c are illustrated as examples.
In the embodiment of the present application, the OUI of the preset router carried in the beacon frame or the Probe Response frame that can be received by the mobile phone 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, OUI of router 5: 00:d0:4c.
In one possible design of the present application, the mobile phone can determine the comparison result by comparing the OUI stored in the white list OUI _allowed_list with the OUI of the router carried in the received beacon frame or Probe Response frame.
Wherein, the comparison result can indicate: OUI of router 1: 00:e0:4c and OUI of router 2: 00:a0:4c are both in the white list, i.e., router 1 and router 2 are the routers corresponding to the white list. The comparison indicates the OUI of router 3: 00:b0:4c, OUI of router 4: 00:c0:4c, OUI of router 5: neither router 3 nor router 4 nor router 5 is a white list corresponding router, i.e., 00:d0:4c is not in the white list.
The comparison result may also indicate: the comparison indicates the OUI of router 3: 00:b0:4c is in the blacklist, i.e. router 3 is the router to which the blacklist corresponds. The comparison indicates the OUI of router 1: 00:e0:4c, OUI of router 2: 00:a0:4c, OUI of router 4: 00:c0:4c, OUI of router 5: 00:d0:4c are not in the blacklist, i.e., neither router 1, router 2, router 4, nor router 5 are routers in the whitelist.
In this embodiment of the present application, after comparing the preset identifier of the received preset router with the white list, if the OUI of the preset router is in the white list and/or is not in the black list, the mobile phone may establish 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.
In one possible implementation manner of the present application, taking the preset identifier of the preset router as the OUI and the preset list as the OUI white list, the first Wi-Fi protocol is the Wi-Fi 7 protocol, the second Wi-Fi protocol is the Wi-Fi 6 protocol as an example, and it is assumed that both router 3 and router 5 support the Wi-Fi 7 protocol, however, since the OUI of router 3 and the OUI of router 5 are not in the white list, that is, neither router 3 nor router 5 is a router corresponding to the white list; or because the OUI of router 3 is in the blacklist and the OUI of router 5 is not in the whitelist, i.e., router 3 is the router to which the blacklist corresponds and router 3 is not the router to which the whitelist corresponds.
In one possible design of the present application, since neither router 3 nor router 5 is a router in the white list, the network information of router 3 and the network information of router 5 displayed on the handset may be changed to prompt the user that "router 3" and "router 5" cannot establish a connection based on Wi-Fi7, but rather, a connection may be established based on Wi-Fi 6 protocol. Then the handset may display an interface 1101 as shown in fig. 11 (a), the interface 1101 including the currently available networks of the handset. Wherein, the interface 1101 may include: icon 1102 of router 3's identification "route model 3" and its corresponding "Wi-Fi 6"; the icon 1103 of router 5, which identifies "route model 5" and its corresponding "Wi-Fi 6".
In response to the user clicking on the identifier 1104 of the router 1 included on the interface 1101, i.e. "route model 1", as shown in (b) of fig. 11, the handset may establish a connection with the router 1 based on the Wi-Fi7 protocol, the interface of the handset may include therein router information 1105 to which the handset is connected, an icon 1106 of the network to which the handset is connected, i.e. "Wi-Fi 7" displayed in a status bar, etc., wherein the router information 1105 to which the handset is connected includes: the word "connected to: "the icon of router 1's identification" route model 1 "and its corresponding" Wi-Fi7 ".
As shown in (c) of fig. 11, in response to the user clicking on an icon 1007 of "Wi-Fi 6" corresponding to the identification "route model 3" of the router 3 included on the handset interface, the handset may establish a connection with "router 3" based on Wi-Fi6 protocol, an icon 1109 of "Wi-Fi 6" to which the handset is connected, and so on as shown in (d) of fig. 11. The router information 1108 to which the handset is connected includes: the word "connected to: "the router 3's logo" route model 3 "and its corresponding icon" Wi-Fi6 ".
In another specific implementation of the present application, as shown in (a) of fig. 12, the network information of the router 3 may be displayed on the area 1201 of the cell phone screen; the network information of the router 5 may be displayed on the area 1204 of the cell phone screen. The network information of the router 3 may include: network information of the router 3 based on Wi-Fi6 protocol and network information of the router 3 based on Wi-Fi 7 protocol. Wherein, an icon 1203 may be displayed on the area 1202 where the network information of the router 3 based on the Wi-Fi 7 protocol is located, and the icon 1203 may be used to indicate that the network of the router 3 based on the Wi-Fi 7 protocol is not available.
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 may also be grayed out to indicate that the network of the router 3 based on the Wi-Fi 7 protocol is not available. The embodiment of the application does not limit the display modes which are not available for the characteristic router.
In some embodiments of the present application, the mobile phone may add the preset router to the whitelist in response to a preset operation of the user, thereby updating the whitelist. When the user restarts the mobile phone or restarts the Wi-Fi function, the Wi-Fi driver may read the updated whitelist and set the updated whitelist to Wi-Fi firmware, so that the updated whitelist is set to the Wi-Fi chip.
The preset operation may include, but is not limited to: preset limb movements, preset expressions, preset voice commands, preset eye movement movements and preset touch operations. In this embodiment, taking the preset operation as the preset touch operation as an example, the mobile phone may respond to the preset touch operation performed by the user through a finger or a stylus. That is, the execution body of the preset touch operation may be a user or an automatic device, and the user may click (or press) with a finger or a stylus, and the automatic clicking device is typically a stylus or a touch head, and the path of the stylus or the touch head is set through a program to realize clicking (or pressing) at different positions.
In a specific implementation manner of the present application, taking the preset operation as the preset touch operation, the preset identifier of the preset router is OUI as an example, as shown in (a) in fig. 12, in response to the user clicking on an icon 1203 corresponding to the identifier "route model 3" of the router 3 included on the mobile phone interface, as shown in (b) in fig. 12, a pop-up window 1205 may be displayed on the mobile phone, and a prompt text "the network is unavailable" may be included on the pop-up window 1205. Or as shown in fig. 12 (c), a pop-up window 1206 may be displayed on the mobile phone, and the pop-up window 1206 may include the words "this network is not available" and "add to whitelist" button 1207. The mobile phone may add the OUI of the router 3 to the whitelist in response to a preset touch operation of the user, i.e., an operation of clicking the "add to whitelist" button 1207. As shown in fig. 12 (d), a prompt 1208 may be displayed on the handset, i.e. "added, please restart the handset or WLAN". Of course, in some examples, it may not be necessary to reboot the handset or WLAN.
In another specific implementation manner of the present application, taking the preset operation as an example, as shown in (a) of fig. 13, the network information of the router 3 may be displayed in the area 1301 of the mobile phone screen; the network information of the router 5 may be displayed on the area 1302 of the cell phone screen. The region 1301 may display an icon 1303 of Wi-Fi 7 capability corresponding to the identifier "routing model 3" of the router 3 and an icon of "Wi-Fi 6" corresponding to the identifier "routing model 3" of the router 3. An icon 1304 of router 5 identifying Wi-Fi 7 capabilities corresponding to "route model 5" and an icon of router 5 identifying "Wi-Fi 6" corresponding to "route model 5" may be displayed on area 1302. In response to the user clicking on the Wi-Fi 7 capability icon 1303 of router 3 that identifies "route model 3" as corresponding to the area 1301, a pop-up window 1305 may be displayed on the cell phone, and a prompt text "is required to be added to the Wi-Fi 7 whitelist? "yes" button, no "button. The mobile phone may respond to the user performing the preset touch operation, i.e. clicking the button "yes", as shown in (c) of fig. 13, and a prompt message 1306 may be displayed on the mobile phone, i.e. "added, please restart the mobile phone or WLAN".
It should be noted that, in response to the user adding router 3 to the white list, the handset may add the OUI of router 3: 00:b0:4c to white list. The updated whitelist may include: 00:e0:4c, 00:a0:4c and 00:b0:4c. After the user restarts the handset or restarts the Wi-Fi function of the handset (e.g., restarts the switch of the WLAN), the text "router 3" and its corresponding icon of "Wi-Fi 7" may be displayed on the handset in the area 1401, and the identifier "routing model 5" of the router 5 and its corresponding icon of "Wi-Fi 6" may be displayed on the area 1402, as shown in (a) of fig. 14. Alternatively, as shown in fig. 14 (b), an icon of the router 3, which identifies "route model 3" and the corresponding "Wi-Fi 7", may be displayed on the mobile phone in the area 1403, and network information of the router 5 may be displayed on the area 1404. The network information of the router 5 may include: the router 5 is based on the network information of Wi-Fi 7 protocol and the router 5 is based on the network information of Wi-Fi 6 protocol. A disable icon may be displayed on the area where the network information of the router 5 based on the Wi-Fi 7 protocol is located to indicate that the router 5 is not available.
In a specific implementation manner of the present application, in order to control risks brought by the Wi-Fi 7 protocol, the preset identifier of the preset router is OUI, the preset list is an OUI white list, the first Wi-Fi protocol is the Wi-Fi 7 protocol, the second Wi-Fi protocol is the Wi-Fi 6 protocol, and the preset router may broadcast its identifier (for example, OUI) in a beacon frame (beacon frame). After the user turns on the WI-FI function, the handset may send a Probe Requ est frame to the surrounding preset router to obtain (may also be referred to as scanning) a Probe response (Probe response) frame carrying its identifier, which is returned to the preset router. The mobile phone can compare the OUI of each router carried in the received beacon frame or Probe response frame with the OUI of each router stored in the blacklist. If the OUI of the preset router is in the OUI blacklist, then a connection can be established with the preset router based on Wi-Fi 6 protocol. If the OUI of the preset router is not in the OUI blacklist, connection is established with the preset router based on Wi-Fi 7 protocol.
Based on the method provided by the embodiment of the application, after the mobile phone receives the preset frame carrying the preset identifier sent by the preset router, the mobile phone can actively and dynamically establish connection with the preset router based on the Wi-Fi 7 protocol or the Wi-Fi 6 protocol according to the condition satisfied by the preset identifier. Therefore, risks brought by Wi-Fi 7 protocol can be effectively controlled, reliability of connection between the mobile phone and a preset router is improved, problems of poor network quality of the mobile phone and the like caused by compatibility of Wi-Fi 7 protocol are reduced, and network quality of a user when using the mobile phone is improved.
The application provides a connection system of a router, which comprises: electronic equipment and a preset router. Wherein, this electronic equipment can include: a touch screen, a memory, and one or more processors. The touch screen, memory, and processor are coupled. The memory is for storing computer program code, the computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform the functions or steps performed by the mobile phone in the above-described method embodiments. The structure of the electronic device may refer to the structure of the electronic device 400 shown in fig. 4.
Embodiments of the present application also provide a system-on-a-chip (SoC) including at least one processor 1501 and at least one interface circuit 1502 as shown in fig. 15. The processor 1501 and the interface circuit 1502 may be interconnected by wires. For example, interface circuit 1502 may be used to receive signals from other devices (e.g., a memory of an electronic apparatus). For another example, interface circuit 1502 may be used to send signals to other devices (e.g., processor 1501 or a touch screen of an electronic device). Illustratively, the interface circuit 1502 may read instructions stored in the memory and send the instructions to the processor 1501. The instructions, when executed by the processor 1501, may cause the electronic device to perform the various steps in the embodiments described above. Of course, the chip system may also include other discrete devices, which are not specifically limited in this embodiment of the present application.
Embodiments of the present application also provide a computer readable storage medium, where the computer readable storage medium includes computer instructions, which when executed on an electronic device, cause the electronic device to perform the functions or steps performed by the electronic device in the method embodiments described above.
It will be apparent to those skilled in the art from this description that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and the parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a readable storage medium. Based on such understanding, the technical solution of the embodiments of the present application may be essentially or a part contributing to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including several instructions for causing a device (may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for connecting a router, the method comprising:
the method comprises the steps that an electronic device receives a preset frame sent by a preset router, wherein the preset router and the electronic device both 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 a preset white list or the preset identifier is not in a preset black list, the electronic equipment and the preset router establish connection based on the first preset Wi-Fi protocol;
if the preset identifier is not in a preset white list or the preset identifier is in a preset black list, the electronic equipment and the preset router establish connection based on a second preset Wi-Fi protocol;
wherein the preset whitelist includes preset identifiers of routers satisfying a plurality of conditions, and the preset blacklist includes preset identifiers of routers not satisfying any one of the plurality of conditions;
The plurality of conditions includes:
the router supports a plurality of working frequency bands which are simultaneously connected to Wi-Fi;
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 router has a streaming rate greater than a preset rate.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
the version of the second preset Wi-Fi protocol is lower than the version of the first preset Wi-Fi protocol.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
the electronic equipment responds to a first preset operation, and the preset identifier is added into the white list; and/or the number of the groups of groups,
and the electronic equipment responds to a second preset operation, and the preset identification is added to the blacklist.
4. A method according to claim 1 or 2, characterized in that,
the white list is stored under a first preset directory of the electronic equipment;
and the blacklist is stored under a second preset directory of the electronic equipment.
5. The method of claim 1 or 2, wherein before the electronic device receives the preset frame sent from the preset router, the method further comprises:
When the electronic equipment updates an operating system, storing the white list included in the acquired first installation package under a first preset directory of the electronic equipment; and/or the number of the groups of groups,
and when the electronic equipment updates the operating system, storing the blacklist included in the acquired second installation package under a second preset directory of the electronic equipment.
6. The method according to claim 1 or 2, characterized in that the method further comprises:
when the electronic equipment updates an operating system, updating the white list according to an acquired third installation package, wherein the third installation package comprises a first preset white list; and/or the number of the groups of groups,
and when the electronic equipment updates the operating system, the blacklist is updated according to the acquired fourth installation package, wherein the fourth installation package comprises a first preset blacklist.
7. The method according to claim 1 or 2, characterized in that the method further comprises:
the electronic equipment receives a first preset configuration file sent by preset electronic equipment, and updates the white list according to the first preset configuration file, wherein the first preset configuration file comprises a second preset white list; and/or the number of the groups of groups,
The electronic equipment receives a second preset configuration file sent by preset electronic equipment, and updates the blacklist according to the second preset configuration file, wherein the second preset configuration file comprises a second preset blacklist.
8. The method of claim 1 or 2, wherein before the electronic device receives the preset frame sent from the preset router, the method further comprises:
and when the electronic equipment is started, reading the white list and/or the black list, and setting the white list and/or the black list to Wi-Fi firmware.
9. A method according to claim 1 or 2, characterized in that,
the preset frame includes: beacon frames and/or detection reply frames.
10. A method according to claim 1 or 2, characterized in that,
the first preset Wi-Fi protocol is Wi-Fi 7 protocol.
11. A method according to claim 1 or 2, characterized in that,
the second preset Wi-Fi protocol is a Wi-Fi 6 protocol.
12. A connection system of routers, comprising an electronic device for performing the method according to any one of claims 1-11 and a preset router.
13. A computer-readable storage medium comprising computer instructions;
the computer instructions, when run on an electronic device, cause the electronic device to perform the method of any one of claims 1-11.
14. A chip system comprising one or more interface circuits and one or more processors; the interface circuit and the processor are interconnected through a circuit;
the chip system is applied to electronic equipment comprising a communication module and a memory; the interface circuit is configured to receive a signal from the memory and to send the signal to the processor, the signal including computer instructions stored in the memory; the electronic device, when executing the computer instructions, performs the method of any of claims 1-11.
CN202310186386.9A 2023-02-21 2023-02-21 Method, device and system for connecting router Active CN116471707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310186386.9A CN116471707B (en) 2023-02-21 2023-02-21 Method, device and system for connecting router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310186386.9A CN116471707B (en) 2023-02-21 2023-02-21 Method, device and system for connecting router

Publications (2)

Publication Number Publication Date
CN116471707A CN116471707A (en) 2023-07-21
CN116471707B true CN116471707B (en) 2024-03-29

Family

ID=87176054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310186386.9A Active CN116471707B (en) 2023-02-21 2023-02-21 Method, device and system for connecting router

Country Status (1)

Country Link
CN (1) CN116471707B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111405681A (en) * 2020-03-18 2020-07-10 华为技术有限公司 Wi-Fi Aware link establishing method, system, electronic device and storage medium
WO2021052178A1 (en) * 2019-09-16 2021-03-25 华为技术有限公司 Wi-fi connection method and device
CN115278825A (en) * 2021-04-30 2022-11-01 华为技术有限公司 WiFi connection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021052178A1 (en) * 2019-09-16 2021-03-25 华为技术有限公司 Wi-fi connection method and device
CN111405681A (en) * 2020-03-18 2020-07-10 华为技术有限公司 Wi-Fi Aware link establishing method, system, electronic device and storage medium
CN115278825A (en) * 2021-04-30 2022-11-01 华为技术有限公司 WiFi connection method and device
WO2022228190A1 (en) * 2021-04-30 2022-11-03 华为技术有限公司 Wifi connection method and device

Also Published As

Publication number Publication date
CN116471707A (en) 2023-07-21

Similar Documents

Publication Publication Date Title
CN113645693B (en) WiFi P2P connection method, electronic device and medium
US20230069398A1 (en) Method for Implementing Wi-Fi Peer-To-Peer Service and Related Device
CN112929972B (en) Channel adjusting method and electronic equipment
CN110771111B (en) Wireless communication method and device
CN113676269B (en) Data transmission method of electronic device, medium thereof, and electronic device
EP3857975B1 (en) Mobile device and electronic device for wireless communication, and operation methods thereof
WO2022116974A1 (en) Access method and system and electronic device
CN114390501B (en) Data transmission method and electronic equipment
CN113133074B (en) WiFi network switching method and device
CN114258037B (en) Network control method and device and electronic equipment
CN114466423B (en) Method and device for selecting network
CN116471707B (en) Method, device and system for connecting router
US20230087282A1 (en) Dual wi-fi connection method and electronic device
CN114364026A (en) Communication method and electronic device
CN115022872B (en) Data transmission method, electronic equipment and readable storage medium
CN116761222B (en) Method for switching base station, terminal equipment and readable storage medium
CN113746517B (en) Beam training method, terminal equipment and computer readable storage medium
CN115208438B (en) Antenna control method and electronic equipment
CN114189798A (en) Method and equipment for determining scanning interval of Wireless Local Area Network (WLAN) network
CN111885692A (en) Method and device for adjusting SAR value and mobile terminal
CN117715090A (en) Antenna multiplexing method and related device
CN117956548A (en) Data transmission method, device and storage medium
CN117042211A (en) Network connection processing method, device, medium and equipment
CN116980864A (en) Communication method, electronic equipment and system
CN115412931A (en) Communication method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant