WO2019072037A1 - Access information pushing method and device - Google Patents

Access information pushing method and device Download PDF

Info

Publication number
WO2019072037A1
WO2019072037A1 PCT/CN2018/102691 CN2018102691W WO2019072037A1 WO 2019072037 A1 WO2019072037 A1 WO 2019072037A1 CN 2018102691 W CN2018102691 W CN 2018102691W WO 2019072037 A1 WO2019072037 A1 WO 2019072037A1
Authority
WO
WIPO (PCT)
Prior art keywords
wireless access
access point
access information
target wireless
successfully connected
Prior art date
Application number
PCT/CN2018/102691
Other languages
French (fr)
Chinese (zh)
Inventor
季一波
龚正
杨林畅
蔡启振
张圭煜
姚莲
Original Assignee
上海连尚网络科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海连尚网络科技有限公司 filed Critical 上海连尚网络科技有限公司
Publication of WO2019072037A1 publication Critical patent/WO2019072037A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery

Definitions

  • the present application relates to the field of communications technologies, and in particular, to the field of wireless communications technologies, and in particular, to a method and device for pushing access information.
  • WI-FI WIreless-FIdelity
  • the background server of the wireless access point application pushes the access information of the successfully connected wireless access point to the user, and the user terminal device utilizes the connection.
  • the incoming information is connected to the wireless access point; when there is only a wireless access point that has not been successfully connected in the vicinity of the user, the background server of the wireless access point application does not store the access of the wireless access point that has not been successfully connected. Information, without pushing any access information to the terminal device, at this time the user's terminal device cannot connect to the wireless access point.
  • some embodiments of the present application provide a method for pushing access information, the method comprising: acquiring at least one target in the vicinity of a terminal device in response to receiving a wireless access point connection request sent by the terminal device a wireless access point; in response to determining that the at least one target wireless access point satisfies a preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect; selecting one from the at least one reference wireless access point Or a plurality of reference wireless access points, wherein the selected referenced wireless access point is similar to one or more of the at least one target wireless access point; the selected referenced wireless access is taken The access information of the point is pushed to the terminal device.
  • some embodiments of the present application provide an apparatus for pushing access information, where the apparatus includes: a first acquiring unit, configured to respond to receiving a wireless access point connection request sent by a terminal device, Acquiring at least one target wireless access point in the vicinity of the terminal device; the second acquiring unit is configured to acquire at least one reference that the at least one reference user succeeds or attempts to connect in response to determining that the at least one target wireless access point meets the preset condition a wireless access point, configured to select one or more reference wireless access points from the at least one reference wireless access point, wherein the selected reference wireless access point and the at least one target wireless access point are selected The one or more target wireless access points are similar; the pushing unit is configured to push the access information of the selected reference wireless access point to the terminal device.
  • some embodiments of the present application provide a method for connecting a wireless access point, the method comprising: transmitting a wireless access point connection request to a network device; acquiring an access information set from the network device; The access information set includes access information of a reference wireless access point that is similar to one or more of the at least one target wireless access point in the vicinity, and attempts to reuse the access information in the access information set The step of connecting the target wireless access point corresponding to the access information until all the access information in the wireless access point or access information set is successfully connected.
  • some embodiments of the present application provide an apparatus for connecting a wireless access point, the apparatus comprising: a sending unit configured to send a wireless access point connection request to a network device; an acquiring unit, configured Acquiring an access information set from the network device; the connecting unit, configured to receive, in response to the access information set, a reference radio access similar to one or more of the at least one target wireless access point in the vicinity The access information of the point, the step of repeatedly using the access information in the access information set to attempt to connect to the target wireless access point corresponding to the access information, until the access in the wireless access point or the access information set is successfully connected The information was all tried.
  • some embodiments of the present application provide a network device including: one or more processors; storage means for storing one or more programs; when one or more programs are one or more The plurality of processors execute such that one or more processors implement the method as described in the first aspect.
  • an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method as described in the first aspect.
  • some embodiments of the present application provide a terminal device including: one or more processors; storage means for storing one or more programs; when one or more programs are one or more The plurality of processors execute such that one or more processors implement the method as described in the third aspect.
  • some embodiments of the present application provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method as described in the third aspect.
  • the method and device for pushing the access information provided by the embodiment of the present application, firstly, acquiring at least one target wireless access point in the vicinity of the terminal device when receiving the wireless access point connection request sent by the terminal device; And acquiring, by the at least one target wireless access point, the preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect; and then selecting one of the at least one reference wireless access point Or a plurality of reference wireless access points similar to one or more of the at least one target wireless access point; and finally, pushing the access information of the selected reference wireless access point to the terminal device .
  • the access information of the wireless access point similar to the wireless access point in the vicinity of the user is pushed for the user, and the wireless access point of the wireless access point similar to the wireless access point in the vicinity of the user is connected to connect the wireless connection in the vicinity of the user.
  • Incoming points help to increase the probability of a user successfully connecting to a wireless access point.
  • FIG. 1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
  • FIG. 2 is a flow diagram of one embodiment of a method for pushing access information in accordance with the present application
  • FIG. 3 is a flow chart of still another embodiment of a method for pushing access information in accordance with the present application.
  • FIG. 4 is a flow diagram of one embodiment of a method for connecting a wireless access point in accordance with the present application
  • FIG. 5 is a block diagram of a computer system of a network device or terminal device suitable for implementing some embodiments of the present application.
  • FIG. 1 illustrates an exemplary system architecture 100 of an embodiment of a method for pushing access information or a method for connecting a wireless access point to which the present application may be applied.
  • system architecture 100 can include terminal devices 101, 102, 103, network 104, and network device 105.
  • the network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the network device 105.
  • Network 104 may include various types of connections, such as wired, wireless communication links, fiber optic cables, and the like.
  • the user can interact with the network device 105 over the network 104 using the terminal devices 101, 102, 103 to receive or transmit messages and the like.
  • Various client applications such as wireless access point applications, etc., can be installed on the terminal devices 101, 102, and 103.
  • the terminal devices 101, 102, 103 may be various electronic devices having the function of connecting wireless access points, including but not limited to smart phones, tablets, e-book readers, laptop portable computers, desktop computers, and the like.
  • the network device 105 may be a network device that provides various services, for example, the network device 105 may be a background server of a wireless access point type application.
  • the background server of the wireless access point type application may acquire the at least one target wireless access point in the vicinity of the terminal devices 101, 102, and 103 when receiving the wireless access point connection request sent by the terminal devices 101, 102, and 103.
  • the information is processed by analyzing the acquired information of the at least one target wireless access point, and the processing result (for example, the access information of the selected reference wireless access point) is pushed to the terminal devices 101, 102, and 103.
  • the method for pushing access information may be performed by the network device 105.
  • the method for connecting a wireless access point provided by some embodiments of the present application may be performed by the terminal device 101, 102, 103.
  • terminal devices, networks, and network devices in FIG. 1 is merely illustrative. Depending on the implementation needs, there can be any number of terminal devices, networks, and network devices.
  • the process 200 of the method for pushing access information includes the following steps:
  • Step 201 Acquire at least one target wireless access point in the vicinity of the terminal device in response to receiving the wireless access point connection request sent by the terminal device.
  • a network device (such as network device 105 shown in FIG. 1) may acquire at least one target wireless access point in the vicinity of the terminal device.
  • the network device may be a background server of a wireless access point type application, and stores information of a plurality of wireless access points.
  • the information of the wireless access point may include, but is not limited to, at least one of the following: an identifier of the wireless access point, a frequency at which the wireless access point is attempted to connect and/or successfully connect, location information of the wireless access point, and a wireless access point.
  • the identifier of the wireless access point may be a name of the wireless access point, such as an SSID (Service Set Identifier) and/or a BSSID (Basic Service Set Identifier).
  • SSID Service Set Identifier
  • BSSID Basic Service Set Identifier
  • the terminal device may Send a wireless access point connection request to the network device.
  • the first operation may include any operation performed on the icon of the WLAN option or the wireless access point type application to trigger the terminal device to send the wireless access point connection request.
  • the wireless access point connection request may include an identifier of the at least one target wireless access point in the vicinity of the terminal device or location information of the terminal device.
  • the wireless access point type application installed on the terminal device can read the wireless access point list scanned by the terminal device to obtain the wireless access point list.
  • An identifier of the at least one wireless access point, and the identifier is sent to the network device; the network device may query, according to the identifier, the wireless access point indicated by the identifier, as at least one target in the vicinity of the terminal device Wireless access point.
  • the preset reference area may be divided into multiple sub-areas, wherein each sub-area may include multiple wireless access points, and the network device may store information of the wireless access points in each sub-area.
  • the reference area may cover at least one administrative area or at least one country.
  • the terminal device can start the location service, acquire the location information of the terminal device, and send the location information to the network device; the network device can determine the location of the terminal device. a sub-area indicated by the information, and searching for at least one wireless access point within the determined sub-area as at least one target wireless access point in the vicinity of the terminal device.
  • Step 202 Acquire at least one reference wireless access point that the at least one reference user succeeds or attempts to connect in response to determining that the at least one target wireless access point satisfies a preset condition.
  • the network device may determine whether the at least one target wireless access point satisfies a preset condition, and obtain at least one reference if the preset condition is met. At least one reference wireless access point that the user successfully or attempts to connect within a certain period of time (eg, the first three months).
  • the at least one reference user may include a portion of the user randomly selected from the registered users of the wireless access point class application; and may also include attempting to connect to at least one target wireless access point that has not been successfully connected. At least one user.
  • the reference user may be a user who has attempted to connect to at least one target wireless access point that has not been successfully connected within the last three months.
  • the preset condition may be various conditions preset, and the specific content of the preset condition is not limited herein.
  • the preset condition may include that there is at least one target wireless access point that is not successfully connected in the at least one target wireless access point, and there is no successfully connected target wireless in the at least one target wireless access point.
  • the number of access points or target wireless access points that have been successfully connected is less than a preset threshold (eg, less than 2).
  • the network device can determine whether the target wireless access point is a target wireless access point that has not been successfully connected or a target wireless access point that has been successfully connected.
  • the network device may determine whether the connection time in the information of the target wireless access point is empty; if the connection time is empty, the target wireless access point is a target wireless access point that has not been successfully connected; If the connection time is not empty, the target wireless access point is the target wireless access point that has been successfully connected.
  • the terminal device may generate a connection record including an identifier of the wireless access point and transmit it to the network device storage.
  • the network device can perform a search in the locally stored connection record based on the identifier of the target wireless access point; if there is no connection record including the identifier of the target wireless access point in the locally stored connection record, the target wireless connection
  • the ingress point is a target wireless access point that has not been successfully connected; if there is a connection record including the identifier of the target wireless access point in the locally stored connection record, the target wireless access point is a successfully connected target. Wireless access point.
  • the terminal device when a terminal device installed with a wireless access point type application successfully or attempts to connect to a wireless access point, the terminal device may generate a success or attempt connection record including the identity of the wireless access point and the user identification, and Send to network device storage.
  • the network device may first perform a lookup based on the reference user identifier in the locally stored success or attempt connection record, obtain at least one success or attempt connection record including the reference user identifier; and then obtain at least one successful or attempted connection record from the obtained Extracting an identifier of the at least one reference wireless access point; and finally finding at least one reference wireless access point based on the identifier of the at least one reference wireless access point.
  • Step 203 Select one or more reference wireless access points from the at least one reference wireless access point.
  • the network device may select one or more reference wireless access points therefrom. Wherein the selected reference wireless access point is similar to one or more of the at least one target wireless access point. As an example, the network device may select one or more reference wireless access points that are similar or similar in location information to one or more of the at least one target wireless access point.
  • Step 204 Push the access information of the selected reference wireless access point to the terminal device.
  • the network device can push the access information of the selected reference wireless access point to the terminal device.
  • the terminal device can attempt to connect to the nearby target wireless access point by using the access information of the selected reference wireless access point.
  • the access information may be information used to access the wireless access point, such as a password, a verification code, and the like.
  • the network device may prioritize access information for the selected referenced wireless access point and push the prioritized access information to the terminal device.
  • the terminal device may sequentially use the access information to connect to the target wireless access point corresponding to the access information according to the order of priority from high to low.
  • the target wireless access point corresponding to the access information may be a target wireless access point similar to the reference wireless access point to which the access information belongs.
  • the network device may first comprehensively evaluate the connection success rate, signal strength, stability, network speed, and the like of the target wireless access point corresponding to the access information, thereby acquiring the target wireless connection corresponding to the access information.
  • the comprehensive score of the entry point usually, the higher the success rate of the connection of the wireless access point, the stronger the signal strength, the higher the stability, the faster the network speed, the higher the comprehensive score; then the score according to the score of the comprehensive score
  • the access information corresponding to the target wireless access point is set to a priority.
  • the higher the comprehensive score of the wireless access point the higher the priority of the corresponding access information.
  • a method for pushing access information provided by some embodiments of the present application, first, acquiring at least one target wireless access point in the vicinity of the terminal device when receiving the wireless access point connection request sent by the terminal device; And acquiring, by the at least one target wireless access point, the preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect; and then selecting one of the at least one reference wireless access point Or a plurality of reference wireless access points similar to one or more of the at least one target wireless access point; and finally, pushing the access information of the selected reference wireless access point to the terminal device .
  • the access information of the wireless access point similar to the wireless access point in the vicinity of the user is pushed for the user, and the wireless access point of the wireless access point similar to the wireless access point in the vicinity of the user is connected to connect the wireless connection in the vicinity of the user.
  • Incoming points help to increase the probability of a user successfully connecting to a wireless access point.
  • obtaining a reference wireless access point by successfully or attempting to connect to a reference user's connection history of the current wireless access point helps to more accurately locate the appropriate reference wireless access point.
  • the process 300 of the method for pushing access information includes the following steps:
  • Step 301 Acquire at least one target wireless access point in the vicinity of the terminal device in response to receiving the wireless access point connection request sent by the terminal device.
  • a network device (such as network device 105 shown in FIG. 1) may acquire at least one target wireless access point in the vicinity of the terminal device.
  • the network device may be a background server of a wireless access point type application, and stores information of a plurality of wireless access points.
  • the information of the wireless access point may include, but is not limited to, at least one of the following: an identifier of the wireless access point, a frequency at which the wireless access point is attempted to connect and/or successfully connect, location information of the wireless access point, and a wireless access point.
  • the identifier of the wireless access point may be a name of the wireless access point, such as an SSID (Service Set Identifier) and/or a BSSID (Basic Service Set Identifier).
  • SSID Service Set Identifier
  • BSSID Basic Service Set Identifier
  • Step 302 Acquire at least one reference wireless access point that the at least one reference user succeeds or attempts to connect in response to determining that the at least one target wireless access point satisfies a preset condition.
  • the network device may determine whether the at least one target wireless access point satisfies a preset condition, and obtain at least one reference if the preset condition is met. At least one reference wireless access point that the user successfully or attempts to connect within a certain period of time (eg, the first three months).
  • the preset condition may include that at least one target wireless access point that is not successfully connected exists in the at least one target wireless access point, and the target wireless access point that is successfully connected is not present in the at least one target wireless access point.
  • the number of inbound or successfully connected target wireless access points is less than a preset threshold.
  • Step 303 Calculate the similarity between the identifier of the at least one target wireless access point that has not been successfully connected and the identifier of the at least one reference wireless access point.
  • the network device may calculate, by using multiple text similarity calculation methods, the identifier and at least one reference of the at least one wireless access point that has not been successfully connected.
  • the text similarity calculation method may include, but is not limited to, an Edit Distance algorithm, a cosine similarity algorithm, a Jaccard similarity algorithm, and the like.
  • the edit distance also known as the Levenshtein distance, is the minimum number of edit operations required between two strings, one from one to the other. Licensed editing operations include replacing one character with another, inserting one character, and deleting one character. In general, the smaller the edit distance, the greater the similarity between the two strings.
  • the network device may first calculate the identity of the reference wireless access point with at least one target wireless access that has not been successfully connected. The edit distance of the identifier of the point; and then based on the calculated edit distance, determine the similarity of the identifier of the reference wireless access point to the identity of the at least one target wireless access point that has not been successfully connected.
  • the network device may sequentially calculate and obtain an edit distance of the identifier of the reference wireless access point and the identifier of each target wireless access point of the at least one target wireless access point that has not been successfully connected, thereby determining the Referencing the similarity between the identity of the wireless access point and the identity of each of the target wireless access points of the at least one target wireless access point that has not been successfully connected.
  • Step 304 Select one or more reference wireless access points from the at least one reference wireless access point based on the calculated similarity.
  • the network device may select one or more reference wireless access points from the at least one reference wireless access point.
  • the identifier of the target wireless access point that has not been successfully connected is similar to the identifier of the corresponding reference wireless access point, and the terminal device successfully connects to the unconnected terminal by using the access information of the reference wireless access point.
  • the probability of a target wireless access point is greater.
  • the identification and password of the wireless access point set in multiple branches of the same store may be the same or similar, so when the user enters a branch, and the network device has not stored the access of the wireless access point set in the branch.
  • the access information of the wireless access point set in the other branch can be obtained as the access information of the wireless access point of the branch by the method of the foregoing embodiment, and provided to the terminal device; for example, a store may The identifier of the wireless access point set in the store is modified to another similar identifier (such as changing the logo from "XXX Store 1" to "XXX Store 2"), but the original password is still used. For this type of situation, the network device passes The method of the above embodiment re-associates the original password with the modified identifier and provides it to the terminal device.
  • the identification of each of the one or more reference wireless access points of the selected one of the selected reference wireless access points is associated with at least one of the at least one target wireless access point that has not been successfully connected.
  • the similarity of the identifier is greater than the preset similarity threshold.
  • the network device may in turn wirelessly identify the identity of each of the at least one reference wireless access point with each of the at least one target wireless access point that has not been successfully connected.
  • the similarity between the identifiers of the points is compared with a preset similarity threshold; and then the reference wireless access points whose similarities are greater than the preset similarity threshold are selected from the at least one reference wireless access point.
  • the network device may first sort the at least one reference wireless access point in order of similarity size; and then select a predetermined number of reference wireless access points from the side with the similarity.
  • Step 305 Push the access information of the selected reference wireless access point to the terminal device.
  • the network device may push the access information of the selected reference wireless access point to the terminal device.
  • the terminal device can attempt to connect to the nearby target wireless access point by using the access information of the selected reference wireless access point.
  • the access information may be information used to access the wireless access point, such as a password, a verification code, and the like.
  • the network device pushes the selected access information of the reference wireless access point and the identifier of the target wireless access point similar to the reference wireless access point to the terminal device, to The terminal device is caused to use the access information of the reference wireless access point to attempt to connect to the target wireless access point similar to the reference wireless access point.
  • the above process 300 may further include the step 302': in response to determining that there is at least one target wireless access point successfully connected in the at least one target wireless access point, the at least one successfully connected target The access information of the wireless access point is pushed to the terminal device.
  • the network device may determine whether at least one target wireless access point that has been successfully connected exists in the at least one target wireless access point; In the case of a successfully connected target wireless access point, push at least one access information of the successfully connected target wireless access point to the terminal device
  • the network device may prioritize access information for the selected referenced wireless access point and push the prioritized access information to the terminal device.
  • the access information of the target wireless access point that has been successfully connected has a higher priority than the access information of the reference wireless access point.
  • the network device may further comprehensively evaluate the information of the successfully connected target wireless access point, and set specific information on the access information of the at least one successfully connected target wireless access point according to the comprehensive score score. Priority.
  • the step of pushing the access information of the reference wireless access point to the terminal device in step 305 and the access information of the target wireless access point to be successfully connected in step 302' are pushed to the terminal device.
  • the steps can be performed simultaneously.
  • the flow 300 of the method for pushing access information in this embodiment highlights the step of selecting a reference wireless access point as compared to the embodiment corresponding to FIG. Therefore, the solution described in this embodiment can select a reference wireless access point with a higher degree of similarity to the identifier of the wireless access point that has not been successfully connected, and utilizes the wireless access point that has not been successfully connected.
  • the access information of the reference similar wireless access point with higher similarity attempts to connect to the wireless access point that has not been successfully connected, thereby further improving the probability that the terminal device successfully connects to the wireless access point.
  • the process 400 of the method for connecting a wireless access point includes the following steps:
  • Step 401 Send a wireless access point connection request to the network device.
  • the terminal device (for example, the terminal device 101, 102, 103 shown in FIG. 1) on which the method for connecting to the wireless access point operates may be connected to the network device through a wired connection or a wireless connection (for example, The network device 105 shown in FIG. 1 transmits a wireless access point connection request.
  • the wireless access point connection request may include an identifier of the at least one target wireless access point in the vicinity of the terminal device or location information of the terminal device.
  • the terminal device may send a wireless access point connection to the network device. request.
  • the first operation may include any operation performed on the icon of the WLAN option or the wireless access point type application to trigger the terminal device to send the wireless access point connection request. For example, when the user clicks on the WLAN option or the icon of the wireless access point type application, the user can be considered to have performed the first operation.
  • the wireless access point type application installed on the terminal device can read the wireless access point list scanned by the terminal device to obtain the wireless access point list. An identifier of at least one of the wireless access points, and transmitting a wireless access point connection request including the identifiers to the network device.
  • the terminal device may start the positioning service, acquire the location information of the terminal device, and include the wireless location information of the terminal device.
  • the access point connection request is sent to the network device.
  • Step 402 Acquire an access information set from the network device, where the access information set includes at least one access information provided by the network device.
  • the access information set further includes an identifier of a target wireless access point corresponding to the access information in the access information set.
  • the network device may identify the identifier of the at least one target wireless access point or the terminal device in the vicinity of the terminal device in the wireless access point connection request.
  • the location information is processed and analyzed, and the corresponding access information set is returned.
  • the access information may be information used to access the wireless access point, such as a password, a verification code, and the like.
  • the access information set may include access information of the successfully connected target wireless access point of the at least one target wireless access point; and may also include one or more target wireless interfaces with the at least one target wireless access point The access information of the reference wireless access point similar to the access point; the two types of access information may also be included at the same time.
  • the access information set includes access information of the reference wireless access point and a target wireless access point corresponding to the access information (ie, a target wireless access point similar to the reference wireless access point) The identity of the reference wireless access point is not included.
  • Step 403 in response to the access information set including access information of a reference wireless access point similar to one or more of the at least one target wireless access point in the vicinity, in the reuse access information set The access information attempts to connect to the target wireless access point corresponding to the access information until the access information in the successfully connected wireless access point or access information set is all attempted.
  • the terminal device may perform the following steps: The step of attempting to connect to the target wireless access point corresponding to the access information by using the access information in the access information set may be repeated until the access information in the successfully connected wireless access point or the access information set is all attempted.
  • the target wireless access point corresponding to the access information may be a target wireless access point similar to the reference wireless access point to which the access information belongs.
  • each access information in the set of access information acquired by the terminal device from the network device may be set with a priority, and the terminal device may attempt to connect and use the access information according to the order of priority from highest to lowest.
  • the target wireless access point corresponding to the access information may be set with a priority, and the terminal device may attempt to connect and use the access information according to the order of priority from highest to lowest.
  • the access information set may further include at least one successfully connected target wireless access point. Enter information.
  • the terminal device may repeatedly use the access information of the target wireless access point that is successfully connected by at least one of the access information sets to attempt to connect to the successfully connected target wireless access point corresponding to the access information.
  • Steps until the access information of the successfully connected wireless access point or the at least one successfully connected target wireless access point is all tried; if the access information of the at least one successfully connected target wireless access point is unsuccessful Connecting the wireless access point, the terminal device may repeatedly use the access information of the reference wireless access point in the access information set to attempt to connect to the target wireless access point corresponding to the access information until the wireless access point is successfully connected. Or the access information of the reference wireless access point in the access information set is all tried.
  • each access information in the set of access information acquired by the terminal device from the network device may be set with a priority, and generally, the access information of the successfully connected target wireless access point has a high priority. Refer to the access information of the wireless access point.
  • Some embodiments of the present application provide a method for connecting a wireless access point, first, sending a wireless access point connection request to a network device; then, acquiring an access information set from the network device; and finally, including in the access information set
  • the access information in the access information set is repeatedly used to attempt to connect and The step of the target wireless access point corresponding to the access information until all the access information in the wireless access point or the access information set is successfully connected. Therefore, the access information of the wireless access point similar to the wireless access point in the vicinity of the user is connected to the wireless access point in the vicinity of the user, which helps to improve the probability that the user successfully connects to the wireless access point.
  • FIG. 5 there is shown a block diagram of a computer system 500 suitable for use in implementing a network device or terminal device of an embodiment of the present application.
  • the network device or terminal device shown in FIG. 5 is merely an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
  • computer system 500 includes a central processing unit (CPU) 501 that can be loaded into a program in random access memory (RAM) 503 according to a program stored in read only memory (ROM) 502 or from storage portion 508. And perform various appropriate actions and processes.
  • RAM random access memory
  • ROM read only memory
  • RAM 503 various programs and data required for the operation of the system 500 are also stored.
  • the CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504.
  • An input/output (I/O) interface 505 is also coupled to bus 504.
  • the following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, a touch screen, etc.; an output portion 507 including a liquid crystal display (LCD) or the like and a speaker, etc.; a storage portion 508 including a hard disk or the like; and including, for example, a LAN
  • the communication section 509 performs communication processing via a network such as the Internet.
  • Driver 510 is also coupled to I/O interface 505 as needed.
  • a removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 510 as needed so that a computer program read therefrom is installed into the storage portion 508 as needed.
  • an embodiment of the present disclosure includes a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for executing the method illustrated in the flowchart.
  • the computer program can be downloaded and installed from the network via the communication portion 509, and/or installed from the removable medium 511.
  • CPU central processing unit
  • the computer readable medium described above may be a computer readable signal medium or a computer readable storage medium or any combination of the two.
  • the computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device.
  • a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
  • each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the logic functions for implementing the specified.
  • Executable instructions can also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
  • the present application further provides a computer readable medium, which may be included in the network device described in the foregoing embodiment, or may exist separately but not assembled into the network device.
  • the computer readable medium carries one or more programs, when the one or more programs are executed by the network device, causing the network device to: acquire the terminal device in response to receiving the wireless access point connection request sent by the terminal device Information of at least one wireless access point in the vicinity; in response to determining that there is at least one wireless access point that has not been successfully connected in the at least one wireless access point, information from at least one wireless access point that has not been successfully connected The information of at least part of the wireless access points is selected and added to the push information set; at least part of the information of the wireless access points in the push information set is pushed to the terminal device.
  • the present application further provides a computer readable medium, which may be included in the terminal device described in the foregoing embodiment, or may exist separately but not assembled into the terminal device.
  • the computer readable medium carries one or more programs, when the one or more programs are executed by the terminal device, causing the terminal device to: send a wireless access point connection request to the network device; and obtain the access information from the network device.
  • the access information set comprising access information of a reference wireless access point similar to one or more of the at least one target wireless access point in the vicinity, in the reuse access information set
  • the step of the access information attempting to connect to the target wireless access point corresponding to the access information until the access information in the successfully connected wireless access point or the access information set is all attempted.

Landscapes

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

Abstract

Disclosed by the embodiments of present application are a method and device used for pushing access information. One specific implementation mode of the method comprises: in response to receiving a wireless access point connection request sent by a terminal device, obtaining at least one target wireless access point near the terminal device; in response to determining that the at least one target wireless access point meets a preset condition, obtaining at least one reference wireless access point that at least one reference user has successfully connected to or tried to connect to; selecting one or more reference wireless access points from the at least one reference wireless access point; and pushing access information of the selected reference wireless access points to the terminal device. The described implementation mode achieves pushing to a user access information of a wireless access point similar to a wireless access point near the user, and uses the access information of the wireless access point similar to the wireless access point near the user to connect the wireless access point near the user, which helps to increase the probability of the user successfully connecting to the wireless access point.

Description

用于推送接入信息的方法和设备Method and apparatus for pushing access information 技术领域Technical field
本申请涉及通信技术领域,具体涉及无线通信技术领域,尤其涉及用于推送接入信息的方法和设备。The present application relates to the field of communications technologies, and in particular, to the field of wireless communications technologies, and in particular, to a method and device for pushing access information.
背景技术Background technique
随着无线通信技术的不断发展,WI-FI(WIreless-FIdelity,无线保真)网络已经成为用户日常访问网络的一种重要方式,同时也给用户带来了极大的便利。With the continuous development of wireless communication technology, the WI-FI (WIreless-FIdelity) network has become an important way for users to access the network on a daily basis, and it also brings great convenience to users.
目前,当用户附近存在被成功连接过的无线接入点时,无线接入点类应用的后台服务器向用户推送被成功连接过的无线接入点的接入信息,用户的终端设备利用该接入信息连接无线接入点;当用户附近仅存在未被成功连接过的无线接入点时,无线接入点类应用的后台服务器因未存储未被成功连接过的无线接入点的接入信息,而不会向终端设备推送任何接入信息,此时用户的终端设备就无法连接无线接入点。At present, when there is a wireless access point that is successfully connected in the vicinity of the user, the background server of the wireless access point application pushes the access information of the successfully connected wireless access point to the user, and the user terminal device utilizes the connection. The incoming information is connected to the wireless access point; when there is only a wireless access point that has not been successfully connected in the vicinity of the user, the background server of the wireless access point application does not store the access of the wireless access point that has not been successfully connected. Information, without pushing any access information to the terminal device, at this time the user's terminal device cannot connect to the wireless access point.
发明内容Summary of the invention
本申请的一些实施例的目的在于提出一种改进的用于推送接入信息的方法和设备。It is an object of some embodiments of the present application to provide an improved method and apparatus for pushing access information.
第一方面,本申请的一些实施例提供了一种用于推送接入信息的方法,该方法包括:响应于接收到终端设备发送的无线接入点连接请求,获取终端设备附近的至少一个目标无线接入点;响应于确定至少一个目标无线接入点满足预设条件,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点;从至少一个参考无线接入点中选取一个或多个参考无线接入点,其中,所选取出的参考无线接入点与至少一个目标无线接入点中的一个或多个目标无线接入点相似;将所选取出的参考无线接入点的接入信息推送给终端设备。In a first aspect, some embodiments of the present application provide a method for pushing access information, the method comprising: acquiring at least one target in the vicinity of a terminal device in response to receiving a wireless access point connection request sent by the terminal device a wireless access point; in response to determining that the at least one target wireless access point satisfies a preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect; selecting one from the at least one reference wireless access point Or a plurality of reference wireless access points, wherein the selected referenced wireless access point is similar to one or more of the at least one target wireless access point; the selected referenced wireless access is taken The access information of the point is pushed to the terminal device.
第二方面,本申请的一些实施例提供了一种用于推送接入信息的装置,该装置包括:第一获取单元,配置用于响应于接收到终端设备发送的无线接入点连接请求,获取终端设备附近的至少一个目标无线接入点;第二获取单元,配置用于响应于确定至少一个目标无线接入点满足预设条件,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点;选取单元,配置用于从至少一个参考无线接入点中选取一个或多个参考无线接入点,其中,所选取出的参考无线接入点与至少一个目标无线接入点中的一个或多个目标无线接入点相似;推送单元,配置用于将所选取出的参考无线接入点的接入信息推送给终端设备。In a second aspect, some embodiments of the present application provide an apparatus for pushing access information, where the apparatus includes: a first acquiring unit, configured to respond to receiving a wireless access point connection request sent by a terminal device, Acquiring at least one target wireless access point in the vicinity of the terminal device; the second acquiring unit is configured to acquire at least one reference that the at least one reference user succeeds or attempts to connect in response to determining that the at least one target wireless access point meets the preset condition a wireless access point, configured to select one or more reference wireless access points from the at least one reference wireless access point, wherein the selected reference wireless access point and the at least one target wireless access point are selected The one or more target wireless access points are similar; the pushing unit is configured to push the access information of the selected reference wireless access point to the terminal device.
第三方面,本申请的一些实施例提供了一种用于连接无线接入点的方法,该方法包括:向网络设备发送无线接入点连接请求;从网络设备获取接入信息集合;响应于接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息,重复利用接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的接入信息被全部尝试。In a third aspect, some embodiments of the present application provide a method for connecting a wireless access point, the method comprising: transmitting a wireless access point connection request to a network device; acquiring an access information set from the network device; The access information set includes access information of a reference wireless access point that is similar to one or more of the at least one target wireless access point in the vicinity, and attempts to reuse the access information in the access information set The step of connecting the target wireless access point corresponding to the access information until all the access information in the wireless access point or access information set is successfully connected.
第四方面,本申请的一些实施例提供了一种用于连接无线接入点的装置,该装置包括:发送单元,配置用于向网络设备发送无线接入点连接请求;获取单元,配置用于从网络设备获取接入信息集合;连接单元,配置用于响应于接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息,重复利用接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的接入信息被全部尝试。In a fourth aspect, some embodiments of the present application provide an apparatus for connecting a wireless access point, the apparatus comprising: a sending unit configured to send a wireless access point connection request to a network device; an acquiring unit, configured Acquiring an access information set from the network device; the connecting unit, configured to receive, in response to the access information set, a reference radio access similar to one or more of the at least one target wireless access point in the vicinity The access information of the point, the step of repeatedly using the access information in the access information set to attempt to connect to the target wireless access point corresponding to the access information, until the access in the wireless access point or the access information set is successfully connected The information was all tried.
第五方面,本申请的一些实施例提供了一种网络设备,该网络设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中描述的方法。In a fifth aspect, some embodiments of the present application provide a network device including: one or more processors; storage means for storing one or more programs; when one or more programs are one or more The plurality of processors execute such that one or more processors implement the method as described in the first aspect.
第六方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面描述的方法。In a sixth aspect, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to implement the method as described in the first aspect.
第七方面,本申请的一些实施例提供了一种终端设备,该终端设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第三方面中描述的方法。In a seventh aspect, some embodiments of the present application provide a terminal device including: one or more processors; storage means for storing one or more programs; when one or more programs are one or more The plurality of processors execute such that one or more processors implement the method as described in the third aspect.
第八方面,本申请的一些实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第三方面描述的方法。In an eighth aspect, some embodiments of the present application provide a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the method as described in the third aspect.
本申请实施例提供的用于推送接入信息的方法和设备,首先,在接收到终端设备发送的无线接入点连接请求的情况下,获取终端设备附近的至少一个目标无线接入点;之后,在确定至少一个目标无线接入点满足预设条件的情况下,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点;然后,从至少一个参考无线接入点中选取一个或多个与至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点;最后,将所选取出的参考无线接入点的接入信息推送给终端设备。从而实现了为用户推送与用户附近的无线接入点相似的无线接入点的接入信息,利用与用户附近的无线接入点相似的无线接入点的接入信息连接用户附近的无线接入点,有助于提升用户成功连接无线接入点的概率。The method and device for pushing the access information provided by the embodiment of the present application, firstly, acquiring at least one target wireless access point in the vicinity of the terminal device when receiving the wireless access point connection request sent by the terminal device; And acquiring, by the at least one target wireless access point, the preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect; and then selecting one of the at least one reference wireless access point Or a plurality of reference wireless access points similar to one or more of the at least one target wireless access point; and finally, pushing the access information of the selected reference wireless access point to the terminal device . Therefore, the access information of the wireless access point similar to the wireless access point in the vicinity of the user is pushed for the user, and the wireless access point of the wireless access point similar to the wireless access point in the vicinity of the user is connected to connect the wireless connection in the vicinity of the user. Incoming points help to increase the probability of a user successfully connecting to a wireless access point.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1是本申请的一些实施例可以应用于其中的示例性系统架构图;1 is an exemplary system architecture diagram to which some embodiments of the present application may be applied;
图2是根据本申请的用于推送接入信息的方法的一个实施例的流程图;2 is a flow diagram of one embodiment of a method for pushing access information in accordance with the present application;
图3是根据本申请的用于推送接入信息的方法的又一个实施例的流程图;3 is a flow chart of still another embodiment of a method for pushing access information in accordance with the present application;
图4是根据本申请的用于连接无线接入点的方法的一个实施例的流程图;4 is a flow diagram of one embodiment of a method for connecting a wireless access point in accordance with the present application;
图5是适于用来实现本申请的一些实施例的网络设备或终端设备的计算机系统的结构示意图。5 is a block diagram of a computer system of a network device or terminal device suitable for implementing some embodiments of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the invention, rather than the invention. It is also to be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings.
图1示出了可以应用本申请的用于推送接入信息的方法或用于连接无线接入点的方法的实施例的示例性系统架构100。1 illustrates an exemplary system architecture 100 of an embodiment of a method for pushing access information or a method for connecting a wireless access point to which the present application may be applied.
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和网络设备105。网络104用以在终端设备101、102、103和网络设备105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1, system architecture 100 can include terminal devices 101, 102, 103, network 104, and network device 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the network device 105. Network 104 may include various types of connections, such as wired, wireless communication links, fiber optic cables, and the like.
用户可以使用终端设备101、102、103通过网络104与网络设备105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种客户端应用,例如无线接入点类应用等。The user can interact with the network device 105 over the network 104 using the terminal devices 101, 102, 103 to receive or transmit messages and the like. Various client applications, such as wireless access point applications, etc., can be installed on the terminal devices 101, 102, and 103.
终端设备101、102、103可以是具有连接无线接入点功能的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。The terminal devices 101, 102, 103 may be various electronic devices having the function of connecting wireless access points, including but not limited to smart phones, tablets, e-book readers, laptop portable computers, desktop computers, and the like.
网络设备105可以是提供各种服务的网络设备,例如网络设备105可以是无线接入点类应用的后台服务器。无线接入点类应用的后台服务器可以在接收到终端设备101、102、103发送的无线接入点连接请求的情况下,获取终端设备101、102、103附近的至少一个目标无线接入点的信息,对所获取的至少一个目标无线接入点的信息进行分析等处理,并将处理结果(例如所选取出的参考无线接入点的接入信息)推送给终端设备101、102、103。The network device 105 may be a network device that provides various services, for example, the network device 105 may be a background server of a wireless access point type application. The background server of the wireless access point type application may acquire the at least one target wireless access point in the vicinity of the terminal devices 101, 102, and 103 when receiving the wireless access point connection request sent by the terminal devices 101, 102, and 103. The information is processed by analyzing the acquired information of the at least one target wireless access point, and the processing result (for example, the access information of the selected reference wireless access point) is pushed to the terminal devices 101, 102, and 103.
需要说明的是,本申请的一些实施例所提供的用于推送接入信息的方法可以由网络设备105执行。本申请的一些实施例所提供的用于连接无线接入点的方法可以由终端设备101、102、103执行。It should be noted that the method for pushing access information provided by some embodiments of the present application may be performed by the network device 105. The method for connecting a wireless access point provided by some embodiments of the present application may be performed by the terminal device 101, 102, 103.
应该理解,图1中的终端设备、网络和网络设备的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和网络设备。It should be understood that the number of terminal devices, networks, and network devices in FIG. 1 is merely illustrative. Depending on the implementation needs, there can be any number of terminal devices, networks, and network devices.
继续参考图2,其示出了根据本申请的用于推送接入信息的方法的一个实施例的流程200。该用于推送接入信息的方法的流程200,包括以下步骤:With continued reference to FIG. 2, a flow 200 of one embodiment of a method for pushing access information in accordance with the present application is illustrated. The process 200 of the method for pushing access information includes the following steps:
步骤201,响应于接收到终端设备发送的无线接入点连接请求,获取终端设备附近的至少一个目标无线接入点。Step 201: Acquire at least one target wireless access point in the vicinity of the terminal device in response to receiving the wireless access point connection request sent by the terminal device.
在本实施例中,在接收到终端设备(例如图1所示的终端设备101、102、103)发送的无线接入点连接请求的情况下,用于推送接入信息的方法运行于其上的网络设备(例如图1所示的网络设备105)可以获取终端设备附近的至少一个目标无线接入点。其中,网络设备可以是无线接入点类应用的后台服务器,其存储有大量无线接入点的信息。无线接入点的信息可以包括但不限于以下至少一项:无线接入点的标识、无线接入点被尝试连接和/或成功连接的频率、无线接入点的位置信息、无线接入点的连接时间、无线接入点的信号强度、无线接入点的稳定性、无线接入点的网速。无线接入点的标识可以是无线接入点的名称,如SSID(Service Set Identifier,服务集标识)和/或BSSID(Basic Service Set Identifier)等。In the present embodiment, in the case of receiving a wireless access point connection request transmitted by a terminal device (for example, the terminal device 101, 102, 103 shown in FIG. 1), the method for pushing the access information runs thereon. A network device (such as network device 105 shown in FIG. 1) may acquire at least one target wireless access point in the vicinity of the terminal device. The network device may be a background server of a wireless access point type application, and stores information of a plurality of wireless access points. The information of the wireless access point may include, but is not limited to, at least one of the following: an identifier of the wireless access point, a frequency at which the wireless access point is attempted to connect and/or successfully connect, location information of the wireless access point, and a wireless access point. Connection time, signal strength of the wireless access point, stability of the wireless access point, and network speed of the wireless access point. The identifier of the wireless access point may be a name of the wireless access point, such as an SSID (Service Set Identifier) and/or a BSSID (Basic Service Set Identifier).
在一些实施例中,当用户对终端设备的设置项里面的WLAN(Wireless Local Area Networks,无线局域网)选项或终端设备上安装的无线接入点类应用的图标执行第一操作时,终端设备可以向网络设备发送无线接入点连接请求。其中,第一操作可以包括任何对WLAN选项或无线接入点类应用的图标进行的、能够触发终端设备发送无线接入点连接请求的操作。例如,当用户点击WLAN选项或无线接入点类应用的图标时,可以认为用户执行了第一操作。无线接入点连接请求中可以包括终端设备附近的至少一个目标无线接入点的标识或终端设备的位置信息。In some embodiments, when the user performs a first operation on a WLAN (Wireless Local Area Networks) option in the setting item of the terminal device or an icon of the wireless access point type application installed on the terminal device, the terminal device may Send a wireless access point connection request to the network device. The first operation may include any operation performed on the icon of the WLAN option or the wireless access point type application to trigger the terminal device to send the wireless access point connection request. For example, when the user clicks on the WLAN option or the icon of the wireless access point type application, the user can be considered to have performed the first operation. The wireless access point connection request may include an identifier of the at least one target wireless access point in the vicinity of the terminal device or location information of the terminal device.
作为一种示例,当用户点击终端设备的设置项里面的WLAN选项时,终端设备上安装的无线接入点类应用可以读取终端设备扫描得到的无线接入点列表,获取无线接入点列表中的至少一个无线接入点的标 识,并将该等标识发送网络设备;网络设备可以基于该等标识进行查询,获取该等标识所指示的无线接入点,作为终端设备附近的至少一个目标无线接入点。As an example, when the user clicks the WLAN option in the setting item of the terminal device, the wireless access point type application installed on the terminal device can read the wireless access point list scanned by the terminal device to obtain the wireless access point list. An identifier of the at least one wireless access point, and the identifier is sent to the network device; the network device may query, according to the identifier, the wireless access point indicated by the identifier, as at least one target in the vicinity of the terminal device Wireless access point.
作为另一种示例,可将预先设定的参考区域划分成多个子区域,其中,每个子区域内可以包括多个无线接入点,网络设备可以存储每个子区域内的无线接入点的信息;在一些实施例中,该参考区域可覆盖至少一个行政区域或至少一个国家。这里,当用户点击终端设备上安装的无线接入点类应用的图标时,终端设备可以开启定位服务,获取该终端设备的位置信息,并发送至网络设备;网络设备可以确定该终端设备的位置信息所指示的子区域,并查找所确定的子区域内的至少一个无线接入点,作为终端设备附近的至少一个目标无线接入点。As another example, the preset reference area may be divided into multiple sub-areas, wherein each sub-area may include multiple wireless access points, and the network device may store information of the wireless access points in each sub-area. In some embodiments, the reference area may cover at least one administrative area or at least one country. Here, when the user clicks on the icon of the wireless access point application installed on the terminal device, the terminal device can start the location service, acquire the location information of the terminal device, and send the location information to the network device; the network device can determine the location of the terminal device. a sub-area indicated by the information, and searching for at least one wireless access point within the determined sub-area as at least one target wireless access point in the vicinity of the terminal device.
步骤202,响应于确定至少一个目标无线接入点满足预设条件,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点。Step 202: Acquire at least one reference wireless access point that the at least one reference user succeeds or attempts to connect in response to determining that the at least one target wireless access point satisfies a preset condition.
在本实施例中,基于步骤201所获取的至少一个目标无线接入点,网络设备可以确定至少一个目标无线接入点是否满足预设条件,在满足预设条件的情况下,获取至少一个参考用户在一定时间段(例如前三个月)内成功或尝试连接过的至少一个参考无线接入点。In this embodiment, based on the at least one target wireless access point acquired in step 201, the network device may determine whether the at least one target wireless access point satisfies a preset condition, and obtain at least one reference if the preset condition is met. At least one reference wireless access point that the user successfully or attempts to connect within a certain period of time (eg, the first three months).
在一些实施例中,至少一个参考用户可以包括从无线接入点类应用的注册用户中随机选取出的部分用户;也可以包括尝试连接过至少一个未被成功连接过的目标无线接入点的至少一个用户。如,参考用户可以是在最近三个月内尝试连接过至少一个未被成功连接过的目标无线接入点的用户。In some embodiments, the at least one reference user may include a portion of the user randomly selected from the registered users of the wireless access point class application; and may also include attempting to connect to at least one target wireless access point that has not been successfully connected. At least one user. For example, the reference user may be a user who has attempted to connect to at least one target wireless access point that has not been successfully connected within the last three months.
在一些实施例中,预设条件是可以是预先设定的各种条件,这里不对预设条件的具体内容进行限定。作为示例,预设条件可以包括所至少一个目标无线接入点中存在至少一个未被成功连接过的目标无线接入点,且至少一个目标无线接入点中不存在被成功连接过的目标无线接入点或被成功连接过的目标无线接入点的数量小于预设阈值(例如小于2个)。In some embodiments, the preset condition may be various conditions preset, and the specific content of the preset condition is not limited herein. As an example, the preset condition may include that there is at least one target wireless access point that is not successfully connected in the at least one target wireless access point, and there is no successfully connected target wireless in the at least one target wireless access point. The number of access points or target wireless access points that have been successfully connected is less than a preset threshold (eg, less than 2).
在一些实施例中,网络设备可以通过多种方式确定目标无线接入点是未被成功连接过的目标无线接入点,还是被成功连接过的目标无线接入点。In some embodiments, the network device can determine whether the target wireless access point is a target wireless access point that has not been successfully connected or a target wireless access point that has been successfully connected.
作为一种示例,网络设备可以确定目标无线接入点的信息中的连接时间是否为空;若连接时间为空,说明该目标无线接入点是未被成功连接过的目标无线接入点;若连接时间不为空,说明该目标无线接入点是被成功连接过的目标无线接入点。As an example, the network device may determine whether the connection time in the information of the target wireless access point is empty; if the connection time is empty, the target wireless access point is a target wireless access point that has not been successfully connected; If the connection time is not empty, the target wireless access point is the target wireless access point that has been successfully connected.
作为另一种示例,当安装有无线接入点类应用的终端设备成功连接无线接入点时,终端设备可以生成包括无线接入点的标识的连接记录,并发送至网络设备存储。这样,网络设备可以基于目标无线接入点的标识在本地存储的连接记录中进行查找;若本地存储的连接记录中不存在包括该目标无线接入点的标识的连接记录,说明该目标无线接入点是未被成功连接过的目标无线接入点;若本地存储的连接记录中存在包括该目标无线接入点的标识的连接记录,说明该目标无线接入点是被成功连接过的目标无线接入点。As another example, when a terminal device installed with a wireless access point type application successfully connects to a wireless access point, the terminal device may generate a connection record including an identifier of the wireless access point and transmit it to the network device storage. In this way, the network device can perform a search in the locally stored connection record based on the identifier of the target wireless access point; if there is no connection record including the identifier of the target wireless access point in the locally stored connection record, the target wireless connection The ingress point is a target wireless access point that has not been successfully connected; if there is a connection record including the identifier of the target wireless access point in the locally stored connection record, the target wireless access point is a successfully connected target. Wireless access point.
在一些实施例中,当安装有无线接入点类应用的终端设备成功或尝试连接无线接入点时,终端设备可以生成包括无线接入点的标识和用户标识的成功或尝试连接记录,并发送至网络设备存储。这样,网络设备可以首先基于参考用户标识在本地存储的成功或尝试连接记录中进行查找,获取至少一条包括该参考用户标识的成功或尝试连接记录;然后从所获取的至少一条成功或尝试连接记录中提取出至少一个参考无线接入点的标识;最后可以基于至少一个参考无线接入点的标识查找出至少一个参考无线接入点。In some embodiments, when a terminal device installed with a wireless access point type application successfully or attempts to connect to a wireless access point, the terminal device may generate a success or attempt connection record including the identity of the wireless access point and the user identification, and Send to network device storage. In this way, the network device may first perform a lookup based on the reference user identifier in the locally stored success or attempt connection record, obtain at least one success or attempt connection record including the reference user identifier; and then obtain at least one successful or attempted connection record from the obtained Extracting an identifier of the at least one reference wireless access point; and finally finding at least one reference wireless access point based on the identifier of the at least one reference wireless access point.
步骤203,从至少一个参考无线接入点中选取一个或多个参考无线接入点。Step 203: Select one or more reference wireless access points from the at least one reference wireless access point.
在本实施例中,基于步骤202所获取的至少一个参考无线接入点,网络设备可以从其中选取出一个或多个参考无线接入点。其中,所选取出的参考无线接入点与至少一个目标无线接入点中的一个或多个目标无线接入点相似。作为示例,网络设备可以选取出与至少一个目标无线接入点中的一个或多个目标无线接入点的位置信息相似或名称相似的一个或多个参考无线接入点。In this embodiment, based on the at least one reference wireless access point acquired in step 202, the network device may select one or more reference wireless access points therefrom. Wherein the selected reference wireless access point is similar to one or more of the at least one target wireless access point. As an example, the network device may select one or more reference wireless access points that are similar or similar in location information to one or more of the at least one target wireless access point.
步骤204,将所选取出的参考无线接入点的接入信息推送给终端设备。Step 204: Push the access information of the selected reference wireless access point to the terminal device.
在本实施例中,基于步骤203所选取出的参考无线接入点,网络设 备可以将所选取出的参考无线接入点的接入信息推送给终端设备。终端设备可以利用所选取出的参考无线接入点的接入信息尝试连接附近的目标无线接入点。其中,接入信息可以是用于接入无线接入点的信息,例如密码、验证码等。In this embodiment, based on the reference wireless access point selected in step 203, the network device can push the access information of the selected reference wireless access point to the terminal device. The terminal device can attempt to connect to the nearby target wireless access point by using the access information of the selected reference wireless access point. The access information may be information used to access the wireless access point, such as a password, a verification code, and the like.
在一些实施例中,网络设备可以对所选取出的参考无线接入点的接入信息设置优先级,并将设置优先级的接入信息推送给终端设备。终端设备可以根据优先级从高到低的顺序依次利用接入信息尝试连接与该接入信息相对应的目标无线接入点。其中,与接入信息相对应的目标无线接入点可以是与该接入信息所属的参考无线接入点相似的目标无线接入点。作为示例,网络设备可以首先对与接入信息相对应的目标无线接入点的连接成功率、信号强度、稳定性、网速等进行综合评估,从而获取与接入信息相对应的目标无线接入点的综合评分,通常,无线接入点的连接成功率越高,信号强度越强,稳定性越高,网速越快,其综合评分越高;然后根据综合评分的分值高低对与目标无线接入点相对应的接入信息设置优先级,通常,无线接入点的综合评分分值越高,其对应的接入信息的优先级越高。In some embodiments, the network device may prioritize access information for the selected referenced wireless access point and push the prioritized access information to the terminal device. The terminal device may sequentially use the access information to connect to the target wireless access point corresponding to the access information according to the order of priority from high to low. The target wireless access point corresponding to the access information may be a target wireless access point similar to the reference wireless access point to which the access information belongs. As an example, the network device may first comprehensively evaluate the connection success rate, signal strength, stability, network speed, and the like of the target wireless access point corresponding to the access information, thereby acquiring the target wireless connection corresponding to the access information. The comprehensive score of the entry point, usually, the higher the success rate of the connection of the wireless access point, the stronger the signal strength, the higher the stability, the faster the network speed, the higher the comprehensive score; then the score according to the score of the comprehensive score The access information corresponding to the target wireless access point is set to a priority. Generally, the higher the comprehensive score of the wireless access point, the higher the priority of the corresponding access information.
本申请的一些实施例提供的用于推送接入信息的方法,首先,在接收到终端设备发送的无线接入点连接请求的情况下,获取终端设备附近的至少一个目标无线接入点;之后,在确定至少一个目标无线接入点满足预设条件的情况下,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点;然后,从至少一个参考无线接入点中选取一个或多个与至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点;最后,将所选取出的参考无线接入点的接入信息推送给终端设备。从而实现了为用户推送与用户附近的无线接入点相似的无线接入点的接入信息,利用与用户附近的无线接入点相似的无线接入点的接入信息连接用户附近的无线接入点,有助于提升用户成功连接无线接入点的概率。此外,在一些实施例中,通过成功或尝试连接过目前无线接入点的参考用户的连接历史来获取参考无线接入点,有助于更精准地定位到合适的参考无线接入点。A method for pushing access information provided by some embodiments of the present application, first, acquiring at least one target wireless access point in the vicinity of the terminal device when receiving the wireless access point connection request sent by the terminal device; And acquiring, by the at least one target wireless access point, the preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect; and then selecting one of the at least one reference wireless access point Or a plurality of reference wireless access points similar to one or more of the at least one target wireless access point; and finally, pushing the access information of the selected reference wireless access point to the terminal device . Therefore, the access information of the wireless access point similar to the wireless access point in the vicinity of the user is pushed for the user, and the wireless access point of the wireless access point similar to the wireless access point in the vicinity of the user is connected to connect the wireless connection in the vicinity of the user. Incoming points help to increase the probability of a user successfully connecting to a wireless access point. Moreover, in some embodiments, obtaining a reference wireless access point by successfully or attempting to connect to a reference user's connection history of the current wireless access point helps to more accurately locate the appropriate reference wireless access point.
进一步参考图3,其示出了用于推送接入信息的方法的又一个实施例的流程300。该用于推送接入信息的方法的流程300,包括以下步骤:With further reference to FIG. 3, a flow 300 of yet another embodiment of a method for pushing access information is illustrated. The process 300 of the method for pushing access information includes the following steps:
步骤301,响应于接收到终端设备发送的无线接入点连接请求,获取终端设备附近的至少一个目标无线接入点。Step 301: Acquire at least one target wireless access point in the vicinity of the terminal device in response to receiving the wireless access point connection request sent by the terminal device.
在本实施例中,在接收到终端设备(例如图1所示的终端设备101、102、103)发送的无线接入点连接请求的情况下,用于推送接入信息的方法运行于其上的网络设备(例如图1所示的网络设备105)可以获取终端设备附近的至少一个目标无线接入点。其中,网络设备可以是无线接入点类应用的后台服务器,其存储有大量无线接入点的信息。无线接入点的信息可以包括但不限于以下至少一项:无线接入点的标识、无线接入点被尝试连接和/或成功连接的频率、无线接入点的位置信息、无线接入点的连接时间、无线接入点的信号强度、无线接入点的稳定性、无线接入点的网速。无线接入点的标识可以是无线接入点的名称,如SSID(Service Set Identifier,服务集标识)和/或BSSID(Basic Service Set Identifier)等。In the present embodiment, in the case of receiving a wireless access point connection request transmitted by a terminal device (for example, the terminal device 101, 102, 103 shown in FIG. 1), the method for pushing the access information runs thereon. A network device (such as network device 105 shown in FIG. 1) may acquire at least one target wireless access point in the vicinity of the terminal device. The network device may be a background server of a wireless access point type application, and stores information of a plurality of wireless access points. The information of the wireless access point may include, but is not limited to, at least one of the following: an identifier of the wireless access point, a frequency at which the wireless access point is attempted to connect and/or successfully connect, location information of the wireless access point, and a wireless access point. Connection time, signal strength of the wireless access point, stability of the wireless access point, and network speed of the wireless access point. The identifier of the wireless access point may be a name of the wireless access point, such as an SSID (Service Set Identifier) and/or a BSSID (Basic Service Set Identifier).
步骤302,响应于确定至少一个目标无线接入点满足预设条件,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点。Step 302: Acquire at least one reference wireless access point that the at least one reference user succeeds or attempts to connect in response to determining that the at least one target wireless access point satisfies a preset condition.
在本实施例中,基于步骤201所获取的至少一个目标无线接入点,网络设备可以确定至少一个目标无线接入点是否满足预设条件,在满足预设条件的情况下,获取至少一个参考用户在一定时间段(例如前三个月)内成功或尝试连接过的至少一个参考无线接入点。其中,预设条件可以包括所至少一个目标无线接入点中存在至少一个未被成功连接过的目标无线接入点,且至少一个目标无线接入点中不存在被成功连接过的目标无线接入点或被成功连接过的目标无线接入点的数量小于预设阈值。In this embodiment, based on the at least one target wireless access point acquired in step 201, the network device may determine whether the at least one target wireless access point satisfies a preset condition, and obtain at least one reference if the preset condition is met. At least one reference wireless access point that the user successfully or attempts to connect within a certain period of time (eg, the first three months). The preset condition may include that at least one target wireless access point that is not successfully connected exists in the at least one target wireless access point, and the target wireless access point that is successfully connected is not present in the at least one target wireless access point. The number of inbound or successfully connected target wireless access points is less than a preset threshold.
步骤303,计算至少一个未被成功连接过的目标无线接入点的标识与至少一个参考无线接入点的标识的相似度。Step 303: Calculate the similarity between the identifier of the at least one target wireless access point that has not been successfully connected and the identifier of the at least one reference wireless access point.
在本实施例中,基于步骤302所获取的至少一个参考无线接入点,网络设备可以采用多种文本相似度计算方法计算至少一个未被成功连接过的无线接入点的标识与至少一个参考无线接入点的标识的相似度。其中,文本相似度计算方法可以包括但不限于编辑距离(Edit Distance)算法、余弦相似度(cosine similarity)算法、Jaccard相似度算法等。编辑距离,又称Levenshtein距离,是指两个字符串之间,由一个转成另一个 所需的最少编辑操作次数。许可的编辑操作包括将一个字符替换成另一个字符,插入一个字符,删除一个字符。一般来说,编辑距离越小,两个字符串的相似度越大。In this embodiment, based on the at least one reference wireless access point acquired in step 302, the network device may calculate, by using multiple text similarity calculation methods, the identifier and at least one reference of the at least one wireless access point that has not been successfully connected. The similarity of the identity of the wireless access point. The text similarity calculation method may include, but is not limited to, an Edit Distance algorithm, a cosine similarity algorithm, a Jaccard similarity algorithm, and the like. The edit distance, also known as the Levenshtein distance, is the minimum number of edit operations required between two strings, one from one to the other. Licensed editing operations include replacing one character with another, inserting one character, and deleting one character. In general, the smaller the edit distance, the greater the similarity between the two strings.
在一些实施例中,对于至少一个参考无线接入点中的每个参考无线接入点,网络设备可以首先计算该参考无线接入点的标识与至少一个未被成功连接过的目标无线接入点的标识的编辑距离;然后基于所计算出的编辑距离,确定出该参考无线接入点的标识与至少一个未被成功连接过的目标无线接入点的标识的相似度。作为示例,网络设备可以依次计算并获得该参考无线接入点的标识与至少一个未被成功连接过的目标无线接入点中的每个目标无线接入点的标识的编辑距离,从而确定该参考无线接入点的标识与至少一个未被成功连接过的目标无线接入点中的每个目标无线接入点的标识之间的相似度。In some embodiments, for each of the at least one reference wireless access point, the network device may first calculate the identity of the reference wireless access point with at least one target wireless access that has not been successfully connected. The edit distance of the identifier of the point; and then based on the calculated edit distance, determine the similarity of the identifier of the reference wireless access point to the identity of the at least one target wireless access point that has not been successfully connected. As an example, the network device may sequentially calculate and obtain an edit distance of the identifier of the reference wireless access point and the identifier of each target wireless access point of the at least one target wireless access point that has not been successfully connected, thereby determining the Referencing the similarity between the identity of the wireless access point and the identity of each of the target wireless access points of the at least one target wireless access point that has not been successfully connected.
步骤304,基于所计算出的相似度,从至少一个参考无线接入点中选取出一个或多个参考无线接入点。Step 304: Select one or more reference wireless access points from the at least one reference wireless access point based on the calculated similarity.
在本实施例中,基于步骤303所计算出的相似度,网络设备可以从至少一个参考无线接入点中选取出一个或多个参考无线接入点。通常,未被成功连接过的目标无线接入点的标识与相应的参考无线接入点的标识越相似,终端设备利用该参考无线接入点的接入信息成功连接该未被成功连接过的目标无线接入点的概率就越大。例如,同一家商店的多家分店内设置的无线接入点的标识和密码可能相同或相似,因而,当用户进入一家分店,且网络设备尚未存储该分店内设置的无线接入点的接入信息时,可通过上述实施例的方法获得其他分店内设置的无线接入点的接入信息作为该分店的无线接入点的接入信息,并提供给终端设备;又例如,一家商店可能将店内设置的无线接入点的标识修改为另一个相似的标识(如将标识从“XXX店1”修改为“XXX店2”),但仍使用原来的密码,对于这类情况,网络设备通过上述实施例的方法将原来的密码与修改后的标识重新关联,并提供给终端设备。In this embodiment, based on the similarity calculated in step 303, the network device may select one or more reference wireless access points from the at least one reference wireless access point. Generally, the identifier of the target wireless access point that has not been successfully connected is similar to the identifier of the corresponding reference wireless access point, and the terminal device successfully connects to the unconnected terminal by using the access information of the reference wireless access point. The probability of a target wireless access point is greater. For example, the identification and password of the wireless access point set in multiple branches of the same store may be the same or similar, so when the user enters a branch, and the network device has not stored the access of the wireless access point set in the branch. In the information, the access information of the wireless access point set in the other branch can be obtained as the access information of the wireless access point of the branch by the method of the foregoing embodiment, and provided to the terminal device; for example, a store may The identifier of the wireless access point set in the store is modified to another similar identifier (such as changing the logo from "XXX Store 1" to "XXX Store 2"), but the original password is still used. For this type of situation, the network device passes The method of the above embodiment re-associates the original password with the modified identifier and provides it to the terminal device.
在一些实施例中,所选取出的一个或多个参考无线接入点中的每个参考无线接入点的标识与至少一个未被成功连接过的目标无线接入点中的至少一者的标识的相似度大于预设相似度阈值。在一些实施例中,网络设备可以依次将至少一个参考无线接入点中的每个参考无线接入点的 标识与至少一个未被成功连接过的目标无线接入点中的各个目标无线接入点的标识之间的相似度与预设相似度阈值进行比较;然后从至少一个参考无线接入点中选取出相似度大于预设相似度阈值的参考无线接入点。In some embodiments, the identification of each of the one or more reference wireless access points of the selected one of the selected reference wireless access points is associated with at least one of the at least one target wireless access point that has not been successfully connected. The similarity of the identifier is greater than the preset similarity threshold. In some embodiments, the network device may in turn wirelessly identify the identity of each of the at least one reference wireless access point with each of the at least one target wireless access point that has not been successfully connected. The similarity between the identifiers of the points is compared with a preset similarity threshold; and then the reference wireless access points whose similarities are greater than the preset similarity threshold are selected from the at least one reference wireless access point.
在一些实施例中,网络设备可以首先按照相似度大小顺序对至少一个参考无线接入点进行排序;然后从相似度大的一侧开始选取出预设数目的参考无线接入点。In some embodiments, the network device may first sort the at least one reference wireless access point in order of similarity size; and then select a predetermined number of reference wireless access points from the side with the similarity.
步骤305,将所选取出的参考无线接入点的接入信息推送给终端设备。Step 305: Push the access information of the selected reference wireless access point to the terminal device.
在本实施例中,基于步骤304所选取出的参考无线接入点,网络设备可以将所选取出的参考无线接入点的接入信息推送给终端设备。终端设备可以利用所选取出的参考无线接入点的接入信息尝试连接附近的目标无线接入点。其中,接入信息可以是用于接入无线接入点的信息,例如密码、验证码等。在一些实施例中,在步骤305中,网络设备将选取出的参考无线接入点的接入信息以及与该参考无线接入点相似的目标无线接入点的标识一起推送给终端设备,以使终端设备使用该参考无线接入点的接入信息来尝试连接与该参考无线接入点相似的目标无线接入点。In this embodiment, based on the reference wireless access point selected in step 304, the network device may push the access information of the selected reference wireless access point to the terminal device. The terminal device can attempt to connect to the nearby target wireless access point by using the access information of the selected reference wireless access point. The access information may be information used to access the wireless access point, such as a password, a verification code, and the like. In some embodiments, in step 305, the network device pushes the selected access information of the reference wireless access point and the identifier of the target wireless access point similar to the reference wireless access point to the terminal device, to The terminal device is caused to use the access information of the reference wireless access point to attempt to connect to the target wireless access point similar to the reference wireless access point.
在一些实施例中,上述流程300还可包括步骤302′:响应于确定至少一个目标无线接入点中存在至少一个被成功连接过的目标无线接入点,将至少一个被成功连接过的目标无线接入点的接入信息推送给终端设备。In some embodiments, the above process 300 may further include the step 302': in response to determining that there is at least one target wireless access point successfully connected in the at least one target wireless access point, the at least one successfully connected target The access information of the wireless access point is pushed to the terminal device.
在本实施例中,基于步骤301所获取的至少一个目标无线接入点,网络设备可以确定至少一个目标无线接入点中是否存在至少一个被成功连接过的目标无线接入点;在存在至少一个被成功连接过的目标无线接入点的情况下,将至少一个被成功连接过的目标无线接入点的接入信息推送给终端设备In this embodiment, based on the at least one target wireless access point acquired in step 301, the network device may determine whether at least one target wireless access point that has been successfully connected exists in the at least one target wireless access point; In the case of a successfully connected target wireless access point, push at least one access information of the successfully connected target wireless access point to the terminal device
在一些实施例中,网络设备可以对所选取出的参考无线接入点的接入信息设置优先级,并将设置优先级的接入信息推送给终端设备。通常,被成功连接过的目标无线接入点的接入信息的优先级高于参考无线接入点的接入信息。这里,网络设备还可以进一步对被成功连接过的目 标无线接入点的信息进行综合评估,并根据综合评分分值高低对至少一个被成功连接过的目标无线接入点的接入信息设置具体的优先级。In some embodiments, the network device may prioritize access information for the selected referenced wireless access point and push the prioritized access information to the terminal device. Generally, the access information of the target wireless access point that has been successfully connected has a higher priority than the access information of the reference wireless access point. Here, the network device may further comprehensively evaluate the information of the successfully connected target wireless access point, and set specific information on the access information of the at least one successfully connected target wireless access point according to the comprehensive score score. Priority.
在一些实施例中,步骤305中将参考无线接入点的接入信息推送给终端设备的步骤以及步骤302′中将被成功连接过的目标无线接入点的接入信息推送给终端设备的步骤可以同时执行。In some embodiments, the step of pushing the access information of the reference wireless access point to the terminal device in step 305 and the access information of the target wireless access point to be successfully connected in step 302' are pushed to the terminal device. The steps can be performed simultaneously.
从图3中可以看出,与图2对应的实施例相比,本实施例中的用于推送接入信息的方法的流程300突出了选取参考无线接入点的步骤。由此,本实施例描述的方案可以选取出与未被成功连接过的无线接入点的标识的相似度较高的参考无线接入点,利用与未被成功连接过的无线接入点的标识的相似度较高的参考无线接入点的接入信息尝试连接该未被成功连接过的无线接入点,从而进一步提高终端设备成功连接无线接入点的概率。As can be seen from FIG. 3, the flow 300 of the method for pushing access information in this embodiment highlights the step of selecting a reference wireless access point as compared to the embodiment corresponding to FIG. Therefore, the solution described in this embodiment can select a reference wireless access point with a higher degree of similarity to the identifier of the wireless access point that has not been successfully connected, and utilizes the wireless access point that has not been successfully connected. The access information of the reference similar wireless access point with higher similarity attempts to connect to the wireless access point that has not been successfully connected, thereby further improving the probability that the terminal device successfully connects to the wireless access point.
进一步参考图4,其示出了用于连接无线接入点的方法的一个实施例的流程400。该用于连接无线接入点的方法的流程400,包括以下步骤:With further reference to FIG. 4, a flow 400 of one embodiment of a method for connecting wireless access points is illustrated. The process 400 of the method for connecting a wireless access point includes the following steps:
步骤401,向网络设备发送无线接入点连接请求。Step 401: Send a wireless access point connection request to the network device.
在本实施例中,用于连接无线接入点的方法运行于其上的终端设备(例如图1所示的终端设备101、102、103)可以通过有线连接或无线连接方式向网络设备(例如图1所示的网络设备105)发送无线接入点连接请求。其中,无线接入点连接请求中可以包括终端设备附近的至少一个目标无线接入点的标识或终端设备的位置信息。In this embodiment, the terminal device (for example, the terminal device 101, 102, 103 shown in FIG. 1) on which the method for connecting to the wireless access point operates may be connected to the network device through a wired connection or a wireless connection (for example, The network device 105 shown in FIG. 1 transmits a wireless access point connection request. The wireless access point connection request may include an identifier of the at least one target wireless access point in the vicinity of the terminal device or location information of the terminal device.
在一些实施例中,当用户对终端设备的设置项里面的WLAN选项或终端设备上安装的无线接入点类应用的图标执行第一操作时,终端设备可以向网络设备发送无线接入点连接请求。其中,第一操作可以包括任何对WLAN选项或无线接入点类应用的图标进行的、能够触发终端设备发送无线接入点连接请求的操作。例如,当用户点击WLAN选项或无线接入点类应用的图标时,可以认为用户执行了第一操作。In some embodiments, when the user performs a first operation on a WLAN option in a setting item of the terminal device or an icon of a wireless access point type application installed on the terminal device, the terminal device may send a wireless access point connection to the network device. request. The first operation may include any operation performed on the icon of the WLAN option or the wireless access point type application to trigger the terminal device to send the wireless access point connection request. For example, when the user clicks on the WLAN option or the icon of the wireless access point type application, the user can be considered to have performed the first operation.
作为一种示例,当用户点击终端设备的设置项里面的WLAN选项时,终端设备上安装的无线接入点类应用可以读取终端设备扫描到的无线接入点列表,获取无线接入点列表中的至少一个无线接入点的标识,并将包括该等标识的无线接入点连接请求发送至网络设备。As an example, when the user clicks the WLAN option in the setting item of the terminal device, the wireless access point type application installed on the terminal device can read the wireless access point list scanned by the terminal device to obtain the wireless access point list. An identifier of at least one of the wireless access points, and transmitting a wireless access point connection request including the identifiers to the network device.
作为另一种示例,当用户点击终端设备上安装的无线接入点类应用的图标时,终端设备可以开启定位服务,获取该终端设备的位置信息,并将包括该终端设备的位置信息的无线接入点连接请求发送至网络设备。As another example, when the user clicks on the icon of the wireless access point type application installed on the terminal device, the terminal device may start the positioning service, acquire the location information of the terminal device, and include the wireless location information of the terminal device. The access point connection request is sent to the network device.
步骤402,从网络设备获取接入信息集合,该接入信息集合包括网络设备提供的至少一个接入信息。在一些实施例中,该接入信息集合还包括该接入信息集合中的接入信息所对应的目标无线接入点的标识。Step 402: Acquire an access information set from the network device, where the access information set includes at least one access information provided by the network device. In some embodiments, the access information set further includes an identifier of a target wireless access point corresponding to the access information in the access information set.
在本实施例中,网络设备在接收到终端设备发送的无线接入点连接请求之后,可以对无线接入点连接请求中的终端设备附近的至少一个目标无线接入点的标识或终端设备的位置信息进行分析等处理,并返回相应的接入信息集合。其中,接入信息可以是用于接入无线接入点的信息,例如密码、验证码等。接入信息集合中可以包括至少一个目标无线接入点中的被成功连接过的目标无线接入点的接入信息;也可以包括与至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息;还可以同时包括上述两种接入信息。在一些实施例中,接入信息集合中包含参考无线接入点的接入信息以及该接入信息对应的目标无线接入点(即与该参考无线接入点相似的目标无线接入点)的标识,而不包含该参考无线接入点的标识。In this embodiment, after receiving the wireless access point connection request sent by the terminal device, the network device may identify the identifier of the at least one target wireless access point or the terminal device in the vicinity of the terminal device in the wireless access point connection request. The location information is processed and analyzed, and the corresponding access information set is returned. The access information may be information used to access the wireless access point, such as a password, a verification code, and the like. The access information set may include access information of the successfully connected target wireless access point of the at least one target wireless access point; and may also include one or more target wireless interfaces with the at least one target wireless access point The access information of the reference wireless access point similar to the access point; the two types of access information may also be included at the same time. In some embodiments, the access information set includes access information of the reference wireless access point and a target wireless access point corresponding to the access information (ie, a target wireless access point similar to the reference wireless access point) The identity of the reference wireless access point is not included.
步骤403,响应于接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息,重复利用接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的接入信息被全部尝试。 Step 403, in response to the access information set including access information of a reference wireless access point similar to one or more of the at least one target wireless access point in the vicinity, in the reuse access information set The access information attempts to connect to the target wireless access point corresponding to the access information until the access information in the successfully connected wireless access point or access information set is all attempted.
在一些实施例中,在接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息的情况下,终端设备可以重复利用接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的接入信息被全部尝试。其中,与接入信息对应的目标无线接入点可以是与该接入信息所属的参考无线接入点相似的目标无线接入点。In some embodiments, where the access information set includes access information for a reference wireless access point that is similar to one or more of the at least one target wireless access point in the vicinity, the terminal device The step of attempting to connect to the target wireless access point corresponding to the access information by using the access information in the access information set may be repeated until the access information in the successfully connected wireless access point or the access information set is all attempted. The target wireless access point corresponding to the access information may be a target wireless access point similar to the reference wireless access point to which the access information belongs.
在一些实施例中,终端设备从网络设备获取的接入信息集合中的每 个接入信息可以设置有优先级,终端设备可以根据优先级从高到低的顺序依次利用接入信息尝试连接与该接入信息对应的目标无线接入点。In some embodiments, each access information in the set of access information acquired by the terminal device from the network device may be set with a priority, and the terminal device may attempt to connect and use the access information according to the order of priority from highest to lowest. The target wireless access point corresponding to the access information.
在一些实施例中,若至少一个目标无线接入点中存在至少一个被成功连接过的目标无线接入点,接入信息集合还可以包括至少一个被成功连接过的目标无线接入点的接入信息。此时,终端设备可以重复利用接入信息集合中的至少一个被成功连接过的目标无线接入点的接入信息尝试连接与该接入信息对应的被成功连接过的目标无线接入点的步骤,直至成功连接无线接入点或至少一个被成功连接过的目标无线接入点的接入信息被全部尝试;若利用至少一个被成功连接过的目标无线接入点的接入信息未成功连接无线接入点,终端设备可以重复利用接入信息集合中的参考无线接入点的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的参考无线接入点的接入信息被全部尝试。In some embodiments, if at least one target wireless access point has at least one successfully connected target wireless access point, the access information set may further include at least one successfully connected target wireless access point. Enter information. At this time, the terminal device may repeatedly use the access information of the target wireless access point that is successfully connected by at least one of the access information sets to attempt to connect to the successfully connected target wireless access point corresponding to the access information. Steps, until the access information of the successfully connected wireless access point or the at least one successfully connected target wireless access point is all tried; if the access information of the at least one successfully connected target wireless access point is unsuccessful Connecting the wireless access point, the terminal device may repeatedly use the access information of the reference wireless access point in the access information set to attempt to connect to the target wireless access point corresponding to the access information until the wireless access point is successfully connected. Or the access information of the reference wireless access point in the access information set is all tried.
在一些实施例中,终端设备从网络设备获取的接入信息集合中的每个接入信息可以设置有优先级,通常,被成功连接过的目标无线接入点的接入信息的优先级高于参考无线接入点的接入信息。In some embodiments, each access information in the set of access information acquired by the terminal device from the network device may be set with a priority, and generally, the access information of the successfully connected target wireless access point has a high priority. Refer to the access information of the wireless access point.
本申请的一些实施例提供的用于连接无线接入点的方法,首先,向网络设备发送无线接入点连接请求;然后,从网络设备获取接入信息集合;最后,在接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息的情况下,重复利用接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的接入信息被全部尝试。从而实现了利用与用户附近的无线接入点相似的无线接入点的接入信息连接用户附近的无线接入点,有助于提升用户成功连接无线接入点的概率。Some embodiments of the present application provide a method for connecting a wireless access point, first, sending a wireless access point connection request to a network device; then, acquiring an access information set from the network device; and finally, including in the access information set In the case of access information of a reference wireless access point similar to one or more of the at least one target wireless access point in the vicinity, the access information in the access information set is repeatedly used to attempt to connect and The step of the target wireless access point corresponding to the access information until all the access information in the wireless access point or the access information set is successfully connected. Therefore, the access information of the wireless access point similar to the wireless access point in the vicinity of the user is connected to the wireless access point in the vicinity of the user, which helps to improve the probability that the user successfully connects to the wireless access point.
下面参考图5,其示出了适于用来实现本申请实施例的网络设备或终端设备的计算机系统500的结构示意图。图5示出的网络设备或终端设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to Figure 5, there is shown a block diagram of a computer system 500 suitable for use in implementing a network device or terminal device of an embodiment of the present application. The network device or terminal device shown in FIG. 5 is merely an example, and should not impose any limitation on the functions and scope of use of the embodiments of the present application.
如图5所示,计算机系统500包括中央处理单元(CPU)501,其可以根据存储在只读存储器(ROM)502中的程序或者从存储部分508加 载到随机访问存储器(RAM)503中的程序而执行各种适当的动作和处理。在RAM 503中,还存储有系统500操作所需的各种程序和数据。CPU 501、ROM 502以及RAM 503通过总线504彼此相连。输入/输出(I/O)接口505也连接至总线504。As shown in FIG. 5, computer system 500 includes a central processing unit (CPU) 501 that can be loaded into a program in random access memory (RAM) 503 according to a program stored in read only memory (ROM) 502 or from storage portion 508. And perform various appropriate actions and processes. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input/output (I/O) interface 505 is also coupled to bus 504.
以下部件连接至I/O接口505:包括键盘、鼠标、触摸屏等的输入部分506;包括诸如液晶显示器(LCD)等以及扬声器等的输出部分507;包括硬盘等的存储部分508;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分509。通信部分509经由诸如因特网的网络执行通信处理。驱动器510也根据需要连接至I/O接口505。可拆卸介质511,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器510上,以便于从其上读出的计算机程序根据需要被安装入存储部分508。The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, a touch screen, etc.; an output portion 507 including a liquid crystal display (LCD) or the like and a speaker, etc.; a storage portion 508 including a hard disk or the like; and including, for example, a LAN A communication portion 509 of a network interface card of a card, a modem, or the like. The communication section 509 performs communication processing via a network such as the Internet. Driver 510 is also coupled to I/O interface 505 as needed. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory or the like is mounted on the drive 510 as needed so that a computer program read therefrom is installed into the storage portion 508 as needed.
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分509从网络上被下载和安装,和/或从可拆卸介质511被安装。在该计算机程序被中央处理单元(CPU)501执行时,执行本申请的方法中限定的上述功能。In particular, the processes described above with reference to the flowcharts may be implemented as a computer software program in accordance with an embodiment of the present disclosure. For example, an embodiment of the present disclosure includes a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for executing the method illustrated in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication portion 509, and/or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above-described functions defined in the method of the present application are performed.
需要说明的是,本申请上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是但不限于:电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机 可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer readable medium described above may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain or store a program, which can be used by or in connection with an instruction execution system, apparatus or device. In the present application, a computer readable signal medium may include a data signal that is propagated in the baseband or as part of a carrier, carrying computer readable program code. Such propagated data signals can take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. The computer readable signal medium can also be any computer readable medium other than a computer readable storage medium, which can transmit, propagate, or transport a program for use by or in connection with the instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products in accordance with various embodiments of the present application. In this regard, each block of the flowchart or block diagram can represent a module, a program segment, or a portion of code that includes one or more of the logic functions for implementing the specified. Executable instructions. It should also be noted that in some alternative implementations, the functions noted in the blocks may also occur in a different order than that illustrated in the drawings. For example, two successively represented blocks may in fact be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented in a dedicated hardware-based system that performs the specified function or operation. Or it can be implemented by a combination of dedicated hardware and computer instructions.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的网络设备中所包含的;也可以是单独存在,而未装配入该网络设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该网络设备执行时,使得该网络设备:响应于接收到终端设备发送的无线接入点连接请求,获取终端设备附近的至少一个无线接入点的信息;响应于确定至少一个无线接入点中存在至少一个未被成功连接过的无线接入点,从至少一个未被成功连接过的无线接入点的信息中选取出至少部分无线接入点的信息,添加到推送信息集合中;将推送信息集合中的无线接入点的至少部分信息推送给终端设备。In another aspect, the present application further provides a computer readable medium, which may be included in the network device described in the foregoing embodiment, or may exist separately but not assembled into the network device. in. The computer readable medium carries one or more programs, when the one or more programs are executed by the network device, causing the network device to: acquire the terminal device in response to receiving the wireless access point connection request sent by the terminal device Information of at least one wireless access point in the vicinity; in response to determining that there is at least one wireless access point that has not been successfully connected in the at least one wireless access point, information from at least one wireless access point that has not been successfully connected The information of at least part of the wireless access points is selected and added to the push information set; at least part of the information of the wireless access points in the push information set is pushed to the terminal device.
作为又一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的终端设备中所包含的;也可以是单独存在,而未装配入该终端设备中。上述计算机可读介质承载有一个或者 多个程序,当上述一个或者多个程序被该终端设备执行时,使得该终端设备:向网络设备发送无线接入点连接请求;从网络设备获取接入信息集合;响应于接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息,重复利用接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或接入信息集合中的接入信息被全部尝试。In still another aspect, the present application further provides a computer readable medium, which may be included in the terminal device described in the foregoing embodiment, or may exist separately but not assembled into the terminal device. in. The computer readable medium carries one or more programs, when the one or more programs are executed by the terminal device, causing the terminal device to: send a wireless access point connection request to the network device; and obtain the access information from the network device. And responsive to the access information set comprising access information of a reference wireless access point similar to one or more of the at least one target wireless access point in the vicinity, in the reuse access information set The step of the access information attempting to connect to the target wireless access point corresponding to the access information until the access information in the successfully connected wireless access point or the access information set is all attempted.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and a description of the principles of the applied technology. It should be understood by those skilled in the art that the scope of the invention referred to in the present application is not limited to the specific combination of the above technical features, and should also be covered by the above technical features or without departing from the above inventive concept. Other technical solutions formed by arbitrarily combining the equivalent features. For example, the above features are combined with the technical features disclosed in the present application, but are not limited to the technical features having similar functions.

Claims (14)

  1. 一种用于推送接入信息的方法,应用于网络设备,其特征在于,所述方法包括:A method for pushing access information, which is applied to a network device, and the method includes:
    响应于接收到终端设备发送的无线接入点连接请求,获取所述终端设备附近的至少一个目标无线接入点;Acquiring at least one target wireless access point in the vicinity of the terminal device in response to receiving the wireless access point connection request sent by the terminal device;
    响应于确定所述至少一个目标无线接入点满足预设条件,获取至少一个参考用户成功或尝试连接过的至少一个参考无线接入点;And responsive to determining that the at least one target wireless access point satisfies a preset condition, acquiring at least one reference wireless access point that the at least one reference user succeeds or attempts to connect;
    从所述至少一个参考无线接入点中选取一个或多个参考无线接入点,其中,所选取出的参考无线接入点与所述至少一个目标无线接入点中的一个或多个目标无线接入点相似;Selecting one or more reference wireless access points from the at least one reference wireless access point, wherein the selected referenced wireless access point and one or more of the at least one target wireless access point are selected The wireless access point is similar;
    将所选取出的参考无线接入点的接入信息推送给所述终端设备。Pushing the access information of the selected reference wireless access point to the terminal device.
  2. 根据权利要求1所述的方法,其特征在于,所述预设条件包括所述至少一个目标无线接入点中存在至少一个未被成功连接过的目标无线接入点,且所述至少一个目标无线接入点中不存在被成功连接过的目标无线接入点或被成功连接过的目标无线接入点的数量小于预设阈值。The method according to claim 1, wherein the preset condition comprises at least one target wireless access point that is not successfully connected in the at least one target wireless access point, and the at least one target The number of target wireless access points that have been successfully connected or the number of successfully connected target wireless access points in the wireless access point is less than a preset threshold.
  3. 根据权利要求2所述的方法,其特征在于,所述从所述至少一个参考无线接入点中选取一个或多个参考无线接入点,包括:The method according to claim 2, wherein the selecting one or more reference wireless access points from the at least one reference wireless access point comprises:
    计算所述至少一个未被成功连接过的目标无线接入点的标识与所述至少一个参考无线接入点的标识的相似度;Calculating a similarity between an identifier of the at least one target wireless access point that has not been successfully connected and an identifier of the at least one reference wireless access point;
    基于所计算出的相似度,从所述至少一个参考无线接入点中选取出所述一个或多个参考无线接入点。The one or more reference wireless access points are selected from the at least one reference wireless access point based on the calculated similarity.
  4. 根据权利要求3所述的方法,其特征在于,所述计算所述至少一个未被成功连接过的目标无线接入点的标识与所述至少一个参考无线接入点的标识的相似度,包括:The method according to claim 3, wherein the calculating the similarity between the identifier of the at least one target wireless access point that has not been successfully connected and the identifier of the at least one reference wireless access point, including :
    对于所述至少一个参考无线接入点中的每个参考无线接入点,计算该参考无线接入点的标识与所述至少一个未被成功连接过的目标无线接 入点的标识的编辑距离,并基于所计算出的编辑距离,确定出该参考无线接入点的标识与所述至少一个未被成功连接过的目标无线接入点的标识的相似度。For each of the at least one reference wireless access point, calculating an edit distance of the identifier of the reference wireless access point and the identifier of the at least one target wireless access point that has not been successfully connected And determining, based on the calculated edit distance, a similarity between the identifier of the reference wireless access point and the identifier of the at least one target wireless access point that has not been successfully connected.
  5. 根据权利要求3所述的方法,其特征在于,所选取出的所述一个或多个参考无线接入点中的每个参考无线接入点的标识与所述至少一个未被成功连接过的目标无线接入点中的至少一者的标识的相似度大于预设相似度阈值。The method of claim 3, wherein the identification of each of the one or more reference wireless access points selected for retrieval is associated with the at least one unsuccessfully connected The similarity of the identity of at least one of the target wireless access points is greater than a preset similarity threshold.
  6. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method of claim 2, wherein the method further comprises:
    响应于确定所述至少一个目标无线接入点中存在至少一个被成功连接过的目标无线接入点,将所述至少一个被成功连接过的目标无线接入点的接入信息推送给所述终端设备。And in response to determining that there is at least one target wireless access point successfully connected in the at least one target wireless access point, pushing the access information of the at least one successfully connected target wireless access point to the Terminal Equipment.
  7. 根据权利要求2所述的方法,其特征在于,所述至少一个参考用户包括尝试连接过所述至少一个未被成功连接过的目标无线接入点的至少一个用户。The method of claim 2 wherein said at least one reference user comprises at least one user attempting to connect to said at least one target wireless access point that has not been successfully connected.
  8. 一种用于连接无线接入点的方法,应用于终端设备,其特征在于,所述方法包括:A method for connecting a wireless access point is applied to a terminal device, and the method includes:
    向网络设备发送无线接入点连接请求;Sending a wireless access point connection request to the network device;
    从所述网络设备获取接入信息集合;Obtaining an access information set from the network device;
    响应于所述接入信息集合包括与附近的至少一个目标无线接入点中的一个或多个目标无线接入点相似的参考无线接入点的接入信息,重复利用所述接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或所述接入信息集合中的接入信息被全部尝试。Reusing the access information set in response to the access information set including access information of a reference wireless access point that is similar to one or more of the at least one target wireless access point in the vicinity The access information in the attempt to connect to the target wireless access point corresponding to the access information until the access to the wireless access point is successfully connected or the access information in the access information set is all attempted.
  9. 根据权利要求8所述的方法,其特征在于,若所述至少一个目标无线接入点中存在至少一个被成功连接过的目标无线接入点,所述接入信息集合还包括所述至少一个被成功连接过的目标无线接入点的接入信 息。The method according to claim 8, wherein if at least one target wireless access point that has been successfully connected exists in the at least one target wireless access point, the access information set further includes the at least one Access information for the target wireless access point that was successfully connected.
  10. 根据权利要求9所述的方法,其特征在于,所述重复利用所述接入信息集合中的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或所述接入信息集合中的接入信息被全部尝试,包括:The method according to claim 9, wherein the step of repeatedly utilizing the access information in the access information set to attempt to connect to the target wireless access point corresponding to the access information until the wireless connection is successfully connected The access point or the access information in the access information set is all tried, including:
    重复利用所述接入信息集合中的所述至少一个被成功连接过的目标无线接入点的接入信息尝试连接与该接入信息对应的被成功连接过的目标无线接入点的步骤,直至成功连接无线接入点或所述至少一个被成功连接过的目标无线接入点的接入信息被全部尝试;Reusing, by the access information of the at least one successfully connected target wireless access point in the access information set, attempting to connect to the successfully connected target wireless access point corresponding to the access information, The access information until the successful connection of the wireless access point or the at least one successfully connected target wireless access point is all attempted;
    若利用所述至少一个被成功连接过的目标无线接入点的接入信息未成功连接无线接入点,重复利用所述接入信息集合中的参考无线接入点的接入信息尝试连接与该接入信息对应的目标无线接入点的步骤,直至成功连接无线接入点或所述接入信息集合中的参考无线接入点的接入信息被全部尝试。If the access information of the at least one successfully connected target wireless access point is not successfully connected to the wireless access point, repeatedly using the access information of the reference wireless access point in the access information set to attempt to connect and The step of the target wireless access point corresponding to the access information until all the access information of the reference wireless access point in the wireless access point or the access information set is successfully connected.
  11. 一种网络设备,其特征在于,所述网络设备包括:A network device, where the network device includes:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7中任一所述的方法。The one or more programs are executed by the one or more processors such that the one or more processors implement the method of any of claims 1-7.
  12. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-7中任一所述的方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the method of any of claims 1-7.
  13. 一种终端设备,其特征在于,所述终端设备包括:A terminal device, the terminal device includes:
    一个或多个处理器;One or more processors;
    存储装置,用于存储一个或多个程序;a storage device for storing one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求8-10中任一所述的方法。The one or more programs are executed by the one or more processors such that the one or more processors implement the method of any of claims 8-10.
  14. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求8-10中任一所述的方法。A computer readable storage medium having stored thereon a computer program, wherein the computer program is executed by a processor to implement the method of any of claims 8-10.
PCT/CN2018/102691 2017-10-09 2018-08-28 Access information pushing method and device WO2019072037A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710929222.5 2017-10-09
CN201710929222.5A CN107708076B (en) 2017-10-09 2017-10-09 Method and device for pushing access information

Publications (1)

Publication Number Publication Date
WO2019072037A1 true WO2019072037A1 (en) 2019-04-18

Family

ID=61184679

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/102691 WO2019072037A1 (en) 2017-10-09 2018-08-28 Access information pushing method and device

Country Status (2)

Country Link
CN (1) CN107708076B (en)
WO (1) WO2019072037A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107708076B (en) * 2017-10-09 2020-03-17 上海连尚网络科技有限公司 Method and device for pushing access information
CN108093461B (en) * 2017-12-14 2020-07-28 上海连尚网络科技有限公司 Method for connecting wireless access point
CN108616964A (en) * 2018-03-20 2018-10-02 上海连尚网络科技有限公司 A kind of method, equipment and medium for recommending wireless access point in terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014052839A1 (en) * 2012-09-28 2014-04-03 Intel Corporation Reducing wireless reconnection time of a computing device
CN105611607A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Method for achieving combination of plurality of WiFi, and method and system for achieving WiFi connection
CN105873175A (en) * 2015-08-11 2016-08-17 上海连尚网络科技有限公司 Method and device for processing abnormal wireless access points
CN107708076A (en) * 2017-10-09 2018-02-16 上海连尚网络科技有限公司 Method and apparatus for pushing access information

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101104066B1 (en) * 2010-09-29 2012-01-13 텔코웨어 주식회사 Authentication system and method for wireless fidelity connection authentication
CN105873237A (en) * 2015-08-05 2016-08-17 上海连尚网络科技有限公司 Method and device for building wireless connection
CN106804056A (en) * 2015-11-26 2017-06-06 上海连尚网络科技有限公司 A kind of method and apparatus for providing the access information of WAP
CN105979567B (en) * 2016-05-13 2017-07-28 上海连尚网络科技有限公司 Determine method and apparatus, the system of the access information of WAP
CN106162804B (en) * 2016-06-24 2017-11-14 上海连尚网络科技有限公司 For the method and apparatus for the access information for providing wireless access focus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014052839A1 (en) * 2012-09-28 2014-04-03 Intel Corporation Reducing wireless reconnection time of a computing device
CN105873175A (en) * 2015-08-11 2016-08-17 上海连尚网络科技有限公司 Method and device for processing abnormal wireless access points
CN105611607A (en) * 2015-12-25 2016-05-25 北京奇虎科技有限公司 Method for achieving combination of plurality of WiFi, and method and system for achieving WiFi connection
CN107708076A (en) * 2017-10-09 2018-02-16 上海连尚网络科技有限公司 Method and apparatus for pushing access information

Also Published As

Publication number Publication date
CN107708076B (en) 2020-03-17
CN107708076A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN107679211B (en) Method and device for pushing information
US10777207B2 (en) Method and apparatus for verifying information
US10580413B2 (en) Method and apparatus for outputting information
CN108804450B (en) Information pushing method and device
CN107731229B (en) Method and apparatus for recognizing speech
US20180240133A1 (en) Method, Apparatus and Server for Identifying Risky User
US11038975B2 (en) Information pushing method and device
CN107506495B (en) Information pushing method and device
CN107241260B (en) News pushing method and device based on artificial intelligence
CN107302597B (en) Message file pushing method and device
CN107577807B (en) Method and device for pushing information
CN108229704B (en) Method and device for pushing information
US11232392B2 (en) Method for processing orders and electronic device
CN110738323B (en) Method and device for establishing machine learning model based on data sharing
CN109582873B (en) Method and device for pushing information
WO2019072037A1 (en) Access information pushing method and device
US11244153B2 (en) Method and apparatus for processing information
CN109862100B (en) Method and device for pushing information
EP2758912B1 (en) Methods and apparatus for progressive pattern matching in a mobile environment
WO2019072038A1 (en) Information generation method and device
CN109327887B (en) Method and apparatus for generating information
CN110059172B (en) Method and device for recommending answers based on natural language understanding
CN112214770B (en) Malicious sample identification method, device, computing equipment and medium
CN106549860B (en) Information acquisition method and device
CN112463749A (en) File sharing method, device, medium and electronic equipment

Legal Events

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

Ref document number: 18866440

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

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

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 23/07/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18866440

Country of ref document: EP

Kind code of ref document: A1