WO2019223759A1 - 用于显示无线接入点信息的方法和装置 - Google Patents

用于显示无线接入点信息的方法和装置 Download PDF

Info

Publication number
WO2019223759A1
WO2019223759A1 PCT/CN2019/088114 CN2019088114W WO2019223759A1 WO 2019223759 A1 WO2019223759 A1 WO 2019223759A1 CN 2019088114 W CN2019088114 W CN 2019088114W WO 2019223759 A1 WO2019223759 A1 WO 2019223759A1
Authority
WO
WIPO (PCT)
Prior art keywords
access point
wireless access
point information
information
list
Prior art date
Application number
PCT/CN2019/088114
Other languages
English (en)
French (fr)
Inventor
叶兆雄
张培
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2019223759A1 publication Critical patent/WO2019223759A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a method and device for displaying wireless access point information.
  • Wi-Fi WIreless-Fidelity, wireless fidelity
  • iOS mobile operating system of Apple Inc.
  • Wi-Fi applications can obtain the system wireless access point information list of the terminal device, and provide wireless access point password query services, thereby providing convenience for users to connect to wireless access points.
  • the embodiments of the present application provide a method and a device for displaying wireless access point information.
  • an embodiment of the present application provides a method for displaying wireless access point information.
  • the method includes: in response to detecting that a user opens a system interface for displaying a wireless access point information list, and acquiring wireless access Point information list, where the wireless access point information includes the access point identifier of the wireless access point; for the wireless access point information in the wireless access point information list, according to the access point identifier in the wireless access point information To determine the access point number corresponding to the wireless access point information; for the wireless access point information in the wireless access point information list, perform the following display operation: in response to determining the access corresponding to the wireless access point information The point number belongs to the value range of the access point number displayed in advance to display the prompt information, and the prompt information corresponding to the wireless access point information is displayed on the interface used by the system to display the wireless access point information list.
  • the method further includes: in response to receiving a user's selection operation of the prompt information displayed in the interface of the system for displaying the wireless access point information list, connecting the wireless corresponding to the prompt information targeted by the selection operation The wireless access point indicated by the access point information.
  • the displaying operation further includes: in response to determining that the access point number corresponding to the wireless access point information does not belong to a previously acquired display prompt information access point number value range, not displaying the wireless access point.
  • the prompt information corresponding to the point information in response to determining that the access point number corresponding to the wireless access point information does not belong to a previously acquired display prompt information access point number value range, not displaying the wireless access point.
  • an access point number corresponding to the wireless access point information is determined according to the access point identifier in the wireless access point information.
  • the method further includes: sending wireless access point information in the wireless access point information list; and receiving password information corresponding to the wireless access point information in the wireless access point information list.
  • the method includes: for wireless access point information that receives password information in the wireless access point information list, determining an access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information.
  • the following display operations are performed on the wireless access point information in the wireless access point information list, including: for wireless access point information that receives password information in the wireless access point information list, the following display is performed operating.
  • determining the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information includes: using a preset message digest algorithm to calculate the wireless access point The information digest of the access point identification in the information; the hash value of the information digest is calculated using a preset hash function; the remainder of the hash value divided by the preset divisor is determined; the remainder is determined to correspond to the wireless access point information Access point number.
  • the preset value range of the access point number includes displaying the prompt information of the value range of the access point number.
  • the access point identification includes an SSID service set identification and / or a BSSID basic service set identification.
  • an embodiment of the present application provides an apparatus for displaying wireless access point information, the apparatus including: an obtaining unit configured to respond to detecting that a user opens a system for displaying a list of wireless access point information Interface to obtain a wireless access point information list, where the wireless access point information includes an access point identifier of the wireless access point; the determining unit is configured to, for the wireless access point information in the wireless access point information list, according to The access point identifier in the wireless access point information determines an access point number corresponding to the wireless access point information; the display unit is configured to execute, for the wireless access point information in the wireless access point information list, The following display operation: in response to determining that the access point number corresponding to the wireless access point information belongs to the value range of the display prompt information access point number obtained in advance, it is displayed on the interface used by the system to display the wireless access point information list Prompt information corresponding to the wireless access point information.
  • the apparatus further includes: a connecting unit configured to respond to a user's selection operation of the prompt information displayed in the interface of the system for displaying the wireless access point information list, the connection selection operation is targeted for The wireless access point indicated by the wireless access point information corresponding to the prompt information.
  • the displaying operation further includes: in response to determining that the access point number corresponding to the wireless access point information does not belong to a previously acquired display prompt information access point number value range, not displaying the wireless access point.
  • the prompt information corresponding to the point information in response to determining that the access point number corresponding to the wireless access point information does not belong to a previously acquired display prompt information access point number value range, not displaying the wireless access point.
  • the apparatus further includes: a sending unit configured to determine the connection between the wireless access point information in the wireless access point information list and the wireless access point information in the wireless access point information list. Send the wireless access point information in the wireless access point information list before the access point number corresponding to the wireless access point information; the receiving unit is configured to send the wireless access point information in the wireless access point information list To receive the password information corresponding to the wireless access point information in the wireless access point information list.
  • the determining unit is further configured to: for the wireless access point information that receives the password information in the wireless access point information list, determine the wireless access point information based on the access point identifier in the wireless access point information. The access point number corresponding to the access point information.
  • the display unit is further configured to perform the following display operation on the wireless access point information that has received the password information in the wireless access point information list.
  • determining the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information includes: using a preset message digest algorithm to calculate the wireless access point The information digest of the access point identification in the information; using a preset hash function to calculate the hash value of the information digest; calculating the remainder of the hash value divided by the preset divisor; determining the remainder to correspond to the wireless access point information Access point number.
  • the preset value range of the access point number includes displaying the prompt information of the value range of the access point number.
  • the access point identification includes an SSID service set identification and / or a BSSID basic service set identification.
  • an embodiment of the present application provides a terminal device including: one or more processors; a storage device storing one or more programs thereon; When the processor executes, the one or more processors are caused to implement the method as described in any implementation manner of the first aspect.
  • an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, wherein the computer program is implemented by one or more processors as described in any implementation manner of the first aspect Methods.
  • the method and device for displaying wireless access point information obtain a wireless access point information list by detecting that a user opens an interface of the system for displaying the wireless access point information list, and For the wireless access point information in the wireless access point information list, according to the access point identifier in the wireless access point information, determine the access point number corresponding to the wireless access point information, and finally for the wireless access point information Listed wireless access point information. If it is determined that the access point number corresponding to the wireless access point information belongs to the value range of the access point number obtained by displaying the prompt information in advance, the wireless access point information list is displayed. A prompt message corresponding to the wireless access point information is displayed on the interface.
  • the selective display of the prompt information in the wireless access point information list is achieved, the display amount of the prompt information is reduced, and the display speed of the prompt information can be increased. , Improve the user experience, increase the probability that the user switches to the target application's interface after seeing the prompt information.
  • FIG. 1 is an exemplary system architecture diagram to which the present application can be applied;
  • FIG. 2 is a flowchart of an embodiment of a method for displaying wireless access point information according to the present application
  • FIG. 3 is a schematic diagram of an application scenario of a method for displaying wireless access point information according to the present application
  • FIG. 4 is a flowchart of another embodiment of a method for displaying wireless access point information according to the present application.
  • FIG. 5 is a schematic diagram of another application scenario of a method for displaying wireless access point information according to the present application.
  • FIG. 6 is a schematic structural diagram of a computer system suitable for implementing a terminal device according to an embodiment of the present application.
  • FIG. 1 illustrates an exemplary system architecture 100 of an embodiment of a method for displaying wireless access point information or an apparatus for displaying wireless access point information to which the present application can be applied.
  • the system architecture 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105.
  • the network 104 is a medium for providing a communication link between the terminal devices 101, 102, 103 and the server 105.
  • the network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
  • the user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages and the like.
  • Various client applications can be installed on the terminal devices 101, 102, 103, such as Wi-Fi applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, and so on.
  • the terminal devices 101, 102, and 103 may be hardware or software.
  • the terminal devices 101, 102, and 103 can be various electronic devices with a display screen, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers.
  • the terminal devices 101, 102, and 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules or as a single software or software module. It is not specifically limited here.
  • the server 105 may be a server that provides various services, such as a background server that provides support for Wi-Fi applications displayed on the terminal devices 101, 102, and 103.
  • the background server may analyze and process the received data such as the wireless access point password information query request, and feed back the processing result (such as the password information corresponding to the wireless access point information) to the terminal device.
  • the method for displaying wireless access point information provided by the embodiments of the present application is generally performed by terminal devices 101, 102, and 103. Accordingly, a device for displaying wireless access point information is generally provided on a terminal. Devices 101, 102, 103. In some cases, the method for displaying wireless access point information provided in the embodiments of the present application may not need the network 104 and the server 105, and may be executed only by the terminal devices 101, 102, and 103. This application does not limit this.
  • the server 105 may be hardware or software.
  • the server can be implemented as a distributed server cluster consisting of multiple servers or as a single server.
  • the server can be implemented as multiple software or software modules (for example, to provide a wireless access point password query service), or it can be implemented as a single software or software module. It is not specifically limited here.
  • terminal devices, networks, and servers in FIG. 1 are merely exemplary. Depending on the implementation needs, there can be any number of terminal devices, networks, and servers.
  • a flowchart 200 of an embodiment of a method for displaying wireless access point information according to the present application is shown.
  • the method for displaying wireless access point information includes the following steps:
  • Step 201 Respond to detecting that the user opens the interface of the system for displaying the wireless access point information list, and obtain the wireless access point information list.
  • the execution subject of the method for displaying wireless access point information may be used to display the wireless access point information list when the user is turned on. Interface, to get the wireless access point information list.
  • the operating system of the execution body may be iOS.
  • the above-mentioned executive body may obtain Wi-Fi authority first, and then use the acquired Wi-Fi authority to obtain the wireless access point information list.
  • registerWithOptions queue: handler (): bool
  • the wireless access point information list can be obtained by the following methods:
  • the wireless access point information list may be a list including at least one wireless access point information provided by an operating system of the execution subject, and the wireless access point information may include an access point identifier.
  • the access point identifier is used to uniquely identify the wireless access point.
  • the access point identifier may be an SSID (Service Set Identifier, Service Set Identifier) and / or a BSSID (Basic Service Set Identifier, Basic Service Set Identifier).
  • SSID Service Set Identifier, Service Set Identifier
  • BSSID Basic Service Set Identifier
  • the wireless access point information may further include signal strength information.
  • Step 202 For the wireless access point information in the wireless access point information list, an access point number corresponding to the wireless access point information is determined according to the access point identifier in the wireless access point information.
  • the foregoing execution body may adopt various implementation methods for the wireless access point information in the wireless access point information list obtained in step 201, and according to the access point identifier in the wireless access point information To determine the access point number corresponding to the wireless access point information.
  • the value of the access point number may belong to a preset value range of the access point number.
  • determining the access point number corresponding to the wireless access point information may be executed locally by the above-mentioned executive body, or may be performed by the above-mentioned executive body for the wireless access point.
  • the access point identifier in the access point information is sent to the server, and then the server generates an access point number according to the received access point identifier, and sends the generated access point number to the above-mentioned execution subject, and then The above-mentioned execution body determines the access point number received from the server as the access point number corresponding to the wireless access point information.
  • the aforementioned server may be a server that provides support for a target application.
  • determining the access point number corresponding to the wireless access point information may be performed as follows:
  • a preset message digest algorithm may be used to generate a message digest of an access point identifier in the wireless access point information.
  • the preset message digest algorithm may be MD5 (Message-Digest Algorithm 5), SHA-1 (Secure Hash Algorithm), a variant of MD5, or a variant of SHA-1 and many more.
  • the numbers in the above message digest can be extracted from left to right or right to left, and the extracted numbers can be used to generate the access corresponding to the wireless access point information in the order from left to right or right to left. Point number.
  • determining the access point number corresponding to the wireless access point information may also be performed as follows: using a preset A hash function, also called a hash function, calculates a hash value of an access point identifier in the wireless access point information, and determines the calculated hash value to correspond to the wireless access point information.
  • Access point number, and the preset hash function can map a string of any length to the preset value range of the access point number.
  • determining the access point number corresponding to the wireless access point information may also be performed as follows:
  • the first step is to use a preset message digest algorithm to calculate the information digest of the access point identifier in the wireless access point information.
  • the preset message digest algorithm may be MD5, SHA-1, a variant of MD5, a variant of SHA-1, and so on.
  • a preset hash function is used to calculate the hash value of the above information digest.
  • the preset hash function can map a fixed-length information digest into a positive integer space.
  • the remainder of the hash value divided by a preset divisor is calculated.
  • the preset divisor may be a positive integer greater than 1.
  • the preset divisor may be 100, and the calculated remainder may be a positive integer between 1 and 99.
  • the fourth step is to determine the remainder as an access point number corresponding to the wireless access point information.
  • the preset access point number ranges from a positive integer between 1 and 99.
  • Step 203 Perform a display operation on the wireless access point information in the wireless access point information list.
  • the execution body may perform a display operation on the wireless access point information in the wireless access point information list obtained in step 201.
  • the display operation may include the following sub-steps 2031 and 2032:
  • Sub-step 2031 determining whether the access point number corresponding to the wireless access point information belongs to a value range of the access point number of the display prompt information obtained in advance.
  • the above-mentioned executing entity may determine whether the access point number corresponding to the wireless access point information belongs to the value range of the display prompt information access point number obtained in advance, and if it is determined to be, then it may go to a sub-step 2032.
  • the execution body may obtain the access point number range of the display prompt information in advance, and the preset access point number range may include the display point information access point number range.
  • the preset access point number can be an integer between 0 and 99
  • the display prompt information can be an integer between 0 and 40.
  • the preset access point number range may be an integer between 0 and 99
  • the display prompt information may be an odd or even number range between 0 and 99.
  • the foregoing execution body may obtain a preset access point number value range after performing step 201 and before performing step 202.
  • the foregoing execution body may also obtain a preset access point number value range after performing step 202 and before performing step 203.
  • the value range of the display prompt information access point number obtained in advance may be obtained locally or remotely by the executing agent from other electronic devices connected to the executing agent network.
  • the other electronic device described above may be a server that provides support for a target application.
  • the value range of the access point number of the display prompt information obtained in advance may also be a preset value range of the access point number of the display prompt information.
  • Sub-step 2032 displaying prompt information corresponding to the wireless access point information on an interface used by the system to display the wireless access point information list.
  • the system uses The prompt information corresponding to the wireless access point information is displayed on an interface displaying the wireless access point information list.
  • the above prompt information may be used to instruct a user to open a target application to connect to a wireless access point.
  • the prompt information may include text and / or pictures.
  • the prompt information may be "Open XX application", where "XX application" is the name of the target application.
  • the target application may be an application of a method for displaying wireless access point information installed in the execution device described above.
  • the target application in addition to the method that the target application can use to display information about the wireless access point, the target application can also perform other operations, such as: connecting to the wireless access point, pushing information, and pushing news , Instant messaging, and more.
  • the displaying operation may further include determining, in sub-step 2031, that the access point number corresponding to the wireless access point information does not belong to the display prompt information acquired in advance. In the case of a range of values, go to the following substep 2033:
  • sub-step 2033 the prompt information corresponding to the wireless access point information is not displayed.
  • step 203 the wireless access point information whose access point number corresponding to the wireless access point information list belongs to a range of display prompt information access point number values obtained in advance has been used in the system to display the wireless access point information list
  • the prompt information corresponding to the wireless access point information is displayed in the interface of the. Then, after seeing the prompt information, the user can make feedback related to the prompt information, and then enter the target application.
  • the foregoing execution body may also perform the following step 204 after step 203:
  • Step 204 In response to receiving a user's selection operation on the prompt information displayed on the interface of the system for displaying the wireless access point information list, the wireless access point information indicated by the wireless access point information corresponding to the prompt information targeted for the connection selection operation is received. Access Point.
  • the access point number belongs to the range of the value of the access point number that is displayed in advance and is displayed.
  • Wireless access point information The corresponding prompt information is displayed on the interface used by the system to display the wireless access point information list.
  • the wireless access point indicated by the access point information may be connected to the wireless access point indicated by the wireless access point information corresponding to the prompt information corresponding to the selection operation of the user.
  • step 204 the user can connect to the wireless access point by clicking the prompt information, which can facilitate the user to connect to the wireless access point.
  • FIG. 3 is a schematic diagram of an application scenario of a method for displaying wireless access point information according to this embodiment.
  • the user first opens the system's interface for displaying the wireless access point information list on the terminal device, and then in step 301, the terminal device detects that the user opens the system for displaying the wireless access point information list. Interface, then get the wireless access point information list.
  • the terminal device determines an access corresponding to the wireless access point information according to the access point identifier in the wireless access point information. Point number, and in step 303, the terminal device performs a display operation on the wireless access point information in the wireless access point information list.
  • the user selects the prompt information corresponding to the wireless access point information to be connected in the interface of the terminal device system for displaying the wireless access point information list, and then in step 304, the terminal device receives the user's The selection operation of the prompt information displayed on the interface displaying the wireless access point information list, and then the wireless access point indicated by the wireless access point information corresponding to the prompt information corresponding to the selection operation is connected.
  • the method provided by the foregoing embodiment of the present application obtains the wireless access point information list and the wireless access to the wireless access point information list when it is detected that the user opens the interface for displaying the wireless access point information list in the system.
  • Access point information according to the access point identifier in the wireless access point information, determine the access point number corresponding to the wireless access point information, and finally, for the wireless access point information in the wireless access point information list, if determined
  • the access point number corresponding to the wireless access point information belongs to the value range of the access point number that is displayed in advance to display the prompt information, and then displays the wireless access point information on the interface for displaying the wireless access point information list. Corresponding prompt message.
  • the selective display of the prompt information in the wireless access point information list is achieved, the display amount of the prompt information is reduced, and the display speed of the prompt information can be increased. , Improve the user experience, increase the probability that the user switches to the target application's interface after seeing the prompt information.
  • the process 400 of the method for displaying wireless access point information includes the following steps:
  • Step 401 Obtain a wireless access point information list in response to detecting that a user opens an interface of the system for displaying the wireless access point information list.
  • step 401 is basically the same as the operation of step 201 in the embodiment shown in FIG. 2, and details are not described herein again.
  • Step 402 Send wireless access point information in the wireless access point information list.
  • the execution subject for example, the terminal devices 101, 102, and 103 shown in FIG. 1
  • the execution subject may send the wireless access point information in the wireless access point information list obtained in step 401. .
  • the above-mentioned execution body may send the wireless access point information in the wireless access point information list obtained in step 401 to other electronic devices connected to the above-mentioned execution network.
  • the other electronic device may query the password information corresponding to the wireless access point information after receiving the wireless access point information, and feedback the queried password information to the execution subject.
  • the password information corresponding to the wireless access point information may include a password of the wireless access point indicated by the wireless access point information and / or an identifier indicating whether there is a password of the wireless access point indicated by the wireless access point information. information.
  • the other electronic device described above may be a server that provides support for a target application.
  • the above-mentioned execution body may send the wireless access point information in the wireless access point information list obtained in step 401 to one of the applications running in the above-mentioned execution body.
  • functional module may query the password information corresponding to the wireless access point information after receiving the wireless access point information.
  • the foregoing execution body may send each wireless access point information in the wireless access point information list obtained in step 401.
  • the foregoing execution body may send part of the wireless access point information in the wireless access point information list obtained in step 401.
  • Step 403 Receive password information corresponding to the wireless access point information in the wireless access point information list.
  • the execution subject for example, the terminal devices 101, 102, and 103 shown in FIG. 1
  • the execution subject for example, the terminal devices 101, 102, and 103 shown in FIG. 1
  • the execution subject may receive the password information corresponding to the wireless access point information in the wireless access point information list.
  • the execution agent may receive the password information corresponding to the wireless access point information in the wireless access point information list from other electronic devices connected to the execution agent's network.
  • the other electronic device described above may be a server that provides support for a target application.
  • the execution body may locally receive password information corresponding to the wireless access point information in the wireless access point information list from a functional module in an application running in the execution body.
  • Step 404 For the wireless access point information that received the password information in the wireless access point information list, determine the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information. .
  • the above-mentioned execution body may determine, for the wireless access point information that has received the password information in the wireless access point information list, with the wireless access point according to the access point identifier in the wireless access point information.
  • the access point number corresponding to the message The specific operation of determining the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information is the same as that described in step 202 in the embodiment shown in FIG. 2 according to the wireless access point information.
  • the operation of determining the access point ID in the access point information to determine the access point number corresponding to the wireless access point information is basically the same, and is not repeated here.
  • Step 405 Perform a display operation on the wireless access point information that has received the password information in the wireless access point information list.
  • the above-mentioned execution subject may perform the display operation by receiving the wireless access point information of the password information in the wireless access point information list.
  • the specific operation of the display operation is basically the same as the display operation described in step 203 in the embodiment shown in FIG. 2, and details are not described herein again.
  • Step 406 In response to receiving the user's selection operation on the prompt information displayed on the interface of the system for displaying the wireless access point information list, the wireless access point information indicated by the wireless access point information corresponding to the prompt information targeted by the connection selection operation Access Point.
  • step 406 in this embodiment is basically the same as the operation of step 204 in the embodiment shown in FIG. 2, and details are not described herein again.
  • the process 400 of the method for displaying wireless access point information in this embodiment highlights that the password is only queried in the wireless access point information list.
  • the information of the wireless access point information calculates the access point number and performs the display operation steps. Therefore, the solution described in this embodiment can further reduce the calculation amount, and then further accelerate the display speed of the wireless access point information and improve the user experience.
  • FIG. 5 is another schematic diagram of an application scenario of the method for displaying wireless access point information according to this embodiment.
  • the user first opens the system's interface for displaying the wireless access point information list on the terminal device, and then in step 501, the terminal device detects that the user opens the system for displaying the wireless access point information list. Interface, then get the wireless access point information list.
  • the terminal device sends the wireless access point information in the wireless access point information list to a server that provides support for the target application.
  • the server queries the password information corresponding to the received wireless access point information, and sends the queried password information and the corresponding wireless access point information to the terminal device.
  • step 504 the terminal device receives the password information corresponding to the wireless access point information in the wireless access point information list from the server.
  • step 505 the terminal device determines that the wireless access point information that has received the password information in the wireless access point information list corresponds to the wireless access point information according to the access point identifier in the wireless access point information.
  • step 506 the terminal device performs a display operation on the wireless access point information that has received the password information in the wireless access point information list.
  • the user selects the prompt information corresponding to the wireless access point information to be connected in the interface of the terminal device system for displaying the wireless access point information list, and then in step 507, the terminal device receives the user's The selection operation of the prompt information displayed on the interface displaying the wireless access point information list, and then the wireless access point indicated by the wireless access point information corresponding to the prompt information corresponding to the selection operation is connected.
  • FIG. 6 shows a schematic structural diagram of a computer system 600 suitable for implementing a terminal device according to an embodiment of the present application.
  • the terminal device shown in FIG. 6 is merely an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
  • the computer system 600 includes a central processing unit (CPU, Central Processing Unit) 601, which can be loaded into random access according to a program stored in a read-only memory (ROM, Read Only Memory) 602 or from a storage portion 608
  • ROM Read Only Memory
  • RAM Random Access Memory
  • a program in a memory (RAM, Random Access Memory) 603 performs various appropriate actions and processes.
  • RAM Random Access Memory
  • various programs and data required for the operation of the system 600 are also stored.
  • the CPU 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input / output (I / O, Input / Output) interface 605 is also connected to the bus 604.
  • the following components are connected to the I / O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a cathode ray tube (CRT, Cathode Ray Tube), a liquid crystal display (LCD, Liquid Crystal Display), and the speaker A storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, and the like.
  • the communication section 609 performs communication processing via a network such as the Internet.
  • the driver 610 is also connected to the I / O interface 605 as necessary.
  • a removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.
  • the process described above with reference to the flowchart may be implemented as a computer software program.
  • embodiments of the present disclosure include a computer program product including a computer program carried on a computer-readable medium, the computer program containing program code for performing a method shown in a flowchart.
  • the computer program may be downloaded and installed from a network through the communication section 609, and / or installed from a removable medium 611.
  • CPU central processing unit
  • the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programming read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal that is included in baseband or propagated as part of a carrier wave, and which carries computer-readable program code. Such a propagated data signal may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, and the computer-readable medium may send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
  • Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present application may be written in one or more programming languages, or a combination thereof, including programming languages such as Java, Smalltalk, C ++, and also conventional Procedural programming language-such as "C" or similar programming language.
  • the program code can be executed entirely on the user's computer, partly on the user's computer, as an independent software package, partly on the user's computer, partly on a remote computer, or entirely on a remote computer or server.
  • the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider) Internet connection).
  • LAN local area network
  • WAN wide area network
  • Internet service provider Internet service provider
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, which contains one or more functions to implement a specified logical function Executable instructions.
  • the functions labeled in the blocks may also occur in a different order than those labeled in the drawings. For example, two blocks represented one after the other may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved.
  • each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts can be implemented by a dedicated hardware-based system that performs the specified function or operation , Or it can be implemented with a combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present application may be implemented by software or hardware.
  • the described unit may also be provided in a processor, for example, it may be described as: a processor includes an acquisition unit, a determination unit, and a display unit.
  • the name of these units does not constitute a limitation on the unit itself in some cases.
  • the obtaining unit may also be described as a “unit for obtaining a wireless access point information list”.
  • the present application further provides a computer-readable medium, which may be included in the device described in the foregoing embodiments; or may exist alone without being assembled into the device.
  • the computer-readable medium carries one or more programs, and when the one or more programs are executed by the device, the device is caused to obtain: in response to detecting that a user opens a system interface for displaying a wireless access point information list, obtaining Wireless access point information list, where the wireless access point information includes the access point identifier of the wireless access point; for the wireless access point information in the wireless access point information list, according to the access point in the wireless access point information,
  • the access point identification determines the access point number corresponding to the wireless access point information; for the wireless access point information in the wireless access point information list, the following display operation is performed: in response to determining that it corresponds to the wireless access point information
  • the access point number belongs to the range of pre-obtained display prompt information access point number values, and the prompt information corresponding to the wireless access point information is displayed on the interface used by the system to

Landscapes

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

Abstract

本申请实施例公开了用于显示无线接入点信息的方法和装置。该方法的一具体实施方式包括:响应于检测到用户打开***用于显示无线接入点信息列表的界面,获取无线接入点信息列表;对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号;对于无线接入点信息列表中的无线接入点信息,执行以下显示操作:响应于确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围,在***用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。该实施方式提高了用户体验。

Description

用于显示无线接入点信息的方法和装置 技术领域
本申请涉及通信技术领域,具体涉及用于显示无线接入点信息的方法和装置。
背景技术
目前,针对安装有iOS(苹果公司的移动操作***)的终端设备,存在很多Wi-Fi(WIreless-Fidelity,无线保真)类应用。Wi-Fi类应用可以获取终端设备的***无线接入点信息列表,并提供无线接入点密码查询服务,从而为用户连接无线接入点提供便利。
发明内容
本申请实施例提出了用于显示无线接入点信息的方法和装置。
第一方面,本申请实施例提供了一种用于显示无线接入点信息的方法,该方法包括:响应于检测到用户打开***用于显示无线接入点信息列表的界面,获取无线接入点信息列表,其中,无线接入点信息包括无线接入点的接入点标识;对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号;对于无线接入点信息列表中的无线接入点信息,执行以下显示操作:响应于确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围,在***用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。
在一些实施例中,该方法还包括:响应于接收到用户对***用于显示无线接入点信息列表的界面中显示的提示信息的选择操作,连接选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
在一些实施例中,显示操作还包括:响应于确定与该无线接入点信息对应的接入点编号不属于预先获取的显示提示信息接入点编号取值范 围,不显示与该无线接入点信息对应的提示信息。
在一些实施例中,在对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号之前,该方法还包括:发送无线接入点信息列表中的无线接入点信息;接收无线接入点信息列表中的无线接入点信息对应的密码信息。
在一些实施例中,对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,包括:对于无线接入点信息列表中接收到密码信息的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。
在一些实施例中,对于无线接入点信息列表中的无线接入点信息,执行以下显示操作,包括:对于无线接入点信息列表中接收到密码信息的无线接入点信息,执行以下显示操作。
在一些实施例中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,包括:利用预设消息摘要算法,计算该无线接入点信息中的接入点标识的信息摘要;利用预设哈希函数,计算信息摘要的哈希值;计算哈希值除以预设除数的余数;将余数确定为与该无线接入点信息对应的接入点编号。
在一些实施例中,预设接入点编号取值范围包括显示提示信息接入点编号取值范围。
在一些实施例中,接入点标识包括SSID服务集标识和/或BSSID基础服务集标识。
第二方面,本申请实施例提供了一种用于显示无线接入点信息的装置,该装置包括:获取单元,被配置成响应于检测到用户打开***用于显示无线接入点信息列表的界面,获取无线接入点信息列表,其中,无线接入点信息包括无线接入点的接入点标识;确定单元,被配置成对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号;显示单元,被配置成对于无线接入点信息列表中的无线接入点信息,执行以下显示操作:响应于确定与该无线接入点信息对应的接入点编号属于预先获取 的显示提示信息接入点编号取值范围,在***用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。
在一些实施例中,该装置还包括:连接单元,被配置成响应于接收到用户对***用于显示无线接入点信息列表的界面中显示的提示信息的选择操作,连接选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
在一些实施例中,显示操作还包括:响应于确定与该无线接入点信息对应的接入点编号不属于预先获取的显示提示信息接入点编号取值范围,不显示与该无线接入点信息对应的提示信息。
在一些实施例中,该装置还包括:发送单元,被配置成在对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号之前,发送无线接入点信息列表中的无线接入点信息;接收单元,被配置成在发送无线接入点信息列表中的无线接入点信息之后,接收无线接入点信息列表中的无线接入点信息对应的密码信息。
在一些实施例中,确定单元进一步被配置成:对于无线接入点信息列表中接收到密码信息的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。
在一些实施例中,显示单元进一步被配置成:对于无线接入点信息列表中接收到密码信息的无线接入点信息,执行以下显示操作。
在一些实施例中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,包括:利用预设消息摘要算法,计算该无线接入点信息中的接入点标识的信息摘要;利用预设哈希函数,计算信息摘要的哈希值;计算哈希值除以预设除数的余数;将余数确定为与该无线接入点信息对应的接入点编号。
在一些实施例中,预设接入点编号取值范围包括显示提示信息接入点编号取值范围。
在一些实施例中,接入点标识包括SSID服务集标识和/或BSSID基础服务集标识。
第三方面,本申请实施例提供了一种终端设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当上述一个或多个程 序被上述一个或多个处理器执行时,使得上述一个或多个处理器实现如第一方面中任一实现方式描述的方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,其中,该计算机程序被一个或多个处理器执行时实现如第一方面中任一实现方式描述的方法。
本申请实施例提供的用于显示无线接入点信息的方法和装置,通过在检测到用户打开***用于显示无线接入点信息列表的界面的情况下,获取无线接入点信息列表,以及对于无线接入点信息列表的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,最后对于无线接入点信息列表的无线接入点信息,如果确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围,则在用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。而不是对每个无线接入点信息都显示提示信息,从而实现了有选择性地在无线接入点信息列表中显示提示信息,减少了提示信息的显示量,继而可以提高提示信息的显示速度,提高用户体验,增加用户在看到提示信息后切换到目标应用的界面的概率。
附图说明
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:
图1是本申请可以应用于其中的示例性***架构图;
图2是根据本申请的用于显示无线接入点信息的方法的一个实施例的流程图;
图3是根据本申请的用于显示无线接入点信息的方法的一个应用场景的示意图;
图4是根据本申请的用于显示无线接入点信息的方法的又一个实施例的流程图;
图5是根据本申请的用于显示无线接入点信息的方法的又一个应用场景的示意图;
图6是适于用来实现本申请实施例的终端设备的计算机***的结构 示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。
图1示出了可以应用本申请的用于显示无线接入点信息的方法或用于显示无线接入点信息的装置的实施例的示例性***架构100。
如图1所示,***架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种客户端应用,例如Wi-Fi类应用、网页浏览器应用、购物类应用、搜索类应用、即时通信工具、邮箱客户端、社交平台软件等。
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上显示的Wi-Fi类应用提供支持的后台服务器。后台服务器可以对接收到的无线接入点密码信息查询请求等数据进行分析等处理,并将处理结果(例如无线接入点信息对应的密码信息)反馈给终端设备。
需要说明的是,本申请实施例所提供的用于显示无线接入点信息的 方法一般由终端设备101、102、103执行,相应地,用于显示无线接入点信息的装置一般设置于终端设备101、102、103中。一些情况下,本申请实施例所提供的用于显示无线接入点信息的方法也可以不需要网络104和服务器105,而只由终端设备101、102、103执行即可。本申请对此不做限定。
需要说明的是,服务器105可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供无线接入点密码查询服务),也可以实现成单个软件或软件模块。在此不做具体限定。
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。
继续参考图2,其示出了根据本申请的用于显示无线接入点信息的方法的一个实施例的流程200。该用于显示无线接入点信息的方法,包括以下步骤:
步骤201,响应于检测到用户打开***用于显示无线接入点信息列表的界面,获取无线接入点信息列表。
在本实施例中,用于显示无线接入点信息的方法的执行主体(例如图1所示的终端设备101、102、103)可以在检测到用户打开***用于显示无线接入点信息列表的界面的情况下,获取无线接入点信息列表。
在本实施例中,上述执行主体的操作***可以为iOS。
实践中,上述执行主体可以首先获取Wi-Fi权限,然后再通过所获取的Wi-Fi权限来无线接入点信息列表。
例如,可以通过如下方法获取Wifi权限:
《NEHotspotHelper》
registerWithOptions:queue:handler():bool
又例如,可以通过如下方法获取无线接入点信息列表:
《NEHotspotHelperCommand》
kNeHotspotHelperCommandTypeFilterScanList()
这里,上述无线接入点信息列表可以是由上述执行主体的操作***提供的包括至少一条无线接入点信息的列表,这里,无线接入点信息可 以包括接入点标识。其中,接入点标识用于对无线接入点进行唯一标识。
在本实施例的一些可选的实现方式中,接入点标识可以是SSID(Service Set Identifier,服务集标识)和/或BSSID(Basic Service Set Identifier,基础服务集标识)。
可选地,无线接入点信息还可以包括信号强度信息。
步骤202,对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。
在本实施例中,上述执行主体可以对于步骤201中所获取的无线接入点信息列表中的无线接入点信息,采用各种实现方式,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。其中,接入点编号的取值可以属于预设接入点编号取值范围。其中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号既可以是上述执行主体本地执行的,也可以是由上述执行主体将该无线接入点信息中的接入点标识发送给服务器,然后,上述服务器根据所接收到的接入点标识,生成接入点编号,并将所生成的接入点编号发送给上述执行主体,再由上述执行主体将从服务器接收到的接入点编号确定为与该无线接入点信息对应的接入点编号。作为示例,上述服务器可以是对目标应用提供支持的服务器。
在本实施例的一些可选的实现方式中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号可以如下进行:
首先,可以采用预设消息摘要算法(Message-Digest Algorithm),生成该无线接入点信息中的接入点标识的消息摘要。例如,预设消息摘要算法可以是MD5(Message-Digest Algorithm 5,消息摘要算法第五版)、SHA-1(Secure Hash Algorithm,安全散列算法)、MD5的变体、SHA-1的变体等等。
其次,可以从左到右或者从右到左提取上述消息摘要中的数字,并用所提取的数字按到从左到右或者从右到左的顺序生成与该无线接入点信息对应的接入点编号。
在本实施例的一些可选的实现方式中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号还可以如下进行:利用预设的哈希(Hash)函数,也叫散列函数,计算该无线接入点信息中的接入点标识的哈希值,并将计算所得的哈希值确定为与该无线接入点信息对应的接入点编号,而这里的预设哈希函数可以将任意长度的字符串映射到预设接入点编号取值范围。
在本实施例的一些可选的实现方式中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号还可以如下进行:
第一步,利用预设消息摘要算法,计算该无线接入点信息中的接入点标识的信息摘要。例如,预设消息摘要算法可以是MD5、SHA-1、MD5的变体、SHA-1的变体等等。
第二步,利用预设哈希函数,计算上述信息摘要的哈希值。这里,预设哈希函数可以将固定长度的信息摘要映射到正整数空间中。
第三步,计算上述哈希值除以预设除数的余数,其中,上述预设除数可以为大于1的正整数。例如,预设除数可以为100,则,计算所得的余数可以为1到99之间的正整数。
第四步,将上述余数确定为与该无线接入点信息对应的接入点编号。
由上述第一步到第四步的计算方法可以知道,预设接入点编号取值范围为1到99之间的正整数。
步骤203,对于无线接入点信息列表中的无线接入点信息,执行显示操作。
在本实施例中,上述执行主体可以对于步骤201中所获取的无线接入点信息列表中的无线接入点信息,执行显示操作。该显示操作可以包括以下子步骤2031和子步骤2032:
子步骤2031,确定与该无线接入点信息对应的接入点编号是否属于预先获取的显示提示信息接入点编号取值范围。
在本实施例中,上述执行主体可以确定与该无线接入点信息对应的接入点编号是否属于预先获取的显示提示信息接入点编号取值范围,如果确定是,则可以转到子步骤2032。
这里,上述执行主体可以预先获取显示提示信息接入点编号取值范围,其中,预设接入点编号取值范围可以包括显示提示信息接入点编号取值范围。例如,预设接入点编号取值范围可以为0到99之间的整数,而显示提示信息接入点编号取值范围可以为0到40之间的整数。又例如,预设接入点编号取值范围可以为0到99之间的整数,而显示提示信息接入点编号取值范围可以为0到99之间的奇数或者偶数。
在本实施例的一些可选的实现方式中,上述执行主体可以在执行完步骤201之后执行步骤202之前获取预设接入点编号取值范围。
在本实施例的一些可选的实现方式中,上述执行主体也可以在执行完步骤202之后执行步骤203之前获取预设接入点编号取值范围。
在本实施例中,预先获取的显示提示信息接入点编号取值范围可以是上述执行主体本地或者远程地从与上述执行主体网络连接的其他电子设备获取到的。作为示例,上述其他电子设备可以是对目标应用提供支持的服务器。预先获取的显示提示信息接入点编号取值范围也可以是预先设置的显示提示信息接入点编号取值范围。
子步骤2032,在***用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。
在本实施例中,上述执行主体可以在子步骤2031中确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围的情况下,在***用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。作为示例,这里,上述提示信息可以用于指示用户打开目标应用以连接无线接入点。这里,提示信息可以包括文本和/或图片。例如,提示信息可以是“打开XX应用”,其中“XX应用”为目标应用的名称。
在本实施例中,目标应用可以是安装在上述执行设备中的用于显示无线接入点信息的方法的应用。
在本实施例的一些可选的实现方式中,目标应用除了可以实现用于显示无线接入点信息的方法,目标应用还可以实现其他操作,例如:连接无线接入点、信息推送、新闻推送、即时通讯等等。
在本实施例的一些可选的实现方式中,显示操作还可以包括在子步骤2031中确定与该无线接入点信息对应的接入点编号不属于预先获取的 显示提示信息接入点编号取值范围的情况下,转到以下子步骤2033:
子步骤2033,不显示与该无线接入点信息对应的提示信息。
经过步骤203,对于无线接入点信息列表对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围的无线接入点信息,已经在***用于显示无线接入点信息列表的界面中显示了与这些无线接入点信息对应的提示信息,那么用户可以在看到这些提示信息后,作出与提示信息相关的反馈,继而进入目标应用。
在本实施例的一些可选的实现方式中,上述执行主体还可以在步骤203之后,执行以下步骤204:
步骤204,响应于接收到用户对***用于显示无线接入点信息列表的界面中显示的提示信息的选择操作,连接选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
在本实施例中,由于用户已经打开了***用于显示无线接入点信息列表的界面,而且,在步骤203中对于接入点编号属于预先获取的显示提示信息接入点编号取值范围的无线接入点信息,在***用于显示无线接入点信息列表的界面中显示了对应的提示信息,那么当用户选择了某个提示信息,表明用户希望连接所选择的提示信息所对应的无线接入点信息所指示的无线接入点,为此,可以连接上述用户的选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
基于步骤204的可选实现方式,用户点击提示信息即可以连接无线接入点,可以方便用户连接无线接入点。
继续参见图3,图3是根据本实施例的用于显示无线接入点信息的方法的应用场景的一个示意图。在图3的应用场景中,用户首先在终端设备上打开***用于显示无线接入点信息列表的界面,然后在步骤301中,终端设备检测到用户打开***用于显示无线接入点信息列表的界面,于是获取无线接入点信息列表。接着,在步骤302中,终端设备对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,而后在步骤303中,终端设备对于无线接入点信息列表中的无线接入点信息,执行显示操作。最后,用户在终端设备的***用于显示无线接入点信息列 表的界面中选择想要连接的无线接入点信息对应的提示信息,接着在步骤304中,终端设备接收到用户对***用于显示无线接入点信息列表的界面中显示的提示信息的选择操作,于是连接选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
本申请的上述实施例提供的方法通过在检测到用户打开***用于显示无线接入点信息列表的界面的情况下,获取无线接入点信息列表,以及对于无线接入点信息列表的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,最后对于无线接入点信息列表的无线接入点信息,如果确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围,则在用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。而不是对每个无线接入点信息都显示提示信息,从而实现了有选择性地在无线接入点信息列表中显示提示信息,减少了提示信息的显示量,继而可以提高提示信息的显示速度,提高用户体验,增加用户在看到提示信息后切换到目标应用的界面的概率。
进一步参考图4,其示出了用于显示无线接入点信息的方法的又一个实施例的流程400。该用于显示无线接入点信息的方法的流程400,包括以下步骤:
步骤401,响应于检测到用户打开***用于显示无线接入点信息列表的界面,获取无线接入点信息列表。
在本实施例中,步骤401的具体操作与图2所示的实施例中步骤201的操作基本相同,在此不再赘述。
步骤402,发送无线接入点信息列表中的无线接入点信息。
这里,用于显示无线接入点信息的执行主体(例如,图1所示的终端设备101、102、103)可以发送步骤401中所获取的无线接入点信息列表中的无线接入点信息。
在本实施例的一些可选的实现方式中,上述执行主体可以将步骤401中所获取的无线接入点信息列表中的无线接入点信息发送给与上述执行主体网络连接的其他电子设备。其中,上述其他电子设备可以在接收到无线接入点信息后,查询与无线接入点信息对应的密码信息,并将 所查询到的密码信息反馈给上述执行主体。这里,与无线接入点信息对应的密码信息可以包括无线接入点信息所指示的无线接入点的密码和/或指示是否有无线接入点信息所指示的无线接入点的密码的标识信息。作为示例,上述其他电子设备可以是对目标应用提供支持的服务器。
在本实施例的一些可选的实现方式中,上述执行主体可以将步骤401中所获取的无线接入点信息列表中的无线接入点信息发送给上述执行主体中运行的应用中的某个功能模块。其中,上述功能模块可以在接收到无线接入点信息后,查询与无线接入点信息对应的密码信息。
在本实施例的一些可选的实现方式中,上述执行主体可以发送步骤401中所获取的无线接入点信息列表中的每个无线接入点信息。
在本实施例的一些可选的实现方式中,上述执行主体可以发送步骤401中所获取的无线接入点信息列表中的部分无线接入点信息。
步骤403,接收无线接入点信息列表中的无线接入点信息对应的密码信息。
这里,用于显示无线接入点信息的执行主体(例如,图1所示的终端设备101、102、103)可以接收无线接入点信息列表中的无线接入点信息对应的密码信息。
在本实施例的一些可选的实现方式中,上述执行主体可以从与上述执行主体网络连接的其他电子设备接收无线接入点信息列表中的无线接入点信息对应的密码信息。作为示例,上述其他电子设备可以是对目标应用提供支持的服务器。
在本实施例的一些可选的实现方式中,上述执行主体可以本地从上述执行主体中运行的应用中的某个功能模块接收无线接入点信息列表中的无线接入点信息对应的密码信息。
步骤404,对于无线接入点信息列表中接收到密码信息的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。
在本实施例中,上述执行主体可以对于无线接入点信息列表中接收到密码信息的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。其中,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号 的具体操作与图2所示的实施例中步骤202中描述的根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号的操作基本相同,在此不再赘述。
步骤405,对于无线接入点信息列表中接收到密码信息的无线接入点信息,执行显示操作。
在本实施例中,上述执行主体可以无线接入点信息列表中接收到密码信息的无线接入点信息,执行显示操作。其中,显示操作的具体操作与图2所示的实施例中步骤203中描述的显示操作基本相同,在此不再赘述。
步骤406,响应于接收到用户对***用于显示无线接入点信息列表的界面中显示的提示信息的选择操作,连接选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
在本实施例中步骤406的具体操作与图2所示的实施例中步骤204的操作基本相同,在此不再赘述。
从图4中可以看出,与图2对应的实施例相比,本实施例中的用于显示无线接入点信息的方法的流程400突出了仅对无线接入点信息列表中查询到密码信息的无线接入点信息计算接入点编号以及执行显示操作的步骤。由此,本实施例描述的方案可以进一步减少计算量,继而进一步加快无线接入点信息显示速度,提高用户体验。
继续参见图5,图5是根据本实施例的用于显示无线接入点信息的方法的应用场景的另一个示意图。在图5的应用场景中,用户首先在终端设备上打开***用于显示无线接入点信息列表的界面,然后在步骤501中,终端设备检测到用户打开***用于显示无线接入点信息列表的界面,于是获取无线接入点信息列表。接着,在步骤502中,终端设备将上述无线接入点信息列表中的无线接入点信息发送给对目标应用提供支持的服务器。在步骤503中,服务器查询与所接收到的无线接入点信息对应的密码信息,并将查询到的密码信息和对应的无线接入点信息发送给终端设备。而后,在步骤504中,终端设备从服务器接收无线接入点信息列表中的无线接入点信息对应的密码信息。接着,在步骤505中终端设备对于无线接入点信息列表中接收到密码信息的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息 对应的接入点编号,而后在步骤506中,终端设备对于无线接入点信息列表中接收到密码信息的无线接入点信息,执行显示操作。最后,用户在终端设备的***用于显示无线接入点信息列表的界面中选择想要连接的无线接入点信息对应的提示信息,接着在步骤507中,终端设备接收到用户对***用于显示无线接入点信息列表的界面中显示的提示信息的选择操作,于是连接选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
下面参考图6,其示出了适于用来实现本申请实施例的终端设备的计算机***600的结构示意图。图6示出的终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。
如图6所示,计算机***600包括中央处理单元(CPU,Central Processing Unit)601,其可以根据存储在只读存储器(ROM,Read Only Memory)602中的程序或者从存储部分608加载到随机访问存储器(RAM,Random Access Memory)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有***600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O,Input/Output)接口605也连接至总线604。
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT,Cathode Ray Tube)、液晶显示器(LCD,Liquid Crystal Display)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN(局域网,Local Area Network)卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质 611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的***、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行***、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行***、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言-诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言-诸如”C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)-连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。
附图中的流程图和框图,图示了按照本申请各种实施例的***、方 法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的***来实现,或者可以用专用硬件与计算机指令的组合来实现。
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括获取单元、确定单元和显示单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,获取单元还可以被描述为“获取无线接入点信息列表的单元”。
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:响应于检测到用户打开***用于显示无线接入点信息列表的界面,获取无线接入点信息列表,其中,无线接入点信息包括无线接入点的接入点标识;对于无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号;对于无线接入点信息列表中的无线接入点信息,执行以下显示操作:响应于确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围,在***用于显示无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其 它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。

Claims (11)

  1. 一种用于显示无线接入点信息的方法,其特征在于,所述方法包括:
    响应于检测到用户打开***用于显示所述无线接入点信息列表的界面,获取所述无线接入点信息列表,其中,无线接入点信息包括无线接入点的接入点标识;
    对于所述无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号;
    对于所述无线接入点信息列表中的无线接入点信息,执行以下显示操作:响应于确定与该无线接入点信息对应的接入点编号属于预先获取的显示提示信息接入点编号取值范围,在***用于显示所述无线接入点信息列表的界面中显示与该无线接入点信息对应的提示信息。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    响应于接收到所述用户对***用于显示所述无线接入点信息列表的界面中显示的提示信息的选择操作,连接所述选择操作所针对的提示信息所对应的无线接入点信息所指示的无线接入点。
  3. 根据权利要求1所述的方法,其特征在于,所述显示操作还包括:
    响应于确定与该无线接入点信息对应的接入点编号不属于所述预先获取的显示提示信息接入点编号取值范围,不显示与该无线接入点信息对应的提示信息。
  4. 根据权利要求1所述的方法,其中,在对于所述无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号之前,所述方法还包括:
    发送所述无线接入点信息列表中的无线接入点信息;
    接收所述无线接入点信息列表中的无线接入点信息对应的密码信息。
  5. 根据权利要求4所述的方法,其中,所述对于所述无线接入点信息列表中的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,包括:
    对于所述无线接入点信息列表中接收到密码信息的无线接入点信息,根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号。
  6. 根据权利要求5所述的方法,其中,所述对于所述无线接入点信息列表中的无线接入点信息,执行以下显示操作,包括:
    对于所述无线接入点信息列表中接收到密码信息的无线接入点信息,执行以下显示操作。
  7. 根据权利要求1-6中任一所述的方法,其中,所述根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,包括:
    利用预设消息摘要算法,计算该无线接入点信息中的接入点标识的信息摘要;
    利用预设哈希函数,计算所述信息摘要的哈希值;
    计算所述哈希值除以预设除数的余数;
    将所述余数确定为与该无线接入点信息对应的接入点编号。
  8. 根据权利要求7所述的方法,其中,所述预设接入点编号取值范围包括所述显示提示信息接入点编号取值范围。
  9. 根据权利要求1-6中任一所述的方法,其中,所述根据该无线接入点信息中的接入点标识,确定与该无线接入点信息对应的接入点编号,包括:
    将该无线接入点信息中的接入点标识发送给服务器,其中,所述服 务器根据所接收到的接入点标识,生成并发送接入点编号;
    将从所述服务器接收到的接入点编号确定为与该无线接入点信息对应的接入点编号。
  10. 一种终端设备,包括:
    一个或多个处理器;
    存储装置,其上存储有一个或多个程序,
    当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1-9中任一所述的方法。
  11. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被一个或多个处理器执行时实现如权利要求1-9中任一所述的方法。
PCT/CN2019/088114 2018-05-24 2019-05-23 用于显示无线接入点信息的方法和装置 WO2019223759A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810507297.9 2018-05-24
CN201810507297.9A CN108811036B (zh) 2018-05-24 2018-05-24 用于显示无线接入点信息的方法和装置

Publications (1)

Publication Number Publication Date
WO2019223759A1 true WO2019223759A1 (zh) 2019-11-28

Family

ID=64091699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/088114 WO2019223759A1 (zh) 2018-05-24 2019-05-23 用于显示无线接入点信息的方法和装置

Country Status (2)

Country Link
CN (1) CN108811036B (zh)
WO (1) WO2019223759A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811036B (zh) * 2018-05-24 2020-07-31 上海连尚网络科技有限公司 用于显示无线接入点信息的方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150131483A1 (en) * 2013-11-12 2015-05-14 Wi-Lan Labs, Inc. Network selection recommender system and method
CN105554760A (zh) * 2016-01-29 2016-05-04 腾讯科技(深圳)有限公司 无线接入点认证方法、装置及***
CN107241727A (zh) * 2017-07-28 2017-10-10 上海连尚网络科技有限公司 用于获取无线接入点信息的方法和装置
CN107548125A (zh) * 2017-08-23 2018-01-05 腾讯科技(深圳)有限公司 无线网络接入、处理方法、装置、存储介质和计算机设备
CN108811036A (zh) * 2018-05-24 2018-11-13 上海连尚网络科技有限公司 用于显示无线接入点信息的方法和装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100558058C (zh) * 2007-11-20 2009-11-04 东南大学 基于流集合随机抽样的报文测量方法
KR101806933B1 (ko) * 2011-03-03 2018-01-10 삼성전자 주식회사 근거리 무선 통신 장치 및 그 장치의 연결 방법
CN103379480B (zh) * 2012-04-17 2019-03-01 腾讯科技(深圳)有限公司 无线网络连接方法及装置
US20140189082A1 (en) * 2012-12-28 2014-07-03 Futurewei Technologies, Inc. Local Partitioning in a Distributed Communication System
CN104135728B (zh) * 2014-07-17 2015-10-14 腾讯科技(深圳)有限公司 网络连接方法及装置
EP3226631B1 (en) * 2014-11-27 2019-09-18 Kyocera Corporation Communication system and user terminal
CN104507158B (zh) * 2014-12-30 2018-10-23 北京奇虎科技有限公司 一种建立无线局域网连接的方法、装置和移动终端
CN105682015B (zh) * 2016-04-05 2017-10-31 上海连尚网络科技有限公司 一种用于建立无线连接的方法与设备
CN107295607A (zh) * 2017-07-05 2017-10-24 上海连尚网络科技有限公司 用于连接无线接入点的方法和设备
CN107172685B (zh) * 2017-07-26 2019-12-27 上海连尚网络科技有限公司 在移动终端展示无线接入点的信息的方法和设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150131483A1 (en) * 2013-11-12 2015-05-14 Wi-Lan Labs, Inc. Network selection recommender system and method
CN105554760A (zh) * 2016-01-29 2016-05-04 腾讯科技(深圳)有限公司 无线接入点认证方法、装置及***
CN107241727A (zh) * 2017-07-28 2017-10-10 上海连尚网络科技有限公司 用于获取无线接入点信息的方法和装置
CN107548125A (zh) * 2017-08-23 2018-01-05 腾讯科技(深圳)有限公司 无线网络接入、处理方法、装置、存储介质和计算机设备
CN108811036A (zh) * 2018-05-24 2018-11-13 上海连尚网络科技有限公司 用于显示无线接入点信息的方法和装置

Also Published As

Publication number Publication date
CN108811036A (zh) 2018-11-13
CN108811036B (zh) 2020-07-31

Similar Documents

Publication Publication Date Title
CN110708346B (zh) 信息处理***和方法
US11012926B2 (en) Methods and apparatus for acquiring wireless access points information
WO2020207454A1 (zh) 信息推送方法和装置
US11016716B2 (en) Picture interface display method and apparatus according to jump protocol
WO2020207085A1 (zh) 信息分享方法、装置、电子设备及存储介质
US11711441B2 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
CN111258602B (zh) 信息更新方法和装置
WO2019015272A1 (zh) 信息处理方法和装置
US20220043898A1 (en) Methods and apparatuses for acquiring information
CN111199037B (zh) 登录方法、***和装置
WO2021197161A1 (zh) 图标更新方法、装置和电子设备
WO2020199659A1 (zh) 用于确定推送优先级信息的方法和装置
CN110673886B (zh) 用于生成热力图的方法和装置
WO2019223759A1 (zh) 用于显示无线接入点信息的方法和装置
JP2021170319A (ja) 情報を取得するための方法及び装置
CN110619101A (zh) 用于处理信息的方法和装置
CN108494982B (zh) 用于生成信息的方法和设备
CN111176679A (zh) 一种应用程序更新方法和装置
CN111786936A (zh) 用于鉴权的方法和装置
CN111125676B (zh) 联合授权方法和装置
CN113626873B (zh) 鉴权方法、装置、电子设备和计算机可读介质
CN111291199B (zh) 信息查询方法和装置
CN110099122B (zh) 用于发送网络请求的方法和装置
WO2022222794A1 (zh) 交互方法、装置和电子设备
CN111324512B (zh) 用于生成文本的方法、装置、电子设备和计算机可读介质

Legal Events

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

Ref document number: 19807668

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 19/03/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19807668

Country of ref document: EP

Kind code of ref document: A1