CN107548125B - Wireless network access method, wireless network processing device, storage medium and computer equipment - Google Patents

Wireless network access method, wireless network processing device, storage medium and computer equipment Download PDF

Info

Publication number
CN107548125B
CN107548125B CN201710731809.5A CN201710731809A CN107548125B CN 107548125 B CN107548125 B CN 107548125B CN 201710731809 A CN201710731809 A CN 201710731809A CN 107548125 B CN107548125 B CN 107548125B
Authority
CN
China
Prior art keywords
wireless network
identifier
terminal
access
mark
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
CN201710731809.5A
Other languages
Chinese (zh)
Other versions
CN107548125A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710731809.5A priority Critical patent/CN107548125B/en
Publication of CN107548125A publication Critical patent/CN107548125A/en
Application granted granted Critical
Publication of CN107548125B publication Critical patent/CN107548125B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a wireless network access method, a wireless network processing method, a wireless network access device, a storage medium and computer equipment, wherein the wireless network access method comprises the following steps: acquiring candidate wireless network identifications; mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence; determining a marker value corresponding to the location identity in the sequence of marker values; selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known; and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value. The scheme provided by the application improves the efficiency of accessing the wireless network.

Description

Wireless network access method, wireless network processing device, storage medium and computer equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a wireless network access method, a wireless network processing method, a wireless network access device, a wireless network processing device, a storage medium, and a computer device.
Background
With the development of computer technology and the popularization of wireless networks, mobile terminals can access wireless networks, and further realize various network-based functions through the wireless networks. At present, a user can enter a wireless access point setting page through a connection setting entry provided by a mobile terminal, and select from a plurality of wireless networks presented on the page to connect the wireless networks.
However, the connection setting entry of the wireless access point provided by the mobile terminal is among a plurality of setting items, and the user needs to enter the setting item, select the connection setting entry, and select the wireless network from a plurality of wireless networks for connection.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a wireless network access method, a wireless network access processing apparatus, a storage medium, and a computer device, which address the problem of inefficient access to a wireless network.
A wireless network access method, comprising:
acquiring candidate wireless network identifications;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
A wireless network access device, comprising:
the acquisition module is used for acquiring candidate wireless network identifiers;
the mapping module is used for mapping the wireless network identifier into a position identifier, and the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
a determining module, configured to determine a tag value corresponding to the location identifier in the tag value sequence;
a selecting module, configured to select a flag value from the determined flag values, where the selected flag value indicates that an access credential corresponding to a corresponding wireless network identifier is known;
and the access module is used for accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
A computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, cause the processor to perform the steps of:
acquiring candidate wireless network identifications;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
A computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of:
acquiring candidate wireless network identifications;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
According to the wireless network access method, the wireless network access device, the storage medium and the computer equipment, after the candidate wireless network identifiers are obtained, the wireless network identifiers are mapped to the position identifiers representing the positions of the corresponding identifier values in the identifier value sequence, the identifier values corresponding to the mapped position identifiers in the identifier value sequence are determined, and then the identifier values representing the known access credentials corresponding to the corresponding wireless network identifiers are automatically selected from the determined identifier values, so that the wireless network corresponding to the wireless network identifier corresponding to the selected identifier value can be accessed, the wireless network does not need to enter a wireless network setting page through a connection setting entrance of the wireless network to select the wireless network, and the efficiency of accessing the wireless network is improved.
A wireless network processing method, comprising:
collecting access credentials corresponding to the wireless network identifiers;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and issuing the updated mark value sequence to a terminal.
A wireless network processing apparatus, comprising:
the collection module is used for collecting the access certificate corresponding to the wireless network identifier;
the mapping module is used for mapping the wireless network identifier into a position identifier, and the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
a determining module, configured to determine a tag value corresponding to the location identifier in the tag value sequence;
the updating module is used for updating the determined flag value, and the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and the issuing module is used for issuing the updated mark value sequence to the terminal.
A computer readable storage medium having computer readable instructions stored thereon which, when executed by a processor, cause the processor to perform the steps of:
collecting access credentials corresponding to the wireless network identifiers;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and issuing the updated mark value sequence to a terminal.
A computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of:
collecting access credentials corresponding to the wireless network identifiers;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and issuing the updated mark value sequence to a terminal.
The wireless network processing method, the wireless network processing device, the storage medium and the computer equipment collect the wireless network identification and the corresponding access certificate, map the wireless network identification collected to the access certificate into the position identification representing the position of the corresponding mark value in the mark value sequence, thereby determining the mark value corresponding to the position identification in the mark value sequence, further updating the mark value into the state that the access certificate corresponding to the corresponding wireless network identification is known, and then issuing the updated mark value sequence to the terminal. Therefore, the terminal can screen out the wireless network identification of the known access credential through the mark value sequence, and then performs wireless network connection, and does not need to enter a wireless network setting page through a connection setting inlet of the wireless network to select the wireless network, so that the efficiency of accessing the wireless network is improved.
Drawings
FIG. 1 is a diagram of an exemplary wireless network access method;
FIG. 2 is a flow diagram of a wireless network access method in one embodiment;
fig. 3 is a schematic diagram illustrating an embodiment of selecting a flag value corresponding to a radio network identifier;
FIG. 4 is an interface diagram illustrating a wireless network identifier corresponding to a selected tag value, according to an embodiment;
FIG. 5 is a schematic diagram illustrating an embodiment of obtaining access credentials of a wireless network from a server;
fig. 6 shows the wireless network identification corresponding to the received access credential in one embodiment;
fig. 7 is a flow chart illustrating a wireless network access method in another embodiment;
FIG. 8 is a flow diagram of a wireless network processing method in one embodiment;
FIG. 9 is a timing diagram illustrating terminal interaction with a server in one embodiment;
FIG. 10 is a block diagram of a wireless network access device in one embodiment;
fig. 11 is a block diagram of a wireless network access device in another embodiment;
FIG. 12 is a block diagram of a wireless network processing device in one embodiment;
fig. 13 is a block diagram of a wireless network processing device in another embodiment;
FIG. 14 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 15 is an internal structural view of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a diagram of an application environment of a wireless network access method in one embodiment. Referring to fig. 1, the wireless network access method is applied to a wireless network access system. The wireless network access system includes a terminal 110 and a server 120. The terminal 110 and the server 120 are connected through a network. The terminal 110 may specifically be a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be a separate physical server or a cluster of physical servers. The terminal 110 is used to perform the wireless network access method. The terminal 110 may obtain a candidate wireless network identifier and map the wireless network identifier to a location identifier indicating a location of a corresponding tag value in the tag value sequence. The terminal 110 may further determine the tag values corresponding to the location identifiers in the tag value sequence, select, from the determined tag values, a tag value indicating that the access credential corresponding to the corresponding wireless network identifier is known, and access the wireless network corresponding to the wireless network identifier corresponding to the selected tag value. The flag value sequence may be a flag value sequence locally stored in the terminal, or a flag value sequence issued by the server 120.
In one embodiment, the wireless network processing method may also be applied to the application environment shown in fig. 1. The server 120 may collect the access credentials corresponding to the radio network identities and map the radio network identities to location identities indicating where the corresponding tag values are located in the sequence of tag values. The server 120 may determine the tag values corresponding to the location identifiers in the tag value sequence, update the determined tag values to the tag values indicating that the access credentials corresponding to the corresponding wireless network identifiers are known, and then send the updated tag value sequence to the terminal 110. The access credential collected by the server 120 may be an access credential reported by the terminal 110.
Fig. 2 is a flow chart illustrating a wireless network access method according to an embodiment. The embodiment is mainly illustrated by applying the method to the terminal 110 in fig. 1. Referring to fig. 2, the wireless network access method specifically includes the following steps:
s202, acquiring candidate wireless network identifications.
The wireless network identification is used for identifying a wireless network. And finding the access point of the wireless network through the wireless network identification to access the wireless network. The candidate wireless network identifications are alternative wireless network identifications. The terminal may select one of the candidate radio network identifications to access the radio network.
In one embodiment, the wireless network identification includes at least one of a wireless network name of the respective wireless network and a physical address of a gateway device corresponding to the respective wireless network. The wireless network name may be specifically represented by an SSID (Service Set Identifier), and the physical address of the gateway device corresponding to the wireless network may be specifically represented by a BSSID (Basic Service Set Identifier).
For example, the wireless network identifier may be represented by SSID, such as "city" or "free"; can be represented by BSSID such as "8 c: a6: df: if:7a:3 c" or "fc: a6:33:94: a0:3 c" etc.; it is also possible to use the SSID and BSSID in a common representation, which may include a direct concatenation or a connection via an intermediate connector. E.g. "city 8c: a6: df: if:7a:3 c" or "free-fc: a6:33:94: a0:3 c", etc
In one embodiment, the wireless network identifier is represented by the wireless network name of the corresponding wireless network and the physical address of the gateway device corresponding to the corresponding wireless network, so that one wireless network can be uniquely identified, and the accuracy and the uniqueness of the wireless network identifier are improved.
In one embodiment, the terminal may call a wireless network search interface provided by the operating system to search for wireless networks available for connection, thereby obtaining candidate wireless network identifications.
In one embodiment, the terminal may obtain an image obtained by screenshot of the wireless network setting interface. And the wireless network management application running in the terminal identifies the screenshot of the wireless network setting interface to acquire the wireless network identifier in the wireless network setting interface, so as to acquire the candidate wireless network identifier. The wireless network setting interface is used for displaying the wireless network identification searched by the wireless network searching interface provided by the operating system.
In one embodiment, the terminal may recognize the wireless network identification from the image through an OCR (Optical Character Recognition) technique. It will be appreciated that other identification techniques may be used by the terminal to identify the wireless network identity from the image. The specific identification technology of how to identify the wireless network identifier in the image into the computer text is not limited, as long as the wireless network identifier can be identified from the image.
In an embodiment, the image obtained by screenshot on the wireless network setting interface may be an image obtained by screenshot on the wireless network setting interface of the terminal, a received image obtained by screenshot on a wireless network setting interface of a terminal other than the terminal, or an image obtained by shooting the wireless network setting interface of the terminal other than the terminal to obtain the image of the wireless network setting interface. The wireless networks searched by the terminals other than the terminal include part or all of the wireless networks searched by the terminal.
And S204, mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of the corresponding mark value of the wireless network identifier in the mark value sequence.
Wherein the sequence of flag values comprises a series of flag values. The flag value has two values, which are respectively used for indicating whether the access credential corresponding to the corresponding wireless network identifier is known or unknown. The position indicator is used to indicate a specific position of the tag value in the tag value sequence.
The access credentials are data upon which the wireless network is accessed. The access credential may be a password, a swipe gesture, a biometric, or the like. Wherein, the password may include at least one of numbers, letters and punctuation marks; the sliding gesture can be represented by a position point sequence formed by a plurality of position points in sequence; biometric features such as fingerprint features, face features, voice print features, or iris features, etc.
The access credential corresponding to the wireless network identifier is known and indicates that the access credential corresponding to the wireless network identifier can be acquired. The access credential may be a locally found access credential, or may be obtained from a device having an access credential matching function. The terminal has an access credential matching function, and can match the access credential for the wireless network identifier sent by the terminal. It can be understood that the device with the access credential matching function is not limited to the access credential matching function, and may have other functions. In one embodiment, the device with access credential matching functionality may be a server.
Correspondingly, the access credential corresponding to the wireless network identifier is unknown, which indicates that the access credential corresponding to the wireless network identifier cannot be acquired.
Specifically, the terminal may map the wireless network identifier into a location identifier indicating a location of the corresponding identifier value in the identifier value sequence according to a mapping relationship between the wireless network identifier and the location identifier.
In an embodiment, the mapping relationship between the wireless network identifier and the location identifier may specifically be a mapping function that takes the wireless network identifier as an independent variable and takes the location identifier as a dependent variable. The mapping function may be a hash function. The hash function is called a hash function, and can compress an input with an arbitrary length into an output with a preset length, and the output is called a hash value.
In one embodiment, the terminal may input a mapping function to map a wireless network identifier obtained by combining a wireless network name of the wireless network and a physical address of a gateway device corresponding to the wireless network, and the obtained output is a location identifier of a location where the corresponding tag value is located in the tag value sequence. Or, the terminal may input the combined wireless network identifier into the first mapping function to obtain an intermediate value, and then input the intermediate value into the second mapping function to obtain the location identifier. When the number of the acquired wireless network identifiers is multiple, each wireless network identifier needs to be mapped to a location identifier.
And the value range of the mapping function is fixed and is a value set of the position identification of the mark value sequence. Assuming that the sequence of flag values includes m flag values in total, and the corresponding locations are identified as 0, 1, … …, m-1, the value range of the mapping function is [0, m-1 ].
In one embodiment, the number of the flag value sequences stored in the terminal may be multiple, and the flag value sequence corresponds to the area to which the radio network identifier corresponding to the flag value in the flag value sequence belongs. That is, the corresponding tag values of the radio network identifiers belonging to the same area are in the same tag value sequence. The area to which the wireless network identifier belongs may be a geographical area to which a network protocol address of a wireless network corresponding to the wireless network identifier belongs.
Further, the terminal may set a default flag value sequence, and map the wireless network identifier to a location identifier indicating a location of the corresponding flag value in the default flag value sequence. The default flag value sequence may be the flag value sequence that is used most frequently. The terminal may also record a timestamp storing the sequence of tag values, and map the wireless network identifier to a location identifier indicating the location of the corresponding tag value in the latest sequence of tag values of the timestamp.
S206, determining the mark value corresponding to the position mark in the mark value sequence.
Specifically, after mapping the wireless network identifier to a location identifier indicating a location of the corresponding identifier value in the identifier value sequence, the terminal checks the identifier value at the location identified by the location identifier in the identifier value sequence. When the number of the acquired wireless network identifiers is multiple, the corresponding flag value of the position identifier mapped by each wireless network identifier in the flag value sequence needs to be determined respectively.
For example, assuming that the flag value sequence includes m flag values, the locations mapped by the radio network identifier are identified as 2, 8, and m-3. The terminal can look at the 2 nd, 8 th and m-3 rd tag values in the tag value sequence, respectively.
And S208, selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known.
Specifically, the flag value has two values, which are respectively used to indicate whether the access credential corresponding to the corresponding wireless network identifier is known or unknown. The terminal can traverse the determined flag value, and judge whether the traversed flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known or indicates that the access credential corresponding to the corresponding wireless network identifier is unknown, so as to execute different actions according to the judgment result. And when the terminal judges that the traversed mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known, the mark value is selected if the access credential corresponding to the wireless network identifier corresponding to the mark value can be acquired. And when the terminal judges that the traversed mark value indicates that the access credential corresponding to the corresponding wireless network identifier is unknown, the access credential corresponding to the wireless network identifier corresponding to the mark value cannot be acquired, and filtering the mark value.
And S210, accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
Specifically, the terminal may locally search for the access credential corresponding to the wireless network identifier corresponding to the selected flag value, so as to access the wireless network corresponding to the wireless network identifier corresponding to the selected flag value according to the searched access credential. The terminal can also send the wireless network identifier corresponding to the selected mark value to the device with the access certificate matching function, and obtain the access certificate corresponding to the wireless network identifier corresponding to the selected mark value returned by the device, so that the wireless network corresponding to the wireless network identifier corresponding to the selected mark value is accessed according to the received access certificate.
In an embodiment, if only one selected flag value is selected, the terminal may access the wireless network corresponding to the wireless network identifier corresponding to the flag value according to an access instruction triggered by the user. The terminal can also directly and automatically access the wireless network corresponding to the wireless network identifier corresponding to the mark value after selecting the mark value.
If more than one selected mark value exists, the terminal can access the wireless network corresponding to the wireless network identifier corresponding to the mark value appointed by the user according to the access instruction triggered by the user. After the terminal selects the mark value, the terminal can automatically select a wireless network access corresponding to the wireless network identifier corresponding to the mark value from the selected mark value directly according to a pre-configured strategy. The pre-configured policy may be to automatically select a wireless network according to the signal quality score of the wireless network corresponding to the wireless network identifier corresponding to the flag value, and/or according to the stability of the wireless network corresponding to the wireless network identifier corresponding to the flag value.
According to the wireless network access method, after the candidate wireless network identifiers are obtained, the wireless network identifiers are mapped to the position identifiers representing the positions of the corresponding mark values in the mark value sequence, the mark values corresponding to the mapped position identifiers in the mark value sequence are determined, and then the mark values representing the known access certificates corresponding to the corresponding wireless network identifiers are automatically selected from the determined mark values, so that the wireless networks corresponding to the wireless network identifiers corresponding to the selected mark values can be accessed, the wireless networks do not need to enter the wireless network setting page through the connection setting entrance of the wireless networks to select the wireless networks, and the efficiency of accessing the wireless networks is improved.
In one embodiment, mapping the wireless network identity to a location identity comprises: and mapping the wireless network identification into a position identification by adopting a plurality of mapping functions. Selecting a flag value among the determined flag values comprises: and selecting a mark value which is the same as a preset mark value from the determined mark values, wherein the mark values corresponding to the position marks mapped by the wireless network marks corresponding to the selected mark values are the same as the preset mark values, and the preset mark values are used for indicating that the access credentials corresponding to the wireless network marks are known.
Because the situation that different wireless network identifications are mapped to the same position identification exists when one wireless network identification with longer character length is mapped to one position identification with shorter character length, the wireless network with known access evidence can be filtered out due to misjudgment with certain probability. Therefore, in this embodiment, a plurality of mapping functions are used for mapping respectively.
Specifically, the terminal may map the wireless network identifier to a location identifier indicating a location of each of the plurality of corresponding tag values in the tag value sequence by using a plurality of different mapping functions. And then for each wireless network identifier, respectively determining the corresponding mark values of the plurality of position identifiers mapped by the current wireless network identifier in the mark value sequence, and if and only if the mark values are the same as the preset mark values, that is, the mark values all indicate that the access credentials corresponding to the corresponding wireless network identifier are known, determining that the access credentials corresponding to the current wireless network identifier are known, thereby selecting the mark value corresponding to the position identifier mapped by the wireless network identifier.
For example, assume that the candidate wireless network is identified as a. The two mapping functions are K1 and K2, respectively. A was mapped to A1 using K1 and A was mapped to A2 using K2. The flag value corresponding to a1 in the flag value sequence is a1, and the flag value corresponding to a2 is a 2. Then, the flag values corresponding to a are a1 and a2, and only when a1 and a2 both indicate that the access credentials corresponding to the corresponding wireless network identifier are known, it is determined that the access credentials of a can be acquired, and then the flag values corresponding to a are selected as a1 and a 2.
For another example, assume that the candidate wireless network id is a and the preset flag value is 1. The two mapping functions are K1 and K2, respectively. A was mapped to A1 using K1 and A was mapped to A2 using K2. The flag value corresponding to a1 in the flag value sequence is 1, and the flag value corresponding to a2 is also 1. Then, if the flag values corresponding to a are the same as the preset flag values, that is, the flag values indicate that the access credentials corresponding to the corresponding wireless network identifiers are known, it is determined that the access credentials of a can be acquired, and then the flag values corresponding to a are selected as a1 and a 2.
In this embodiment, the wireless network identifier is mapped to a plurality of location identifiers through a plurality of mapping functions, and only if the flag values corresponding to the location identifiers in the flag value sequence all indicate that the access credentials corresponding to the corresponding wireless network identifier are known, the access credentials corresponding to the wireless network identifier are considered to be known. Therefore, the misjudgment rate can be reduced, and the wireless network identifications which do not need to be filtered are prevented from being filtered due to misjudgment.
In one embodiment, S210 includes: displaying the wireless network identification corresponding to the selected mark value; detecting a selection instruction of a currently displayed wireless network identifier; and accessing the wireless network corresponding to the wireless network identification specified by the selection instruction.
Wherein the selection instruction is an instruction to select a wireless network identifier. The selection instruction can be triggered by touch operation, pressing operation on a physical key, voice control operation or shaking operation sensed by a motion sensor in the terminal. The touch operation may be a touch-and-click operation, a touch long-press operation, a slide operation, a multi-touch operation, or the like. The selection instruction specifies the wireless network to be connected, so that the terminal can determine the wireless network to be connected according to the selection instruction and connect.
Specifically, the terminal can display the wireless network identifier corresponding to the selected mark value, obtain a selection instruction of the user for the displayed wireless network identifier, select the wireless network identifier according to the selection instruction, and then access the wireless network corresponding to the wireless network identifier specified by the selection instruction.
The terminal can search the access certificate corresponding to the wireless network identifier specified by the selection instruction locally, so that the wireless network corresponding to the wireless network identifier specified by the selection instruction is accessed according to the searched access certificate. The terminal can also send the wireless network identifier specified by the selection instruction to the equipment with the access certificate matching function, and obtain the access certificate corresponding to the wireless network identifier specified by the selection instruction returned by the equipment, so that the wireless network corresponding to the wireless network identifier specified by the selection instruction is accessed according to the received access certificate.
Fig. 3 shows a schematic diagram of the principle of selecting the corresponding flag value of the wireless network identifier according to an embodiment. Referring to fig. 3, the terminal may perform a wireless network search to obtain candidate wireless network identifiers. Wherein, the wireless network identification is jointly represented by SSID and BSSID. The terminal can map the wireless network identifier into a position identifier which represents the position of the corresponding identifier value in the identifier value sequence, then determines the identifier values corresponding to the position identifiers in the identifier value sequence to obtain the identifier values corresponding to the wireless network identifiers, and therefore the identifier values which represent the known access credentials corresponding to the corresponding wireless network identifiers can be selected from the identifier values to screen out the wireless network identifiers corresponding to the selected identifier values. Fig. 4 is a diagram illustrating an interface showing a wireless network identifier corresponding to a selected tag value in one embodiment. Referring to fig. 4, the interface includes a wireless network identification 410 for which the corresponding access credential is known.
In this embodiment, after the flag value indicating that the access credential corresponding to the corresponding wireless network identifier is known is locally screened out, the wireless network identifier corresponding to the screened flag value is immediately displayed, so that the wireless network identifier which can be quickly displayed by a user is selected, the wireless network access efficiency is improved, and the user experience is improved.
In one embodiment, the wireless network access method further comprises: sending the wireless network identification to a server; receiving an access credential returned by the server after searching the access credential according to the wireless network identifier; and after the wireless network identification corresponding to the selected mark value is displayed, updating and displaying the wireless network identification corresponding to the received access credential.
Specifically, the terminal may send the candidate wireless network identifications to the server, and the server may match the access credentials for the received wireless network identifications. In one embodiment, the server has a pre-stored wireless network identification and corresponding access credentials. The server may compare the received wireless network identifier with a pre-stored wireless network identifier, and when the received wireless network identifier is the same as the pre-stored wireless network identifier, may obtain an access credential corresponding to the pre-stored wireless network identifier as an access credential matched with the received wireless network identifier. And one or more wireless network identifications which can be matched with the access certificate in the wireless network identifications sent by the terminal. The access credentials matched to one wireless network identification may be one or more.
In one embodiment, the server may only return the found access credentials. Specifically, the server may feed back the access credentials corresponding to the found wireless network identifiers according to the sequence in which the wireless network identifiers are sent by the terminal. If the wireless network identification of the corresponding access credential is not found, the access credential corresponding to the wireless network identification is represented by a null byte.
In one embodiment, the server may return the wireless network identification and the access credential found to the access credential at the same time. When the number of the wireless network identifications matched with the access certificate is multiple, the server can send the access certificate matched with the wireless network identification in a random sequence, and can also send the access certificate after sequencing the corresponding access certificate according to the heat of the wireless network identification. The popularity of the wireless network identifier refers to a parameter for reflecting the popularity of the wireless network corresponding to the wireless network identifier. Specifically, the heat may be a parameter such as a connection access amount or a connection access frequency of a wireless network corresponding to the wireless network identifier.
For example, assuming that the wireless network identifications matched to the access credentials are A, B and C, a corresponds to an access amount of 20, B corresponds to an access amount of 100, C corresponds to an access amount of 60, an access credential corresponding to a is p1, an access credential corresponding to B is p2, and an access credential corresponding to C is p3, a: p1, B: p2 and C: p3, or the access credentials may be obtained by sorting the access volumes according to the order of B: p2, C: p3 and A: p1, sending the access certificate according to the ordering.
In one embodiment, when one wireless network identification is matched to multiple access credentials, the server may also order the matched multiple access credentials. And further, the server feeds back the sequenced access certificate matched with the wireless network identifier sent by the terminal to the terminal. In an embodiment, the server may send all the matched access credentials, or may screen the matched access credentials according to a certain screening rule, and feed back the screened matched access credentials to the terminal.
Fig. 5 is a schematic diagram illustrating the acquisition of the access credential of the wireless network from the server in one embodiment. Referring to fig. 5, the terminal may perform a wireless network search to obtain candidate wireless network identifiers. Wherein, the wireless network identification is jointly represented by SSID and BSSID. The terminal can send the wireless network identification to the server, and the server searches the access credential and returns the access credential according to the received wireless network identification, so that the terminal can update and display the wireless network identification corresponding to the received access credential. Fig. 6 shows a diagram illustrating a wireless network identifier corresponding to a received access credential in one embodiment. Referring to fig. 6, the interface includes a wireless network identification 610 corresponding to the received access credential.
In this embodiment, when the candidate wireless network identifiers are obtained, the access credentials corresponding to the wireless network identifiers are pulled from the server in real time, so that the local storage pressure caused by storing the access credentials locally is avoided, and meanwhile, the risk of access credential leakage caused by storing the access credentials locally is avoided to a certain extent.
In one embodiment, presenting the wireless network identifier corresponding to the selected tag value includes: determining the wireless network identifier corresponding to the selected mark value; inquiring recommendation scores corresponding to the determined wireless network identifiers; and displaying the determined wireless network identifications in a descending order according to the recommended scores.
Wherein the recommendation score is a degree to which the wireless network is recommended to connect. The higher the recommendation score, the higher the degree to which the wireless network is recommended to connect.
Specifically, the server may collect quality quantization data of the wireless network corresponding to the existing wireless network identifier from a plurality of channels. The quality quantization data refers to quantization data for measuring the quality of the wireless network. In one embodiment, the quality quantification data includes the number of connections of the corresponding wireless network, signal strength, signal stability, and the like. The server can further adopt a preset function to calculate the quality quantization data to obtain a recommendation score of the corresponding wireless network, and the recommendation score reflects the quality of the wireless network. The better the quality of the wireless network, the higher the recommendation score, the greater the probability that the terminal successfully accesses the wireless network.
The preset function can be a weighted summation function, and the data included in the quality quantization data are weighted and summed according to corresponding positive weights to obtain the recommendation scores of the corresponding wireless networks.
In the embodiment, the probability that the radio network identifier which is displayed in the front is selected is high, the radio network identifier is displayed in a descending order according to the recommended value, so that the recommended value is higher, the radio network with better network quality is selected to be accessed, the radio network access efficiency is improved, and the user experience is improved.
In one embodiment, the wireless network access method further comprises: acquiring a network protocol address corresponding to a currently accessed wireless network; sending a terminal identification and a network protocol address corresponding to the terminal to a server; and receiving a mark value sequence which is returned by the server, matched with the area to which the network protocol address belongs and unmatched with the area corresponding to the terminal identification.
Wherein the network protocol address is an address credential for conducting network communications. The network Protocol Address may specifically be an IP Address (Internet Protocol Address).
Specifically, after accessing the wireless network, the terminal may obtain a network protocol address corresponding to the currently accessed wireless network, and send a terminal identifier and the network protocol address corresponding to the terminal to the server. After receiving the terminal identification and the network protocol address sent by the terminal, the server determines the area to which the network protocol address belongs, searches the area stored on the server and corresponding to the terminal identification, compares the two areas, and feeds back the mark value sequence matched with the area to which the network protocol address belongs to the terminal when the area to which the network protocol address belongs is inconsistent with the area corresponding to the terminal identification.
The area corresponding to the terminal identifier stored in the server may be an area to which a network protocol address last sent by the terminal corresponding to the terminal identifier belongs, or a default area to which the terminal corresponding to the terminal identifier belongs. The server can call the public service interface to obtain the area to which the network protocol address belongs. For example, the network protocol address is used as a request parameter, a search interface of the search platform is called, and an area to which the network protocol address returned by the search platform belongs is received. The server can also search the network protocol address library to obtain the area to which the received network protocol address belongs.
In one embodiment, the terminal may send the wireless network connection information to the server each time after accessing the wireless network. The wireless network connection information may include a wireless network identifier, an access credential, and a network protocol address of a currently accessed wireless network. After collecting the wireless network connection information sent by the terminal, the server divides the wireless network according to the area to which the corresponding network protocol address belongs to obtain the wireless network library corresponding to each area. The server can generate a corresponding mark value sequence for each wireless network library, and when a network protocol address corresponding to the currently accessed wireless network sent by the terminal is received, the returned mark value sequence which is matched with the area to which the network protocol address belongs and is not matched with the area corresponding to the terminal identifier.
In the above embodiment, the wireless network is divided according to the region to which the wireless network belongs, and the wireless networks in different regions correspond to different flag value sequences, so that the data storage of each flag value sequence is greatly reduced, and the waste of resources is avoided. And screening is carried out in part of wireless networks obtained by regional division, so that the efficiency of screening the known mark values of the access certificates corresponding to the corresponding wireless network identifiers is improved compared with screening from all the wireless networks, and the wireless network access efficiency is further improved.
As shown in fig. 7, in a specific embodiment, the wireless network access method specifically includes the following steps:
s702, acquiring a candidate wireless network identifier, wherein the wireless network identifier comprises at least one of a wireless network name of a corresponding wireless network and a physical address of a gateway device corresponding to the corresponding wireless network.
Specifically, the terminal may obtain an application start instruction triggered by a user, and start a wireless network connection application installed locally according to the application start instruction. After the terminal runs the wireless network connection application, the wireless network connection application can receive a wireless network searching instruction triggered by a user, and the wireless network searching instruction is responded to search nearby wireless networks, so that candidate wireless network identifiers are obtained.
S704, mapping the wireless network identifier into a position identifier by adopting a plurality of mapping functions, wherein the position identifier is used for indicating the position of the corresponding mark value of the wireless network identifier in the mark value sequence.
S706, the mark value corresponding to the position mark is determined in the mark value sequence.
S708, judging whether the flag values corresponding to the position identifiers mapped by the same wireless network identifier are the same as preset flag values, wherein the preset flag values are used for indicating that the access credentials corresponding to the wireless network identifier are known; if yes, jumping to S710; if not, jumping to S702.
S710, selecting the mark value corresponding to the position mark mapped by the same wireless network mark.
S712, determining the wireless network identifier corresponding to the selected mark value; inquiring recommendation scores corresponding to the determined wireless network identifiers; and displaying the determined wireless network identifications in a descending order according to the recommended scores.
S714, the wireless network identification is sent to a server; and receiving the access credential returned by the server after searching the access credential according to the wireless network identifier.
S716, determining the wireless network identifier corresponding to the received access credential; inquiring recommendation scores corresponding to the determined wireless network identifiers; and displaying the determined wireless network identifications in a descending order according to the recommended scores.
S718, detecting a selection instruction of the currently displayed wireless network identifier; and accessing the wireless network corresponding to the wireless network identification specified by the selection instruction.
Specifically, the terminal can detect a selection instruction of a user for a currently displayed wireless network identifier, determine the wireless network identifier specified by the selection instruction, then call an access certificate corresponding to the wireless network identifier, and then access the wireless network according to the determined wireless network identifier and the called access certificate.
S720, acquiring a network protocol address corresponding to the currently accessed wireless network; and sending the terminal identification and the network protocol address corresponding to the terminal to a server.
And S722, receiving a mark value sequence which is returned by the server, is matched with the area to which the network protocol address belongs and is not matched with the area corresponding to the terminal identification.
In this embodiment, after the candidate wireless network identifiers are obtained, the wireless network identifiers are mapped to position identifiers indicating positions of corresponding identifier values in the identifier value sequence, the identifier values corresponding to the mapped position identifiers in the identifier value sequence are determined, and then the identifier values indicating that the access credentials corresponding to the corresponding wireless network identifiers are known are automatically selected from the determined identifier values, so that the wireless network corresponding to the wireless network identifier corresponding to the selected identifier value can be accessed, and the wireless network does not need to enter a wireless network setting page through a connection setting entry of the wireless network to select the wireless network, thereby improving the efficiency of accessing the wireless network.
Fig. 8 is a flow diagram of a wireless network processing method in one embodiment. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. Referring to fig. 8, the wireless network processing method specifically includes the following steps:
s802, collecting the access certificate corresponding to the wireless network identification.
Specifically, when the terminal accesses the wireless network each time, the terminal can report the wireless network identifier and the access credential of the currently accessed wireless network to the server in an active sharing manner, and the server collects the access credential corresponding to the wireless network identifier.
S804, the wireless network identification is mapped to a position identification which is used for representing the position of the corresponding mark value of the wireless network identification in the mark value sequence.
In particular, the server may create a sequence of token values and initialize each token value in the sequence of token values. The initialized flag value indicates that the access credential corresponding to the wireless network identifier is unknown. The server can map the wireless network identifier into the position identifier representing the position of the corresponding mark value in the mark value sequence according to the mapping relation between the wireless network identifier and the position identifier.
S806, a mark value corresponding to the position mark is determined in the mark value sequence.
Specifically, after mapping the wireless network identifier to a location identifier indicating a location of the corresponding tag value in the tag value sequence, the server checks the tag value at the location identified by the location identifier in the tag value sequence.
And S808, updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known.
Specifically, the server may update the determined flag value to indicate that the access credential corresponding to the corresponding wireless network identifier is known, from the fact that the access credential corresponding to the corresponding wireless network identifier is unknown.
And S810, issuing the updated mark value sequence to the terminal.
Specifically, the updated flag value sequence may be used to determine whether the access credential corresponding to the wireless network identifier is known or unknown, so as to perform screening of the wireless network identifier. The terminal can issue the updated mark value sequence to the terminal, so that the terminal can use the mark value sequence to screen the wireless network mark, thereby accessing the wireless network.
The server can detect the network connection state of the terminal when issuing the marker value sequence. When the terminal is in the wireless network connection state, the flag value sequence is issued. When the terminal is in the non-wireless network connection state, the terminal can wait until the terminal is detected to be in the wireless network connection state and then is issued.
The wireless network processing method collects the wireless network identification and the corresponding access certificate, maps the wireless network identification collected to the access certificate into the position identification representing the position of the corresponding mark value in the mark value sequence, thereby determining the mark value corresponding to the position identification in the mark value sequence, further updating the mark value into the state that the access certificate corresponding to the corresponding wireless network identification is known, and then issuing the updated mark value sequence to the terminal. Therefore, the terminal can screen out the wireless network identification of the known access credential through the mark value sequence, and then performs wireless network connection, and does not need to enter a wireless network setting page through a connection setting inlet of the wireless network to select the wireless network, so that the efficiency of accessing the wireless network is improved.
In one embodiment, S802 includes: and collecting the access certificate corresponding to the wireless network identification according to the area corresponding to the wireless network identification. Mapping the wireless network identity to a location identity comprises: for each area, the wireless network identification corresponding to the area is mapped to a position identification respectively. S810 includes: and for each area, issuing the updated mark value sequence to the terminal corresponding to the area.
When the terminal shares the access certificate of the wireless network, the terminal identification and the network protocol address of the currently accessed wireless network can be sent to the server.
In one embodiment, the terminal may share in a log sharing manner. The format of the sharing log is shown in the following table one:
table one:
terminal identification SSID BSSID Password Network protocol address
86980302 yonghe fc:d7:33:94:d0:c0 yonghe 101.70.219.39
865814027 Big fish a8:15:4d:f7:6e:40 88888888 114.139.186.160
864567025 CityInn 34:96:72:12:79:a4 85412953 39.128.175.192
The wireless network identification is represented by SSID and BSSID together, and the Password is an access certificate of the wireless network.
Specifically, the server may classify the wireless network identifier reported by the terminal according to the area to which the corresponding network protocol address belongs, to obtain a wireless network library corresponding to each area, so as to collect the access credential corresponding to the wireless network identifier according to the area corresponding to the wireless network identifier.
In one embodiment, the server may store the wireless network libraries corresponding to the respective areas in a list. The list of wireless networks is shown in table two below:
table two:
region(s) SSID BSSID Password
Guangzhou city of Guangzhou CityInn 34:96:72:12:79:a4 85412953
Guangzhou city of Guangzhou Big fish a8:15:4d:f7:6e:40 88888888
Shenzhen city yonghe fc:d7:33:94:d0:c0 yonghe
Shenzhen city tuodawangba 8c:a6:df:1f:7a:3c 13800138000
Further, the server may create a respective sequence of flag values for each region and initialize each flag value in the sequence of flag values. The initialized flag value indicates that the access credential corresponding to the wireless network identifier is unknown. The terminal can map the wireless network identifier corresponding to each area into a position identifier indicating the position of the corresponding identifier in the identifier sequence corresponding to the area, determine the identifier corresponding to the position identifier in the identifier sequence, update the determined identifier into an identifier indicating that the access credential corresponding to the corresponding wireless network identifier is known, and thus obtain the identifier sequence corresponding to each area and used for determining whether the access credential corresponding to the wireless network identifier is known or unknown.
The server can then issue the flag value sequence corresponding to each region to the terminal corresponding to each region. For example, the flag value sequence corresponding to Guangzhou city is issued to the terminal located in Guangzhou city, and the flag value sequence corresponding to Shenzhen city is issued to the terminal located in Shenzhen city.
In the above embodiment, the wireless network is divided according to the region to which the wireless network belongs, and the wireless networks in different regions correspond to different flag value sequences, so that the data storage of each flag value sequence is greatly reduced, and the waste of resources is avoided. And screening is carried out in part of wireless networks obtained by regional division, so that the efficiency of screening the known mark values of the access certificates corresponding to the corresponding wireless network identifiers is improved compared with screening from all the wireless networks, and the wireless network access efficiency is further improved.
In one embodiment, the wireless network processing method further comprises: acquiring a terminal identifier of a terminal and a network protocol address of a wireless network accessed by the terminal; and when the area to which the network protocol address belongs is not matched with the area corresponding to the terminal identifier, issuing the mark value sequence corresponding to the area to which the network protocol address belongs to the terminal corresponding to the terminal identifier.
Specifically, the server may receive the terminal identifier sent by the terminal and the network protocol address of the wireless network to which the terminal accesses each time, and store the area to which the network protocol address belongs as the area where the terminal is located and corresponding to the terminal identifier. The server can also receive the area where the terminal defaults set by the terminal and stores the area corresponding to the terminal identifier.
After acquiring the terminal identifier of the terminal and the network protocol address of the wireless network accessed by the terminal, the server can search a region corresponding to the currently acquired terminal identifier in the server, determine the region to which the currently acquired network protocol address belongs, compare the two regions, and when the searched region corresponding to the currently acquired terminal identifier and stored is inconsistent with the determined region to which the currently acquired network protocol address belongs, send the mark value sequence corresponding to the region to which the currently acquired network protocol address belongs to the terminal corresponding to the terminal identifier.
The server can issue the flag value sequence only when the terminal accesses the wireless network.
In this embodiment, after the detected area corresponding to the terminal changes, the flag value sequence corresponding to the area to which the terminal changes is issued to the terminal in time, so as to improve the accuracy of screening out the known flag value indicating the access credential corresponding to the corresponding wireless network identifier.
FIG. 9 shows a timing diagram of terminal interaction with a server in one embodiment. The terminal is used for realizing the wireless network access method, and the server is used for realizing the wireless network processing method.
Referring to fig. 9, the server may collect the wireless network identifiers, the access credentials, and the network protocol addresses of the wireless networks reported by the terminals, and then classify the wireless networks according to the areas to which the network protocol addresses belong, so as to obtain wireless network libraries corresponding to the areas.
The server may create a respective sequence of tag values for each region and initialize each tag value in the sequence of tag values. The initialized flag value indicates that the access credential corresponding to the wireless network identifier is unknown. The terminal can map the wireless network identifier corresponding to each area into a position identifier indicating the position of the corresponding identifier in the identifier sequence corresponding to the area, and then determine the identifier corresponding to the position identifier in the identifier sequence, and then update the determined identifier into an identifier indicating that the access credential corresponding to the corresponding wireless network identifier is known, thereby obtaining the identifier sequence corresponding to each area and used for determining whether the access credential corresponding to the wireless network identifier is known or unknown. The server can then issue the flag value sequence corresponding to each region to the terminal corresponding to each region.
The terminal can obtain a wireless network searching instruction triggered by a user, and responds to the wireless network searching instruction to search nearby wireless networks, so that a candidate wireless network identifier is obtained. The terminal can call the mark value sequence issued by the server again, and maps the candidate wireless network mark to the position mark, wherein the position mark represents the position of the mark value corresponding to the candidate wireless network mark in the mark value sequence. Furthermore, the terminal can determine the tag values corresponding to the location identifiers in the tag value sequence, then select the known tag values representing the access credentials corresponding to the corresponding wireless network identifiers from the determined tag values, and further determine the wireless network identifiers corresponding to the selected tag values. The terminal can inquire the recommendation scores corresponding to the determined wireless network identifiers respectively and display the determined wireless network identifiers in a descending order according to the recommendation scores.
The terminal can also asynchronously send the candidate wireless network identification to the server when acquiring the candidate wireless network identification. Therefore, after receiving the wireless network identifier sent by the terminal, the server can inquire the access credential corresponding to the wireless network identifier and feed back the access credential to the terminal. The terminal can then determine the wireless network identifiers corresponding to the received access credentials, further inquire the recommendation scores corresponding to the determined wireless network identifiers, and update and display the determined wireless network identifiers in a descending order according to the recommendation scores for the user to select.
The terminal can detect a selection instruction which is triggered by a user and aims at the currently displayed wireless network identifier; and then accessing the wireless network corresponding to the wireless network identification specified by the selection instruction. After the terminal is accessed to the wireless network, the terminal can also acquire the network protocol address corresponding to the currently accessed wireless network, and the terminal identifier and the network protocol address corresponding to the terminal are sent to the server, so that the server can judge whether the area where the terminal is located changes according to the network protocol address.
After acquiring the terminal identification of the terminal and the network protocol address of the wireless network accessed by the terminal, the server can search the area corresponding to the currently acquired terminal identification, determine the area to which the currently acquired network protocol address belongs, compare the two areas, and when the searched area corresponding to the currently acquired terminal identification is not consistent with the determined area to which the currently acquired network protocol address belongs, send the mark value sequence corresponding to the area to which the currently acquired network protocol address belongs to the terminal corresponding to the terminal identification.
As shown in fig. 10, in one embodiment, a wireless network access device 1000 is provided. Referring to fig. 10, the wireless network access apparatus 1000 includes: an obtaining module 1001, a mapping module 1002, a determining module 1003, a selecting module 1004, and an accessing module 1005.
An obtaining module 1001 is configured to obtain candidate wireless network identifiers.
A mapping module 1002, configured to map the wireless network identifier into a location identifier, where the location identifier is used to indicate a location of a corresponding tag value of the wireless network identifier in the tag value sequence.
A determining module 1003, configured to determine a flag value corresponding to the location identifier in the flag value sequence.
A selecting module 1004, configured to select a flag value from the determined flag values, where the selected flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known.
The access module 1005 is configured to access a wireless network corresponding to the wireless network identifier corresponding to the selected flag value.
After the candidate wireless network identifiers are obtained, the wireless network access device 1000 maps the wireless network identifiers into position identifiers indicating positions of corresponding mark values in the mark value sequence, determines mark values in the mark value sequence corresponding to the mapped position identifiers, and then automatically selects the mark values indicating that access credentials corresponding to the corresponding wireless network identifiers are known from the determined mark values, so that the wireless networks corresponding to the wireless network identifiers corresponding to the selected mark values can be accessed, and the wireless networks do not need to enter a wireless network setting page through a connection setting entrance of the wireless networks to select the wireless networks, thereby improving the efficiency of accessing the wireless networks.
In one embodiment, the mapping module 1002 is further configured to map the wireless network identification to a location identification using a plurality of mapping functions. The selecting module 1004 is further configured to select a flag value that is the same as a preset flag value from the determined flag values, and the flag values corresponding to the location identifiers mapped by the wireless network identifiers corresponding to the selected flag value are all the same as the preset flag value, where the preset flag value is used to indicate that the access credentials corresponding to the wireless network identifiers are known.
In this embodiment, the wireless network identifier is mapped to a plurality of location identifiers through a plurality of mapping functions, and only if the flag values corresponding to the location identifiers in the flag value sequence all indicate that the access credentials corresponding to the corresponding wireless network identifier are known, the access credentials corresponding to the wireless network identifier are considered to be known. Therefore, the misjudgment rate can be reduced, and the wireless network identifications which do not need to be filtered are prevented from being filtered due to misjudgment.
In one embodiment, the access module 1005 is further configured to display a wireless network identifier corresponding to the selected flag value; detecting a selection instruction of a currently displayed wireless network identifier; and accessing the wireless network corresponding to the wireless network identification specified by the selection instruction.
In this embodiment, after the flag value indicating that the access credential corresponding to the corresponding wireless network identifier is known is locally screened out, the wireless network identifier corresponding to the screened flag value is immediately displayed, so that the wireless network identifier which can be quickly displayed by a user is selected, the wireless network access efficiency is improved, and the user experience is improved.
In one embodiment, the access module 1005 is further configured to send the wireless network identifier to a server; receiving an access credential returned by the server after searching the access credential according to the wireless network identifier; and after the wireless network identification corresponding to the selected mark value is displayed, updating and displaying the wireless network identification corresponding to the received access credential.
In this embodiment, when the candidate wireless network identifiers are obtained, the access credentials corresponding to the wireless network identifiers are pulled from the server in real time, so that the local storage pressure caused by storing the access credentials locally is avoided, and meanwhile, the risk of access credential leakage caused by storing the access credentials locally is avoided to a certain extent.
In one embodiment, the access module 1005 is further configured to determine a wireless network identifier corresponding to the selected flag value; inquiring recommendation scores corresponding to the determined wireless network identifiers; and displaying the determined wireless network identifications in a descending order according to the recommended scores.
In the embodiment, the probability that the radio network identifier which is displayed in the front is selected is high, the radio network identifier is displayed in a descending order according to the recommended value, so that the recommended value is higher, the radio network with better network quality is selected to be accessed, the radio network access efficiency is improved, and the user experience is improved.
As shown in fig. 11, in another embodiment, the wireless network access apparatus 1000 further includes: a sending module 1006 and a receiving module 1007.
A sending module 1006, configured to obtain a network protocol address corresponding to a currently accessed wireless network; and sending the terminal identification and the network protocol address corresponding to the terminal to a server.
A receiving module 1007, configured to receive a flag value sequence that is returned by the server, matches the area to which the network protocol address belongs, and does not match the area corresponding to the terminal identifier.
In this embodiment, the wireless network is divided according to the region to which the wireless network belongs, and the wireless networks in different regions correspond to different flag value sequences, so that the data storage of each flag value sequence is greatly reduced, and the waste of resources is avoided. And screening is carried out in part of wireless networks obtained by regional division, so that the efficiency of screening the known mark values of the access certificates corresponding to the corresponding wireless network identifiers is improved compared with screening from all the wireless networks, and the wireless network access efficiency is further improved.
In one embodiment, the wireless network identification includes at least one of a wireless network name of the respective wireless network and a physical address of a gateway device corresponding to the respective wireless network.
As shown in fig. 12, in one embodiment, a wireless network processing apparatus 1200 is provided. Referring to fig. 12, the wireless network processing apparatus 1200 includes: a collection module 1201, a mapping module 1202, a determination module 1203, an update module 1204, and a delivery module 1205.
A collecting module 1201, configured to collect an access credential corresponding to the wireless network identifier.
A mapping module 1202, configured to map the wireless network identifier into a location identifier, where the location identifier is used to indicate a location of a corresponding tag value of the wireless network identifier in the tag value sequence.
A determining module 1203 is configured to determine a flag value corresponding to the location identifier in the flag value sequence.
An updating module 1204, configured to update the determined flag value, where the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known.
And the issuing module 1205 is configured to issue the updated flag value sequence to the terminal.
The wireless network processing apparatus 1200 collects the wireless network identifier and the corresponding access credential, maps the wireless network identifier collected to the access credential to the location identifier indicating the location of the corresponding identifier in the identifier sequence, thereby determining the identifier corresponding to the location identifier in the identifier sequence, further updating the identifier to indicate that the access credential corresponding to the corresponding wireless network identifier is known, and then issuing the updated identifier sequence to the terminal. Therefore, the terminal can screen out the wireless network identification of the known access credential through the mark value sequence, and then performs wireless network connection, and does not need to enter a wireless network setting page through a connection setting inlet of the wireless network to select the wireless network, so that the efficiency of accessing the wireless network is improved.
In one embodiment, the collecting module 1201 is further configured to collect the access credential corresponding to the wireless network identifier according to an area corresponding to the wireless network identifier. The mapping module 1202 is further configured to map, for each area, the wireless network identifier corresponding to the area to a location identifier, respectively. The issuing module 1205 is further configured to issue the updated flag value sequence to the terminal corresponding to the region for each region.
In this embodiment, the wireless network is divided according to the region to which the wireless network belongs, and the wireless networks in different regions correspond to different flag value sequences, so that the data storage of each flag value sequence is greatly reduced, and the waste of resources is avoided. And screening is carried out in part of wireless networks obtained by regional division, so that the efficiency of screening the known mark values of the access certificates corresponding to the corresponding wireless network identifiers is improved compared with screening from all the wireless networks, and the wireless network access efficiency is further improved.
As shown in fig. 13, in one embodiment, the wireless network processing apparatus 1200 further includes: an acquisition module 1206.
The obtaining module 1206 is configured to obtain a terminal identifier of the terminal and a network protocol address of a wireless network to which the terminal is accessed.
The issuing module 1205 is further configured to, when the area to which the network protocol address belongs is not matched with the area corresponding to the terminal identifier, obtain a flag value sequence corresponding to the area to which the network protocol address belongs; and issuing the obtained mark value sequence to a terminal corresponding to the terminal identification.
In this embodiment, after the detected area corresponding to the terminal changes, the flag value sequence corresponding to the area to which the terminal changes is issued to the terminal in time, so as to improve the accuracy of screening out the known flag value indicating the access credential corresponding to the corresponding wireless network identifier.
FIG. 14 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 in fig. 1. As shown in fig. 14, the computer apparatus includes a processor, a nonvolatile storage medium, an internal memory, an input device, a display screen, and a network interface, which are connected by a system bus. The processor comprises a central processing unit and a graphic processor. The non-volatile storage medium of the computer device stores an operating system and may also store computer readable instructions that, when executed by the processor, may cause the processor to implement a wireless network access method. The internal memory may also have computer readable instructions stored thereon that, when executed by the processor, cause the processor to perform a wireless network access method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a terminal shell, an external keyboard, a touch pad or a mouse and the like. Those skilled in the art will appreciate that the architecture shown in fig. 14 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the wireless network access apparatus provided in the present application may be implemented in a form of a computer program, where the computer program may be run on a computer device as shown in fig. 14, and a nonvolatile storage medium of the computer device may store various program modules that constitute the wireless network access apparatus, such as the obtaining module 1001, the mapping module 1002, the determining module 1003, the selecting module 1004, the accessing module 1005 and the like shown in fig. 10. Computer readable instructions are included in the program modules for causing a computer device to perform the steps of the wireless network access methods of the various embodiments of the application described in the present specification.
For example, the computer device may acquire the candidate wireless network identifications through the acquisition module 1001 in the wireless network access apparatus 1000 as shown in fig. 10. The mapping module 1002 maps the wireless network identifier to a location identifier, where the location identifier is used to indicate a location of a corresponding tag value of the wireless network identifier in the tag value sequence. The flag value corresponding to the position identity is determined in the flag value sequence by the determination module 1003. The selecting module 1004 selects a flag value from the determined flag values, where the selected flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known. And accessing the wireless network corresponding to the wireless network identifier corresponding to the selected identifier value through the access module 1005.
Fig. 15 is a diagram showing an internal structure of a computer device in another embodiment. The computer device may specifically be the server 120 in fig. 1. As shown in fig. 15, the computer apparatus includes a processor, a nonvolatile storage medium, an internal memory, and a network interface, which are connected by a system bus. The processor comprises a central processing unit and a graphic processor. The non-volatile storage medium of the computer device stores an operating system and may also store computer readable instructions that, when executed by the processor, may cause the processor to implement the wireless network processing method. The internal memory may also have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a wireless network processing method. Those skilled in the art will appreciate that the architecture shown in fig. 15 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the wireless network processing apparatus provided in the present application may be implemented in a form of a computer program, where the computer program may run on a computer device shown in fig. 15, and a non-volatile storage medium of the computer device may store various program modules that constitute the wireless network processing apparatus, such as the collecting module 1201, the mapping module 1202, the determining module 1203, the updating module 1204, the issuing module 1205 and the like shown in fig. 12. Computer readable instructions are included in the various program modules for causing a computer device to perform the steps of the wireless network processing methods of the various embodiments of the application described in this specification.
For example, the computer device may collect the access credential corresponding to the wireless network identifier through the collection module 1201 in the wireless network processing apparatus 1200 shown in fig. 12. The mapping module 1202 maps the wireless network identifier to a location identifier, where the location identifier is used to indicate a location of a corresponding tag value of the wireless network identifier in the tag value sequence. The flag value corresponding to the position identity is determined in the flag value sequence by a determination module 1203. The determined flag value is updated by the updating module 1204, and the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known. The issuing module 1205 is configured to issue the updated flag value sequence to the terminal.
In one embodiment, a computer readable storage medium having computer readable instructions stored thereon, the computer readable instructions, when executed by a processor, cause the processor to perform the steps of: acquiring candidate wireless network identifications; mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in the mark value sequence; determining a marker value corresponding to the position identifier in the marker value sequence; selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known; and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
In one embodiment, mapping the wireless network identity to a location identity comprises: mapping the wireless network identifier into a position identifier by adopting a plurality of mapping functions; selecting a marker value from the determined marker values, comprising: and selecting a mark value which is the same as a preset mark value from the determined mark values, wherein the mark values corresponding to the position marks mapped by the wireless network marks corresponding to the selected mark value are the same as the preset mark value, and the preset mark value is used for indicating that the access credentials corresponding to the wireless network marks are known.
In one embodiment, accessing the wireless network corresponding to the wireless network identifier corresponding to the selected flag value includes: displaying the wireless network identification corresponding to the selected mark value; detecting a selection instruction of a currently displayed wireless network identifier; and accessing the wireless network corresponding to the wireless network identification specified by the selection instruction.
In one embodiment, the computer readable instructions, when executed by the processor, cause the processor to further perform the steps of: sending the wireless network identification to a server; and receiving the access credential returned by the server after searching the access credential according to the wireless network identifier. And after the wireless network identification corresponding to the selected mark value is displayed, updating and displaying the wireless network identification corresponding to the received access credential.
In one embodiment, presenting the wireless network identifier corresponding to the selected tag value includes: determining the wireless network identifier corresponding to the selected mark value; inquiring recommendation scores corresponding to the determined wireless network identifiers; and displaying the determined wireless network identifications in a descending order according to the recommended scores.
In one embodiment, the computer readable instructions, when executed by the processor, cause the processor to further perform the steps of: acquiring a network protocol address corresponding to a currently accessed wireless network; sending a terminal identification and a network protocol address corresponding to the terminal to a server; and receiving a mark value sequence which is returned by the server, matched with the area to which the network protocol address belongs and unmatched with the area corresponding to the terminal identification.
In one embodiment, the wireless network identification includes at least one of a wireless network name of the respective wireless network and a physical address of a gateway device corresponding to the respective wireless network.
After the candidate wireless network identifiers are obtained, the wireless network identifiers are mapped into position identifiers representing positions of corresponding mark values in the mark value sequence, mark values corresponding to the mapped position identifiers in the mark value sequence are determined, and then the mark values representing the known access certificates corresponding to the corresponding wireless network identifiers are automatically selected from the determined mark values, so that the wireless networks corresponding to the wireless network identifiers corresponding to the selected mark values can be accessed, the wireless networks do not need to enter a wireless network setting page through a connection setting inlet of the wireless networks to select the wireless networks, and the efficiency of accessing the wireless networks is improved.
In one embodiment, a computer readable storage medium having computer readable instructions stored thereon, the computer readable instructions, when executed by a processor, cause the processor to perform the steps of: collecting access credentials corresponding to the wireless network identifiers; mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in the mark value sequence; determining a marker value corresponding to the position identifier in the marker value sequence; updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known; and issuing the updated mark value sequence to the terminal.
In one embodiment, collecting access credentials corresponding to a wireless network identification comprises: collecting access certificates corresponding to the wireless network identifiers according to the areas corresponding to the wireless network identifiers; mapping the wireless network identifier to a location identifier, comprising: for each area, respectively mapping the wireless network identification corresponding to the area to be a position identification; issuing the updated mark value sequence to the terminal, including: and for each area, issuing the updated mark value sequence to the terminal corresponding to the area.
In one embodiment, the computer readable instructions, when executed by the processor, cause the processor to further perform the steps of: acquiring a terminal identifier of a terminal and a network protocol address of a wireless network accessed by the terminal; when the area to which the network protocol address belongs is not matched with the area corresponding to the terminal identifier, acquiring a mark value sequence corresponding to the area to which the network protocol address belongs; and issuing the obtained mark value sequence to a terminal corresponding to the terminal identification.
The storage medium collects the wireless network identification and the corresponding access certificate, maps the wireless network identification collected to the access certificate into a position identification representing the position of the corresponding mark value in the mark value sequence, thereby determining the mark value corresponding to the position identification in the mark value sequence, further updating the mark value into the state that the access certificate corresponding to the corresponding wireless network identification is known, and then issuing the updated mark value sequence to the terminal. Therefore, the terminal can screen out the wireless network identification of the known access credential through the mark value sequence, and then performs wireless network connection, and does not need to enter a wireless network setting page through a connection setting inlet of the wireless network to select the wireless network, so that the efficiency of accessing the wireless network is improved.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of: acquiring candidate wireless network identifications; mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in the mark value sequence; determining a marker value corresponding to the position identifier in the marker value sequence; selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known; and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
In one embodiment, mapping the wireless network identity to a location identity comprises: mapping the wireless network identifier into a position identifier by adopting a plurality of mapping functions; selecting a marker value from the determined marker values, comprising: and selecting a mark value which is the same as a preset mark value from the determined mark values, wherein the mark values corresponding to the position marks mapped by the wireless network marks corresponding to the selected mark value are the same as the preset mark value, and the preset mark value is used for indicating that the access credentials corresponding to the wireless network marks are known.
In one embodiment, accessing the wireless network corresponding to the wireless network identifier corresponding to the selected flag value includes: displaying the wireless network identification corresponding to the selected mark value; detecting a selection instruction of a currently displayed wireless network identifier; and accessing the wireless network corresponding to the wireless network identification specified by the selection instruction.
In one embodiment, the computer readable instructions, when executed by the processor, cause the processor to further perform the steps of: sending the wireless network identification to a server; and receiving the access credential returned by the server after searching the access credential according to the wireless network identifier. And after the wireless network identification corresponding to the selected mark value is displayed, updating and displaying the wireless network identification corresponding to the received access credential.
In one embodiment, presenting the wireless network identifier corresponding to the selected tag value includes: determining the wireless network identifier corresponding to the selected mark value; inquiring recommendation scores corresponding to the determined wireless network identifiers; and displaying the determined wireless network identifications in a descending order according to the recommended scores.
In one embodiment, the computer readable instructions, when executed by the processor, cause the processor to further perform the steps of: acquiring a network protocol address corresponding to a currently accessed wireless network; sending a terminal identification and a network protocol address corresponding to the terminal to a server; and receiving a mark value sequence which is returned by the server, matched with the area to which the network protocol address belongs and unmatched with the area corresponding to the terminal identification.
In one embodiment, the wireless network identification includes at least one of a wireless network name of the respective wireless network and a physical address of a gateway device corresponding to the respective wireless network.
After the candidate wireless network identifiers are obtained, the wireless network identifiers are mapped into position identifiers representing positions of corresponding mark values in the mark value sequence, the mark values corresponding to the mapped position identifiers in the mark value sequence are determined, and then the mark values representing the known access certificates corresponding to the corresponding wireless network identifiers are automatically selected from the determined mark values, so that the wireless networks corresponding to the wireless network identifiers corresponding to the selected mark values can be accessed, the wireless networks do not need to enter a wireless network setting page through a connection setting inlet of the wireless networks to select the wireless networks, and the efficiency of accessing the wireless networks is improved.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of: collecting access credentials corresponding to the wireless network identifiers; mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in the mark value sequence; determining a marker value corresponding to the position identifier in the marker value sequence; updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known; and issuing the updated mark value sequence to the terminal.
In one embodiment, collecting access credentials corresponding to a wireless network identification comprises: collecting access certificates corresponding to the wireless network identifiers according to the areas corresponding to the wireless network identifiers; mapping the wireless network identifier to a location identifier, comprising: for each area, respectively mapping the wireless network identification corresponding to the area to be a position identification; issuing the updated mark value sequence to the terminal, including: and for each area, issuing the updated mark value sequence to the terminal corresponding to the area.
In one embodiment, the computer readable instructions, when executed by the processor, cause the processor to further perform the steps of: acquiring a terminal identifier of a terminal and a network protocol address of a wireless network accessed by the terminal; when the area to which the network protocol address belongs is not matched with the area corresponding to the terminal identifier, acquiring a mark value sequence corresponding to the area to which the network protocol address belongs; and issuing the obtained mark value sequence to a terminal corresponding to the terminal identification.
The computer device collects the wireless network identification and the corresponding access certificate, maps the wireless network identification collected to the access certificate to be the position identification representing the position of the corresponding mark value in the mark value sequence, thereby determining the mark value corresponding to the position identification in the mark value sequence, further updating the mark value to indicate that the corresponding access certificate of the corresponding wireless network identification is known, and then issuing the updated mark value sequence to the terminal. Therefore, the terminal can screen out the wireless network identification of the known access credential through the mark value sequence, and then performs wireless network connection, and does not need to enter a wireless network setting page through a connection setting inlet of the wireless network to select the wireless network, so that the efficiency of accessing the wireless network is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a non-volatile computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (15)

1. A wireless network access method, comprising:
acquiring candidate wireless network identifications;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
selecting a mark value from the determined mark values, wherein the selected mark value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
2. The method of claim 1, wherein the mapping the wireless network identifier to a location identifier comprises:
mapping the wireless network identifier into a location identifier by adopting a plurality of mapping functions;
the selecting a flag value from the determined flag values includes:
and selecting a mark value which is the same as a preset mark value from the determined mark values, wherein the mark values corresponding to the position marks mapped by the wireless network marks corresponding to the selected mark values are the same as the preset mark values, and the preset mark values are used for indicating that the access credentials corresponding to the wireless network marks are known.
3. The method according to claim 1, wherein accessing the wireless network corresponding to the wireless network identifier corresponding to the selected flag value comprises:
displaying the wireless network identification corresponding to the selected mark value;
detecting a selection instruction of a currently displayed wireless network identifier;
and accessing the wireless network corresponding to the wireless network identification specified by the selection instruction.
4. The method of claim 3, further comprising:
sending the wireless network identification to a server;
receiving an access credential returned by the server after searching the access credential according to the wireless network identifier;
and after the wireless network identification corresponding to the selected mark value is displayed, updating and displaying the wireless network identification corresponding to the received access credential.
5. The method of claim 3, wherein the presenting the radio network identifier corresponding to the selected flag value comprises:
determining the wireless network identifier corresponding to the selected mark value;
inquiring the recommendation scores corresponding to the determined wireless network identifiers;
and displaying the determined wireless network identifications in a descending order according to the recommended scores.
6. The method of claim 1, further comprising:
acquiring a network protocol address corresponding to a currently accessed wireless network;
sending the terminal identification corresponding to the terminal and the network protocol address to a server;
and receiving a mark value sequence which is returned by the server, matched with the area to which the network protocol address belongs and not matched with the area corresponding to the terminal identification.
7. The method of claim 1, wherein the wireless network identifier comprises at least one of a wireless network name of the corresponding wireless network and a physical address of a gateway device corresponding to the corresponding wireless network.
8. A wireless network processing method, comprising:
collecting access credentials corresponding to the wireless network identifiers;
mapping the wireless network identifier into a position identifier, wherein the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
determining a marker value corresponding to the location identity in the sequence of marker values;
updating the determined flag value, wherein the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and issuing the updated mark value sequence to a terminal.
9. The method of claim 8, wherein the collecting access credentials corresponding to the wireless network identifier comprises:
collecting access certificates corresponding to the wireless network identifiers according to the areas corresponding to the wireless network identifiers;
the mapping the wireless network identifier to a location identifier includes:
for each area, respectively mapping the wireless network identification corresponding to the area to be a position identification;
the issuing the updated flag value sequence to the terminal includes:
and for each area, issuing the updated mark value sequence to the terminal corresponding to the area.
10. The method of claim 8, further comprising:
acquiring a terminal identifier of the terminal and a network protocol address of a wireless network accessed by the terminal;
when the area to which the network protocol address belongs is not matched with the area corresponding to the terminal identification, the network protocol address belongs to the area
Acquiring a mark value sequence corresponding to the area to which the network protocol address belongs;
and issuing the obtained mark value sequence to a terminal corresponding to the terminal identification.
11. A wireless network access device, comprising:
the acquisition module is used for acquiring candidate wireless network identifiers;
the mapping module is used for mapping the wireless network identifier into a position identifier, and the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
a determining module, configured to determine a tag value corresponding to the location identifier in the tag value sequence;
a selecting module, configured to select a flag value from the determined flag values, where the selected flag value indicates that an access credential corresponding to a corresponding wireless network identifier is known;
and the access module is used for accessing the wireless network corresponding to the wireless network identifier corresponding to the selected mark value.
12. The apparatus of claim 11, further comprising:
the sending module is used for acquiring a network protocol address corresponding to a currently accessed wireless network; sending the terminal identification corresponding to the terminal and the network protocol address to a server;
and the receiving module is used for receiving the mark value sequence which is returned by the server, matched with the area to which the network protocol address belongs and not matched with the area corresponding to the terminal identifier.
13. A wireless network processing apparatus, comprising:
the collection module is used for collecting the access certificate corresponding to the wireless network identifier;
the mapping module is used for mapping the wireless network identifier into a position identifier, and the position identifier is used for indicating the position of a mark value corresponding to the wireless network identifier in a mark value sequence;
a determining module, configured to determine a tag value corresponding to the location identifier in the tag value sequence;
the updating module is used for updating the determined flag value, and the updated flag value indicates that the access credential corresponding to the corresponding wireless network identifier is known;
and the issuing module is used for issuing the updated mark value sequence to the terminal.
14. A computer readable storage medium having computer readable instructions stored thereon, which, when executed by a processor, cause the processor to perform the steps of the method of any one of claims 1 to 10.
15. A computer device comprising a memory and a processor, the memory having stored therein computer-readable instructions that, when executed by the processor, cause the processor to perform the steps of the method of any one of claims 1 to 10.
CN201710731809.5A 2017-08-23 2017-08-23 Wireless network access method, wireless network processing device, storage medium and computer equipment Active CN107548125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710731809.5A CN107548125B (en) 2017-08-23 2017-08-23 Wireless network access method, wireless network processing device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710731809.5A CN107548125B (en) 2017-08-23 2017-08-23 Wireless network access method, wireless network processing device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN107548125A CN107548125A (en) 2018-01-05
CN107548125B true CN107548125B (en) 2020-12-11

Family

ID=60958935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710731809.5A Active CN107548125B (en) 2017-08-23 2017-08-23 Wireless network access method, wireless network processing device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN107548125B (en)

Families Citing this family (3)

* 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
CN110958608B (en) * 2018-09-26 2022-02-18 腾讯科技(深圳)有限公司 Wireless network connection method, device, storage medium and computer equipment
CN110248395B (en) * 2019-05-07 2021-11-30 腾讯科技(深圳)有限公司 Wireless network access method, device, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014104633A1 (en) * 2012-12-26 2014-07-03 Lg Electronics Inc. Method and apparatus for updating information in wireless communication system
CN104968030A (en) * 2015-04-30 2015-10-07 广东欧珀移动通信有限公司 Network access method and mobile communication terminal
CN106559814A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The method and apparatus of connection WAP

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514902B (en) * 2013-11-15 2015-12-21 環旭電子股份有限公司 Wireless network configuration method and system for a smart appliance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014104633A1 (en) * 2012-12-26 2014-07-03 Lg Electronics Inc. Method and apparatus for updating information in wireless communication system
CN104968030A (en) * 2015-04-30 2015-10-07 广东欧珀移动通信有限公司 Network access method and mobile communication terminal
CN106559814A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The method and apparatus of connection WAP

Also Published As

Publication number Publication date
CN107548125A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN110099059B (en) Domain name identification method and device and storage medium
CN111031017B (en) Abnormal business account identification method, device, server and storage medium
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
CN106303599B (en) Information processing method, system and server
CN107483416A (en) The method and device of authentication
CN108781342B (en) Method for distributing and accessing virtual SIM card to network and related equipment
CN107548125B (en) Wireless network access method, wireless network processing device, storage medium and computer equipment
CN110738577B (en) Community discovery method, device, computer equipment and storage medium
CN110457882B (en) Identity recognition preprocessing and identity recognition method and system
JP7231655B2 (en) Programs, information processing methods, and electronic devices
CN109189960A (en) Information acquisition method, information acquisition device and computer storage medium
US20170214756A1 (en) Dynamic rule allocation for visitor identification
CN112261570B (en) Method, device, server and storage medium for associating interest point with wireless network
CN111954175A (en) Method for judging visiting of interest point and related device
CN106682146B (en) Method and system for retrieving scenic spot evaluation according to keywords
WO2017000817A1 (en) Method and device for acquiring matching relationship between data
CN110445772A (en) A kind of the internet host scan method and system of Intrusion Detection based on host relationship
CN110546638A (en) Improvements in biometric authentication
CN109815351B (en) Information query method and related product
CN111506834A (en) Method and device for pushing rights and interests resource information, storage medium and terminal
CN111352938A (en) Data processing method, computer device and storage medium
CN110309691B (en) Face recognition method, face recognition device, server and storage medium
CN111767481A (en) Access processing method, device, equipment and storage medium
CN106559814B (en) Method and device for connecting wireless access point
KR102664791B1 (en) Method, system, and non-transitory computer readable record medium for converting image to location data

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