Network information display method, electronic equipment 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.

CN119233368APending Publication Date: 2024-12-31HUAWEI TECH CO LTD

Patent Information

Application Number
CN202310809897.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

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.

Method used

Provide a network information display method, by obtaining public WLAN information, displaying whether it can be connected with one click, automatically pulling up a one click connection service card, reducing user manual input of account information, simplifying the connection process, and through trust and network quality information Help users choose high-quality WLAN.

Benefits of technology

It significantly reduces the time and energy of users to connect to public WLANs, improves user experience, and ensures information security and network quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233368A_ABST
    Figure CN119233368A_ABST
Patent Text Reader

Abstract

The invention provides a network information display method, electronic equipment and a computer storage medium, the method is applied to the electronic equipment, and the method comprises the steps that information of at least one public WLAN is acquired, and first information of any first WLAN in the at least one public WLAN indicates whether the first WLAN can be in one-key connection or not; displaying a first interface according to the information of the at least one public WLAN, wherein the first interface comprises first information of the at least one public WLAN; receiving a first operation acting on a first WLAN in the first interface; in response to the first operation, a second interface is displayed, and the second interface comprises a one-key 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. According to the invention, a user can be helped to discover and connect a high-quality public wireless local area network (WLAN) quickly and conveniently.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] Common wireless networks include wireless local area networks (WLANs) (hereinafter referred to as public WLANs) provided in public places (such as cafes, shops, airports, hotels, etc.). Public WLANs can provide visitors with free or paid wireless network services in public places. However, some public WLANs have security risks and other problems, and some public WLANs have complex connections and other problems. Therefore, there is an urgent need for a mechanism that can help users quickly and easily discover and connect to high-quality public WLANs. Summary of the invention

[0003] 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 spent by users in connecting to public WLANs.

[0004] In a first aspect, the present application provides a method for displaying network information, which is applied to an electronic device, the method comprising: obtaining information of at least one public WLAN, wherein 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.

[0005] 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.

[0006] In some examples, when the first information indicates that the first WLAN is not connectable in one click, the first information indicates that the first WLAN requires login or authentication.

[0007] In some examples, the first information of the first WLAN indicates that the first WLAN can be connected with one click.

[0008] 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 passes, 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 fails, the electronic device cannot establish communication with the Internet through the WLAN that cannot be connected with one click.

[0009] 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 easily 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.

[0010] In a 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; when the authentication of the first WLAN is passed, establishing communication between the electronic device and the Internet through the first WLAN.

[0011] In some examples, the first server is a server corresponding to an access point AP of the first WLAN.

[0012] 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.

[0013] 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 input 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.

[0014] In a possible implementation manner, 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.

[0015] In some examples, after the connection between the electronic device and the first WLAN is established and before the authentication of the first WLAN is passed, the electronic device cannot communicate with the Internet through the first WLAN.

[0016] In a possible implementation, displaying 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 has not been installed, sending a download request to a second server; 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.

[0017] 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.

[0018] In the above method, when the one-key connection service card of the first WLAN is not installed, the electronic device can automatically download the installation package of the one-key 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-key connection service, giving the user a feeling that the one-key connection service is "installation-free", further simplifying the complexity of the user connecting to the public WLAN and improving the user experience.

[0019] In a possible implementation, 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.

[0020] In the above method, the one-key connection service card of the WLAN belonging to the same service provider is the same. Therefore, when the user connects to different WLANs belonging to the same service provider, the electronic device does not need to download the one-key connection service card again, but directly displays it, which reduces power consumption and the time to open the one-key connection service card, further improving the user experience.

[0021] In a possible implementation manner, the first interface further includes second information of the at least one public WLAN, and the second information of the first WLAN indicates the trustworthiness of the first WLAN.

[0022] In the above method, the electronic device can display the second information of at least one public WLAN, so that the user can 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., trusted) public WLANs, avoiding information leakage and other problems caused by users connecting to untrusted public WLANs. This not only reduces the time and energy that users need to spend on connecting to high-quality public WLANs, but also ensures the user's information security, further improving the user experience.

[0023] In a possible implementation, 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.

[0024] 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 (the signal strength and the network quality have no direct relationship, and there is a situation where the signal strength is high but the network quality is poor), helping the user to 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.

[0025] 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 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 is possible, the trust is greater than or equal to a first threshold, and the network quality is greater than or equal to a second threshold.

[0026] In some examples, the fifth WLAN is not a public WLAN, and in other examples, the fifth WLAN is a public WLAN that does not meet the first condition.

[0027] In the above method, the electronic device can display the public WLAN (for example, the fourth WLAN) that meets the first condition separately through the first list, wherein the public WLAN that meets the first condition is a high-quality public WLAN, such as one that can be connected with one click, has a high degree of trust, and has 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.

[0028] In a possible implementation manner, the first interface is a WLAN setting interface in system settings.

[0029] In the above method, the electronic device can add the display of the first information in 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 connecting to the WLAN, 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.

[0030] In a 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.

[0031] In some examples, the plurality of public WLANs includes the at least one public WLAN.

[0032] 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. The user 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 the user to discover and connect to high-quality public WLANs and improves the user experience.

[0033] In a 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, delay, jitter, the number of connected users, and the freeze situation of users using applications.

[0034] In some examples, the fourth interface also includes a geographic location of the sixth WLAN.

[0035] In the above method, the user 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.

[0036] In a possible implementation, displaying a first interface according to the information of the at least one public WLAN includes: displaying a first prompt information when a second condition is met, the second condition including at least one of the following: running a preset service, not connecting 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; and displaying the first interface according to the information of the at least one public WLAN in response to the fifth operation.

[0037] 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.

[0038] In the above method, the electronic device can automatically identify the current state and prompt the user to connect to the public WLAN according to the current state, which is more intelligent and further improves the user experience.

[0039] 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 a current network quality when communicating with the Internet through 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.

[0040] 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 actual network quality 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 whose network quality is good indicated by the third information, thereby further improving the user experience.

[0041] In a 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 a first server corresponding to the first WLAN, and establishing communication between the electronic device and the Internet through the first WLAN.

[0042] In some examples, the fourth server is associated with a one-touch connection service card of the first WLAN.

[0043] In some examples, the access device corresponding to the first WLAN is an AP of the first WLAN.

[0044] In some examples, the first token is a temporary token and the second token is a formal token.

[0045] In some examples, the sending of the first request to the fourth server, the receiving of the first token sent by the fourth server, and the sending of the first token to the access device corresponding to the first WLAN are implemented through a mobile communication method. In some examples, the sending of the second request to the fourth server, the receiving of the second token sent by the fourth server, and the sending of the second token to the first server corresponding to the first WLAN are implemented through a communication method of the first WLAN.

[0046] In a second aspect, the present application provides an electronic device, including 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.

[0047] In a third aspect, the present application provides a computer storage medium storing a computer program, which, when executed by a processor, 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.

[0048] In a fourth aspect, the present application provides a computer program product. When the computer program product runs on a device, the device executes the method for displaying network information provided in the first aspect and any one of the implementations of the first aspect.

[0049] In a fifth aspect, the present application provides an electronic device, the electronic device comprising a method or device for executing any aspect or implementation of the present application. The above electronic device is, for example, a chip.

[0050] 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 features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one implementation. Therefore, the description of technical features, technical solutions or beneficial effects 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

[0051] The following is an introduction to the drawings used in this application.

[0052] Figure 1 It is a schematic diagram of the architecture of a communication system provided by the present application;

[0053] Figure 2 It is a schematic diagram of the architecture of another communication system provided by the present application;

[0054] Figure 3 It is a hardware structure diagram of an electronic device provided by the present application;

[0055] Figure 4A , Figure 4B is a schematic diagram of some user interfaces provided by this application;

[0056] Figure 5 is a schematic diagram of another user interface provided by the present application;

[0057] Figure 6 is a schematic diagram of another user interface provided by the present application;

[0058] Figure 7 is a schematic diagram of another user interface provided by the present application;

[0059] Figure 8 is a schematic diagram of another user interface provided by the present application;

[0060] Fig. 9 is a schematic diagram of another user interface provided by the present application;

[0061] Fig.10 is a schematic diagram of another user interface provided by the present application;

[0062] Fig.11 is a schematic diagram of another user interface provided by the present application;

[0063] Fig.12 It is a flowchart of a method for displaying network information provided by the present application;

[0064] Fig.13 It is a flow chart of a display process provided by the present application;

[0065] Fig.14 It is a flowchart of a connection process provided by this application. DETAILED DESCRIPTION

[0066] The technical solution in the embodiment of the present application will be described below in conjunction with the accompanying drawings. In the description of the embodiment of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiment of the present application, "multiple" means two or more than two.

[0067] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0068] The present application provides a method for displaying network information, which is applied to an electronic device. 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 / trust 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 the public WLAN can help users better understand the public WLAN, thereby helping users to 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, thereby avoiding 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 complex operations when users connect to public WLANs that cannot be connected with one click, thereby improving user experience.

[0069] In this application, public WLAN can be a free / paid wireless network service provided to visitors in public places (such as cafes, shops, airports, hotels, 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, using account information such as a mobile phone number, and using 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 the public WLAN without manually entering the account information and related information.

[0070] 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 account information of the electronic device (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 need for the user to manually enter 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 high-quality public WLANs, further improving the user experience.

[0071] Figure 1 A schematic diagram of the architecture of a communication system 10 is exemplarily shown.

[0072] like Figure 1 As shown, the 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.

[0073] 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), vehicle-mounted devices or smart city devices. The embodiments of the present application do not impose any special restrictions on the specific types of electronic devices.

[0074] Among them, 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 devices 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.

[0075] In one embodiment, any server 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), and may also include a non-volatile memory (non-vlatile 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 disk (solid state disk, SSD). The memory may also include a combination of the above-mentioned types of memory, not limited thereto, and the memory may also be a storage array, etc. 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.

[0076] Figure 2 A schematic diagram of the architecture of yet another communication system 10 is exemplarily shown.

[0077] like Figure 2 As shown, 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. Among them:

[0078] The WLAN information module can be used to provide a query function for the basic information of a public WLAN. The basic information of a public WLAN can include, but is not limited to: a service set identifier (SSID), a basic service set identifier (BSSID), a positioning address, information of a service provider (i.e., a manufacturer providing a public WLAN) (e.g., name, whether it is trustworthy, etc.), whether it is trustworthy, trustworthiness, whether a one-key connection service is provided (which can be referred to as whether it has a one-key connection capability), and a package name of a one-key connection service. Among them, the SSID can be the name of a wireless access point (AP) (also referred to as a WLAN access device) of a public WLAN, the BSSID can be the media access control address (MAC) address of the AP of a public WLAN, and the positioning address can be the positioning address of the AP of a public WLAN. The basic information of a public WLAN can be provided by a 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 a public WLAN provided by the at least one service provider.

[0079] The WLAN quality module can be used to provide a query function for network quality information of a public WLAN. Optionally, the network quality information of a public WLAN 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 cloud service owned by 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, delay, jitter, the number of connected users (which can be referred to as congestion level or number of online users), and the freeze situation of users using applications (which can be referred to as application experience). Not limited to this, it can also include current network quality information, such as the current congestion level, etc.

[0080] 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 for different public WLANs can be the same or different. For example, the one-click connection services for multiple public WLANs provided by the same service provider are the same, and the one-click connection services for public WLANs provided by different service providers are different.

[0081] The access device module can be used to provide authentication services related to the WLAN access device. Among them, 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 corresponding public WLAN electronic device and communication with the Internet. In one embodiment, a WLAN access device can correspond to an 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.

[0082] 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 the communication between the electronic device that successfully authenticates the public WLAN and the Internet.

[0083] In some examples, on the server side, the above-mentioned WLAN information module, WLAN quality module, application market, access device module and one-click 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.

[0084] The software system of the electronic device 100 in the communication system 10 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. For example, the software system of the layered architecture may be an Android system, or a Harmony operating system (OS), or other software systems. The embodiment of the present application takes the Android system of the layered architecture as an example to illustrate the software architecture of the electronic device 100.

[0085] like Figure 2 As shown, the electronic device 100 can be divided into four layers, from top to bottom, namely, the application program (can be referred to as application) layer, the application framework layer, the system runtime library (naive) and the system module. Among them:

[0086] The application layer may include multiple application programs, 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 above-mentioned 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.

[0087] The application framework layer may include, but is not limited to: network detection, connection management, WLAN maintenance, and public WLAN scoring. Network detection may be used to scan surrounding WLANs. Connection management may be used to manage the connection process of a WLAN. WLAN maintenance may be used to maintain the state of a detected WLAN (e.g., the state of a connected public WLAN). Public WLAN scoring may be used to evaluate the network quality of a public WLAN when communicating with the Internet via the public WLAN, and to upload the evaluation results to the WLAN quality module on the server side, so that the WLAN quality module may form a crowdsourced database of network quality information of the public WLAN, and / or construct a communication map of the public WLAN.

[0088] The system runtime library may include a WLAN interface, such as an interface of the WLAN at a hardware abstract layer (HAL). The system module may include a WLAN module.

[0089] Figure 2The architecture shown 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.

[0090] Next, the electronic device in this application is introduced as an example.

[0091] Figure 3 A schematic diagram of the hardware structure of an electronic device 100 is exemplarily shown.

[0092] like Figure 3 As shown, 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.

[0093] It is to be understood that the structure illustrated in the embodiment of the present application does 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 in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0094] 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 processor (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), etc. Different processing units may be independent devices or integrated into one or more processors.

[0095] 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.

[0096] The processor 110 may also be provided with a memory for storing instructions and data. In one embodiment, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0097] In one embodiment, the processor 110 may include one or more interfaces. The interface 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, etc.

[0098] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging implementations, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging implementations, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.

[0099] 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 supplies power to the processor 110, the internal memory 121, the display screen 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 number, battery health status (leakage, impedance), etc. 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.

[0100] 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.

[0101] 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 the utilization of the antennas. 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 combination with a tuning switch.

[0102] The mobile communication module 150 can provide wireless communication solutions including second generation (2G) / third generation (3G) / fourth generation (4G) / fifth generation (5G) / sixth generation (6G) applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In one embodiment, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0103] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent 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 the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a 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.

[0104] 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 (IR), etc., which are 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, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0105] 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 the 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).

[0106] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0107] The display screen 194 is used to display images, videos, etc. The 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 or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In one embodiment, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0108] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0109] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, etc. of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In one embodiment, the ISP can be set in the camera 193.

[0110] 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 optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted 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.

[0111] 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 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0112] 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.

[0113] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0114] 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 arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0115] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0116] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0117] Microphone 170C, also called "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 collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.

[0118] The earphone jack 170D is used to connect a wired earphone.

[0119] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In one embodiment, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In one embodiment, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0120] 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 the 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 the distance. The ambient light sensor 180L is used to sense the brightness of the ambient light. The fingerprint sensor 180H is used to collect fingerprints. The temperature sensor 180J is used to detect the temperature. The bone conduction sensor 180M can obtain vibration signals.

[0121] 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.

[0122] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In another embodiment, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0123] The buttons 190 include a power button, a volume button, etc. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect a SIM card.

[0124] The following introduces the application scenarios involved in this application and user interface examples in the application scenarios.

[0125] Figure 4A A schematic diagram exemplarily shows a user interface.

[0126] like Figure 4AAs shown, 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 the switch control 411A. The switch control 411A is used to turn on or off the WLAN function. 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 (for example, including scanned surrounding WLANs) detected / acquired by the electronic device 100, and optionally, information about the connected WLAN. 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 the power level, and time information. Since the status bar 413 does not include an indicator of a WLAN signal, it can be indicated that the electronic device 100 is not connected to the WLAN, so the status of the WLANs in the list 412 are all unconnected.

[0127] like Figure 4AAs shown, the information of any WLAN in list 412 may include the name (i.e., SSID), whether it is encrypted, an indicator of the signal strength, and whether it is saved. For example, list 412 may include information 412A of a WLAN named "AAA-WLAN" (which may be referred to as AAA-WLAN for short, and similar descriptions may also be referred to as such in the following), and information 412A may include the characters "saved", indicating that the electronic device 100 has saved the AAA-WLAN, for example, it has been connected to the AAA-WLAN before, and information 412A also includes the characters "encrypted", indicating that a password authentication is required to connect to the AAA-WLAN, and information 412A also includes an indicator 412B, which may indicate that the signal strength of the AAA-WLAN is 3 bars (4 bars is full / highest), and 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 referred to as "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.

[0128] 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 before accessing the Internet. Of course, there may be a situation 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 for explanation. Therefore, Figure 4B In the shown list 412 , BBB-WLAN, CCC-WLAN, DDD-WLAN, EEE-WLAN, and FFF-WLAN are public WLANs.

[0129] 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.

[0130] 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 change the status of the WLAN in the list 412 to connected. However, the electronic device 100 cannot access the Internet through the WLAN at this time. The WLAN needs to be logged in / authenticated before it can be used normally. The interface example of the login / authentication process can be seen below. Figure 4B .

[0131] Figure 4B A schematic diagram exemplarily shows yet another user interface.

[0132] like Figure 4B As shown, the electronic device 100 can display a user interface 420. In some examples, the user interface 420 can be a user interface displayed after the electronic device 100 is connected to the CCC-WLAN. For example, after the electronic device 100 is connected to the CCC-WLAN, a notification message (used to notify the user to log in / authenticate the CCC-WLAN) is displayed. The electronic device 100 can display the user interface 420 in response to a user operation (such as a touch operation) for the notification message. The user interface 420 may include a status bar 421 at the top, and the status bar 421 and Figure 4AThe status bar 413 in the user interface 410 shown is similar, except that the status bar 421 also includes an indicator 421A for the WLAN signal, which can indicate that the WLAN is connected and the signal strength is 3 bars. The indicator 421A also includes a question mark symbol, which indicates that the WLAN is not currently logged in / authenticated and that the Internet cannot be accessed through the connected WLAN. The user interface 420 may include a prompt message 422 "Welcome to connect to the secure Wi-Fi at location CCC: CCC-WLAN", indicating that the user interface 420 is the login / authentication interface of 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 (a verification code obtained by entering the mobile phone number), an input box 425 for entering a verification code, and a control 426 for connecting to the Internet. In one embodiment, after receiving the mobile phone number entered in the input box 423 and the verification code entered in the input box 425, the electronic device 100 can respond to the user operation (e.g., touch operation) on the control 426, and use the above mobile phone number and verification code 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 cancel the question mark symbol in the display 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 through other information, such as system account, application account, transportation ticket (e.g., high-speed rail ticket, airplane ticket) information, etc.

[0133] It can be understood that in the above embodiment, when a user connects to a WLAN, there is less information available for reference. Figure 4A The user interface 410 shown is used to connect to a WLAN as an example for explanation. 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). There are at least the following problems: First, public WLANs have security risks. Network criminals can use fake hotspots, man-in-the-middle attacks, malware, etc. to steal users' personal information to conduct illegal activities such as fraud or extortion. Consumers cannot know the service providers of public WLANs based on the above WLAN information, nor can they determine which public WLANs are not phishing WLANs, that is, consumers cannot perceive whether public WLANs are trustworthy; second, consumers can only perceive the signal strength of the WLAN, but the 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 the WLAN; third, after connecting to a public WLAN, it is often necessary to log in / pass authentication before accessing the Internet. For example, Figure 4BIn the embodiment shown, user operations are cumbersome, and some public WLANs have a one-click connection service, which allows the electronic device 100 to log in / authenticate to the public WLAN by itself, reducing user operations. However, consumers cannot perceive which public WLANs can be connected with one click only through the WLAN information shown in the list 412.

[0134] The present application provides a method for displaying network information, wherein the electronic device 100 can display network information in a WLAN list (eg Figure 4A The list 412 in the user interface 410 shown in FIG. 4 shows the following reference information: information indicating WLAN security, information indicating WLAN network quality, and information indicating whether the WLAN can be connected with one click. For specific examples, see the following Figure 5 In this way, users can directly perceive which public WLANs are trustworthy, which public WLANs can be connected with one click, and the actual network quality of public WLANs through the WLAN list, so that they can select the desired WLAN based on the perception results, reducing the time and effort spent by users in selecting the desired high-quality WLAN and improving user experience.

[0135] exist Figure 4A and Figure 4B In the illustrated implementation, after the user connects to the CCC-WLAN, he or she still needs to log in / authenticate in the user interface 420: input the mobile phone number, wait for the verification code of the mobile phone number, and then input the verification code before going online, which is cumbersome for the user. In the present 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 method of installing no application), and use the account information of the electronic device 100 to log in / authenticate the public WLAN. For specific examples, see the following Figure 6 . Users do not need to manually enter login / authentication information such as mobile phone numbers and verification codes, which greatly reduces the operations, time and energy required by users when connecting to public WLANs, thereby improving user experience.

[0136] Figure 5 A schematic diagram exemplarily shows yet another user interface.

[0137] like Figure 5 As shown, the electronic device 100 may display a user interface 510. In some examples, the user interface 510 may be a user interface for setting the WLAN function of the application. The user interface 510 may include a status bar 511 and function information 512 located at the top. The status bar 511 and function information 512 are respectively Figure 4AThe description of the status bar 413 and the function information 411 shown in FIG. 5 is consistent. The 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. The list 513 and the Figure 4A The list 412 is similar to the one shown, except that the information of the public WLAN also includes: whether one-click connection is possible (if not, information on whether login / authentication is required may be displayed), security level / trust (e.g., low, medium, and high), and network quality level (e.g., poor, average, and good). Figure 4A As shown in list 412, BBB-WLAN in list 513 also includes "one-click connection", "low trust" and "average network quality", CCC-WLAN also includes "one-click connection", "high trust" and "good network quality", DDD-WLAN also includes "one-click connection", "high trust" and "good network quality", EEE-WLAN also includes "login / authentication required", "medium trust" and "good network quality", and FFF-WLAN also includes "login / authentication required", "low trust" and "poor network quality". Among them, when the information of the public WLAN (using CCC-WLAN as an example) in list 513 includes "one-click connection", it can be represented that the CCC-WLAN can be connected to by one click through the electronic device 100. In one embodiment, if the electronic device 100 obtains that the service provider of CCC-WLAN provides a one-click 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-click connection service, and the electronic device 100 may not have installed the one-click connection service at this time, or may have installed the one-click connection service), the above-mentioned "can be connected with one click" can be displayed when displaying the information of CCC-WLAN. If the electronic device 100 obtains that CCC-WLAN does not have a one-click connection service, the above-mentioned "need to log in / authenticate" 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 repeat them 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).

[0138] In one implementation, 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 connectable” information, and in response to the user operation, 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 call / start without installation, for example, the call / start 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 specific examples, see the following Figure 6User interface 610 is shown. In some examples, before the electronic device 100 calls / starts the one-key connection service of CCC-WLAN, if the one-key connection service is not installed, the electronic device 100 may first install the one-key connection service in the background.

[0139] Figure 6 A schematic diagram exemplarily shows yet another user interface.

[0140] like Figure 6 As shown, the user interface 610 may include a status bar 611 located at the top, and the description and Figure 4B The WLAN signal indicator 611A in the status bar 611 indicates that the WLAN is connected but the Internet is unavailable. Figure 4B The user interface 420 shown is similar, both of which are login / authentication interfaces of CCC-WLAN, except that the user interface 610 does not include a control for inputting / obtaining authentication information, and the user interface 610 may include prompt information 612 and control 613. The prompt information 612 may include the characters "Account application provides you with authentication services", indicating that the CCC-WLAN is currently authenticated through the account application, and the prompt information 612 may also include account information obtained by the electronic device 100, such as the mobile phone number "111******22" (one * represents one number) in the account application, and the control 613 may be used to trigger the authentication of CCC-WLAN. The user interface 610 also includes prompt information 614, which includes the characters "manual authentication" for triggering the user interface for inputting authentication information (for example Figure 4B User interface 420 shown).

[0141] In one embodiment, after the electronic device 100 is connected to the CCC-WLAN, a prompt message (e.g., "need to log in / authenticate CCC-WLAN") may be displayed first, and the electronic device 100 may call / start the one-key connection service of the CCC-WLAN in response to a user operation acting on the prompt message, and display Figure 6 The user interface 610 shown. Not limited to this, in another embodiment, after the electronic device 100 is connected to the CCC-WLAN, it can call / start the one-key connection service of the CCC-WLAN in response to a user operation for opening a related interface, and the related interface is, for example, an interface such as a search interface of a browser that displays content provided by the Internet. In another embodiment, after the electronic device 100 is connected to the CCC-WLAN, it can also directly call / start the one-key connection service of the CCC-WLAN. This application does not limit the triggering method of calling / starting the one-key connection service of the CCC-WLAN.

[0142] In one embodiment, the electronic device 100 can receive a user operation (e.g., a click operation) on the control 613, and in response to the user operation, use the account information in the account application (e.g., the 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 Figure 5 The status of CCC-WLAN in the list 513 shown is changed to connected. Optionally, the electronic device 100 may cancel the question mark symbol in the display indicator 611A. For example, the electronic device 100 may display the following Figure 7 User interface 710 is shown.

[0143] Figure 7 A schematic diagram exemplarily shows yet another user interface.

[0144] like Figure 7 As shown, the user interface 710 and Figure 5 The user interface 510 shown is similar, except that the status bar 511 in the user interface 710 also includes an indicator 511A of the WLAN signal, and the indicator 511A indicates that the WLAN is connected and the Internet is available. The list 513 in the user interface 710 does not include the information of the CCC-WLAN, and the user interface 710 also includes a list 711, which is used to display the information of the WLAN (i.e., CCC-WLAN) to which the electronic device 100 is connected, for example, including "connected", "accessible" (for example, "unable to access the Internet" is displayed before logging in / authenticating the CCC-WLAN), "high trust" and "good network quality".

[0145] Figure 5 The illustrated implementation manner is described by taking the network quality being divided into three levels (poor, average, and good) as an example. In another implementation manner, the network quality may also be divided into more or fewer levels, such as the following: Figure 8 In another embodiment, more detailed network quality information may be displayed, for example, Fig.10 The upload speed, download speed and number of online users shown in the figure do not limit the method of characterizing the network quality.

[0146] Figure 5 The embodiment shown is described by taking the display of "Login / Authentication Required" when "One-Click Connection Not Available" as an example. In another embodiment, the specific method of login / authentication can also be displayed, such as the following: Figure 8 As for the “web page authentication” and “password login” shown, this application does not limit the display content when “one-click connection is not possible”.

[0147] Figure 6The embodiment shown is described by taking the electronic device 100 performing CCC-WLAN login / authentication in response to the 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 Figure 6 The user interface 610 shown in the figure automatically performs CCC-WLAN login / authentication in the background, and the user can display the login / authentication after the login / authentication is passed. Figure 7 As shown in the user interface 710 , the present application does not limit the triggering method for the electronic device 100 to log in / authenticate the CCC-WLAN.

[0148] Figure 5 The embodiment shown is illustrated by taking the display of the trustworthiness of each public WLAN as an example. In another embodiment, the electronic device 100 may also display the trusted public WLAN and other WLANs separately, that is, independently display the public WLAN with a higher trustworthiness. For specific examples, see the following Figure 8 , this application does not limit the method of representing the trustworthiness.

[0149] Figure 8 A schematic diagram exemplarily shows yet another user interface.

[0150] like Figure 8 As shown, the electronic device 100 may display a user interface 810, wherein the user interface 810 and Figure 5 The user interface 510 is similar to the one shown, except that the displayed WLAN lists are different, and the user interface 810 may include a list 811, a list 812, and a list 813. Among them:

[0151] The list 811 may include information of at least one WLAN stored in the electronic device 100, and the information of the WLAN in the list 811 and Figure 4A The information of WLAN in the list 412 is similar, except that the information of WLAN in the list 811 also includes the network quality level, and the information of public WLAN also includes whether it can be connected with one click. For example, the information of AAA-WLAN in the list 811 also includes "network quality is average", and the information of BBB-WLAN also includes "network quality is average" and "can be connected with one click".

[0152] 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 name, signal strength indicator, whether it is a recommended network, network quality level, and whether it can be connected with one click. The secure public WLAN in the present application may be a public WLAN with a security / trust greater than or equal to a first preset value, and the recommended network may be a public WLAN with a security / trust greater than or equal to a second preset value, and the second preset value is greater than the first preset value. For example, list 812 includes information about CCC-WLAN, DDD-WLAN, EEE-WLAN, and FFF-WLAN. Information about CCC-WLAN may include "recommended network", "excellent network quality", and "one-click connection possible", information about DDD-WLAN may include "recommended network", "good network quality", and "one-click connection possible", information about EEE-WLAN may include "good network quality" and "web page authentication may be required", and information about FFF-WLAN may include "average network quality" and "password login may be required". It is understandable that the signal strength of WLAN cannot represent the actual network quality. For example, the signal strength of CCC-WLAN (3 grids) is less than the signal strength of DDD-WLAN (2 grids), equal to the signal strength of EEE-WLAN (3 grids), and greater than the signal strength of FFF-WLAN (4 grids / full grids), but 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 characters "More public WLANs, click to view", which can be used to trigger viewing of more public WLANs (such as surrounding public WLANs).

[0153] 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 except for the WLANs in list 811 and list 812 , such as an unsaved, encrypted, non-public WLAN GGG-WLAN.

[0154] In one embodiment, Figure 5 The user interface 510 and Figure 8The user interface 810 shown can be understood as a 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, it is not limited to this. 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 specific examples, see the following Fig. 9 .

[0155] Fig. 9 A schematic diagram exemplarily shows yet another user interface.

[0156] like Fig. 9 As shown in (A), the electronic device 100 may display a user interface 910, which may be a user interface of a video application. The user interface 910 may include a status bar 911 located at the top, the status bar 911 and Figure 4A The status bar 413 shown is consistent, indicating that the electronic device 100 is not currently connected to the WLAN, and is surfing the Internet through mobile communication (i.e., cellular communication). The electronic device 100 can determine to remind the user to connect to the public WLAN based on the current business situation (e.g., displaying the user interface of the video application), so a notification window 912 can be displayed on the user interface 910. The notification window 912 may include the logo of the WLAN application, the time when the notification window 912 is displayed (e.g., "just now"), the prompt information "recommend using the high-quality free WLAN around you", the control 912A and the control 912B, wherein the control 912A may include the characters "no more reminders (8s)", indicating that the notification window 912 is canceled after 8 seconds, and the control 912A can be used to trigger the notification window 912 to no longer be displayed, for example, the notification window 912 is no longer displayed within a preset time, and for example, the notification window 912 is no longer displayed when the electronic device 100 displays the user interface of the video application. The control 912B may include the character “click to view”. In one embodiment, the electronic device 100 may display the high-quality, free WLAN recommended by the electronic device 100 in response to a user operation (eg, a single click operation) on the control 912B, for example, displaying Fig. 9 The user interface 920 shown in (B).

[0157] like Fig. 9 As shown in (B), the user interface 920 may include a window 921, the window 921 and Figure 8The list 812 shown is similar, and is used to display information of public WLANs that are safe (e.g., the safety / trust level is greater than or equal to the first preset value) detected by the electronic device 100. The difference is that the user interface 920 also includes prompt information 921A, and the prompt information 921A includes the characters "More WLAN settings" for triggering the display of the setting interface of the WLAN function, such as Figure 5 The user interface 510 shown or Figure 8 User interface 810 is shown.

[0158] Figure 8 and Fig. 9 The illustrated implementation manner takes the independent display of a public WLAN with a high degree of trust as an example for illustration. In another implementation manner, a public WLAN that meets preset conditions may also be independently displayed. The preset conditions may include but are not limited to at least one of the following: high degree of trust, one-click connection, and good network quality. This application does not limit this.

[0159] The above implementation manner is described by taking the display of public WLAN information in list form as an example. In another implementation manner, the electronic device 100 can also display the public WLAN information in map form. For specific examples, see the following. Fig.10 This application does not limit the display format of public WLAN information.

[0160] Fig.10 A schematic diagram exemplarily shows yet another user interface.

[0161] like Fig.10 As shown in (A), the electronic device 100 may display a user interface 1010. In some examples, the user interface 1010 may be a display of the electronic device 100 in response to a request for Figure 5 The user interface 1010 may be displayed by a user operation (eg, a click operation) of the control 514 shown in FIG. 1 . In other examples, the user interface 1010 may be displayed by the electronic device 100 in response to a user operation (eg, a click operation) for the control 514 shown in FIG. Figure 8 The user interface 1010 may be displayed by a user operation (such as a click operation) of the prompt information 812B shown in FIG. 1 . In other examples, the user interface 1010 may be displayed by the electronic device 100 in response to a user operation (such as a click operation) for the prompt information 812B shown in FIG. Fig. 9 The prompt information “More public WLANs, click to view…” is displayed in response to a user operation (e.g., a single click operation), but is not limited thereto. More public WLAN information and / or more detailed public WLAN information may also be displayed in response to a user operation on other controls. Fig.10 The user interface 1010 and the user interface 1020 are used as examples to illustrate the display interface (used to display 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, and the status bar and Figure 4AThe status bar 413 shown is consistent, 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.

[0162] Fig.10 Taking the example of indicating whether a one-click connection is possible through the color of the public WLAN identifier, the user interface 1010 may include a window 1012, and the content shown in the 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). Fig.10 Taking the background indication of the download speed (for example, the average value within the past 4 hours) through the identifier of the public WLAN as an example, the user interface 1010 may include a window 1013, and the content shown in the window 1013 may represent: the background 1013A indicates that the download speed is greater than 450 megabits per second (Mbps), the background 1013B indicates that the download speed is in the range of [70Mbps, 450Mbps], the background 1013C indicates that the download speed is in the range of [15Mbps, 70Mbps], and the background 1013C indicates that the download speed is less than 15Mbps.

[0163] Exemplarily, the map window 1011 may include multiple identifiers of public WLANs that can be connected with one click: identifier 1011B of CCC-WLAN (the background belongs to background 1013A), identifier 1011C of DDD-WLAN (the 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 (the background belongs to background 1013B), identifier 1011E of FFF-WLAN (the background belongs to background 1013C), identifier 1011F of HHH-WLAN (the background belongs to background 1013D), identifier 1011G of III-WLAN (the background belongs to background 1013C), and identifier 1011H of JJJ-WLAN (the background belongs to background 1013A).

[0164] In one embodiment, the electronic device 100 may receive a user operation (e.g., a drag operation) on the map window 1011, and in response to the user operation, display the public WLANs at other locations on the map in the map window 1011, which may also be understood as updating the display content of the map window 1011. The user interface 1010 may also include a control 1014 and a control 1015, wherein the control 1014 may be used to refresh the map window 1011 to obtain the latest public WLAN, and 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, and at this time, the map window 1011 includes an identifier 1011 of the current location of the electronic device 100.

[0165] In one implementation, the electronic device 100 may receive a user operation (e.g., a single-click operation) on an identifier of any public WLAN shown in the map window 1011 (using the identifier 1011B of the CCC-WLAN as an example for illustration), and in response to the user operation, display detailed information of the CCC-WLAN. For specific examples, see Fig.10 The user interface 1020 is shown in (B).

[0166] like Fig.10 As shown in (B), the user interface 1020 and Fig.10 The user interface 1020 is similar to the user interface 1010 shown in (A), except that the identifier 1011B of CCC-WLAN in the map window 1011 is selected, and the user interface 1020 also includes a window 1021, which is used to display detailed information of CCC-WLAN, for example, including: 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"), network quality information 1021D (indicating an upload speed of 516Mbps and a download speed of 482Mbps), network quality information 1021E (indicating that there are 2 people online), and a signal strength indicator 1021F (3 grids). For example, the network quality information 1021D and the network quality information 1021E are average values ​​in the recent period (such as within the past 4 hours). The window 1021 may also include a control 1021G and a control 1021H. The control 1021G is used to trigger a one-key connection to the CCC-WLAN, for example, to trigger the display Figure 6 In the user interface 610 shown, the control 1021H is used to trigger the display of the 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).

[0167] Understandably, compared to Figure 8The public WLANs in the list 812 are shown, Fig.10 The map window 1011 shown in (A) and (B) shows more surrounding public WLANs. The user can perceive the surrounding public WLANs and the reference information of these public WLANs through the map window 1011. The map window 1011 can guide the user to the location of the nearby public WLANs. For example, even if the public WLANs shown in the list 812 are not the WLANs that 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 the user can connect to is wider, and the user can choose high-quality public WLANs in the surrounding area to use, which can better meet the user's needs.

[0168] The above implementation manner is explained 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 implementation manner, 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 include, for example but not limited to, at least one of the following: a public WLAN with a high degree of trust has a higher priority than a public WLAN with a low degree of 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 a good network quality has a higher priority than a public WLAN with a 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 specific examples, see the following Fig.11 .

[0169] Fig.11 A schematic diagram exemplarily shows yet another user interface.

[0170] like Fig.11As shown, the electronic device 100 can display a user interface 1110, and the user interface 1110 can be a user interface of a video application. The user interface 1110 can include a status bar 1111, and the status bar 1111 can include an indicator 1111A of a WLAN signal. The electronic device 100 can determine the WLAN to be connected based on the current business situation (for example, displaying the user interface of the video application), and determine the CCC-WLAN from multiple WLANs according to preset rules. For example, the CCC-WLAN is a public WLAN with the highest trust, 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, and automatically call the one-click connection service of the CCC-WLAN, and use the account information (for example, mobile phone number) of the electronic device 100 to authenticate the CCC-WLAN. After the authentication is passed, the electronic device 100 may display a notification window 1112 in the user interface 1110. The notification window 1112 may include the logo of the WLAN application, the time when the notification window 1112 is displayed (for example, "just now"), and the prompt message "Automatically connected to the high-quality free WLAN 'CCC-WLAN' (high trust, excellent network quality)". After the authentication is passed, in the user interface 1110 displayed by the electronic device 100, the WLAN signal indicator 1111A included in the status bar 1111 indicates that the WLAN is connected and the Internet is available.

[0171] Not limited to Fig.11 In another embodiment, after the electronic device 100 automatically connects to the CCC-WLAN determined above, a prompt message may be displayed, where the prompt message is used to prompt the user to authenticate the CCC-WLAN. The electronic device 100 may respond to a user operation (e.g., a single-click operation) on the prompt message and display a user interface for a one-key connection service of the CCC-WLAN, such as Figure 6 As shown in the user interface 610 , the user can authenticate the CCC-WLAN with one click through the user interface 610 .

[0172] The above implementation manner is described by taking the WLAN displaying the characters “Recommended Network” as a public WLAN whose security / trust is greater than or equal to the second preset value as an example. In another implementation manner, 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 higher trust and better network quality is a recommended network. For another example, a public WLAN with better network quality and one-click connection is a recommended network. The present application does not limit the method for determining the recommended network.

[0173] Not limited to the WLAN information in the above examples, 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.

[0174] Based on the above embodiments, the method for displaying network information involved in this application is introduced. This method can be applied to Figure 1 The communication system 10 shown. The method can be applied to Figure 2 The communication system 10 is shown.

[0175] See also Fig.12 , Fig.12 This is a flow chart 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:

[0176] S101: The electronic device 100 scans surrounding WLANs and obtains identification information of a first WLAN.

[0177] 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., the 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.

[0178] S102: The electronic device 100 sends a first request message (including identification information of the first WLAN) to the cloud.

[0179] In an implementation manner, the first request message may be used to request to obtain information of the first WLAN.

[0180] S103: The cloud sends a first response message (including relevant information of the first WLAN) to the electronic device 100.

[0181] In one embodiment, the relevant information of the first WLAN may include, but is not limited to: trust / whether it is trustworthy, whether one-click connection service is provided, the package name of the one-click connection service, and network quality information. Optionally, the network quality information is, for example, an average value within a preset time (such as 4 hours) from the current time. Not limited to this, in another embodiment, the trust / whether it is trustworthy of any WLAN may not be returned by the cloud, but determined by the electronic device 100 based on the service provider information of the WLAN, the location address and other information returned by the cloud.

[0182] 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, see Figure 2 Description.

[0183] Among them, after the public WLAN that provides the one-key connection service is connected, the electronic device 100 can call the one-key connection service to automatically log in / authenticate the public WLAN, without the user manually entering information for login / authentication. The one-key connection services of different public WLANs can be the same or different. For example, the one-key connection services of multiple public WLANs provided by the same service provider are the same, and the one-key connection services of public WLANs provided by different service providers are different.

[0184] 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.

[0185] In one embodiment, the first interface may include reference information of at least one WLAN, and the at least one WLAN may be a public WLAN, and the at least one WLAN 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 / trust 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, indication information 1 is obtained based on the trust / whether it is trustworthy in the relevant information, and indication information 2 is obtained based on whether a one-click connection service is provided in the relevant information, and indication information 3 is obtained based on the network quality information in the relevant information.

[0186] In an 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.

[0187] In some examples, the first interface is Figure 5The user interface 510 shown, 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).

[0188] In some examples, the first interface is Figure 8 The user interface 810 shown, the lists 811 and 812 in the user interface 810 show 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 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 displayed characters “can be connected with one click” or “may require web page authentication / may require password login” (corresponding to not being able to be connected with one click).

[0189] In one embodiment, before S104, the electronic device 100 may display prompt information according to the current state to prompt the user to view and connect to a high-quality public WLAN. The current state may include, but is not limited to, the current running service status (e.g., whether a video service that consumes a lot of traffic is running) and the current network status (e.g., 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 display the first interface in response to the user operation (e.g., the user operation on the prompt information). An example of the above process can be found in Fig. 9 , where the prompt information is Fig. 9 The notification window 912 in the user interface 910 shown in (A) is a first interface Fig. 9 The user interface 920 shown in (B) of FIG. 1 shows a window 921 in the user interface 920 showing reference information of multiple trusted public WLANs. The description of the indication information 1, the indication information 2 and the indication information 3 can be found in the first interface of the above example. Figure 8 The description of the user interface 810 shown is not repeated here.

[0190] In another embodiment, the first interface may display reference information of at least one WLAN in the form of a map. In some examples, the first interface is Fig.10 The user interface 1010 shown in (A) or Fig.10 In the user interface 1020 shown in (B), 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, average, good and excellent), upload speed, download speed and the number of online users, indication information 3 includes the color of the public WLAN identifier (white corresponds to one-click connection, gray corresponds to non-one-click connection), and whether the characters “one-click connection” are displayed.

[0191] For example, the electronic device 100 and the cloud are Figure 2 The electronic device 100 and the cloud shown in FIG. 100 and the implementation examples of S101-S104 can be found in the following Fig.13 .

[0192] S105: The electronic device 100 receives a first operation for a second WLAN (one-touch connectable).

[0193] S105 is an optional step.

[0194] In one embodiment, the electronic device 100 may receive a first operation for a second WLAN among at least one WLAN shown in the first interface, and 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 shown in 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 in the second WLAN), and the electronic device 100 may trigger the call / pull up of the one-click connection service card of the second WLAN, for example, S106.

[0195] S106: The electronic device 100 obtains a one-touch connection service (ie, first connection service) card of the second WLAN.

[0196] S106 is an optional step.

[0197] 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-key connection service (i.e., the first connection service) card of package name 1. When the first connection service card is not installed (for example, the first time the first connection service card is obtained), the electronic device 100 may first download and install the first connection service card, for example, by executing S107-S109, and then start / load the first connection service card, for example, by executing S110; when the first connection service card is installed (for example, the first time the first connection service card is used), the electronic device 100 may start / load the first connection service card, for example, by executing S110.

[0198] 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.

[0199] S107 is an optional step.

[0200] In one implementation, 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 of package name 1 (ie, the first connection service).

[0201] S108: The cloud sends a second response message (including the installation package of the first connection service) to the electronic device 100.

[0202] S108 is an optional step.

[0203] S109: The electronic device 100 installs the first connection service card according to the installation package of the first connection service.

[0204] S109 is an optional step.

[0205] Among them, when S107-S109 is executed, it 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.

[0206] S110: The electronic device 100 displays the second interface (including the first connection service card).

[0207] S110 is an optional step.

[0208] In one embodiment, the electronic device 100 may start / load the installed first connection service card in response to the first operation, 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 manually inputting login / authentication information). For example, the second interface is Figure 6 The user interface 610 shown shows the content of the first connection service card of CCC-WLAN (ie, the second WLAN). The control 613 in the user interface 610 is used to trigger automatic login / authentication of CCC-WLAN.

[0209] In one implementation, before S110, the electronic device 100 may obtain the account information. In some examples, the electronic device 100 may display the obtained account information in the second interface, for example, the second interface is Figure 6 In the user interface 610 shown, the prompt information 612 in the user interface 610 displays the mobile phone number in the account application obtained by the electronic device 100, but is not limited to this. In other examples, the electronic device 100 may not display the obtained account information. In some examples, the electronic device 100 may obtain the account information in response to the first operation in S105, but is not limited to this. In other examples, the electronic device 100 may obtain the account information when or after starting the first connection service card. The present application does not limit the timing of obtaining the account information.

[0210] S111: The electronic device 100 receives a second operation.

[0211] S111 is an optional step.

[0212] In one implementation, 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.

[0213] S112: The electronic device 100 uses the account information to log in / authenticate to the second WLAN.

[0214] In one embodiment, after installing the first connection service card (for example, in response to the second operation), the electronic device 100 can obtain the account information, call the first connection service, and use the account information of the electronic device 100 to log in / authenticate the second WLAN. The account information can be any information that can be used to log in / authenticate the public WLAN and can be used to identify the user's identity, such as but not limited to: mobile phone number, system account, application account, etc. Optionally, the account information is account information that the electronic device 100 confirms as credible. The account information can be stored by the electronic device 100, or obtained by the electronic device 100 from the cloud.

[0215] In one implementation, after the electronic device 100 successfully logs in / authenticates the second WLAN, data can be transmitted normally through the second WLAN and the Internet, that is, the electronic device 100 can access the Internet normally through the second WLAN.

[0216] For example, the electronic device 100 and the cloud are Figure 2 The electronic device 100 and the cloud shown in FIG. 100 and the implementation example of S105-S112 can be seen in the following Fig.14 , wherein, after S105, the following can be achieved Fig.14 1-5 in S111, you can achieve the following Fig.14 6-12 of them.

[0217] S113: The electronic device 100 displays the third interface (wherein the second WLAN is in a connected state).

[0218] S113 is an optional step.

[0219] 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 the Internet can be accessed normally. For example, the third interface is Figure 7 In the user interface 710 shown, the second WLAN is CCC-WLAN, and the list 711 and / or the indicator 511A may indicate that the CCC-WLAN is connected and can access the Internet normally.

[0220] In one embodiment, after the electronic device 100 successfully logs in / authenticates the second WLAN (for example, after S110, or after S111, or after S112), the method further includes: when the electronic device 100 accesses the Internet through the second WLAN, detecting network quality information; the electronic device 100 reports the detected network quality information of the second WLAN to the cloud. For example, the cloud can receive the network quality information of the second WLAN reported by multiple electronic devices, analyze the network quality information (such as taking the average value), and obtain the network quality information of the second WLAN that can be provided to any electronic device.

[0221] In one embodiment, after the electronic device 100 successfully logs in / authenticates the second WLAN, if it is detected that it is in a preset scenario, the communication mode can be switched from communicating through the second WLAN to a mobile communication mode. The preset scenario includes, but is not limited to, poor signal of the second WLAN, service freezes, and running protected services (such as running banking applications).

[0222] 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 choose 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 connecting to the public WLAN.

[0223] 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, thereby further improving the user experience.

[0224] Not limited to Fig.12 In another embodiment, after the electronic device 100 obtains the 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. The third interface of S112 is, for example, Fig.11The user interface 1110 shown in FIG. 1110 , wherein the second WLAN may be determined by the electronic device 100 according to a preset rule, and the parameters involved in the preset rule include, for example, the trustworthiness of the WLAN, whether one-click connection is possible, and network quality information. For examples of the preset rule, see Fig.11 , no more details.

[0225] Fig.13 A schematic diagram of a display process is shown as an example. In one embodiment, Fig.13 The display process shown can be Fig.12 S101-S104 shown.

[0226] Understandably, Fig.13 It is used to illustrate the implementation process of the display process. Therefore, for the convenience of explanation, Fig.13 Only the electronic device 100 and the modules in the cloud related to the display process are shown. For the description of these modules, please refer to Figure 2 , no more details.

[0227] Fig.13 The display process shown may include but is not limited to the following steps:

[0228] 1. The network detection in the application framework layer of the electronic device 100 can be used to automatically detect / scan the surrounding WLAN in the background when the electronic device 100 is not connected to the WLAN, and obtain the WLAN's SSID, BSSID, signal strength and other information. For example, this step corresponds to Fig.12 S101.

[0229] In one implementation, the network detection may maintain a preset rule, which may be related to the SSID of the WLAN and is used to filter the WLAN whose SSID meets the preset rule. For example, the preset rule includes ABCxxx, and the WLAN whose SSID starts with ABC meets the preset rule. Optionally, the rule list may be updated regularly by the cloud. The network detection may filter out at least one WLAN whose SSID meets the preset rule from the detected WLANs.

[0230] 2. Network detection: query the WLAN information in the application layer of the electronic device 100 to obtain the WLAN information.

[0231] In one implementation, the network probe may send a request message 1 to the WLAN information query, and the request message 1 may include at least one WLAN selected above (for example, Fig.12The network probe may receive the information of the at least one WLAN returned by the WLAN information query based on the request message 1, for example, Fig.12 The WLAN related information shown includes, for example Figure 2 Basic information and network quality information are shown.

[0232] In one implementation, after receiving the request message 1, the WLAN information query may send a request message 2 to the cloud, where the request message 2 may include the identification information of the at least one WLAN to request to obtain the information of the at least one WLAN. The WLAN information query may receive the information of the at least one WLAN returned by the cloud based on the request message 2, and forward it to the network detection. For example, the process corresponds to Fig.12 In some examples, the WLAN information query may obtain basic information of the at least one WLAN from a WLAN information module in the cloud, and the WLAN information query may obtain network quality information of the at least one WLAN from the WLAN information module in the cloud.

[0233] In one implementation, the WLAN information query may be connected to the cloud information service of at least one service provider to obtain the information of the WLAN provided by the at least one service provider. In some examples, the connection mode with any service provider (which may be referred to as service provider 1) is a terminal-side connection mode. In this case, the WLAN information query needs to be integrated with the terminal-side software development kit (SDK) of service provider 1. When the WLAN information query obtains the information of the WLAN provided by service provider 1, the terminal-side SDK of service provider 1 may be called, the identification information of the WLAN to be obtained may be input, and the terminal-side SDK may query the corresponding WLAN information from the cloud information service of service provider 1. In other examples, the connection mode with service provider 1 is a cloud-side connection mode. In this case, the WLAN information query may call the cloud-side interface corresponding to service provider 1, input the identification information of the WLAN to be obtained to the cloud (for example, the cloud, for example, including the cloud information service of service provider 1 and services of other manufacturers), and receive the corresponding WLAN information returned by the cloud.

[0234] 3. When the triggering condition is met, the WLAN setting module in the application layer of the electronic device 100 detects the network to obtain the information of the WLAN to be displayed.

[0235] In one implementation, the trigger condition is, for example, receiving a preset user operation, where the preset user operation is used to trigger viewing of WLAN information, for example, for opening a WLAN list (eg, Figure 5The user interface 510 shown, Figure 8 The user interface 810 shown or Fig. 9 The user operation of the user interface 920 shown in FIG. 1 is to open a WLAN map (eg, Fig.10 The WLAN setting module in the application layer can obtain the information of the WLAN to be displayed from the network detection of the application framework layer, for example, Fig.12 The WLAN related information shown includes, for example Figure 2 Basic information and network quality information are shown.

[0236] In one implementation, when the WLAN setting module in the application layer only obtains information about 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 information about this part of the WLAN, for example, the trigger condition is receiving a user operation for opening a WLAN map, the WLAN setting module in the application layer can obtain information about other WLANs to be displayed from the cloud by itself, and the specific instructions and Fig.13 2 is similar and will not be repeated here.

[0237] 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 Fig.12 S104.

[0238] In one implementation, 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 can be displayed according to the obtained information. For a description of the reference information, see Fig.12 Description.

[0239] Fig.14 A schematic diagram of a connection process is shown as an example. In one embodiment, Fig.14 The connection process shown can be Fig.12 S105-S112 shown.

[0240] Understandably, Fig.14 It is used to illustrate the implementation process of the connection process. Therefore, for the convenience of explanation, Fig.14 Only the modules in the electronic device 100 and the cloud related to the connection process are shown. For the description of these modules, please refer to Figure 2 , no more details. Fig.14 Also shown is a WLAN access device corresponding to the second WLAN (ie, an AP of the second WLAN, Fig.14 Referred to as WLAN access device).

[0241] Fig.14The connection process shown may include but is not limited to the following steps:

[0242] 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.

[0243] In one embodiment, the WLAN in the application layer may receive a user operation (eg, corresponding to Fig.12 In S105), the connection manager is called to connect to the second WLAN.

[0244] 2. Connection management of the electronic device 100: Connect to the WLAN access device (not authenticated at this time, so it is impossible to access the Internet through the second WLAN).

[0245] In one embodiment, although the connection management of the electronic device 100 has connected to the second WLAN (and has also connected to the corresponding WLAN access device), it has not passed the authentication of the second WLAN (and has also not passed the authentication of the corresponding WLAN access device), and therefore cannot access the Internet through the second WLAN, and subsequently still needs to use mobile communication / cellular communication traffic for communication.

[0246] 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.

[0247] 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.

[0248] Fig.14 Taking the first use of the one-key connection service of the second WLAN by the electronic device 100 as an example, therefore, the installation-free connection service of the electronic device 100 can first download the installation package of the one-key connection service of the second WLAN from the cloud application market, and install the one-key connection service of the second WLAN, and the user will not feel the process. Optionally, after the one-key connection service of the second WLAN is installed, the application layer of the electronic device 100 includes the one-key connection service.

[0249] Fig.14 For example, 3-4 shown corresponds to Fig.12 S106-S109.

[0250] 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, for example, Fig.12 S110.

[0251] 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.

[0252] In one implementation, 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 in a mobile communication manner).

[0253] In one embodiment, the electronic device 100 may receive a user operation (eg, corresponding to Fig.12 When S111 is shown, execute Fig.14 of 6.

[0254] 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 (in this case, communication is performed using traffic in a mobile communication manner).

[0255] 8. The one-click 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 (it can also be understood as switching the traffic of the mobile communication mode to the traffic of the second WLAN).

[0256] 9. The one-key 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-key connection module in the cloud).

[0257] 10. The one-touch connection service of the second WLAN in the electronic device 100 obtains a formal token from the one-touch connection module in the cloud (at this time, communication is performed between the WLAN access device and the cloud, that is, communication is performed using the traffic of the second WLAN).

[0258] In one embodiment, the one-click connection service of the second WLAN can use the account information to request the one-click connection module to obtain a formal token. 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 is not limited to this.

[0259] 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).

[0260] 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).

[0261] In one embodiment, after the cloud access device module 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.

[0262] The methods provided in the 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, it 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 process or function described in the embodiments of the present application is 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 wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. 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 integrated therein. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, 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, rather than to limit them; although the present application is 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 can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate 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

  • Wi-Fi connection method and device based on position information

    CN115706916A

  • Mobile Terminal with Graphical User Interface

    CN303949352S

  • Method and apparatus for providing a common display of candidate connections

    WO2011104429A1

Cited By

  • WiFi access method and system

    CN120935706A