CN108811036B - Method and apparatus for displaying wireless access point information - Google Patents

Method and apparatus for displaying wireless access point information Download PDF

Info

Publication number
CN108811036B
CN108811036B CN201810507297.9A CN201810507297A CN108811036B CN 108811036 B CN108811036 B CN 108811036B CN 201810507297 A CN201810507297 A CN 201810507297A CN 108811036 B CN108811036 B CN 108811036B
Authority
CN
China
Prior art keywords
access point
wireless access
point information
information
displaying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810507297.9A
Other languages
Chinese (zh)
Other versions
CN108811036A (en
Inventor
叶兆雄
张培
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201810507297.9A priority Critical patent/CN108811036B/en
Publication of CN108811036A publication Critical patent/CN108811036A/en
Priority to PCT/CN2019/088114 priority patent/WO2019223759A1/en
Application granted granted Critical
Publication of CN108811036B publication Critical patent/CN108811036B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

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

The embodiment of the application discloses a method and a device for displaying wireless access point information. One embodiment of the method comprises: responding to the detected condition that a user opens an interface of a system for displaying a wireless access point information list, and acquiring the wireless access point information list; for wireless access point information in a wireless access point information list, determining an access point number corresponding to the wireless access point information according to an access point identifier in the wireless access point information; for the wireless access point information in the wireless access point information list, the following display operations are performed: and in response to the fact that the access point number corresponding to the wireless access point information belongs to the pre-acquired value range of the display prompt information access point number, displaying prompt information corresponding to the wireless access point information in an interface used for displaying a wireless access point information list. This embodiment improves the user experience.

Description

Method and apparatus for displaying wireless access point information
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for displaying wireless access point information.
Background
Currently, there are many Wi-Fi (WIreless-Fidelity) applications for terminal devices installed with iOS (apple mobile operating system). The Wi-Fi application can acquire a system wireless access point information list of the terminal equipment and provide wireless access point password inquiry service, so that convenience is brought to a user to connect the wireless access point.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying wireless access point information.
In a first aspect, an embodiment of the present application provides a method for displaying wireless access point information, where the method includes: responding to the detected condition that a user opens an interface of a system for displaying a wireless access point information list, and acquiring the wireless access point information list, wherein the wireless access point information comprises an access point identifier of a wireless access point; for wireless access point information in a wireless access point information list, determining an access point number corresponding to the wireless access point information according to an access point identifier in the wireless access point information; for the wireless access point information in the wireless access point information list, the following display operations are performed: and in response to the fact that the access point number corresponding to the wireless access point information belongs to the pre-acquired value range of the display prompt information access point number, displaying prompt information corresponding to the wireless access point information in an interface used for displaying a wireless access point information list.
In some embodiments, the method further comprises: and connecting the wireless access point indicated by the wireless access point information corresponding to the prompt information aimed at by the selection operation in response to the received selection operation of the prompt information displayed in the interface used for displaying the wireless access point information list by the system by the user.
In some embodiments, the displaying operation further comprises: and in response to determining that the access point number corresponding to the wireless access point information does not belong to the pre-acquired value range of the display prompt information access point number, not displaying the prompt information corresponding to the wireless access point information.
In some embodiments, before determining, for the wireless access point information in the wireless access point information list, an access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information, the method further includes: sending wireless access point information in a wireless access point information list; and receiving password information corresponding to the wireless access point information in the wireless access point information list.
In some embodiments, for the wireless access point 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 includes: and for the wireless access point information which receives 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 identification in the wireless access point information.
In some embodiments, for the wireless access point information in the wireless access point information list, the following display operations are performed, including: for the wireless access point information in the wireless access point information list for which the password information is received, the following display operation is performed.
In some embodiments, determining, according to the access point identifier in the wireless access point information, an access point number corresponding to the wireless access point information includes: calculating the information abstract of the access point identification in the wireless access point information by using a preset message abstract algorithm; calculating the hash value of the information abstract by using a preset hash function; calculating the remainder of the hash value divided by a preset divisor; and determining the remainder as the access point number corresponding to the wireless access point information.
In some embodiments, presetting the access point number value range includes displaying a prompt message access point number value range.
In some embodiments, the access point identification comprises an SSID service set identification and/or a BSSID basic service set identification.
In a second aspect, an embodiment of the present application provides an apparatus for displaying wireless access point information, where the apparatus includes: an acquisition unit configured to acquire a wireless access point information list in response to detecting that a user opens an interface of a system for displaying the wireless access point information list, wherein the wireless access point information includes an access point identifier of a wireless access point; a determining unit configured to determine, for wireless access point information in the wireless access point information list, an access point number corresponding to the wireless access point information according to an access point identifier in the wireless access point information; a display unit configured to perform the following display operations for the wireless access point information in the wireless access point information list: and in response to the fact that the access point number corresponding to the wireless access point information belongs to the pre-acquired value range of the display prompt information access point number, displaying prompt information corresponding to the wireless access point information in an interface used for displaying a wireless access point information list.
In some embodiments, the apparatus further comprises: and the connection unit is configured to respond to the received user selection operation of the prompt information displayed in the interface used by the system for displaying the wireless access point information list, and connect the wireless access point indicated by the wireless access point information corresponding to the prompt information aiming at the selection operation.
In some embodiments, the displaying operation further comprises: and in response to determining that the access point number corresponding to the wireless access point information does not belong to the pre-acquired value range of the display prompt information access point number, not displaying the prompt information corresponding to the wireless access point information.
In some embodiments, the apparatus further comprises: a transmitting unit configured to transmit the wireless access point information in the wireless access point information list before determining, for the wireless access point information in the wireless access point information list, an access point number corresponding to the wireless access point information according to an access point identifier in the wireless access point information; and the receiving unit is configured to receive the password information corresponding to the wireless access point information in the wireless access point information list after the wireless access point information in the wireless access point information list is transmitted.
In some embodiments, the determining unit is further configured to: and for the wireless access point information which receives 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 identification in the wireless access point information.
In some embodiments, the display unit is further configured to: for the wireless access point information in the wireless access point information list for which the password information is received, the following display operation is performed.
In some embodiments, determining, according to the access point identifier in the wireless access point information, an access point number corresponding to the wireless access point information includes: calculating the information abstract of the access point identification in the wireless access point information by using a preset message abstract algorithm; calculating the hash value of the information abstract by using a preset hash function; calculating the remainder of the hash value divided by a preset divisor; and determining the remainder as the access point number corresponding to the wireless access point information.
In some embodiments, presetting the access point number value range includes displaying a prompt message access point number value range.
In some embodiments, the access point identification comprises an SSID service set identification and/or a BSSID basic service set identification.
In a third aspect, an embodiment of the present application provides a terminal device, including: one or more processors; a storage device, on which one or more programs are stored, which, when executed by the one or more processors, cause the one or more processors to implement the method as described in any implementation manner of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium on which a computer program is stored, where the computer program, when executed by one or more processors, implements the method as described in any implementation manner of the first aspect.
According to the method and the device for displaying the wireless access point information, the wireless access point information list is obtained when it is detected that a user opens an interface of a system for displaying the wireless access point information list, the access point number corresponding to the wireless access point information is determined according to the access point identification in the wireless access point information for the wireless access point information of the wireless access point information list, and finally, for the wireless access point information of the wireless access point information list, if the access point number corresponding to the wireless access point information is determined to belong to a pre-obtained value range of the display prompt information access point number, the prompt information corresponding to the wireless access point information is displayed in the interface for displaying the wireless access point information list. Instead of displaying the prompt information for each wireless access point information, the prompt information is selectively displayed in the wireless access point information list, the display amount of the prompt information is reduced, the display speed of the prompt information can be improved, the user experience is improved, and the probability that the user switches to the interface of the target application after seeing the prompt information is increased.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a method for displaying wireless access point information according to the present application;
FIG. 3 is a schematic diagram of one application scenario of a method for displaying wireless access point information according to the present application;
FIG. 4 is a flow diagram of yet another embodiment of a method for displaying wireless access point information according to the present application;
FIG. 5 is a schematic diagram of yet 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.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the present method for displaying wireless access point information or an apparatus for displaying wireless access point information may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have various client applications installed thereon, such as Wi-Fi type applications, web browser applications, shopping type applications, search type applications, instant messaging tools, mailbox clients, social platform software, and the like.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. When the terminal apparatuses 101, 102, 103 are software, they can be installed in the electronic apparatuses listed above. It may be implemented as multiple pieces of software or software modules, or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server providing various services, such as a background server providing support for Wi-Fi like applications displayed on the terminal devices 101, 102, 103. The background server may analyze and perform other processing on the received data such as the wireless access point password information query request, and feed back a processing result (for example, the password information corresponding to the wireless access point information) to the terminal device.
It should be noted that the method for displaying the wireless access point information provided in the embodiments of the present application is generally performed by the terminal devices 101, 102, and 103, and accordingly, the apparatus for displaying the wireless access point information is generally disposed in the terminal devices 101, 102, and 103. In some cases, the method for displaying the wireless access point information provided by the embodiment of the present application may be performed only by the terminal devices 101, 102, and 103 without the network 104 and the server 105. This is not limited in this application.
The server 105 may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as a plurality of software or software modules (for example, for providing a wireless access point password inquiry service), or as a single software or software module. And is not particularly limited herein.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a method for displaying wireless access point information in accordance with the present application is shown. The method for displaying the wireless access point information comprises the following steps:
step 201, in response to detecting that a user opens an interface of the system for displaying the wireless access point information list, acquiring the wireless access point information list.
In the present embodiment, the execution subject of the method for displaying wireless access point information (e.g., terminal apparatuses 101, 102, 103 shown in fig. 1) may acquire the wireless access point information list upon detecting that the user opens the interface of the system for displaying the wireless access point information list.
In this embodiment, the operating system of the execution subject may be iOS.
In practice, the execution subject may first acquire the Wi-Fi permission, and then use the acquired Wi-Fi permission to obtain the wireless access point information list.
For example, the Wifi permission may be obtained by the following method:
<<NEHotspotHelper>>
registerWithOptions:queue:handler():bool
for another example, the wireless access point information list may be acquired by:
<<NEHotspotHelperCommand>>
kNeHotspotHelperCommandTypeFilterScanList()
here, the wireless access point information list may be a list including at least one piece of wireless access point information provided by the operating system of the execution subject, where the wireless access point information may include an access point identification. The access point identification is used for uniquely identifying the wireless access point.
In some optional implementations of this embodiment, the access point Identifier may be an SSID (Service Set Identifier) and/or a BSSID (Basic Service Set Identifier).
Optionally, the wireless access point information may also include signal strength information.
Step 202, 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, determining the access point number corresponding to the wireless access point information.
In this embodiment, the executing entity may determine, by using various implementation manners, an access point number corresponding to the wireless access point information according to an access point identifier in the wireless access point information, with respect to the wireless access point information in the wireless access point information list acquired in step 201. The value of the access point number may belong to a preset access point number value range. The determining of the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information may be performed locally by the execution main body, or may be performed by the execution main body sending the access point identifier in the wireless access point information to a server, then the server generates the access point number according to the received access point identifier, and sends the generated access point number to the execution main body, and then the execution main body determines the access point number received from the server as the access point number corresponding to the wireless access point information. As an example, the server may be a server that provides support for the target application.
In some optional implementations of this embodiment, determining, according to the access point identifier in the wireless access point information, an access point number corresponding to the wireless access point information may be performed as follows:
first, a Message Digest of the access point identifier in the wireless access point information may be generated using a preset Message Digest Algorithm (Message-Digest Algorithm). For example, the preset Message Digest Algorithm may be MD5(Message-Digest Algorithm 5, fifth edition of Message Digest Algorithm), SHA-1(Secure Hash Algorithm), a variation of MD5, a variation of SHA-1, and so forth.
Second, the numbers in the message digest may be extracted from left to right or from right to left, and the access point numbers corresponding to the wireless access point information may be generated in the order of left to right or right to left using the extracted numbers.
In some optional implementation manners of this embodiment, according to the access point identifier in the wireless access point information, determining the access point number corresponding to the wireless access point information may further be performed as follows: the Hash value of the access point identifier in the wireless access point information is calculated by using a preset Hash (Hash) function, also called Hash function, and the calculated Hash value is determined as the access point number corresponding to the wireless access point information, and the preset Hash function can map a character string with any length to a value range of the preset access point number.
In some optional implementation manners of this embodiment, according to the access point identifier in the wireless access point information, determining the access point number corresponding to the wireless access point information may further be performed as follows:
the first step, using the preset message abstract algorithm to calculate the information abstract of the access point identification in the wireless access point information. For example, the pre-defined message digest algorithm may be MD5, SHA-1, a variant of MD5, a variant of SHA-1, and so forth.
And secondly, calculating the hash value of the information abstract by using a preset hash function. Here, the preset hash function may map the fixed-length message digest into a positive integer space.
And thirdly, calculating the remainder of the hash value divided by a preset divisor, wherein the preset divisor can be a positive integer greater than 1. For example, the predetermined divisor may be 100, and the calculated remainder may be a positive integer between 1 and 99.
And fourthly, determining the remainder as the access point number corresponding to the wireless access point information.
As can be known from the calculation methods in the first to fourth steps, the value range of the preset access point number is a positive integer between 1 and 99.
In step 203, a display operation is performed on the wireless access point information in the wireless access point information list.
In this embodiment, the execution subject described above may perform a display operation on the wireless access point information in the wireless access point information list acquired in step 201. The display operation may include the following sub-steps 2031 and 2032:
substep 2031 of determining whether the access point number corresponding to the wireless access point information belongs to the pre-acquired value range of the display prompt information access point number.
In this embodiment, the executing entity may determine whether the access point number corresponding to the wireless access point information belongs to a pre-acquired value range of the display prompt information access point number, and if so, may go to sub-step 2032.
Here, the execution main body may obtain a value range of the display prompt information access point number in advance, where the preset value range of the access point number may include the value range of the display prompt information access point number. For example, the preset access point number may range from an integer of 0 to 99, and the display prompt information access point number may range from an integer of 0 to 40. For another example, the preset access point number range may be an integer between 0 and 99, and the display prompt information access point number range may be an odd number or an even number between 0 and 99.
In some optional implementation manners of this embodiment, the executing main body may obtain the value range of the preset access point number after the step 201 is executed and before the step 202 is executed.
In some optional implementation manners of this embodiment, the executing main body may also obtain the value range of the preset access point number after the step 202 is executed and before the step 203 is executed.
In this embodiment, the pre-acquired value range of the display prompt information access point number may be acquired locally or remotely by the execution main body from another electronic device connected to the execution main body through a network. As an example, the other electronic device may be a server providing support for the target application. The pre-acquired value range of the display prompt information access point number can also be a pre-set value range of the display prompt information access point number.
Substep 2032 of displaying prompt information corresponding to the wireless access point information in an interface for displaying a wireless access point information list in the system.
In this embodiment, in sub-step 2031, when it is determined that the access point number corresponding to the wireless access point information belongs to the pre-obtained value range of the display prompt information access point number, the executing body may display the prompt information corresponding to the wireless access point information in an interface of the system for displaying the wireless access point information list. As an example, here, the aforementioned prompt information may be used to instruct the user to open a target application to connect to the wireless access point. Here, the prompt information may include text and/or pictures. For example, the reminder information may be "open XX application," where "XX application" is the name of the target application.
In the present embodiment, the target application may be an application of the method for displaying wireless access point information installed in the execution apparatus described above.
In some optional implementations of this embodiment, in addition to the target application implementing the method for displaying the wireless access point information, the target application may also implement other operations, such as: connecting wireless access points, information push, news push, instant messaging, and the like.
In some optional implementation manners of this embodiment, the displaying operation may further include, in the sub-step 2031, in a case that it is determined that the access point number corresponding to the wireless access point information does not belong to the pre-acquired value range of the display hint information access point number, turning to the following sub-step 2033:
in sub-step 2033, the presentation information corresponding to the wireless access point information is not displayed.
Through step 203, for the wireless access point information whose access point number corresponding to the wireless access point information list belongs to the pre-acquired value range of the display prompt information access point number, the prompt information corresponding to the wireless access point information is already displayed in the interface of the system for displaying the wireless access point information list, so that the user can make feedback related to the prompt information after seeing the prompt information, and then enter the target application.
In some optional implementations of this embodiment, the executing main body may further execute, after step 203, the following step 204:
and step 204, responding to the received selection operation of the prompt information displayed in the interface used for displaying the wireless access point information list by the system by the user, and connecting the wireless access point indicated by the wireless access point information corresponding to the prompt information aimed at by the selection operation.
In this embodiment, since the user has opened the interface of the system for displaying the wireless access point information list, and the wireless access point information of which the access point number belongs to the pre-acquired value range of the display prompt information access point number is displayed in the interface of the system for displaying the wireless access point information list in step 203, when the user selects a certain prompt information, it indicates that the user wishes to connect the wireless access point indicated by the wireless access point information corresponding to the selected prompt information, and for this reason, the wireless access point indicated by the wireless access point information corresponding to the prompt information for which the selection operation of the user is directed may be connected.
Based on the optional implementation manner of step 204, the user may connect to the wireless access point by clicking the prompt message, which is convenient for the user to connect to the wireless access point.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the method for displaying wireless access point information according to the present embodiment. In the application scenario of fig. 3, a user first opens an interface of the system 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 interface of the system for displaying the wireless access point information list, so as to obtain the wireless access point information list. Next, in step 302, the terminal device determines an access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information for the wireless access point information in the wireless access point information list, and then in step 303, the terminal device performs a display operation for the wireless access point information in the wireless access point information list. Finally, the user selects the prompt information corresponding to the wireless access point information to be connected in the interface of the terminal device for displaying the wireless access point information list, and then in step 304, the terminal device receives the selection operation of the user on the prompt information displayed in the interface of the terminal device for displaying the wireless access point information list, so as to connect the wireless access point indicated by the wireless access point information corresponding to the prompt information for selecting the operation.
In the method provided by the above embodiment of the application, when it is detected that a user opens an interface of a system for displaying a wireless access point information list, a wireless access point information list is obtained, for the wireless access point information of the wireless access point information list, an access point number corresponding to the wireless access point information is determined according to an access point identifier in the wireless access point information, and finally, for the wireless access point information of the wireless access point information list, if it is determined that the access point number corresponding to the wireless access point information belongs to a pre-obtained value range of a display prompt information access point number, prompt information corresponding to the wireless access point information is displayed in the interface for displaying the wireless access point information list. Instead of displaying the prompt information for each wireless access point information, the prompt information is selectively displayed in the wireless access point information list, the display amount of the prompt information is reduced, the display speed of the prompt information can be improved, the user experience is improved, and the probability that the user switches to the interface of the target application after seeing the prompt information is increased.
With further reference to fig. 4, a flow 400 of yet another embodiment of a method for displaying wireless access point information is shown. The process 400 of the method for displaying wireless access point information includes the steps of:
step 401, in response to detecting that a user opens an interface of the system for displaying the wireless access point information list, acquiring the wireless access point information list.
In this embodiment, the specific operation of step 401 is substantially the same as the operation of step 201 in the embodiment shown in fig. 2, and is not described herein again.
Step 402, sending the wireless access point information in the wireless access point information list.
Here, the execution subject (for example, the terminal apparatus 101, 102, 103 shown in fig. 1) for displaying the wireless access point information may transmit the wireless access point information in the wireless access point information list acquired in step 401.
In some optional implementations of this embodiment, the executing entity may send the wireless access point information in the wireless access point information list acquired in step 401 to other electronic devices in network connection with the executing entity. The other electronic devices may query the password information corresponding to the wireless access point information after receiving the wireless access point information, and feed back the queried password information to the execution main body. Here, 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 identification information indicating whether there is a password of the wireless access point indicated by the wireless access point information. As an example, the other electronic device may be a server providing support for the target application.
In some optional implementation manners of this embodiment, the execution main body may send the wireless access point information in the wireless access point information list acquired in step 401 to a certain functional module in an application running in the execution main body. The functional module can inquire the password information corresponding to the wireless access point information after receiving the wireless access point information.
In some optional implementations of this embodiment, the execution main body may send each piece of wireless access point information in the wireless access point information list acquired in step 401.
In some optional implementations of this embodiment, the execution main body may send part of the wireless access point information in the wireless access point information list acquired in step 401.
Step 403, receiving password information corresponding to the wireless access point information in the wireless access point information list.
Here, the execution subject (for example, the terminal device 101, 102, 103 shown in fig. 1) for displaying the wireless access point information may receive the password information corresponding to the wireless access point information in the wireless access point information list.
In some optional implementations of this embodiment, the execution subject may receive password information corresponding to the wireless access point information in the wireless access point information list from another electronic device in network connection with the execution subject. As an example, the other electronic device may be a server providing support for the target application.
In some optional implementation manners of this embodiment, the execution main body may locally receive, from a certain functional module in an application running in the execution main body, password information corresponding to the wireless access point information in the wireless access point information list.
In step 404, for the wireless access point information that receives the password information in the wireless access point information list, the access point number corresponding to the wireless access point information is determined according to the access point identifier in the wireless access point information.
In this embodiment, the execution subject may determine, for the wireless access point information having received the password information in the wireless access point information list, an access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information. 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 substantially the same as the 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, which is described in step 202 in the embodiment shown in fig. 2, and is not described herein again.
Step 405, for the wireless access point information that has received the password information in the wireless access point information list, performing a display operation.
In this embodiment, the execution subject may execute the display operation with the wireless access point information of which the password information is received in the wireless access point information list. The specific operation of the display operation is substantially the same as the display operation described in step 203 in the embodiment shown in fig. 2, and is not described herein again.
Step 406, in response to receiving a selection operation of the user on the prompt information displayed in the interface of the system for displaying the wireless access point information list, connecting the wireless access point indicated by the wireless access point information corresponding to the prompt information targeted by the selection operation.
The specific operation of step 406 in this embodiment is substantially the same as the operation of step 204 in the embodiment shown in fig. 2, and is not repeated here.
As can be seen from fig. 4, compared with the embodiment corresponding to fig. 2, the flow 400 of the method for displaying wireless access point information in the present embodiment highlights the steps of calculating the access point number and performing the display operation only for the wireless access point information for which password information is queried in the wireless access point information list. Therefore, the scheme described in the embodiment can further reduce the calculation amount, further accelerate the information display speed of the wireless access point and improve the user experience.
With continued reference to fig. 5, fig. 5 is another schematic diagram of an application scenario of the method for displaying wireless access point information according to the present embodiment. In the application scenario of fig. 5, a user first opens an interface of the system 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 interface of the system for displaying the wireless access point information list, so as to obtain the wireless access point information list. Next, in step 502, the terminal device transmits the wireless access point information in the wireless access point information list to a server that provides support for the target application. In step 503, the server queries the password information corresponding to the received wireless access point information, and transmits the queried password information and the corresponding wireless access point information to the terminal device. Then, in step 504, the terminal device receives password information corresponding to the wireless access point information in the wireless access point information list from the server. Then, in step 505, the terminal device determines the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information for the wireless access point information receiving the password information in the wireless access point information list, and then in step 506, the terminal device performs a display operation for the wireless access point information receiving the password information in the wireless access point information list. Finally, the user selects the prompt information corresponding to the wireless access point information to be connected in the interface of the terminal device for displaying the wireless access point information list, and then in step 507, the terminal device receives the selection operation of the user on the prompt information displayed in the interface of the terminal device for displaying the wireless access point information list, so as to connect the wireless access point indicated by the wireless access point information corresponding to the prompt information for selecting operation.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing a terminal device of an embodiment of the present application. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM602, and RAM 603 are connected to each other via a bus 604. An Input/Output (I/O) interface 605 is also connected to bus 604.
To the I/O interface 605, AN input section 606 including a keyboard, a mouse, and the like, AN output section 607 including, for example, a Cathode Ray Tube (CRT), a liquid Crystal Display (L CD, &lttttranslation = L "&tttl &ttt/t &gttiacquired Crystal Display), and the like, a speaker, and the like, a storage section 608 including a hard disk and the like, and a communication section 609 including a network interface card such as L AN (local area network, L annular array) card, a modem, and the like are connected, the communication section 609 performs a communication process via a network such as the internet, a driver 610 is also connected to the I/O interface 605 as necessary, a removable medium 611 such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, and the like is mounted on the driver 610 as necessary so that a computer program read out therefrom is mounted into the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A 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 of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport 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, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an acquisition unit, a determination unit, and a display unit. The names of these units do not in some cases constitute a limitation on the unit itself, and for example, the acquisition unit may also be described as a "unit that acquires a wireless access point information list".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to the detected condition that a user opens an interface of a system for displaying a wireless access point information list, and acquiring the wireless access point information list, wherein the wireless access point information comprises an access point identifier of a wireless access point; for wireless access point information in a wireless access point information list, determining an access point number corresponding to the wireless access point information according to an access point identifier in the wireless access point information; for the wireless access point information in the wireless access point information list, the following display operations are performed: and in response to the fact that the access point number corresponding to the wireless access point information belongs to the pre-acquired value range of the display prompt information access point number, displaying prompt information corresponding to the wireless access point information in an interface used for displaying a wireless access point information list.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. A method for displaying wireless access point information, the method comprising:
responding to the detected user to open an interface of an operating system for displaying the wireless access point information list, and acquiring the wireless access point information list, wherein the wireless access point information comprises an access point identifier of a wireless access point;
for the wireless access point 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 identification in the wireless access point information;
for the wireless access point information in the wireless access point information list, performing the following display operations: and in response to the fact that the access point number corresponding to the wireless access point information belongs to the pre-acquired value range of the display prompt information access point number, displaying prompt information corresponding to the wireless access point information in an interface used for displaying the wireless access point information list by an operating system, wherein the prompt information is used for indicating a user to open a target application to connect the wireless access point.
2. The method of claim 1, further comprising:
and responding to the received selection operation of the user on prompt information displayed in an interface used by an operating system for displaying the wireless access point information list, and connecting the wireless access point indicated by the wireless access point information corresponding to the prompt information aimed at by the selection operation.
3. The method of claim 1, wherein the displaying operation further comprises:
and in response to determining that the access point number corresponding to the wireless access point information does not belong to the pre-acquired value range of the display prompt information access point number, not displaying the prompt information corresponding to the wireless access point information.
4. The method of claim 1, wherein before determining, for the wireless access point information in the wireless access point information list, an access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information, the method further comprises:
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.
5. The method of claim 4, wherein the determining, for the wireless access point information in the wireless access point information list, the access point number corresponding to the wireless access point information according to the access point identifier in the wireless access point information comprises:
and for the wireless access point information which receives 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 identification in the wireless access point information.
6. The method of claim 5, wherein the performing, for the wireless access point information in the list of wireless access point information, display operations comprising:
for the wireless access point information of which password information is received in the wireless access point information list, the following display operation is performed.
7. The method according to any one of claims 1 to 6, wherein the determining, according to the access point identifier in the wireless access point information, the access point number corresponding to the wireless access point information includes:
calculating the information abstract of the access point identification in the wireless access point information by using a preset message abstract algorithm;
calculating the hash value of the information abstract by using a preset hash function;
calculating the remainder of the hash value divided by a preset divisor;
and determining the remainder as the access point number corresponding to the wireless access point information.
8. The method of claim 7, wherein the value of the access point number belongs to a preset access point number value range, and the preset access point number value range includes the display prompt information access point number value range.
9. The method according to any one of claims 1 to 6, wherein the determining, according to the access point identifier in the wireless access point information, the access point number corresponding to the wireless access point information includes:
sending the access point identification in the wireless access point information to a server, wherein the server generates and sends an access point number according to the received access point identification;
and determining the access point number received from the server as the access point number corresponding to the wireless access point information.
10. A terminal device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-9.
11. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by one or more processors, implements the method of any one of claims 1-9.
CN201810507297.9A 2018-05-24 2018-05-24 Method and apparatus for displaying wireless access point information Active CN108811036B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810507297.9A CN108811036B (en) 2018-05-24 2018-05-24 Method and apparatus for displaying wireless access point information
PCT/CN2019/088114 WO2019223759A1 (en) 2018-05-24 2019-05-23 Method and device for displaying wireless access point information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810507297.9A CN108811036B (en) 2018-05-24 2018-05-24 Method and apparatus for displaying wireless access point information

Publications (2)

Publication Number Publication Date
CN108811036A CN108811036A (en) 2018-11-13
CN108811036B true CN108811036B (en) 2020-07-31

Family

ID=64091699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810507297.9A Active CN108811036B (en) 2018-05-24 2018-05-24 Method and apparatus for displaying wireless access point information

Country Status (2)

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

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108811036B (en) * 2018-05-24 2020-07-31 上海连尚网络科技有限公司 Method and apparatus for displaying wireless access point information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163058A (en) * 2007-11-20 2008-04-16 东南大学 Stream aggregation arbitrary sampling based packet measuring method
WO2016084865A1 (en) * 2014-11-27 2016-06-02 京セラ株式会社 User terminal and access point
CN107172685A (en) * 2017-07-26 2017-09-15 上海连尚网络科技有限公司 The method and apparatus that the information of WAP is shown in mobile terminal
CN107241727A (en) * 2017-07-28 2017-10-10 上海连尚网络科技有限公司 Method and apparatus for obtaining WAP information
CN107295607A (en) * 2017-07-05 2017-10-24 上海连尚网络科技有限公司 Method and apparatus for connecting WAP

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101806933B1 (en) * 2011-03-03 2018-01-10 삼성전자 주식회사 Short range wireless communication apparatus and method for connecting thereof
CN103379480B (en) * 2012-04-17 2019-03-01 腾讯科技(深圳)有限公司 Wireless network connecting method and device
US20140189082A1 (en) * 2012-12-28 2014-07-03 Futurewei Technologies, Inc. Local Partitioning in a Distributed Communication System
WO2015073594A1 (en) * 2013-11-12 2015-05-21 Wi-Lan Labs, Inc. Network selection recommender system and method
CN104135728B (en) * 2014-07-17 2015-10-14 腾讯科技(深圳)有限公司 Method for connecting network and device
CN104507158B (en) * 2014-12-30 2018-10-23 北京奇虎科技有限公司 A kind of method, apparatus and mobile terminal for establishing WLAN connection
CN105554760B (en) * 2016-01-29 2018-06-29 腾讯科技(深圳)有限公司 Wireless access point authentication method, apparatus and system
CN105682015B (en) * 2016-04-05 2017-10-31 上海连尚网络科技有限公司 A kind of method and apparatus for being used to set up wireless connection
CN107548125B (en) * 2017-08-23 2020-12-11 腾讯科技(深圳)有限公司 Wireless network access method, wireless network processing device, storage medium and computer equipment
CN108811036B (en) * 2018-05-24 2020-07-31 上海连尚网络科技有限公司 Method and apparatus for displaying wireless access point information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163058A (en) * 2007-11-20 2008-04-16 东南大学 Stream aggregation arbitrary sampling based packet measuring method
WO2016084865A1 (en) * 2014-11-27 2016-06-02 京セラ株式会社 User terminal and access point
CN107295607A (en) * 2017-07-05 2017-10-24 上海连尚网络科技有限公司 Method and apparatus for connecting WAP
CN107172685A (en) * 2017-07-26 2017-09-15 上海连尚网络科技有限公司 The method and apparatus that the information of WAP is shown in mobile terminal
CN107241727A (en) * 2017-07-28 2017-10-10 上海连尚网络科技有限公司 Method and apparatus for obtaining WAP information

Also Published As

Publication number Publication date
WO2019223759A1 (en) 2019-11-28
CN108811036A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN110708346B (en) Information processing system and method
CN107622135B (en) Method and apparatus for displaying information
US11012926B2 (en) Methods and apparatus for acquiring wireless access points information
US11038975B2 (en) Information pushing method and device
CN107302597B (en) Message file pushing method and device
CN106874471B (en) Information pushing method and device
US10614621B2 (en) Method and apparatus for presenting information
CN107770380B (en) Information processing method and device
US11244153B2 (en) Method and apparatus for processing information
CN108011949B (en) Method and apparatus for acquiring data
CN109992719B (en) Method and apparatus for determining push priority information
CN110889000B (en) Method and apparatus for outputting information
CN111125503B (en) Method and apparatus for generating information
CN110543604A (en) information processing method and device
CN109471713B (en) Method and device for inquiring information
CN108811036B (en) Method and apparatus for displaying wireless access point information
CN110619101B (en) Method and apparatus for processing information
CN116861397A (en) Request processing method, device, electronic equipment and computer readable medium
CN108494982B (en) Method and apparatus for generating information
CN114116247A (en) Redis-based message processing method, device, system, server and medium
CN111737218A (en) File sharing method and device
CN107181772B (en) Method and device for updating client state on line in real time
CN111291199B (en) Information query method and device
CN111414566A (en) Method and device for pushing information
CN111294657A (en) Information processing method and device

Legal Events

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