Network information display method, electronic device and computer storage medium
By displaying one-click connection, trust and network quality information of public WLAN, the user connection process is simplified, the complexity and security risks of public WLAN connection are solved, and the user experience and information security are improved.
Patent Information
- Application Number
- PCT/CN2024/098706
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-30
- Filing Date
- 2024-06-12
- Publication Date
- 2025-01-02
AI Technical Summary
The existing public wireless local area network (WLAN) connections are complex and have security risks, making it difficult for users to quickly discover and connect to high-quality public WLANs.
Provide a network information display method, by obtaining public WLAN information, displaying whether one-click connection can be automatically downloaded and installed one-click connection service cards, simplifying the user connection process, and displaying trust and network quality information, helping users choose Trust and high-quality public WLAN.
It significantly reduces the time and energy of users to connect to public WLANs, improves user experience, and ensures information security and network quality.
Smart Images

Figure CN2024098706_02012025_PF_FP_ABST
Abstract
Description
Network information display method, electronic device and computer storage medium
[0001] This application claims priority to the Chinese patent application with application number 202310809897.1 filed with the State Intellectual Property Office of China on June 30, 2023, and priority to the Chinese patent application with the invention name “Method for displaying network information, electronic device and computer storage medium”, all contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of human-computer interaction technology, and in particular to a method for displaying network information, an electronic device, and a computer storage medium. Background Art
[0003] Common wireless networks include wireless local area networks (WLANs) (also referred to as public WLANs) provided in public places, such as cafes, stores, airports, and hotels. Public WLANs offer free or paid wireless network services to visitors. However, some public WLANs pose security risks, while others present complex connection issues. Therefore, there is an urgent need for a mechanism that can help users quickly and easily discover and connect to high-quality public WLANs.
[0004] Summary of the Invention
[0005] The present application provides a network information display method, electronic device, and computer storage medium, which can help users quickly and conveniently discover and connect to high-quality public wireless local area networks (WLANs), thereby reducing the time and effort users spend connecting to public WLANs.
[0006] In a first aspect, the present application provides a method for displaying network information, which is applied to an electronic device, the method including: obtaining information of at least one public WLAN, where a first WLAN is any one of the at least one public WLAN, and first information of the first WLAN indicates whether the first WLAN can be connected with one click; displaying a first interface according to the information of the at least one public WLAN, the first interface including the first information of the at least one public WLAN; receiving a first operation acting on the first WLAN in the first interface; in response to the first operation, displaying a second interface, the second interface including a one-click connection service card of the first WLAN; receiving a second operation acting on the second interface; and in response to the second operation, establishing communication between the electronic device and the Internet through the first WLAN.
[0007] In some examples, when the service provider of the first WLAN provides a one-click connection service for the first WLAN, the first information indicates that the first WLAN can be connected with one click; when the service provider of the first WLAN does not provide a one-click connection service for the first WLAN, the first information indicates that the first WLAN cannot be connected with one click.
[0008] In some examples, when the first information indicates that the first WLAN is not connectable to the first WLAN through one-click connection, the first information indicates that login or authentication is required for the first WLAN.
[0009] In some examples, the first information of the first WLAN indicates that the first WLAN can be connected to with one click.
[0010] In some examples, the method also includes: receiving an operation acting on a WLAN that cannot be connected with one click in the first interface; establishing a connection between the electronic device and the WLAN that cannot be connected with one click; displaying an authentication interface of the WLAN that cannot be connected with one click; receiving account information input by a user; sending an authentication request to a server corresponding to the WLAN that cannot be connected with one click based on the account information; when the authentication of the WLAN that cannot be connected with one click is passed, establishing communication between the electronic device and the Internet through the WLAN that cannot be connected with one click; when the authentication of the WLAN that cannot be connected with one click is failed, the electronic device cannot establish communication with the Internet through the WLAN that cannot be connected with one click.
[0011] In the above method, the electronic device can display the first information of at least one public WLAN, so that the user can intuitively obtain which public WLANs can be connected with one click and which public WLANs cannot be connected with one click through the first information. When the user connects to the first WLAN that can be connected with one click, the electronic device can automatically pull up the one-click connection service card of the first WLAN and automatically establish communication with the Internet through the first WLAN. The user does not need to manually obtain and enter account information and other information used to authenticate the first WLAN, which significantly simplifies the complexity of the user connecting to the public WLAN. The first information can help the user quickly and conveniently discover and connect to high-quality (for example, one-click connectable) public WLANs, avoiding problems such as complex operations when the user connects to a public WLAN that cannot be connected with one click, thereby greatly reducing the time and effort required for the user to connect to high-quality public WLANs and improving the user experience.
[0012] In one possible implementation, establishing communication between the electronic device and the Internet through the first WLAN includes: obtaining account information; sending an authentication request to a first server corresponding to the first WLAN based on the account information; and when the authentication of the first WLAN is passed, establishing communication between the electronic device and the Internet through the first WLAN.
[0013] In some examples, the first server is a server corresponding to an access point AP of the first WLAN.
[0014] In a possible implementation, the account information includes at least one of the following: a mobile phone number, a system account, and an application account.
[0015] In the above method, when the user connects to the first WLAN that can be connected with one click, the electronic device can automatically obtain the account information and perform the authentication process of the first WLAN based on the account information. The user does not need to manually obtain and enter the account information and perform the authentication process of the first WLAN, which significantly simplifies the complexity of the user connecting to the public WLAN and improves the user experience.
[0016] In a possible implementation, before displaying the second interface, the method further includes: establishing a connection between the electronic device and the first WLAN in response to the first operation.
[0017] In some examples, after the connection between the electronic device and the first WLAN is established and before authentication of the first WLAN is passed, the electronic device cannot communicate with the Internet through the first WLAN.
[0018] In one possible implementation, displaying the second interface includes: displaying the second interface when the one-key connection service card of the first WLAN has been installed; sending a download request to a second server when the one-key connection service card of the first WLAN has not been installed; receiving an installation package of the one-key connection service card of the first WLAN sent by the second server; installing the one-key connection service card of the first WLAN according to the installation package; and displaying the second interface.
[0019] In some examples, the installation of the one-touch connection service card of the first WLAN according to the installation package is performed in the background of the electronic device.
[0020] In the above method, when the one-click connection service card of the first WLAN is not installed, the electronic device can automatically download the installation package of the one-click connection service card and install it, and the user is unaware of the process. The user does not need to manually download and install the one-click connection service, giving the user a feeling that the one-click connection service is "installation-free", further simplifying the complexity of the user connecting to the public WLAN and improving the user experience.
[0021] In a possible implementation, the at least one public WLAN includes a second WLAN and a third WLAN, the service provider of the second WLAN is the same as the service provider of the third WLAN, and the one-touch connection service card of the second WLAN is the same as the one-touch connection service card of the third WLAN.
[0022] In the above method, the one-click connection service cards of WLANs belonging to the same service provider are the same. Therefore, when a user connects to different WLANs belonging to the same service provider, the electronic device does not need to download the one-click connection service card again, but directly displays it, which reduces power consumption and the time to open the one-click connection service card, further improving the user experience.
[0023] In a possible implementation manner, the first interface further includes second information of the at least one public WLAN, where the second information of the first WLAN indicates the trustworthiness of the first WLAN.
[0024] In the above method, the electronic device can display the second information of at least one public WLAN, allowing the user to intuitively obtain the trustworthiness of the public WLAN through the second information, helping the user to quickly and conveniently discover and connect to high-quality (e.g., trustworthy) public WLANs, avoiding information leakage and other problems caused by users connecting to untrustworthy public WLANs. This not only reduces the time and effort required for users to connect to high-quality public WLANs, but also ensures the user's information security, further improving the user experience.
[0025] In one possible implementation, the first interface further includes third information of the at least one public WLAN, where the third information of the first WLAN indicates the network quality of the first WLAN, where the network quality is related to at least one of the following: whether Internet access is available, uplink bandwidth, downlink bandwidth, upload speed, download speed, latency, jitter, the number of connected users, and lag experienced by users when using applications.
[0026] In the above method, the electronic device can display the third information of at least one public WLAN, so that the user can intuitively obtain the network quality of the public WLAN through the third information, instead of only displaying the signal strength of the public WLAN (signal strength and network quality have no direct relationship, and there may be a situation where the signal strength is high but the network quality is poor). This helps the user quickly and conveniently discover and connect to high-quality (for example, good network quality) public WLANs, avoiding problems such as poor Internet experience caused by users connecting to public WLANs with poor network quality, thereby greatly reducing the time and effort required for users to connect to high-quality public WLANs, and further improving the user experience.
[0027] In a possible implementation, the first interface includes a first list and a second list, the first list includes the first information of a fourth WLAN, the second list includes information of a fifth WLAN, the fourth WLAN includes WLANs among the at least one public WLAN that meet a first condition, the fourth WLAN is different from the fifth WLAN, and the first condition includes at least one of the following: one-click connection is possible, the trust level is greater than or equal to a first threshold, and the network quality is greater than or equal to a second threshold.
[0028] In some examples, the fifth WLAN is not a public WLAN. In other examples, the fifth WLAN is a public WLAN that does not meet the first condition.
[0029] In the above method, the electronic device can display the public WLANs that meet the first condition (for example, the fourth WLAN) separately through the first list, wherein the public WLANs that meet the first condition are high-quality public WLANs, such as those that can be connected with one click, have high trustworthiness, and have good network quality. This allows users to obtain high-quality public WLANs more intuitively and clearly, further facilitates users to discover and connect to high-quality public WLANs, and improves user experience.
[0030] In a possible implementation, the first interface is a WLAN setting interface in system settings.
[0031] In the above method, the electronic device can add the first information to the original WLAN setting interface (usually including the name of the WLAN, the signal strength indicator, and the indicator of whether it is encrypted), so that the user can obtain the first information through the WLAN setting interface that the user is accustomed to for WLAN connection, and can directly select the required public WLAN for connection based on the first information, which is more in line with user habits and further improves the user experience.
[0032] In one possible implementation, the method further includes: receiving a third operation acting on a first control in the first interface; in response to the third operation, displaying a third interface, the third interface including a first map, the first map including identifiers of multiple public WLANs, the identifiers of the multiple public WLANs including an identifier of a sixth WLAN, the identifier of the sixth WLAN indicating whether the sixth WLAN can be connected with one click.
[0033] In some examples, the plurality of public WLANs includes the at least one public WLAN.
[0034] In the above method, the electronic device can display multiple public WLAN identifiers on the first map, and indicate whether the current public WLAN can be connected with one click through the identifier. Users can not only obtain more public WLANs and the locations of public WLANs through the first map, but also obtain which public WLANs can be connected with one click and which public WLANs cannot be connected with one click, which further facilitates users to discover and connect to high-quality public WLANs and improves user experience.
[0035] In one possible implementation, the method further includes: receiving a fourth operation acting on the identifier of the sixth WLAN in the third interface; in response to the fourth operation, displaying a fourth interface, the fourth interface including network information of the sixth WLAN, the network information including at least one of the following: whether one-click connection is possible, trust, and network quality, the network quality being related to at least one of the following: whether Internet access is available, uplink bandwidth, downlink bandwidth, upload speed, download speed, latency, jitter, the number of connected users, and lag experienced by users when using applications.
[0036] In some examples, the fourth interface also includes the geographic location of the sixth WLAN.
[0037] In the above method, users can also "select with one click" any public WLAN on the first map to view detailed information of the public WLAN, such as whether it can be connected with one click, trustworthiness, network quality, geographic location, etc. The way for users to obtain detailed information of public WLAN is simple and convenient, which further facilitates users to discover and connect to high-quality public WLANs and improves user experience.
[0038] In one possible implementation, displaying a first interface based on the information of the at least one public WLAN includes: displaying a first prompt message when a second condition is met, the second condition including at least one of the following: running a preset service, not connecting to a WLAN, and the current network quality being less than or equal to a fourth threshold; receiving a fifth operation acting on the first prompt message; and displaying the first interface based on the information of the at least one public WLAN in response to the fifth operation.
[0039] In some examples, the preset service is a service with an average traffic consumption greater than or equal to a traffic threshold. In some examples, the preset service includes at least one of the following: video playback service, audio playback service, video call service, audio call service, and game service.
[0040] In the above method, the electronic device can automatically identify the current status and prompt the user to connect to the public WLAN based on the current status, which is more intelligent and further improves the user experience.
[0041] In a possible implementation, the third information of the first WLAN is obtained by the electronic device from a third server, and the method further includes: obtaining current network quality when communicating with the Internet via the first WLAN; and sending the current network quality to the third server, where the current network quality is used by the third server to obtain the network quality of the first WLAN.
[0042] In the above method, the third information (indicating the network quality of the first WLAN) provided by the third server to the electronic device can be obtained based on the network quality actually obtained when accessing the Internet through the first WLAN. Therefore, the third information obtained by the user is more accurate, avoiding the situation where the user has a poor Internet experience when connecting to a public WLAN where the third information indicates good network quality, thereby further improving the user experience.
[0043] In one possible implementation, establishing communication between the electronic device and the Internet through the first WLAN includes: sending a first request to a fourth server; receiving a first token sent by the fourth server, the first token being used to apply for temporarily opening a path between the electronic device and the Internet; sending the first token to an access device corresponding to the first WLAN, and establishing temporary communication between the electronic device and the Internet through the first WLAN; sending a second request to the fourth server, the second request including account information; receiving a second token sent by the fourth server, the second token being used to apply for formally opening a path between the electronic device and the Internet; sending the second token to the first server corresponding to the first WLAN, and establishing communication between the electronic device and the Internet through the first WLAN.
[0044] In some examples, the fourth server is associated with a one-touch connection service card of the first WLAN.
[0045] In some examples, the access device corresponding to the first WLAN is an AP of the first WLAN.
[0046] In some examples, the first token is a temporary token and the second token is a formal token.
[0047] In some examples, sending the first request to the fourth server, receiving the first token sent by the fourth server, and sending the first token to the access device corresponding to the first WLAN are implemented via mobile communication. In some examples, sending the second request to the fourth server, receiving the second token sent by the fourth server, and sending the second token to the first server corresponding to the first WLAN are implemented via communication via the first WLAN.
[0048] In a second aspect, the present application provides an electronic device comprising a transceiver, a processor and a memory; the memory is used to store a computer program, and the processor calls the computer program, so that the electronic device executes the method for displaying network information provided in the first aspect and any one of the embodiments of the first aspect.
[0049] In a third aspect, the present application provides a computer storage medium storing a computer program. When the computer program is executed by a processor, it is used to execute the method for displaying network information provided in the first aspect and any one of the embodiments of the first aspect.
[0050] In a fourth aspect, the present application provides a computer program product, which, when executed on a device, enables the device to execute the method for displaying network information provided in the first aspect and any one of the embodiments of the first aspect.
[0051] In a fifth aspect, the present application provides an electronic device, the electronic device including a method or apparatus for executing any aspect or embodiment of the present application. The electronic device is, for example, a chip.
[0052] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single implementation. On the contrary, it is understood that the description of a feature or beneficial effect means that a specific technical feature, technical solution or beneficial effect is included in at least one implementation. Therefore, the description of a technical feature, technical solution or beneficial effect in this application does not necessarily refer to the same implementation. Furthermore, the technical features, technical solutions and beneficial effects described in this application can also be combined in any appropriate manner. Those skilled in the art will understand that this application can be implemented without one or more specific technical features, technical solutions or beneficial effects of a specific implementation. In other implementations, additional technical features and beneficial effects can also be identified in specific implementations that do not embody all implementations. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The following is an introduction to the drawings used in this application.
[0054] FIG1 is a schematic diagram of the architecture of a communication system provided by the present application;
[0055] FIG2 is a schematic diagram of the architecture of another communication system provided by the present application;
[0056] FIG3 is a schematic diagram of the hardware structure of an electronic device provided by the present application;
[0057] Figures 4A and 4B are schematic diagrams of some user interfaces provided in this application;
[0058] FIG5 is a schematic diagram of another user interface provided by the present application;
[0059] FIG6 is a schematic diagram of another user interface provided by the present application;
[0060] FIG7 is a schematic diagram of another user interface provided by the present application;
[0061] FIG8 is a schematic diagram of another user interface provided by the present application;
[0062] FIG9 is a schematic diagram of another user interface provided by the present application;
[0063] FIG10 is a schematic diagram of another user interface provided by the present application;
[0064] FIG11 is a schematic diagram of another user interface provided by the present application;
[0065] FIG12 is a flow chart of a method for displaying network information provided by the present application;
[0066] FIG13 is a flow chart of a display process provided by the present application;
[0067] FIG14 is a flow chart of a connection process provided by the present application. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " represents or, for example, A / B can represent A or B; "and / or" in the text is merely a description of the association relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" refers to two or more than two.
[0069] In the following, the terms "first" and "second" are used for descriptive purposes only and should not be understood to imply or suggest relative importance or implicitly indicate the number of the technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of this application, unless otherwise specified, "plurality" means two or more.
[0070] The present application provides a method for displaying network information, which is applied to electronic devices. When displaying at least one public wireless local area network (WLAN) (e.g., wireless fidelity (Wi-Fi)), the electronic device can display at least one of the following reference information: information indicating the security / trustworthiness of the public WLAN, information indicating the network quality of the public WLAN, and information indicating whether the public WLAN can be connected with one click. The reference information of public WLANs can help users better understand public WLANs, thereby helping users discover and connect to high-quality public WLANs, such as trustworthy public WLANs, public WLANs with good network quality, and public WLANs that can be connected with one click. This avoids problems such as information leakage caused by users connecting to public WLANs with low security, poor Internet access quality caused by users connecting to public WLANs with poor network quality, and complicated operations when users connect to public WLANs that cannot be connected with one click, thereby improving user experience.
[0071] In this application, a public WLAN can be a free / charged wireless network service provided to visitors in a public place (such as a cafe, store, airport, hotel, etc.). Generally, after an electronic device is connected to a public WLAN, it needs to log in / authenticate before it can access the Internet normally. For example, it uses account information such as a mobile phone number, and uses passwords, verification codes, and other information related to the account information to log in / authenticate. Whether the above-mentioned public WLAN can be connected with one click refers to whether, from the user's perspective, the user can successfully log in / authenticate to the public WLAN without manually entering the account information and related information.
[0072] In one embodiment, the electronic device can respond to user operations on any public WLAN that can be connected to with one click, and use the electronic device's account information (such as a mobile phone number) to log in / authenticate the public WLAN. After successful login / authentication, the electronic device can communicate with the Internet normally through the public WLAN, that is, access the Internet normally through the public WLAN, without the user manually entering account information and related information, nor does the user need to wait for relevant information, which significantly simplifies the complexity of the user connecting to the public WLAN. Combined with reference information, it can greatly reduce the time and effort required for the user to connect to a high-quality public WLAN, further improving the user experience.
[0073] FIG1 exemplarily shows a schematic diagram of the architecture of a communication system 10 .
[0074] As shown in FIG1 , a communication system 10 may include an electronic device 100 and multiple servers, which may be collectively referred to as the cloud or the server side. The electronic device 100 may communicate with any server via wired and / or wireless means. Wired means include, but are not limited to, high definition multimedia interface (HDMI), universal serial bus (USB), network cable (e.g., twisted pair, coaxial cable, or optical fiber), etc., and wireless means include, but are not limited to, WLAN (e.g., Wi-Fi), satellite, cellular communication, etc.
[0075] Among them, the electronic device 100 can be a mobile phone, a tablet computer, a handheld computer, a desktop computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), as well as smart home devices such as smart TVs and smart cameras, wearable devices such as smart bracelets, smart watches, and smart glasses, extended reality (XR) devices such as augmented reality (AR), virtual reality (VR), and mixed reality (MR), in-vehicle devices or smart city devices. The embodiments of the present application do not impose any special restrictions on the specific type of electronic device.
[0076] Any server on the server side can be a hardware server or a cloud server. In one embodiment, any server on the server side can be a Linux server, a Windows server, or other server device that can provide simultaneous access to multiple devices. In one embodiment, at least one server on the server side can be integrated together, such as a server cluster consisting of multiple regions, multiple computer rooms, and multiple servers.
[0077] In one embodiment, any one of the servers on the server side may include a processor, a communication interface, and a memory, wherein the processor, the communication interface, and the memory may be connected via a bus or other means. The processor may be composed of one or more general-purpose processors, such as a central processing unit (CPU). The communication interface may be a wired interface (such as an Ethernet interface) or a wireless interface (such as a cellular network interface or a wireless local area network interface) for communicating with other nodes (such as the electronic device 100). The memory may include a volatile memory (volatile memory), such as a random access memory (random access memory, RAM), or a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory, ROM), a flash memory (flash memory), a hard disk drive (hard disk drive, HDD) or a solid state drive (solid state disk, SSD). The memory may also include a combination of the above-mentioned types of memory, without limitation thereto, and the memory may also be a storage array or the like. The memory may be used to store program code so that the processor calls the program code stored in the memory to implement the method implemented in the cloud / server in the embodiment of the present application.
[0078] FIG2 exemplarily shows a schematic diagram of the architecture of yet another communication system 10 .
[0079] As shown in FIG2 , on the server side of the communication system 10 , there may be a WLAN information module, a WLAN quality module, an application market, an access device module, and a one-key connection module.
[0080] The WLAN information module can be used to provide a query function for basic information of public WLANs. The basic information of public WLANs may include, but is not limited to: service set identifier (SSID), basic service set identifier (BSSID), location address, information about the service provider (i.e., the manufacturer providing the public WLAN) (e.g., name, trustworthiness, etc.), trustworthiness, trustworthiness, whether a one-click connection service is provided (also referred to as whether it has one-click connection capability), and the package name of the one-click connection service. The SSID can be the name of the wireless access point (AP) (also referred to as the WLAN access device) of the public WLAN, the BSSID can be the media access control address (MAC) address of the AP of the public WLAN, and the location address can be the location address of the AP of the public WLAN. The basic information of the public WLAN can be provided by the corresponding service provider. One public WLAN corresponds to one service provider, and one service provider can correspond to / provide one or more public WLANs. Optionally, the WLAN information module can connect to at least one service provider to obtain the basic information of the public WLAN provided by the at least one service provider.
[0081] The WLAN quality module can be used to provide a query function for network quality information of public WLANs. Optionally, the network quality information of public WLANs maintained by the WLAN quality module can be obtained based on crowdsourced data (e.g., anonymous crowdsourced data) uploaded by electronic devices of a large number of users. The crowdsourced data can be network quality information evaluated when the electronic device uses the public WLAN to access the Internet. Optionally, the WLAN quality module can be understood as a crowdsourcing platform. Optionally, the WLAN quality module can be a proprietary cloud service of the manufacturer of the electronic device 100. The network quality information of the public WLAN can include historical network quality information, such as but not limited to at least one of the following: whether it is available (i.e., whether it can access the Internet), uplink bandwidth, downlink bandwidth, download speed, upload speed, latency, jitter, the number of connected users (which can be referred to as congestion level or number of online users), and the lag of users using applications (which can be referred to as application experience). Without limitation, it can also include current network quality information, such as the current congestion level.
[0082] The application market can be used to provide a download function for a one-click connection service. Optionally, the electronic device 100 can use the download function provided by the application market on the server side through an installed application (such as an application store). For a public WLAN with a one-click connection capability, the corresponding service provider can provide a one-click connection service applied to the public WLAN. The one-click connection service can be used for the electronic device to automatically use the account information to log in / authenticate to the public WLAN, without the user having to manually enter the account information and related information for login / authentication. The one-click connection services of different public WLANs can be the same or different. For example, the one-click connection services of multiple public WLANs provided by the same service provider are the same, and the one-click connection services of public WLANs provided by different service providers are different.
[0083] The access device module can be used to provide authentication services related to the WLAN access device. The WLAN access device is the AP of the public WLAN, and can also be referred to as the WLAN access device corresponding to the public WLAN. The WLAN access device can be used to achieve: successful authentication / login of the electronic device of the corresponding public WLAN and communication with the Internet. In one embodiment, one WLAN access device can correspond to one access device module. In one embodiment, an electronic device 100 that has been connected to a public WLAN can initiate an authentication request to the access device module. The access device module corresponds to the AP of the public WLAN, and the authentication request is related to the AP of the public WLAN. After the access device module determines that the authentication is passed, it can notify the AP of the public WLAN, and the electronic device 100 can subsequently communicate with the Internet through the AP of the public WLAN. For example, the access device module includes a portal server and a RADIUS server.
[0084] The one-key connection module can be used to provide: a token that can implement the authentication process of the public WLAN. In one embodiment, the one-key connection module is related to the one-key connection service of the public WLAN. Optionally, the one-key connection module can be used to provide a token to the one-key connection service of the public WLAN. Optionally, the one-key connection service of the public WLAN can request the one-key connection module to obtain the token through account information (such as a mobile phone number), identification information of the public WLAN (such as SSID, BSSID) or identification information of the electronic device 100 (such as Internet Protocol (IP) address, MAC address, etc.). Optionally, the token provided by the one-key connection module can be used for the one-key connection service of the public WLAN to apply for the opening of the path from the WLAN access device (i.e., the AP of the public WLAN) to the Internet. Optionally, after the path is officially opened, the WLAN access device can be used to realize communication between the electronic device that has successfully authenticated the public WLAN and the Internet.
[0085] In some examples, on the server side, the above-mentioned WLAN information module, WLAN quality module, application market, access device module and one-key connection module can be independent of each other and belong to different servers / server clusters respectively. Not limited to this, in other examples, at least two of the above-mentioned modules can also be integrated together, for example, a server includes a WLAN quality module and an application market.
[0086] The software system of the electronic device 100 in the communication system 10 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a microservice architecture, or a cloud architecture. For example, the software system with a layered architecture can be an Android system, a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system with a layered architecture as an example to illustrate the software architecture of the electronic device 100.
[0087] As shown in FIG2 , the electronic device 100 can be divided into four layers, namely, the application program (hereinafter referred to as application) layer, the application framework layer, the system runtime library (naive) and the system module from top to bottom.
[0088] The application layer may include multiple applications, such as but not limited to: WLAN setting module, WLAN information query, installation-free connection service, account service, one-click connection service, etc. Any of the applications in the above examples may be an independent application or a functional module integrated in other applications. For example, the WLAN setting module is a functional module integrated in the setting application, and the WLAN function can be turned on or off, the WLAN list (including the information of multiple WLANs obtained) can be viewed through the setting application. The application in this application may also be replaced by other forms of software such as mini-programs and atomic services. WLAN information query can be an end-side service for querying the cloud for information about public WLANs. The installation-free connection service can be used to manage the one-click connection service of public WLANs, such as starting the one-click connection service, and for example, downloading the one-click connection service from the application market on the server side when using the one-click connection service for the first time. Since the one-click connection services of different public WLANs may be different, different one-click connection services may need to be downloaded when connecting to different public WLANs. There can be one or more one-click connection services, and any one of the one-click connection services can be used to connect to at least one corresponding public WLAN with one click. In this application, the presentation / display form of the one-click connection service on the electronic device 100 can be a card or other form of component. For the convenience of explanation, the card will be used as an example in the following description, and the one-click connection service can also be called a one-click connection service card. The account service can be used to maintain the account information of the electronic device 100, such as mobile phone number, system account, application account, itinerary information (such as), etc. The account information maintained by the account service can be used to log in / authenticate to the public WLAN.
[0089] The application framework layer may include, but is not limited to: network detection, connection management, WLAN maintenance, and public WLAN scoring. Network detection can be used to scan surrounding WLANs. Connection management can be used to manage the WLAN connection process. WLAN maintenance can be used to maintain the status of the detected WLAN (e.g., the status of a connected public WLAN). Public WLAN scoring can be used to evaluate the network quality of a public WLAN when communicating with the Internet via the public WLAN, and upload the evaluation results to the WLAN quality module on the server side, so that the WLAN quality module can form a crowdsourced database of public WLAN network quality information and / or build a communication map of the public WLAN.
[0090] The system runtime library may include a WLAN interface, such as a WLAN interface at a hardware abstract layer (HAL). The system module may include a WLAN module.
[0091] The architecture shown in Figure 2 is only an example. In a specific implementation, the electronic device 100 may include more or fewer modules, and there may be more or fewer modules on the server side. For example, multiple modules on the electronic device 100 / server side may be integrated together, and this application does not limit this.
[0092] Next, the electronic device in this application is introduced as an example.
[0093] FIG3 exemplarily shows a schematic diagram of the hardware structure of an electronic device 100 .
[0094] As shown in Figure 3, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0095] It should be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0096] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0097] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0098] Processor 110 may also include a memory for storing instructions and data. In one embodiment, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly retrieve it from the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0099] In one embodiment, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0100] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging implementations, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging implementations, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device 100 via the power management module 141.
[0101] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In another embodiment, the power management module 141 can also be set in the processor 110. In another embodiment, the power management module 141 and the charging management module 140 can also be set in the same device.
[0102] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0103] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In another embodiment, the antenna can be used in conjunction with a tuning switch.
[0104] The mobile communication module 150 can provide wireless communication solutions for the electronic device 100, including second generation (2G), third generation (3G), fourth generation (4G), fifth generation (5G), and sixth generation (6G). The mobile communication module 150 can include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via the antenna 1. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be located in the processor 110. In another embodiment, at least some of the functional modules of the mobile communication module 150 and at least some of the modules of the processor 110 can be located in the same device.
[0105] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In one embodiment, the modem processor may be an independent device. In another embodiment, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0106] The wireless communication module 160 can provide wireless communication solutions including WLAN (such as Wi-Fi), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0107] In one embodiment, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).
[0108] Electronic device 100 implements display functionality through a GPU, display screen 194, and an application processor. A GPU is a microprocessor for image processing that connects display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0109] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In one embodiment, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0110] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0111] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and transformed into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and other factors. It can also optimize parameters such as exposure and color temperature of the captured scene. In one embodiment, the ISP can be located within camera 193.
[0112] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In one embodiment, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0113] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, files such as music and videos can be stored on the external memory card.
[0114] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in a memory provided in the processor.
[0115] The electronic device 100 can implement audio functions such as music playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0116] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In one embodiment, the audio module 170 can be provided in the processor 110, or some functional modules of the audio module 170 can be provided in the processor 110.
[0117] The speaker 170A, also called a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or listen to hands-free calls through the speaker 170A.
[0118] The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or a voice message, the user can place the receiver 170B close to the ear to hear the voice.
[0119] Microphone 170C, also known as "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to the microphone 170C to input the sound signal into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In another embodiment, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In another embodiment, the electronic device 100 can also be provided with three, four or more microphones 170C to realize sound signal collection, noise reduction, and can also identify the source of sound, realize directional recording function, etc.
[0120] The headphone jack 170D is used to connect a wired headphone.
[0121] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In one embodiment, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force acts on pressure sensor 180A, the capacitance between the electrodes changes. Electronic device 100 determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, electronic device 100 detects the touch intensity based on pressure sensor 180A. Electronic device 100 can also calculate the touch location based on the detection signal from pressure sensor 180A. In one embodiment, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.
[0122] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. The air pressure sensor 180C is used to measure air pressure. The magnetic sensor 180D includes a Hall sensor. The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The distance sensor 180F is used to measure distance. The ambient light sensor 180L is used to sense the brightness of ambient light. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect temperature. The bone conduction sensor 180M can obtain vibration signals.
[0123] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
[0124] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In another embodiment, the touch sensor 180K can also be disposed on the surface of the electronic device 100, in a location different from that of the display screen 194.
[0125] Buttons 190 include a power button and volume buttons. Motor 191 can generate vibration prompts. Indicator 192 can be an indicator light that can be used to indicate charging status, power level changes, messages, missed calls, notifications, etc. SIM card interface 195 is used to connect a SIM card.
[0126] The following describes the application scenarios involved in this application and user interface examples in the application scenarios.
[0127] FIG4A exemplarily shows a schematic diagram of a user interface.
[0128] As shown in Figure 4A, the electronic device 100 can display a user interface 410. In some examples, the user interface 410 can be a user interface for setting the WLAN function of the application. The user interface 410 can include function information 411. The function information 411 can include the function name "WLAN" and a switch control 411A. The switch control 411A is used to turn the WLAN function on or off. When the switch control 411A is turned on, the electronic device 100 can display a list 412 on the user interface 410. The list 412 can include information about multiple WLANs detected / acquired by the electronic device 100 (for example, including scanned surrounding WLANs), and optionally, information about connected WLANs. The user interface 410 also includes a status bar 413 at the top. The status bar 413 can include an indicator of a mobile communication signal, an indicator of battery level, and time information. Since the status bar 413 does not include an indicator of a WLAN signal, it can indicate that the electronic device 100 is not connected to a WLAN. Therefore, the status of the WLANs in the list 412 are all not connected.
[0129] As shown in FIG4A , the information of any WLAN in list 412 may include a name (i.e., SSID), whether it is encrypted, an indicator of signal strength, and whether it is saved. For example, list 412 may include information 412A for a WLAN named “AAA-WLAN” (which may be abbreviated as AAA-WLAN, and similar descriptions may also be abbreviated as such). Information 412A may include the character “saved” to indicate that electronic device 100 has saved the AAA-WLAN, for example, if the AAA-WLAN has been connected before. Information 412A may also include the character “encrypted” to indicate that password authentication is required before connecting to the AAA-WLAN. Information 412A may also include an indicator 412B, which may indicate that the signal strength of the AAA-WLAN is 3 bars (4 bars is full / highest). Indicator 412B may also indicate whether the AAA-WLAN is encrypted by displaying a small lock. The description of the information of other WLANs in list 412 is similar. For example, list 412 also includes information about BBB-WLAN, indicating that BBB-WLAN has been saved, is not encrypted (also called "open"), and has a signal strength of 2 bars. List 412 also includes information about CCC-WLAN, indicating that CCC-WLAN has not been saved, is open, and has a signal strength of 3 bars. List 412 also includes information about DDD-WLAN, indicating that DDD-WLAN has not been saved, is open, and has a signal strength of 2 bars. List 412 also includes information about EEE-WLAN, indicating that EEE-WLAN has not been saved, is open, and has a signal strength of 3 bars. List 412 also includes information about FFF-WLAN, indicating that FFF-WLAN has not been saved, is open, and has a signal strength of 4 bars (i.e., full bars). List 412 also includes information about GGG-WLAN, indicating that CCC-WLAN has not been saved, is encrypted, and has a signal strength of 2 bars.
[0130] Generally, an open WLAN is a public WLAN. Although no password authentication is required when connecting, other information (such as a mobile phone number) is required to log in / authenticate after connection before accessing the Internet. Of course, there may be cases where the public WLAN is an encrypted WLAN. This application does not limit this. For the sake of convenience, this application takes the public WLAN as an open WLAN and the non-public WLAN (which can also be understood as a private WLAN) as an encrypted WLAN as an example. Therefore, in the list 412 shown in Figure 4B, BBB-WLAN, CCC-WLAN, DDD-WLAN, EEE-WLAN and FFF-WLAN are public WLANs.
[0131] In one embodiment, the electronic device 100 can display a user interface for entering the password of any unsaved and encrypted non-public WLAN (e.g., GGG-WLAN) in list 412 in response to a user operation (e.g., a touch operation) on the WLAN. After the electronic device 100 passes the authentication using the entered password, the status of the WLAN in list 412 can be changed to connected.
[0132] In one embodiment, the electronic device 100 can respond to a user operation (e.g., a touch operation) on any unsaved public WLAN (e.g., CCC-WLAN) in the list 412 and modify the status of the WLAN in the list 412 to connected. However, at this time, the electronic device 100 cannot access the Internet through the WLAN. The WLAN requires login / authentication before it can be used normally. An interface example of the login / authentication process can be seen in Figure 4B below.
[0133] FIG4B exemplarily shows a schematic diagram of yet another user interface.
[0134] As shown in FIG4B , electronic device 100 may display user interface 420. In some examples, user interface 420 may be the user interface displayed after electronic device 100 connects to a CCC-WLAN. For example, after connecting to a CCC-WLAN, electronic device 100 may display a notification message (notifying a user to log in / authenticate to the CCC-WLAN). Electronic device 100 may display user interface 420 in response to a user operation (e.g., a touch operation) on the notification message. User interface 420 may include a status bar 421 at the top. Status bar 421 is similar to status bar 413 in user interface 410 shown in FIG4A , except that status bar 421 also includes a WLAN signal indicator 421A, indicating that the WLAN is connected and the signal strength is 3 bars. Indicator 421A also includes a question mark symbol, indicating that the user is not currently logged in / authenticated to the connected WLAN and cannot access the Internet via the connected WLAN. User interface 420 may include a prompt message 422, "Welcome to CCC's secure Wi-Fi: CCC-WLAN," indicating that user interface 420 is the login / authentication interface for the CCC-WLAN. The user interface 420 may include an input box 423 for entering a mobile phone number, a control 424 for obtaining a verification code (the verification code obtained by entering the mobile phone number), an input box 425 for entering the verification code, and a control 426 for connecting to the Internet. In one embodiment, after the electronic device 100 receives the mobile phone number entered in the input box 423 and the verification code entered in the input box 425, it can respond to a user operation (e.g., a touch operation) on the control 426 and use the mobile phone number and verification code to log in / authenticate. After the login / authentication is successful, the electronic device 100 can access the Internet via the CCC-WLAN. Optionally, the electronic device 100 can cancel the question mark symbol in the indicator 421A. The user interface 420 also includes a control 427, which may include the characters "Use other methods to authenticate" to trigger the user interface for logging in / authenticating using other information, such as system account, application account, transportation ticket (e.g., high-speed rail ticket, airplane ticket) information, etc.
[0135] It can be understood that in the above embodiment, when the user connects to the WLAN, there is less information available for reference. Taking the user connecting to the WLAN through the user interface 410 shown in Figure 4A as an example, the list 412 in the user interface 410 shows less WLAN information (i.e., the name of the WLAN, whether it is saved, whether it is encrypted, and the signal strength), and there are at least the following problems: First, there are security risks in public WLANs. Network criminals can use fake hotspots, man-in-the-middle attacks, malware and other means to steal users' personal information to commit illegal activities such as fraud or extortion. Consumers cannot know the service providers of the public WLAN based on the above WLAN information alone, nor can they determine which public WLANs are not phishing scams. WLAN, that is, consumers cannot perceive whether public WLAN is trustworthy; second, consumers can only perceive the signal strength of WLAN, but signal strength cannot represent the actual network quality. For example, when the signal strength is full, the Internet cannot be accessed or the network quality is very poor, and consumers cannot perceive the actual network quality of WLAN; third, after connecting to a public WLAN, it is often necessary to log in / authenticate before accessing the Internet. For example, the implementation shown in Figure 4B is cumbersome for users to operate. Some public WLANs have a one-click connection service, which allows the electronic device 100 to log in / authenticate the public WLAN by itself, reducing user operations. However, consumers cannot perceive which public WLANs can be connected to with one click by only using the WLAN information shown in list 412.
[0136] This application provides a method for displaying network information. An electronic device 100 can display the following reference information in a WLAN list (e.g., list 412 in user interface 410 shown in FIG4A ): information indicating WLAN security, information indicating WLAN network quality, and information indicating whether a WLAN can be connected to with one click. For a specific example, see FIG5 below. In this way, a user can directly perceive which public WLANs are trustworthy, which public WLANs can be connected to with one click, and the actual network quality of the public WLANs through the WLAN list. This allows the user to select a desired WLAN based on the perceived results, reducing the time and effort spent by the user on selecting the desired high-quality WLAN and improving the user experience.
[0137] In the implementation shown in Figures 4A and 4B, after the user connects to the CCC-WLAN, he or she still needs to log in / authenticate in the user interface 420: enter the mobile phone number, wait for the verification code of the mobile phone number, and then enter the verification code before going online. The user operation is cumbersome. In this application, the electronic device 100 can provide a one-click connection to the WLAN function. Specifically, for any public WLAN with a one-click connection service, the electronic device 100 can automatically call the one-click connection service of the public WLAN (the user experience is a way to install an application without installing the application) and use the account information of the electronic device 100 to log in / authenticate the public WLAN. For a specific example, see Figure 6 below. There is no need for the user to manually enter login / authentication information such as mobile phone number and verification code, which greatly reduces the operations, time and energy required by the user to connect to the public WLAN, thereby improving the user experience.
[0138] FIG5 exemplarily shows a schematic diagram of yet another user interface.
[0139] As shown in Figure 5, the electronic device 100 can display a user interface 510. In some examples, the user interface 510 can be a user interface for setting the WLAN function of the application. The user interface 510 can include a status bar 511 and function information 512 located at the top. The status bar 511 and function information 512 are consistent with the descriptions of the status bar 413 and function information 411 shown in Figure 4A, respectively. Function information 512 indicates that when the WLAN function is turned on, the electronic device 100 can display a WLAN list 513 on the user interface 510. List 513 is similar to list 412 shown in Figure 4A, except that the information of the public WLAN also includes: whether it can be connected with one click (if it is not connected with one click, information on whether login / authentication is required can be displayed), security level / trust (such as low, medium and high) and network quality level (such as poor, general and good). For example, compared to list 412 shown in FIG4A , the BBB-WLAN in list 513 also includes "one-click connection available," "low trust," and "average network quality," the CCC-WLAN also includes "one-click connection available," "high trust," and "good network quality," the DDD-WLAN also includes "one-click connection available," "high trust," and "good network quality," the EEE-WLAN also includes "login / authentication required," "medium trust," and "good network quality," and the FFF-WLAN also includes "login / authentication required," "low trust," and "poor network quality." When the information for a public WLAN (using CCC-WLAN as an example) in list 513 includes "one-click connection available," it indicates that the CCC-WLAN can be connected to with one click via electronic device 100. In one embodiment, if the electronic device 100 obtains that the service provider of CCC-WLAN provides a one-key connection service that can be applied to CCC-WLAN (it can be understood that the electronic device 100 knows that CCC-WLAN has a one-key connection service. At this time, the electronic device 100 may not have installed the one-key connection service, or may have installed the one-key connection service), the above-mentioned "one-key connection available" can be displayed when displaying the information of CCC-WLAN. If the electronic device 100 obtains that CCC-WLAN does not have a one-key connection service, the above-mentioned "login / authentication required" or other information can be displayed when displaying the information of CCC-WLAN. The subsequent descriptions of other public WLANs are similar, and this application will not go into details one by one. The user interface 510 also includes a control 514 for triggering the viewing of more public WLANs (such as surrounding public WLANs).
[0140] In one embodiment, the electronic device 100 may receive a user operation (e.g., a single-click operation) for a public WLAN (using CCC-WLAN as an example) in the list 513 that includes "one-click connection" information. In response to the user operation, the electronic device 100 may connect to the CCC-WLAN and call / start the one-click connection service of the CCC-WLAN on the electronic device 100 (the user experience is direct calling / starting without installation, for example, the calling / starting time is less than or equal to 3 seconds). At this time, the user interface of the one-click connection service may be displayed. For a specific example, see user interface 610 shown in FIG6 below. In some examples, before the electronic device 100 calls / starts the one-click connection service of the CCC-WLAN, if the one-click connection service is not installed, the electronic device 100 may first install the one-click connection service in the background.
[0141] FIG6 exemplarily shows a schematic diagram of yet another user interface.
[0142] As shown in FIG6 , user interface 610 may include a status bar 611 at the top. The description of status bar 611 is consistent with the description of status bar 421 shown in FIG4B . WLAN signal indicator 611A in status bar 611 indicates that the device is connected to the WLAN but cannot access the Internet. User interface 610 is similar to user interface 420 shown in FIG4B , both being CCC-WLAN login / authentication interfaces. The difference is that user interface 610 does not include controls for entering / retrieving authentication information. User interface 610 may include prompt information 612 and control 613. Prompt information 612 may include the characters "Account application provides you with authentication services," indicating that the CCC-WLAN is currently being authenticated through the account application. Prompt information 612 may also include account information obtained by electronic device 100, such as the mobile phone number "111******22" (one * represents a number) in the account application. Control 613 may be used to trigger authentication for the CCC-WLAN. User interface 610 also includes prompt information 614, which includes the characters "Manual authentication" and is used to trigger the display of a user interface for entering authentication information (such as user interface 420 shown in FIG4B ).
[0143] In one embodiment, after the electronic device 100 is connected to the CCC-WLAN, a prompt message (e.g., "Login / authentication CCC-WLAN required") may be displayed first. In response to a user operation on the prompt message, the electronic device 100 may call / launch the one-touch connection service of the CCC-WLAN and display the user interface 610 shown in FIG6 . Without limitation, in another embodiment, after the electronic device 100 is connected to the CCC-WLAN, the one-touch connection service of the CCC-WLAN may be called / launched in response to a user operation for opening a related interface, such as a browser search interface or other interface that displays content provided by the Internet. In another embodiment, after the electronic device 100 is connected to the CCC-WLAN, the one-touch connection service of the CCC-WLAN may also be directly called / launched. This application does not limit the triggering method for calling / launching the one-touch connection service of the CCC-WLAN.
[0144] In one embodiment, the electronic device 100 can receive a user operation on the control 613 (for example, a single-click operation), and in response to the user operation, use the account information in the account application (for example, the above-mentioned mobile phone number "111******22") to log in / authenticate. After the login / authentication is passed, the electronic device 100 can access the Internet through the CCC-WLAN. Optionally, the electronic device 100 can modify the status of the CCC-WLAN in the list 513 shown in Figure 5 to connected. Optionally, the electronic device 100 can cancel the question mark symbol in the display indicator 611A. For example, the electronic device 100 can display the user interface 710 shown in Figure 7 below.
[0145] FIG7 exemplarily shows a schematic diagram of yet another user interface.
[0146] As shown in FIG7 , user interface 710 is similar to user interface 510 shown in FIG5 , except that status bar 511 in user interface 710 further includes a WLAN signal indicator 511A, which indicates that the WLAN is connected and that Internet access is available. List 513 in user interface 710 does not include CCC-WLAN information. User interface 710 further includes list 711, which is used to display information about the WLAN (i.e., CCC-WLAN) to which electronic device 100 is connected, such as "connected," "Internet access available" (e.g., "Internet access not available" is displayed before logging in to / authenticating the CCC-WLAN), "high trust," and "good network quality."
[0147] The implementation shown in Figure 5 is illustrated by taking the network quality as three levels (poor, average, and good) as an example. In another implementation, the network quality can also be divided into more or fewer levels, such as the four levels (very poor, average, good, and excellent) shown in Figure 8 below. In another implementation, more detailed network quality information can also be displayed, such as the upload speed, download speed, and number of online users shown in Figure 10 below. This application does not limit the method of characterizing network quality.
[0148] The implementation shown in Figure 5 is explained by taking the example of displaying "Login / Authentication Required" when "One-click Connection is Not Possible". In another implementation, the specific method of login / authentication can also be displayed, such as "Web Page Authentication" and "Password Login" shown in Figure 8 below. This application does not limit the display content when "One-click Connection is Not Possible".
[0149] The embodiment shown in Figure 6 is illustrated by taking the electronic device 100 performing CCC-WLAN login / authentication in response to a user operation on the control 613 as an example. In another embodiment, the electronic device 100 can also automatically perform CCC-WLAN login / authentication without the user operating the control 613. For example, the electronic device 100 does not display the user interface 610 shown in Figure 6, and automatically performs CCC-WLAN login / authentication directly in the background. After the login / authentication is passed, the user interface 710 shown in Figure 7 can be displayed. This application does not limit the triggering method for the electronic device 100 to perform CCC-WLAN login / authentication.
[0150] The implementation shown in Figure 5 is illustrated by taking the display of the trust level of each public WLAN as an example. In another implementation, the electronic device 100 may also display the trusted public WLANs and other WLANs separately, that is, independently display the public WLANs with higher trust levels. For specific examples, please refer to Figure 8 below. This application does not limit the method of representing the trust level.
[0151] FIG8 exemplarily shows a schematic diagram of yet another user interface.
[0152] As shown in FIG8 , the electronic device 100 may display a user interface 810 . The user interface 810 is similar to the user interface 510 shown in FIG5 , except that different WLAN lists are displayed. The user interface 810 may include a list 811 , a list 812 , and a list 813 .
[0153] List 811 may include information about at least one WLAN stored in electronic device 100. The WLAN information in list 811 is similar to the WLAN information in list 412 shown in FIG. 4A , except that the WLAN information in list 811 also includes a network quality level, and the public WLAN information also includes whether one-click connection is possible. For example, the AAA-WLAN information in list 811 also includes "Network Quality is Average," and the BBB-WLAN information also includes "Network Quality is Average" and "One-click Connection is Possible."
[0154] List 812 may include a title 812A "4 Secure Public WLANs Found," indicating that list 812 is used to display information about secure public WLANs detected by electronic device 100. Information about any public WLAN in list 812 may include its name, signal strength indicator, whether it is a recommended network, network quality level, and whether it can be connected to with one click. A secure public WLAN in this application may be a public WLAN with a security / trust level greater than or equal to a first preset value, and a recommended network may be a public WLAN with a security / trust level greater than or equal to a second preset value, where the second preset value is greater than the first preset value. For example, list 812 may include information about CCC-WLAN, DDD-WLAN, EEE-WLAN, and FFF-WLAN. Information about CCC-WLAN may include "Recommended Network," "Excellent Network Quality," and "Connectable to One Click," information about DDD-WLAN may include "Recommended Network," "Good Network Quality," and "Connectable to One Click," information about EEE-WLAN may include "Good Network Quality" and "Web authentication may be required," and information about FFF-WLAN may include "Fair Network Quality" and "Password Login May be Required." Understandably, WLAN signal strength cannot represent actual network quality. For example, the signal strength of CCC-WLAN (3 bars) is less than the signal strength of DDD-WLAN (2 bars), equal to the signal strength of EEE-WLAN (3 bars), and greater than the signal strength of FFF-WLAN (4 bars / full bar). However, the network quality of CCC-WLAN is better than that of DDD-WLAN, EEE-WLAN, and FFF-WLAN. List 812 also includes prompt information 812B, which includes the text "More public WLANs, click to view", which can be used to trigger the view of more public WLANs (e.g., nearby public WLANs).
[0155] List 813 may include a title “Other Connectable WLANs”, indicating that list 813 is used to display information of other WLANs detected by electronic device 100 other than the WLANs in lists 811 and 812 , such as an unsaved, encrypted, non-public GGG-WLAN.
[0156] In one embodiment, the user interface 510 shown in Figure 5 and the user interface 810 shown in Figure 8 can be understood as the setting interface of the WLAN function. The electronic device 100 can display the setting interface of the WLAN function in response to the user operation so that the user can connect to the WLAN based on the setting interface. This method can be understood as the user actively viewing the information of the public WLAN. However, in another embodiment, the electronic device 100 can also remind the user to view the information of the public WLAN. For example, the electronic device 100 determines whether to remind the user to connect to the public WLAN based on the current business situation. For a specific example, see Figure 9 below.
[0157] FIG9 exemplarily shows a schematic diagram of yet another user interface.
[0158] As shown in FIG9 (A), the electronic device 100 can display a user interface 910, which can be a user interface of a video application. The user interface 910 can include a status bar 911 at the top. The status bar 911 is consistent with the status bar 413 shown in FIG4A, indicating that the electronic device 100 is not currently connected to a WLAN and is accessing the Internet via mobile communication (i.e., cellular communication). The electronic device 100 can determine to remind the user to connect to a public WLAN based on the current business situation (e.g., displaying the user interface of a video application), and thus can display a notification window 912 on the user interface 910. The notification window 912 can include an identifier of the WLAN application, the time when the notification window 912 was displayed (e.g., "just now"), a prompt message "Recommend using a high-quality free WLAN nearby", a control 912A, and a control 912B. The control 912A can include the characters "Do not remind again (8s)", indicating that the notification window 912 will be canceled after 8 seconds. The control 912A can be used to trigger the notification window 912 to no longer be displayed, for example, not to display the notification window 912 within a preset time period, or to no longer display the notification window 912 when the electronic device 100 displays the user interface of a video application. Control 912B may include the characters "Click to view". In one embodiment, the electronic device 100 may display high-quality, free WLANs recommended by the electronic device 100 in response to a user operation (e.g., a single-click operation) on the control 912B, such as displaying the user interface 920 shown in (B) of Figure 9.
[0159] As shown in (B) of Figure 9, the user interface 920 may include a window 921. Window 921 is similar to the list 812 shown in Figure 8, and is used to display information about a public WLAN that is secure (for example, security / trust is greater than or equal to a first preset value) detected by the electronic device 100. The difference is that the user interface 920 also includes a prompt message 921A, and the prompt message 921A includes the characters "More WLAN Settings" to trigger the display of a setting interface for the WLAN function, such as the user interface 510 shown in Figure 5 or the user interface 810 shown in Figure 8.
[0160] The implementation manner shown in Figures 8 and 9 is illustrated by independently displaying a public WLAN with a high degree of trust. In another implementation manner, a public WLAN that meets preset conditions can also be independently displayed. The preset conditions may include but are not limited to at least one of the following: high trust, one-click connection, and good network quality. This application does not limit this.
[0161] The above embodiment is described by taking the display of public WLAN information in list form as an example. In another embodiment, the electronic device 100 can also display public WLAN information in map form. For specific examples, see Figure 10 below. This application does not limit the display form of public WLAN information.
[0162] FIG10 exemplarily shows a schematic diagram of yet another user interface.
[0163] As shown in FIG10(A), the electronic device 100 may display a user interface 1010. In some examples, the user interface 1010 may be displayed by the electronic device 100 in response to a user operation (e.g., a single click) on the control 514 shown in FIG5. In other examples, the user interface 1010 may be displayed by the electronic device 100 in response to a user operation (e.g., a single click) on the prompt information 812B shown in FIG8. In other examples, the user interface 1010 may be displayed by the electronic device 100 in response to a user operation (e.g., a single click) on the prompt information "More public WLANs, click to view..." shown in FIG9. Without limitation, the user interface 1010 may also be displayed in response to a user operation on other controls to display more public WLAN information and / or more detailed public WLAN information. FIG10 uses the user interfaces 1010 and 1020 as examples to illustrate the display interface (for displaying more public WLAN information and / or more detailed public WLAN information), but this should not be construed as limiting. The user interface 1010 may include a status bar at the top, which is consistent with the status bar 413 shown in FIG4A, indicating that the electronic device 100 is not currently connected to a WLAN. The user interface 1010 may include a title "Public WLAN" and a map window 1011. The map window 1011 may include an identifier 1011A of the current location of the electronic device 100, and an identifier of at least one surrounding public WLAN detected by the electronic device 100. The surrounding public WLAN in this application is, for example, a WLAN whose distance from the location of the corresponding AP to the current location of the electronic device 100 is less than or equal to a preset distance. The identifier of any public WLAN shown in the map window 1011 may indicate whether the public WLAN can be connected with one click, and the download speed of the public WLAN.
[0164] FIG10 illustrates an example of indicating whether a one-click connection is possible by the color of a public WLAN identifier. The user interface 1010 may include a window 1012. The content shown in window 1012 may represent: a white WLAN identifier 1012A indicates that a one-click connection is possible, and a gray WLAN identifier 1012B indicates that login / authentication is required (i.e., one-click connection is not possible). FIG10 illustrates an example of indicating a download speed (e.g., an average value over the past four hours) by the background of a public WLAN identifier. The user interface 1010 may include a window 1013. The content shown in window 1013 may represent: background 1013A indicates that a download speed is greater than 450 megabits per second (Mbps), background 1013B indicates that a download speed is within the range of [70Mbps, 450Mbps], background 1013C indicates that a download speed is within the range of [15Mbps, 70Mbps], and background 1013C indicates that a download speed is less than 15Mbps.
[0165] Exemplarily, the map window 1011 may include multiple identifiers of public WLANs that can be connected with one click: identifier 1011B of CCC-WLAN (background belongs to background 1013A), identifier 1011C of DDD-WLAN (background belongs to background 1013B), and the map window 1011 may also include multiple identifiers of public WLANs that require login / authentication: identifier 1011D of EEE-WLAN (background belongs to background 1013B), identifier 1011E of FFF-WLAN (background belongs to background 1013C), identifier 1011F of HHH-WLAN (background belongs to background 1013D), identifier 1011G of III-WLAN (background belongs to background 1013C), and identifier 1011H of JJJ-WLAN (background belongs to background 1013A).
[0166] In one embodiment, the electronic device 100 may receive a user operation (e.g., a drag operation) on the map window 1011. In response to the user operation, the map window 1011 may display public WLANs at other locations on the map, which may also be understood as updating the display content of the map window 1011. The user interface 1010 may further include a control 1014 and a control 1015. The control 1014 may be used to refresh the map window 1011 to obtain the latest public WLANs. The control 1015 may be used to set the display content of the map window 1011 to a map near the current location of the electronic device 100. In this case, the map window 1011 includes an identifier 1011 of the current location of the electronic device 100.
[0167] In one embodiment, the electronic device 100 can receive a user operation (e.g., a single-click operation) on the identifier of any public WLAN shown in the map window 1011 (using the identifier 1011B of the CCC-WLAN as an example), and in response to the user operation, display detailed information of the CCC-WLAN. For a specific example, see the user interface 1020 shown in (B) of Figure 10.
[0168] As shown in FIG10(B), user interface 1020 is similar to user interface 1010 shown in FIG10(A), except that identifier 1011B of CCC-WLAN in map window 1011 is selected, and user interface 1020 further includes window 1021, which is used to display detailed information of CCC-WLAN, such as: address information 1021A of the AP of CCC-WLAN ("C1 Province C2 City C3 District Location CCC"), name 1021B ("CCC-WLAN"), reference information 1021C ("Recommended Network", "Excellent Network Quality", "One-click Connection Available"), network quality information 1021D (indicating an upload speed of 516 Mbps and a download speed of 482 Mbps), network quality information 1021E (indicating that there are 2 people online), and signal strength indicator 1021F (3 bars). For example, network quality information 1021D and network quality information 1021E are recent average values (e.g., within the past 4 hours). Window 1021 may also include controls 1021G and 1021H, control 1021G is used to trigger a one-click connection to CCC-WLAN, for example, to trigger the display of the user interface 610 shown in Figure 6, and control 1021H is used to trigger the display of a navigation interface (the departure point is the current location of the electronic device 100, and the destination is the address information of the AP of the CCC-WLAN).
[0169] It can be understood that compared with the public WLANs in list 812 shown in Figure 8, the map window 1011 shown in (A) and (B) of Figure 10 displays more surrounding public WLANs. Users can perceive where public WLANs exist in the surrounding area and the reference information of these public WLANs through the map window 1011. The map window 1011 can guide users to the locations of nearby public WLANs. For example, even if the public WLANs shown in list 812 are not the WLANs the user wants to connect to, the user can select the WLAN he wants to connect to according to the map window 1011, and walk to the corresponding location according to the map window 1011 to connect to the target WLAN. The range of WLANs that users can connect to is wider, and users can choose high-quality public WLANs in the surrounding area to use, which can better meet user needs.
[0170] The above embodiment is illustrated by taking the display of reference information of public WLANs for user selection (which can also be understood as the user deciding which WLAN to connect to) as an example. In another embodiment, the electronic device 100 can also select a public WLAN from multiple public WLANs according to preset rules and automatically connect to the public WLAN. The preset rules, for example, but not limited to, include at least one of the following: a public WLAN with high trust has a higher priority than a public WLAN with low trust, a public WLAN that can be connected with one click has a higher priority than a public WLAN that cannot be connected with one click, and a public WLAN with good network quality has a higher priority than a public WLAN with poor network quality. In this case, the electronic device 100 can display a prompt message to prompt the user that he has connected to a high-quality public WLAN. For a specific example, see Figure 11 below.
[0171] FIG11 exemplarily shows a schematic diagram of yet another user interface.
[0172] As shown in Figure 11, the electronic device 100 can display a user interface 1110, which can be a user interface of a video application. The user interface 1110 may include a status bar 1111, and the status bar 1111 may include an indicator 1111A of a WLAN signal. The electronic device 100 may determine the WLAN to be connected based on the currently running business situation (for example, displaying the user interface of a video application), and determine a CCC-WLAN from multiple WLANs according to preset rules. For example, the CCC-WLAN is a public WLAN with the highest trustworthiness, the highest network quality, and one-click connection among multiple public WLANs detected by the electronic device 100. The electronic device 100 can automatically connect to the CCC-WLAN determined above, automatically call the one-click connection service of the CCC-WLAN, and use the account information of the electronic device 100 (for example, a mobile phone number) to authenticate the CCC-WLAN. After authentication is successful, electronic device 100 may display a notification window 1112 in user interface 1110. Notification window 1112 may include the WLAN application identifier, the time notification window 1112 was displayed (e.g., "Just now"), and the prompt "Automatically connected to the high-quality free WLAN 'CCC-WLAN' (high trust, excellent network quality)." After authentication is successful, the WLAN signal indicator 1111A included in status bar 1111 of user interface 1110 displayed by electronic device 100 indicates that the WLAN is connected and Internet access is normal.
[0173] Not limited to the embodiment shown in FIG11 , in another embodiment, after the electronic device 100 automatically connects to the determined CCC-WLAN, it may display a prompt message prompting the user to authenticate the CCC-WLAN. In response to a user operation (e.g., a single click) on the prompt message, the electronic device 100 may display a user interface for a one-click connection service for the CCC-WLAN, such as user interface 610 shown in FIG6 , and the user may authenticate the CCC-WLAN with one click through user interface 610.
[0174] The above embodiment is illustrated by taking the WLAN displaying the characters "Recommended Network" as an example, which is a public WLAN whose security / trust is greater than or equal to the second preset value. In another embodiment, the electronic device 100 can also determine whether the public WLAN is a recommended network based on other information. For example, a public WLAN with a high trust level and good network quality is a recommended network. For example, a public WLAN with good network quality and one-click connection is a recommended network. This application does not limit the method for determining the recommended network.
[0175] Not limited to the WLAN information in the above example, in other examples, the electronic device 100 may also display information such as whether the public WLAN is accessible, whether it is congested, etc., so that the user can better understand the public WLAN.
[0176] Based on the above embodiments, the method for displaying network information involved in this application is introduced. The method can be applied to the communication system 10 shown in Figure 1. The method can also be applied to the communication system 10 shown in Figure 2.
[0177] Please refer to Figure 12, which is a flowchart of a method for displaying network information provided by an embodiment of the present application. The method may include but is not limited to the following steps:
[0178] S101: The electronic device 100 scans surrounding WLANs and obtains identification information of a first WLAN.
[0179] In one embodiment, when the electronic device 100 is not connected to a WLAN, it can scan surrounding WLANs, such as periodic scanning or continuous scanning, such as scanning through a system application or a third-party application. The electronic device 100 can scan at least one WLAN (i.e., a first WLAN) and obtain identification information of the first WLAN, such as but not limited to SSID and / or BSSID. Optionally, the electronic device 100 can also obtain other information of the first WLAN, such as but not limited to signal strength. In one embodiment, at least one WLAN in the first WLAN is a public WLAN.
[0180] S102: The electronic device 100 sends a first request message (including identification information of the first WLAN) to the cloud.
[0181] In one implementation, the first request message may be used to request information about the first WLAN.
[0182] S103: The cloud sends a first response message (including relevant information of the first WLAN) to the electronic device 100.
[0183] In one embodiment, the relevant information of the first WLAN may include, but is not limited to: trustworthiness / trustworthiness, whether a one-click connection service is provided, the package name of the one-click connection service, and network quality information. Optionally, the network quality information may be, for example, an average value within a preset time period (e.g., 4 hours) from the current time. Without limitation, in another embodiment, the trustworthiness / trustworthiness of any WLAN may not be returned by the cloud, but may be determined by the electronic device 100 based on other information such as the service provider information and location address of the WLAN returned by the cloud.
[0184] In one implementation, the relevant information of the first WLAN may include basic information and network quality information of the first WLAN. For descriptions of the basic information and network quality information, refer to the description of FIG. 2 .
[0185] Among them, after connecting to a public WLAN that provides a one-click connection service, the electronic device 100 can call the one-click connection service to automatically log in / authenticate to the public WLAN, without the user having to manually enter information for login / authentication. The one-click connection services of different public WLANs can be the same or different. For example, the one-click connection services of multiple public WLANs provided by the same service provider can be the same, while the one-click connection services of public WLANs provided by different service providers can be different.
[0186] S104: The electronic device 100 displays a first interface (including reference information of at least one WLAN) according to the relevant information of the first WLAN.
[0187] In one embodiment, the first interface may include reference information of at least one WLAN, which may be a public WLAN, or may be all or part of the first WLAN. The reference information of any WLAN may include at least one of the following: information indicating the security / trustworthiness of the WLAN (which may be referred to as indication information 1), information indicating the network quality of the WLAN (which may be referred to as indication information 2), and information indicating whether the WLAN can be connected with one click (which may be referred to as indication information 3). The reference information of the at least one WLAN may be obtained based on relevant information, for example, obtaining indication information 1 based on the trustworthiness / trustworthiness in the relevant information, obtaining indication information 2 based on whether the one-click connection service is provided in the relevant information, or obtaining indication information 3 based on the network quality information in the relevant information.
[0188] In one implementation, the first interface may include a WLAN list, where the WLAN list includes reference information of at least one WLAN. Optionally, before S104 , the electronic device 100 receives a user operation for opening the WLAN list.
[0189] In some examples, the first interface is the user interface 510 shown in Figure 5, and the list 513 in the user interface 510 shows reference information of multiple public WLANs, for details, please refer to the descriptions of BBB-WLAN, CCC-WLAN, DDD-WLAN, EEE-WLAN and FFF-WLAN, wherein indication information 1 is the level of trust (including low, medium and high), indication information 2 is the level of network quality (including poor, general and good), and indication information 3 is the displayed characters "can be connected with one click" or "login / authentication required" (corresponding to not being able to connect with one click).
[0190] In some examples, the first interface is the user interface 810 shown in Figure 8, and the lists 811 and 812 in the user interface 810 show reference information of multiple public WLANs, for details, see the descriptions of BBB-WLAN, CCC-WLAN, DDD-WLAN, EEE-WLAN and FFF-WLAN, wherein indication information 1 includes whether it is displayed through list 812 (the public WLAN displayed through list 812 is trustworthy, which can also be understood as title 812A), and whether the characters "Recommended Network" are displayed (the public WLAN displaying the characters "Recommended Network" is more trustworthy), indication information 2 is the level of network quality (including poor, general, good and excellent), and indication information 3 is the display of the characters "can be connected with one click" or "may require web authentication / may require password login" (corresponding to not being able to be connected with one click).
[0191] In one embodiment, before S104, the electronic device 100 may display a prompt message based on the current state to prompt the user to view and connect to a high-quality public WLAN. The above-mentioned current state may include, but is not limited to, the current running business status (for example, whether a video business that consumes a lot of traffic is running) and the current network status (for example, whether the cellular communication network is not currently connected or the quality of the connected cellular communication network is poor). In S104, the electronic device 100 may respond to the user operation (for example, the user operation on the prompt message) and display the first interface. An example of the above process can be seen in Figure 9, where the prompt message is the notification window 912 in the user interface 910 shown in Figure 9 (A), the first interface is the user interface 920 shown in Figure 9 (B), and the window 921 in the user interface 920 shows reference information of multiple trusted public WLANs. The description of indication information 1, indication information 2, and indication information 3 can be found in the description of the first interface of the above example, which is the user interface 810 shown in Figure 8, and will not be repeated here.
[0192] In another embodiment, the first interface can display reference information of at least one WLAN in the form of a map. In some examples, the first interface is the user interface 1010 shown in (A) of Figure 10 or the user interface 1020 shown in (B) of Figure 10, and the map window 1011 in the first interface shows reference information of multiple public WLANs, wherein indication information 1 indicates whether the characters "Recommended Network" are displayed, indication information 2 includes the background of the public WLAN identifier (different backgrounds correspond to different download speeds), the level of network quality (including poor, general, good and excellent), upload speed, download speed and the number of online users, and indication information 3 includes the color of the public WLAN identifier (white corresponds to one-click connection, gray corresponds to not one-click connection) and whether the characters "one-click connection" are displayed.
[0193] Exemplarily, the electronic device 100 and the cloud are the electronic device 100 and the cloud shown in FIG2 , and an implementation example of S101 - S104 can be found in FIG13 below.
[0194] S105: The electronic device 100 receives a first operation for a second WLAN (one-touch connectable).
[0195] S105 is an optional step.
[0196] In one embodiment, the electronic device 100 may receive a first operation for a second WLAN among at least one WLAN displayed on the first interface. The second WLAN may be a public WLAN that can provide a one-click connection service. For example, the reference information of the second WLAN displayed on the first interface includes indication information 3, and the indication information 3 indicates that the second WLAN can be connected with one click. The electronic device 100 may connect to the second WLAN in response to the first operation (at this time, the electronic device 100 cannot access the Internet through the second WLAN because it has not logged in or authenticated on the second WLAN). The electronic device 100 may trigger the call / pull up of the one-click connection service card of the second WLAN, for example, S106.
[0197] S106: The electronic device 100 obtains a one-touch connection service (ie, first connection service) card of the second WLAN.
[0198] S106 is an optional step.
[0199] In one embodiment, the electronic device 100 may obtain the package name (referred to as package name 1) of the first connection service (presented as a card on the electronic device, also referred to as the first connection service card) based on the relevant information of the first WLAN sent by the cloud, and determine whether to install the one-click connection service (i.e., the first connection service) card of package name 1. When the first connection service card is not installed (e.g., when the first connection service card is obtained for the first time), the electronic device 100 may first download and install the first connection service card, e.g., by executing S107-S109, and then start / load the first connection service card, e.g., by executing S110; when the first connection service card is already installed (e.g., when this is not the first time the first connection service card is used), the electronic device 100 may start / load the first connection service card, e.g., by executing S110.
[0200] S107: When the first connection service is not installed, the electronic device 100 sends a second request message (including the package name of the first connection service) to the cloud.
[0201] S107 is an optional step.
[0202] In one embodiment, the second request message includes the package name of the first connection service (ie, package name 1), and the second request message is used to request to obtain the installation package of the one-key connection service with package name 1 (ie, the first connection service).
[0203] S108: The cloud sends a second response message (including the installation package of the first connection service) to the electronic device 100.
[0204] S108 is an optional step.
[0205] S109: The electronic device 100 installs the first connection service card according to the installation package of the first connection service.
[0206] S109 is an optional step.
[0207] Among them, when S107-S109 are executed, they can be executed in the background, that is, the user is unaware of the process of S107-S109 (that is, the process of downloading and installing the first connection service). Therefore, from the user's perspective, the first connection service card is a "free installation" service.
[0208] S110: The electronic device 100 displays the second interface (including the first connection service card).
[0209] S110 is an optional step.
[0210] In one embodiment, the electronic device 100 may, in response to the first operation, start / load the installed first connection service card, and the electronic device 100 may display a second interface, wherein the second interface includes the first connection service card. Optionally, the first connection service card may include a control 1 for triggering automatic login / authentication of the second WLAN (i.e., without the user having to manually enter login / authentication information). For example, the second interface is user interface 610 shown in FIG6 , which displays the content of the first connection service card for CCC-WLAN (i.e., the second WLAN), and a control 613 in user interface 610 is used to trigger automatic login / authentication of the CCC-WLAN.
[0211] In one embodiment, before S110, the electronic device 100 can obtain account information. In some examples, the electronic device 100 can display the obtained account information in the second interface. For example, the second interface is the user interface 610 shown in Figure 6. The prompt information 612 in the user interface 610 displays the mobile phone number in the account application obtained by the electronic device 100. Without limitation, in other examples, the electronic device 100 may not display the obtained account information. In some examples, the electronic device 100 can obtain the account information in response to the first operation in S105. Without limitation, in other examples, the electronic device 100 can obtain the account information when or after starting the first connection service card. This application does not limit the timing of obtaining the account information.
[0212] S111: The electronic device 100 receives a second operation.
[0213] S111 is an optional step.
[0214] In one embodiment, the second operation may be used to trigger automatic login / authentication of the second WLAN. For example, the second operation is used to trigger execution of S112. For example, the second operation is a user operation on the control 1 in the second interface.
[0215] S112: The electronic device 100 uses the account information to log in / authenticate to the second WLAN.
[0216] In one embodiment, after installing the first connection service card (e.g., in response to the second operation), the electronic device 100 can obtain account information, invoke the first connection service, and use the account information of the electronic device 100 to log in / authenticate to the second WLAN. The account information can be any information that can be used for logging in / authenticating to a public WLAN and can be used to identify the user, such as, but not limited to, a mobile phone number, a system account, an application account, etc. Optionally, the account information is account information that the electronic device 100 has confirmed to be trustworthy. The account information can be stored by the electronic device 100 or obtained by the electronic device 100 from the cloud.
[0217] In one embodiment, after the electronic device 100 successfully logs in / authenticates the second WLAN, data can be transmitted normally between the second WLAN and the Internet, that is, the electronic device 100 can access the Internet normally through the second WLAN.
[0218] Exemplarily, the electronic device 100 and the cloud are the electronic device 100 and the cloud shown in FIG2 , and an implementation example of S105-S112 can be seen in FIG14 below, where after S105, 1-5 in FIG14 below can be implemented, and after S111, 6-12 in FIG14 below can be implemented.
[0219] S113: The electronic device 100 displays a third interface (in which the second WLAN is in a connected state).
[0220] S113 is an optional step.
[0221] In one embodiment, after the electronic device 100 successfully logs in / authenticates the second WLAN, a third interface may be displayed. The third interface may include information about the second WLAN. The second WLAN may be in a connected state, and optionally in a state where it can access the Internet normally. For example, the third interface is the user interface 710 shown in Figure 7, and the second WLAN is a CCC-WLAN. The CCC-WLAN can be represented by a list 711 and / or an indicator 511A as being connected and able to access the Internet normally.
[0222] In one embodiment, after the electronic device 100 successfully logs in / authenticates to the second WLAN (e.g., after S110, or after S111, or after S112), the method further includes: detecting network quality information when the electronic device 100 accesses the Internet via the second WLAN; and reporting the detected network quality information of the second WLAN to the cloud. For example, the cloud can receive network quality information of the second WLAN reported by multiple electronic devices, analyze the network quality information (e.g., take an average), and obtain network quality information of the second WLAN that can be provided to any electronic device.
[0223] In one embodiment, after the electronic device 100 successfully logs in / authenticates the second WLAN, if it detects that it is in a preset scenario, the communication mode can be switched from communicating via the second WLAN to a mobile communication mode. The preset scenarios include, but are not limited to, poor signal of the second WLAN, service lag, and running protected services (such as running banking applications).
[0224] In the above method, the electronic device 100 can provide the user with reference information of at least one public WLAN, so that the user can understand whether the public WLAN can be connected with one click, whether it is trustworthy and the network quality, etc., to help the user select the public WLAN to connect to. When the user chooses to connect to the second WLAN (which can be connected with one click), the electronic device 100 can automatically call / start the one-click connection service of the second WLAN and use the account information to log in / authenticate the second WLAN. After successfully logging in / authenticating the second WLAN, the user can use the second WLAN to surf the Internet. The user no longer needs to manually call / start the one-click connection service and enter the login / authentication information, which greatly reduces the time and energy required for the user to connect to the public WLAN and improves the efficiency of the user's connection to the public WLAN.
[0225] Furthermore, when the electronic device 100 uses the second WLAN to access the Internet, it can also return the actual detected network quality information to the cloud so that the cloud can obtain more accurate network quality information of the second WLAN. Accordingly, subsequent electronic devices can obtain more accurate network quality information of the second WLAN from the cloud and provide it to the user for reference, further improving the user experience.
[0226] Not limited to the implementation shown in Figure 12, in another implementation, after the electronic device 100 obtains relevant information of the first WLAN, it may not display the first interface, but automatically connect to the second WLAN according to the current state. The subsequent process is similar to S106-S114, except that the second interface will not be displayed and the second operation will not be received at this time. The third interface of S112 is, for example, the user interface 1110 shown in Figure 11, wherein the second WLAN can be determined by the electronic device 100 according to preset rules. The parameters involved in the preset rules include, for example, the trustworthiness of the WLAN, whether one-click connection is possible, and network quality information. An example of the preset rules can be found in Figure 11 and will not be repeated here.
[0227] FIG13 exemplarily shows a flow chart of a display process. In one embodiment, the display process shown in FIG13 may be S101 to S104 shown in FIG12 .
[0228] It can be understood that Figure 13 is used to illustrate the implementation process of the display process. Therefore, for the convenience of explanation, Figure 13 only shows the modules in the electronic device 100 and the cloud that are related to the display process. The description of these modules can be found in Figure 2 and will not be repeated here.
[0229] The display process shown in FIG13 may include but is not limited to the following steps:
[0230] 1. The network detection in the application framework layer of the electronic device 100 can be used to automatically detect / scan surrounding WLANs in the background when the electronic device 100 is not connected to a WLAN, and obtain information such as the WLAN's SSID, BSSID, and signal strength. For example, this step corresponds to S101 in Figure 12.
[0231] In one embodiment, network detection may maintain preset rules, which may be associated with WLAN SSIDs and used to filter WLANs whose SSIDs meet the preset rules. For example, the preset rules may include ABCxxx, and WLANs whose SSIDs begin with ABC meet the preset rules. Optionally, the rule list may be updated periodically by the cloud. Network detection may filter out at least one WLAN whose SSID meets the preset rules from the detected WLANs.
[0232] 2. Network detection: query the WLAN information in the application layer of the electronic device 100 to obtain the WLAN information.
[0233] In one embodiment, the network probe may send a request message 1 to the WLAN information query, where the request message 1 may include identification information (e.g., SSID and BSSID) of the at least one WLAN selected above (e.g., the first WLAN described in FIG. 12 ), requesting to obtain information about the at least one WLAN. The network probe may receive information about the at least one WLAN returned by the WLAN information query based on the request message 1, such as the relevant information about the WLAN shown in FIG. 12 , including the basic information and network quality information shown in FIG. 2 .
[0234] In one embodiment, after receiving request message 1, the WLAN information query may send request message 2 to the cloud. Request message 2 may include identification information of the at least one WLAN, requesting information about the at least one WLAN. The WLAN information query may receive the information about the at least one WLAN returned by the cloud based on request message 2 and forward it to the network probe. For example, this process corresponds to S102-S103 of Figure 12. In some examples, the WLAN information query may obtain basic information about the at least one WLAN from the WLAN information module in the cloud, and the WLAN information query may obtain network quality information about the at least one WLAN from the WLAN information module in the cloud.
[0235] In one embodiment, the WLAN information query can be connected to the cloud information service of at least one service provider to obtain information about the WLANs provided by the at least one service provider. In some examples, the connection with any service provider (referred to as service provider 1) is a device-side connection method. In this case, the WLAN information query requires integration with the device-side software development kit (SDK) of service provider 1. When the WLAN information query obtains information about the WLANs provided by service provider 1, the device-side SDK of service provider 1 can be called, the identification information of the WLAN to be obtained can be input, and the device-side SDK can query the cloud information service of service provider 1 for the corresponding WLAN information. In other examples, the connection with service provider 1 is a cloud-side connection method. In this case, the WLAN information query can call the cloud-side interface corresponding to service provider 1, input the identification information of the WLAN to be obtained to the cloud (e.g., the cloud, such as including the cloud information service of service provider 1 and services of other vendors), and receive the corresponding WLAN information returned by the cloud.
[0236] 3. When the triggering condition is met, the WLAN setting module in the application layer of the electronic device 100 detects the network and obtains the information of the WLAN to be displayed.
[0237] In one embodiment, the trigger condition is, for example, receiving a preset user operation, which is used to trigger the viewing of WLAN information, such as a user operation for opening a WLAN list (user interface 510 shown in FIG5 , user interface 810 shown in FIG8 , or user interface 920 shown in FIG9 ), or a user operation for opening a WLAN map (user interface 1010 shown in FIG10 (A)). The WLAN setting module in the application layer can obtain the WLAN information to be displayed from the network detection of the application framework layer, such as the relevant information of the WLAN shown in FIG12 , including the basic information and network quality information shown in FIG2 .
[0238] In one embodiment, when the WLAN setting module in the application layer only obtains the information of part of the WLAN to be displayed from the network detection in the application framework layer, for example, when the network detection in the application framework layer only stores the information of this part of the WLAN, for example, the trigger condition is receiving a user operation for opening the WLAN map, the WLAN setting module in the application layer can obtain the information of other WLANs to be displayed from the cloud on its own. The specific description is similar to 2 of Figure 13 and will not be repeated here.
[0239] 4. The WLAN setting module in the application layer of the electronic device 100 displays reference information of at least one WLAN. For example, this step corresponds to S104 in FIG12 .
[0240] In one embodiment, after the WLAN in the application layer obtains the information of the WLAN to be displayed, the reference information of the WLAN to be displayed may be displayed according to the obtained information. For a description of the reference information, please refer to the description of FIG. 12 .
[0241] FIG14 exemplarily shows a flow chart of a connection process. In one embodiment, the connection process shown in FIG14 may be S105-S112 shown in FIG12.
[0242] It is understood that Figure 14 is used to illustrate the implementation process of the connection process. Therefore, for ease of explanation, Figure 14 only shows the modules in the electronic device 100 and the cloud that are related to the connection process. The description of these modules can be found in Figure 2 and will not be repeated here. Figure 14 also shows the WLAN access device corresponding to the second WLAN (i.e., the AP of the second WLAN, Figure 14 simply refers to the WLAN access device).
[0243] The connection process shown in FIG14 may include but is not limited to the following steps:
[0244] 1. The WLAN setting module in the application layer of the electronic device 100 calls the connection management in the application framework layer to connect to the second WLAN.
[0245] In one embodiment, upon receiving a user operation for connecting to the second WLAN (eg, corresponding to S105 in FIG. 12 ), the WLAN in the application layer may invoke connection management to connect to the second WLAN.
[0246] 2. Connection management of the electronic device 100: Connect to the WLAN access device (not authenticated at this time, so it cannot access the Internet through the second WLAN).
[0247] In one embodiment, although the connection management of the electronic device 100 has connected to the second WLAN (and has also been connected to the corresponding WLAN access device), it has not passed the authentication of the second WLAN (and has not passed the authentication of the corresponding WLAN access device), and therefore cannot access the Internet through the second WLAN. Subsequently, it still needs to use mobile communication / cellular communication traffic for communication.
[0248] 3. The WLAN setting module in the application layer of the electronic device 100 can call the installation-free connection service in the application layer, input the package name of the one-key connection service of the second WLAN, and request to open the one-key connection service card of the second WLAN.
[0249] 4. The installation-free connection service of the electronic device 100 downloads the one-key connection service of the second WLAN from the application market in the cloud.
[0250] FIG14 illustrates the example of the electronic device 100 using the one-touch connection service of the second WLAN for the first time. Therefore, the installation-free connection service of the electronic device 100 can first download the installation package of the one-touch connection service of the second WLAN from the cloud application market and install the one-touch connection service of the second WLAN. This process is not noticeable to the user. Optionally, after the one-touch connection service of the second WLAN is installed, the application layer of the electronic device 100 includes the one-touch connection service.
[0251] 3-4 shown in FIG14 corresponds to, for example, S106-S109 of FIG12.
[0252] 5. The installation-free connection service in the application layer of the electronic device 100 starts the one-touch connection service of the second WLAN in the application layer. This step corresponds to S110 in FIG12 , for example.
[0253] 6. The one-touch connection service of the second WLAN in the application layer of the electronic device 100 obtains the account information from the account service in the application layer.
[0254] In one embodiment, the account information provided by the account service to the one-touch connection service of the second WLAN may be stored in the electronic device 100 or obtained from the cloud (in this case, communication is performed using traffic of a mobile communication method).
[0255] In one embodiment, the electronic device 100 may execute step 6 of FIG. 14 upon receiving a user operation (eg, corresponding to step S111 shown in FIG. 12 ).
[0256] 7. The one-touch connection service of the second WLAN in the electronic device 100 obtains a temporary token from the one-touch connection module in the cloud (communication is performed using mobile communication traffic at this time).
[0257] 8. The one-touch connection service of the second WLAN calls the connection management, instructing to switch the mobile communication mode to the communication mode of the second WLAN (which can also be understood as switching the traffic of the mobile communication mode to the traffic of the second WLAN).
[0258] 9. The one-touch connection service of the second WLAN in the electronic device 100 uses a temporary token to apply to the WLAN access device for temporarily opening a path from the WLAN access device to the Internet (including the cloud, such as the one-touch connection module in the cloud).
[0259] 10. The one-touch connection service of the second WLAN in the electronic device 100 obtains an official token from the one-touch connection module in the cloud (at this time, communication is performed between the WLAN access device and the cloud, i.e., communication is performed using the traffic of the second WLAN).
[0260] In one embodiment, the one-touch connection service of the second WLAN can use account information to request the one-touch connection module to obtain a formal token. Not limited to this, in another embodiment, the identification information of the second WLAN can also be used. In another embodiment, the identification information of the electronic device 100 (such as IP address, MAC address, etc.) can also be used. This application does not limit this.
[0261] 11. The one-click connection service of the second WLAN in the electronic device 100 uses a formal token to apply to the access device module in the cloud to formally open the path from the WLAN access device to the Internet (at this time, communication is carried out through the WLAN access device and the cloud, that is, communication is carried out using the traffic of the second WLAN).
[0262] 12. The cloud access device module notifies the WLAN access device that the authentication is successful (the electronic device 100 can then access the Internet normally through the second WLAN).
[0263] In one embodiment, after the cloud access device module successfully authenticates the formal token sent by the one-click connection service of the second WLAN, it can notify the WLAN access device that the authentication of the electronic device 100 is successful. The WLAN access device can record the address of the electronic device 100 (for example, the MAC address) and add the electronic device 100 to the whitelist. At this time, the electronic device 100 completes the authentication process of the second WLAN and can subsequently access the Internet normally through the second WLAN.
[0264] The methods provided in the various embodiments of the present application may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, they may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, or a magnetic tape), an optical medium (e.g., a digital video disc (DWD), or a semiconductor medium (e.g., a solid state drive (SSD)). As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit the same. Although the present application has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments may be modified, or some of the technical features thereof may be replaced by equivalents. However, such modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for displaying network information, characterized in that: Applied to electronic equipment, the method comprises: Acquire information of at least one public WLAN, where the first WLAN is any one of the at least one public WLAN, and the first information of the first WLAN indicates whether the first WLAN can be connected with one click; Displaying a first interface according to the information of the at least one public WLAN, where the first interface includes the first information of the at least one public WLAN; receiving a first operation acting on the first WLAN in the first interface; In response to the first operation, displaying a second interface, wherein the second interface includes a one-key connection service card of the first WLAN; receiving a second operation acting on the second interface; In response to the second operation, communication between the electronic device and the Internet is established through the first WLAN.
2. The method according to claim 1, characterized in that The establishing of communication between the electronic device and the Internet through the first WLAN includes: Get account information; Sending an authentication request to a first server corresponding to the first WLAN based on the account information; When the authentication of the first WLAN is passed, communication between the electronic device and the Internet is established through the first WLAN.
3. The method according to claim 2, characterized in that The account information includes at least one of the following: mobile phone number, system account, and application account.
4. The method according to any one of claims 1 to 3, characterized in that: Before displaying the second interface, the method further includes: In response to the first operation, a connection between the electronic device and the first WLAN is established.
5. The method according to any one of claims 1 to 4, characterized in that: The displaying of the second interface includes: When the one-key connection service card of the first WLAN has been installed, displaying the second interface; When the one-key connection service card of the first WLAN is not installed, a download request is sent to a second server; an installation package of the one-key connection service card of the first WLAN sent by the second server is received; the one-key connection service card of the first WLAN is installed according to the installation package; and the second interface is displayed.
6. The method according to any one of claims 1 to 5, characterized in that: The at least one public WLAN includes a second WLAN and a third WLAN, a service provider of the second WLAN is the same as a service provider of the third WLAN, and a one-key connection service card of the second WLAN is the same as a one-key connection service card of the third WLAN.
7. The method according to any one of claims 1 to 6, characterized in that: The first interface further includes second information of the at least one public WLAN, where the second information of the first WLAN indicates the trustworthiness of the first WLAN.
8. The method according to any one of claims 1 to 7, characterized in that: The first interface also includes third information of the at least one public WLAN, and the third information of the first WLAN indicates the network quality of the first WLAN, and the network quality is related to at least one of the following: whether Internet access is available, uplink bandwidth, downlink bandwidth, upload speed, download speed, delay, jitter, the number of connected users, and the lag of users using applications.
9. The method according to any one of claims 1 to 8, characterized in that: The first interface includes a first list and a second list, the first list includes the first information of a fourth WLAN, the second list includes information of a fifth WLAN, the fourth WLAN includes a WLAN in the at least one public WLAN that meets a first condition, the fourth WLAN is different from the fifth WLAN, and the first condition includes at least one of the following: one-click connection, a trust level greater than or equal to a first threshold, and a network quality greater than or equal to a second threshold.
10. The method according to any one of claims 1 to 9, characterized in that: The first interface is the WLAN setting interface in the system settings.
11. The method according to any one of claims 1 to 10, characterized in that: The method further comprises: receiving a third operation acting on the first control in the first interface; In response to the third operation, a third interface is displayed, the third interface including a first map, the first map including identifiers of multiple public WLANs, the multiple public WLAN identifiers including an identifier of a sixth WLAN, and the identifier of the sixth WLAN indicates whether the sixth WLAN can be connected with one click.
12. The method according to claim 11, characterized in that The method further comprises: receiving a fourth operation acting on an identifier of the sixth WLAN in the third interface; In response to the fourth operation, a fourth interface is displayed, and the fourth interface includes network information of the sixth WLAN, and the network information includes at least one of the following: whether one-click connection is possible, trust, and network quality, and the network quality is related to at least one of the following: whether Internet access is available, uplink bandwidth, downlink bandwidth, upload speed, download speed, latency, jitter, the number of connected users, and lag when users use applications.
13. The method according to any one of claims 1 to 12, characterized in that: The displaying of the first interface according to the information of the at least one public WLAN includes: When the second condition is met, displaying the first prompt information, the second condition including at least one of the following: running a preset service, not connected to the WLAN, and the current network quality is less than or equal to a fourth threshold; receiving a fifth operation acting on the first prompt information; In response to the fifth operation, the first interface is displayed according to the information of the at least one public WLAN.
14. The method according to claim 8, characterized in that The third information of the first WLAN is acquired by the electronic device from a third server, and the method further includes: When communicating with the Internet via the first WLAN, obtaining current network quality; The current network quality is sent to the third server, where the current network quality is used by the third server to acquire the network quality of the first WLAN.
15. The method according to any one of claims 1 to 14, characterized in that: The establishing of communication between the electronic device and the Internet through the first WLAN includes: Sending a first request to a fourth server; receiving a first token sent by the fourth server, where the first token is used to apply for temporarily opening a path between the electronic device and the Internet; Sending the first token to an access device corresponding to the first WLAN, and establishing temporary communication between the electronic device and the Internet through the first WLAN; Sending a second request to the fourth server, wherein the second request includes account information; receiving a second token sent by the fourth server, where the second token is used to apply for formally opening a path between the electronic device and the Internet; The second token is sent to a first server corresponding to the first WLAN, and communication between the electronic device and the Internet is established through the first WLAN.
16. An electronic device, characterized in that: The method comprises a transceiver, a processor and a memory, wherein the memory is used to store a computer program, and the processor calls the computer program to execute the method according to any one of claims 1 to 15.
17. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.
Citation Information
Patent Citations
WLAN (Wireless Local Area Network) connecting method and device
CN105916103A
Wireless local area network connecting method and mobile terminal
CN107071772A
Wi-Fi connection method and device based on position information
CN115706916A
Sound wave connection establishing method of wireless (such as bluetooth / wi-fi) equipment
JP2018074554A