WO2017071121A1 - Method and device for establishing wireless connection - Google Patents

Method and device for establishing wireless connection Download PDF

Info

Publication number
WO2017071121A1
WO2017071121A1 PCT/CN2016/070685 CN2016070685W WO2017071121A1 WO 2017071121 A1 WO2017071121 A1 WO 2017071121A1 CN 2016070685 W CN2016070685 W CN 2016070685W WO 2017071121 A1 WO2017071121 A1 WO 2017071121A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
information
access point
wireless access
wireless
Prior art date
Application number
PCT/CN2016/070685
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 WO2017071121A1 publication Critical patent/WO2017071121A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present application relates to the field of computers, and in particular to a technique for establishing a wireless connection.
  • the user equipment is required to access the wireless network.
  • the user equipment is connected to a wireless (wireless fidelity) network, and is generally based on the wireless access point around the device searched by the user equipment, and then based on the user.
  • the connection password of the manually input target wireless access point is connected to the selected target wireless access point. If the user forgets or does not know the connection password of the target wireless access point, the WiFi network corresponding to the target wireless access point cannot be accessed. .
  • a method for establishing a wireless connection comprising:
  • the first page includes a first executable module for acquiring current address information of the user equipment
  • an apparatus for establishing a wireless connection comprising:
  • a first device configured to receive an access request sent by the user equipment about the first page
  • a second device configured to return a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment;
  • a third device configured to determine, according to the user equipment, the access information of the wireless access point corresponding to the user equipment by performing the current address information that is fed back by the first executable module;
  • a fourth device configured to provide the access information to the user equipment, for the user to set A wireless connection with the corresponding wireless access point is established.
  • the device for establishing a wireless connection in the present application returns a first page including a first executable module based on the received access request of the user equipment, based on the user equipment pair.
  • the device for establishing a wireless connection acquires current address information of the user equipment, and determines and returns, for the user equipment, access of the wireless access point that matches the current address information.
  • Information such as connection passwords for connection verification, profile information, and so on.
  • the application may help the user equipment to automatically establish an access point with the wireless access point based on the access information of the wireless access point corresponding to the user equipment determined in the device for establishing a wireless connection.
  • the wireless connection enables the corresponding user to conveniently and quickly use the corresponding wireless network, thereby reducing the probability of the user using the network without the network.
  • the communication between the device for establishing a wireless connection and the user device is directly implemented by a page access request and response, and the application for establishing a wireless connection is not required to be installed or run in the user device.
  • the obtaining of the access information is implemented, thereby saving device resources for the user equipment, such as saving storage space of the device.
  • the current address information and the first wireless access point information scanned by the user equipment in the current address information may be combined to determine and return access information of the corresponding wireless access point for the user equipment.
  • the user equipment in combination with the first wireless access point information, the user equipment can be more accurately matched with the access information of the currently available wireless access point, thereby further improving the user equipment based on the returned The success rate of accessing information for wireless connection.
  • the first wireless access point information may include a screenshot of a wireless access point presentation interface in the user equipment. And obtaining, by the parsing of the screenshot, the wireless access point that the user equipment can obtain the real-time information in real time, and on the basis of the one or more corresponding to the current address information of the user equipment Among the candidate wireless access points, the access information of the wireless access point that matches the resolution information of the above screenshot is further determined.
  • the first wireless access point information of the user equipment may also be obtained in the form of a screenshot, thereby referring to the current wireless access point signal of the user equipment. In the receiving situation, it is preferred to connect the access information of the wireless access point with higher success rate, so that the user equipment can smoothly implement the wireless connection.
  • FIG. 1 shows a schematic diagram of an apparatus for establishing a wireless connection in accordance with an aspect of the present application
  • FIG. 2 shows a schematic diagram of an apparatus for establishing a wireless connection in accordance with a preferred embodiment of the present application
  • FIG. 3 shows a schematic diagram of a third apparatus for establishing a wirelessly connected device in accordance with another preferred embodiment of the present application
  • FIG. 4 shows a flow chart of a method for establishing a wireless connection in accordance with another aspect of the present application
  • FIG. 5 shows a flow chart of a method for establishing a wireless connection in accordance with a preferred embodiment of the present application
  • FIG. 6 shows a flow chart of a portion of a method for establishing a wireless connection in accordance with another preferred embodiment of the present application.
  • the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM random access memory
  • ROM read only memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electricity Erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, A tape storage or other magnetic storage device or any other non-transportable medium that can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • FIG. 1 shows a schematic diagram of an apparatus 1 for establishing a wireless connection in accordance with an aspect of the present application.
  • the device 1 includes a first device 11, a second device 12, a third device 13, and a fourth device 14.
  • the first device 11 receives an access request for the first page sent by the user equipment, and the second device 12 returns a corresponding first page to the user equipment, where the first page includes a first executable module of the current address information of the user equipment; the third device 13 determines, according to the current address information that the user equipment feeds back by the first executable module, that the user equipment is Corresponding access information of the wireless access point; the fourth device 14 provides the access information to the user equipment, so that the user equipment establishes a wireless connection with a corresponding wireless access point.
  • the device 1 includes various smart terminals.
  • the device 1 is preferably a network device, such as various cloud servers.
  • the user equipment includes various smart terminals having wireless connection functions, such as mobile smart devices, various personal computers, and the like.
  • the device 1 corresponds to access point information related to storing a large number of wireless access points, including but not limited to name information of the access point, geographical location information, connection speed information, signal strength information, and connection frequency information. , access information, etc.
  • the wireless access point is an access point corresponding to a wireless network, including but not limited to a wireless local area network based on the IEEE 802.11 series standard protocol, for example, a wireless local area network based on the IEEE 802.11b protocol, ie
  • the user equipment can access the corresponding wireless network through the wireless access point.
  • the user equipment does not need to install or run an application for establishing a wireless connection, for example, when the user equipment is a smart phone, it does not need to be installed thereon, or run for establishing a wireless connection. mobile application.
  • the first device 11 receives an access to the first page sent by the user equipment. begging.
  • the user equipment sends a page request to the device 1, for example, a cloud server storing related information of a mass wireless access point, based on a corresponding browser.
  • the page request may be based on a user corresponding to the user equipment, inputting and submitting a URI (Uniform Resound Identifier) information corresponding to the device 1 in an address bar of the browser.
  • URI Uniform Resound Identifier
  • the device 1 corresponding to the URI information receives a page access request sent by the user equipment, such as an HTTP (HyperText Transfer Protocol) request, based on the access request, the user wants to acquire the first page.
  • a page access request sent by the user equipment, such as an HTTP (HyperText Transfer Protocol) request
  • HTTP HyperText Transfer Protocol
  • the first page is the specific resource information pointed to by the resource path information corresponding to the HTTP request.
  • the first page is an initial page that the user implements a wireless connection through a browser page.
  • the second device 12 returns a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment.
  • the device 1 determines specific data pointed to by the resource path information in response to the access request received from the user equipment, such as the HTTP request, and organizes the data into the first page to be returned.
  • the first page is organized according to an HTML protocol.
  • the first page may include information such as a corresponding page layout, a text picture, and the like, and further includes a first executable module for acquiring current address information of the user equipment, for example, the first executable module.
  • An executable page script can be included.
  • the device 1 may acquire current address information of the user equipment.
  • the current address information includes latitude and longitude information of the current location of the user equipment, and may be through an AGPS (Assisted Global Positioning System) function or a GPS (Global Positioning System) in the user equipment.
  • a positioning system) function to determine the latitude and longitude information.
  • it may be set in the page script program to automatically acquire latitude and longitude information of the user equipment.
  • the positioning function in the user equipment such as the GPS function
  • the prompt opening operation may also be set in the page script program.
  • the user equipment may also be pre- Set the corresponding call permission acquisition program in the page script.
  • the third device 13 determines, according to the current address information that the user equipment feeds back by the first executable module, the access information of the wireless access point corresponding to the user equipment.
  • the access information includes but is not limited to:
  • the authentication information such as the description file of the connection password or the encrypted password string can be flexibly selected based on different user equipment systems or actual application requirements.
  • a large amount of wireless access point information is stored, and information about each wireless access point and its corresponding access point, such as geographical location information, connection speed information, and signal strength information of the access point, Connection frequency information, access information, etc.
  • the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine the connection of the wireless access point with a high availability rate of the current user equipment. Enter information.
  • the foregoing comparison matching may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range is the determined wireless access point, and, for example, may Setting a matching quantity, radiating outward from the current address information, determining the wireless access point from near to far, and the upper limit is the foregoing matching quantity.
  • the distance between the geographical location information of the matched wireless access point and the current address information may also refer to the coverage of the wireless access point under normal circumstances or in a specific case.
  • a corresponding target wireless access point may also be selected from among the plurality of wireless access points. For example, based on the wireless access point related information, such as the connection speed information, the signal strength information, the geographical location information, the connection frequency information, etc., the connection speed is faster, the signal is stronger, and the distance from the user equipment is closer.
  • the preferred wireless access point that has been connected frequently is used as the target wireless access point to improve the wireless connection. Success rate.
  • the device 1 determines one or more wireless access points corresponding to the user equipment, and at the same time, the device 1 simultaneously stores access information corresponding to the wireless access point.
  • the access information is profile information including a connection password.
  • the access information of the one or more wireless access points may be directly determined by the device 1; or the determined wireless access point may be returned to the user equipment first, and then based on The user's access information request finally determines the access information of the wireless access point corresponding to the user equipment.
  • the fourth device 14 provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point.
  • the access information of the wireless access point directly determined by the device 1 or the access information determined based on the access information request of the user equipment may be sent to the corresponding user equipment, and further When the user equipment selects the wireless access point corresponding to the access information, the corresponding wireless connection may be established based on the obtained access information.
  • the device 1 in the present application returns an access request of the user equipment to the first page that includes the first executable module, based on the execution result of the user equipment on the first executable module.
  • the device 1 takes the current address information of the user equipment, and determines, for the user equipment, the access information of the wireless access point that matches the current address information, such as the connection password and the description file information for connection verification. Wait.
  • the application can help the user equipment to automatically establish a wireless connection with the wireless access point based on the access information of the wireless access point corresponding to the user equipment determined in the device 1
  • the corresponding user can conveniently and quickly use the corresponding wireless network, thereby reducing the probability of the user using the network without the network.
  • the communication between the device 1 and the user equipment is directly implemented by a page access request and response, and does not need to install or run an application for establishing a wireless connection in the user equipment to implement the connection.
  • the acquisition of information thereby saving device resources for the user equipment, such as saving storage space of the device.
  • the method comprises a first device 11', a second device 12', a third device 13' and a fourth device 14', wherein the third device 13' comprises a first unit 131' and a second unit 132 '.
  • the first device 11' receives the access to the first page sent by the user equipment.
  • the second device 12' returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information;
  • the first unit 131' of the third device 13' performs the first according to the user equipment Determining, by the current address information fed back by the module, one or more candidate wireless access points that match the current address information;
  • the second unit 132' of the third device 13' is according to the user equipment Determining, by the first wireless access point information fed back by the first executable module, a connection of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points
  • the fourth device 14' provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point.
  • the second device 12' returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information.
  • the information error that may be caused by the final access information is determined based on the current address information of the user equipment, and further, preferably, the first wireless that the user equipment can currently scan is simultaneously combined.
  • Access point information whereby the user equipment can be selected to determine the coverage of the current user equipment, and at the same time, the corresponding access information is available in the device 1, so that the user equipment is based on the wireless The access point has a higher success rate for wireless connections.
  • the device 1 returns to the first page of the network device, and includes a first executable module for acquiring current address information of the user device, for example, the first executable module may
  • An executable page script program is included, where the set script program can be implemented: the device 1 can obtain current address information of the user equipment; and at the same time, based on the set script program, obtaining the user equipment can also be implemented.
  • the first wireless access point information scanned by the current address information. For example, it may be set in the page script program to invoke the wireless signal scanning function corresponding to the user equipment to directly obtain the possible surrounding the user equipment.
  • the first wireless access point information corresponding to the plurality of wireless access points.
  • the system wireless connection module corresponding to the user equipment is restricted in calling, for example, when the user equipment is an iOS system device, and the system wireless connection module is restricted in calling, the current browser in the user equipment is It is not possible to directly scan the wireless signal by calling the interface.
  • the screenshot may be set in the page script to obtain a screenshot corresponding to the wireless access point presentation interface displayed by the scanning function of the user equipment, where the screenshot includes the first wireless access point information.
  • the page script program may be set to: first prompt the user whether there is a corresponding screenshot, if the user selects an existing screenshot, then set to enter the album to obtain a specific screenshot; if the user selects to take a screenshot, enter the user device self-scanning function
  • the displayed wireless access point presentation interface performs a screenshot operation.
  • the first unit 131' of the third device 13' determines, according to the current address information fed back by the first executable module, the user equipment to determine one or Multiple candidate wireless access points.
  • the geographic location information of each wireless access point stored in the device 1 may be compared and matched, and a wireless access point with a high availability rate of the current user equipment is determined as the candidate wireless access. point.
  • the candidate wireless access point is a wireless access point that is relatively close to the user equipment and has corresponding access information in the device 1.
  • the selection of the candidate wireless access point may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range, that is, the determined wireless access point.
  • the distance between the geographical location information of the wireless access point and the current address information may also refer to the coverage information of the wireless access point under normal circumstances or in a specific case, It is ensured that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
  • the second unit 132' of the third device 13' is configured from the one or more candidates according to the first wireless access point information fed back by the user equipment by executing the first executable module.
  • the access information of the wireless access point corresponding to the user equipment is determined in the wireless access point.
  • the wireless access point corresponding to the first wireless access point information is that the user equipment can currently scan the identified wireless access point, and the candidate wireless access point is in the device 1 again. There is corresponding access information. Therefore, the user equipment achieves a higher success rate of the wireless connection based on the access information of the wireless access point determined by the second unit 132 ′.
  • the wireless access point may be further advanced.
  • the wireless access point related information such as the connection speed information, the signal strength information, the geographical location information, the connection frequency information, etc.
  • the connection speed is fast
  • the signal is strong
  • the user equipment is Access information of a preferred wireless access point that is closer to the nearest and most recently connected times, and returns it to the user equipment, on the one hand, can reduce the amount of data transmission between devices, and on the other hand, can improve the user equipment based on The access information establishes a success rate of the wireless connection.
  • the device 1 can simultaneously determine the current user information and the first wireless access point information scanned by the user equipment in the current address information, and determine and return the corresponding wireless connection for the user equipment. Incoming access information.
  • the user equipment in combination with the first wireless access point information, the user equipment can be more accurately matched with the access information of the currently available wireless access point, thereby further improving the user equipment based on the returned The success rate of accessing information for wireless connection.
  • the first wireless access point information includes a screenshot of a wireless access point presentation interface in the user equipment.
  • the user equipment acquires, according to its own wireless scanning function, a wireless access point around the current device, that is, the first wireless access point information, and the first wireless access point information It will be presented in the user equipment interface.
  • the presentation interface may include name information of the first wireless access point information, wireless signal indication information, and the like.
  • the system wireless connection module call of the user equipment is restricted, for example, when the user equipment is an iOS system device, the system wireless connection module call is restricted, and the user equipment browses The device cannot directly scan the wireless signal by calling the interface.
  • the presentation interface of the wireless access point may be first subjected to an image intercepting operation, for example, performing a screen capture to obtain corresponding picture information.
  • the screenshot is acquired by the device 1 from the user device.
  • the first wireless access point information acquired by the device 1 from the user equipment may correspond to one or more of the screenshots.
  • the device 1 further comprises a fifth device (not shown), the fifth device extracting wireless access in the wireless access point presentation interface from the screenshot Point access point name information; wherein the second unit 132' is based on the access point name letter And determining, from the one or more candidate wireless access points, access information of a wireless access point corresponding to the user equipment.
  • the access point name information in the screenshot may include the SSID (Service Set Identifier) information of the corresponding wireless access point to identify different wireless access points.
  • the fifth device extracts, from the screenshot, access point name information of the wireless access point in the wireless access point presentation interface.
  • the image information is recognized, parsed, and extracted by a graphic recognition function or method, such as an OCR (Optical Character Recognition) function.
  • OCR Optical Character Recognition
  • the name information of the wireless access point, the wireless signal indication information, and the like included in the screenshot Preferably, multiple screenshots can be parsed simultaneously and information extracted. Here, you can choose to parse all the information included in the screenshot, and then determine the information actually needed, such as the access point name information; in addition, the partial information in the screenshot can be analyzed correspondingly. To reduce unnecessary work.
  • the second unit 132' determines, according to the access point name information, access information of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points.
  • a candidate wireless access point that matches the extracted access point name information is searched for among the plurality of candidate wireless access points as a wireless access point corresponding to the user equipment, and is determined. Its corresponding access information. Based on this, preferably, if there are multiple wireless access points that are consistent, a wireless access point with a more accurate matching degree and a higher connection success rate may be further selected, for example, a faster connection speed is preferred.
  • the fifth device further includes a third unit (not shown) and a fourth unit (not shown), wherein the third unit scans the screenshot to identify the wireless signal indicator and the character string; The fourth unit records, in the screenshot, the character string that is parallel and closest to the wireless signal indicator as the access point name information of the wireless access point corresponding to the wireless signal indicator.
  • the third unit scans the wireless signal indicator and the character string from the screenshot.
  • the wireless signal indicator includes identification information of a general wireless signal, and the identification information is changed based on different signal strengths, such as multiple parallel lines.
  • the wireless signal indicator the number of lines corresponds to the strength of the signal.
  • the string information includes access point identification information of each wireless access point in the screenshot, such as SSID information of the access point.
  • the fourth unit records, in the screenshot, the character string that is parallel and closest to the wireless signal indicator as the access point name information of the wireless access point corresponding to the wireless signal indicator.
  • the information in the screenshot is an orderly arrangement of list information.
  • information of one wireless access point is recorded in the same row.
  • the parallel and closest character string is the access point name information of the wireless access point corresponding to the wireless signal.
  • the corresponding parsing and categorization rules may be set based on the layout of the information in the actual screenshot. And determining the one-to-one corresponding wireless signal indicator and the character string, thereby improving the correct rate of information matching.
  • the fifth device further comprises a fifth unit (not shown), the fifth unit comparing the wireless signal indicator with a predetermined signal strength model to obtain the wireless access point Signal strength information; wherein the second unit 132' determines the sum from the one or more candidate wireless access points according to the access point name information when the signal strength information satisfies predetermined signal strength threshold information The access information of the wireless access point corresponding to the user equipment.
  • the fifth unit compares the wireless signal indicator with a predetermined signal strength model to obtain signal strength information of the wireless access point.
  • the wireless signal indicator corresponding to each specific wireless access point may be quantized, for example, when When a plurality of parallel lines are used as the wireless signal indicator, the wireless signal indicators including different numbers of lines correspond to different signal strengths, thereby predetermining the signal strength model. Further, in an actual application, the obtained wireless signal indicator is matched with the predetermined signal strength model to determine quantized signal strength information of the wireless access point.
  • the second unit 132' determines the user equipment from the one or more candidate wireless access points according to the access point name information when the signal strength information satisfies predetermined signal strength threshold information. Corresponding access information of the wireless access point.
  • the signal may be preset
  • the intensity threshold information is further compared with the signal strength threshold information of the wireless access point, and when the signal strength information reaches or is greater than the signal strength threshold information, it is estimated based on the signal strength
  • the access information of the wireless access point corresponding to the information is wirelessly connected, and the connection success rate is high, which can be used as a result of preferential screening.
  • the present application provides for determining the access information of the wireless access point corresponding to the user equipment by parsing and utilizing the related information of the wireless signal indicator information and the like in the screenshot.
  • the objective reference standard helps to identify the target wireless access point with high connection success rate, optimizes the user's connection experience, and simplifies the workload of part of the device 1 accordingly.
  • FIG. 3 shows a schematic diagram of a third device 13" for establishing a wirelessly connected device 1 according to another preferred embodiment of the present application, wherein the third device 13" includes a sixth unit 133", a seventh Unit 134", eighth unit 135" and ninth unit 136".
  • the sixth unit 133" determines one or more wireless access points corresponding to the user equipment according to the current address information fed back by the first executable module by the user equipment;
  • the seventh unit 134" generates a second page, wherein the second page includes a second executable module for at least one of the one or more wireless access points, the second executable module for The user's selection operation of at least one of the one or more wireless access points transmits an access information request for access information of the selected wireless access point to the network device;
  • the eighth unit 135" Returning, by the user equipment, the second page; the ninth unit 136" determines, according to the access information request that the user equipment feeds back by the second executable module, that the selected wireless connection is Incoming access information.
  • the access information of the one or more wireless access points may be directly determined by the device 1; or, preferably, in the embodiment, the determining may also be performed first.
  • the wireless access point is returned to the user equipment, and based on the user's access information request, finally determining access information of the wireless access point corresponding to the user equipment.
  • the sixth unit 133" determines one or more wireless access points corresponding to the user equipment according to the current address information fed back by the first executable module by the user equipment.
  • the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine one that meets a preset matching rule.
  • One or more wireless access points may be compared and matched to determine one that meets a preset matching rule.
  • the seventh unit 134" generates a second page.
  • the device 1 prepares a site to be sent to the user equipment
  • the second page where the second page may include one or more wireless access points and related information determined by the sixth unit 133 ′′ corresponding to the user equipment, for example, including but not limited to
  • a second executable module for obtaining current address information of the user device for example, the second executable module can include an executable page script.
  • the user equipment performs the second executable module according to a user selecting operation of at least one of the one or more wireless access points, thereby, according to the selecting operation, to the network device An access information request for access information for the selected wireless access point is sent.
  • the network device is the device 1.
  • the two can be used interchangeably.
  • the eighth unit 135" returns the second page to the user equipment.
  • the device 1 does not directly connect one or more wireless accesses corresponding to the user equipment.
  • the access information of the point is directly returned to the user equipment, but the second page including the wireless access point is first returned to the user equipment, so as to facilitate the user to based on the plurality of wireless connections presented in the page.
  • the ingress point is actively selected, and then the corresponding access information is determined based on the user selection.
  • the ninth unit 136" determines access information with the selected wireless access point according to the access information request that the user equipment feeds back by the second executable module.
  • the second executable module is executed based on a selection operation of the target wireless access point by the user in the second page presented by the user equipment, and the device 1 acquires the access information request from the user equipment. Based on the access information request, access information matching the requested wireless access point will be determined.
  • the device 1 acquires the access information of the user equipment to the specific selected wireless access point. Accessing the information request, so that only the request for matching the access information can be matched The access information of the wireless access point is returned to the user equipment. At this time, it is not required to return the access information of all the wireless access points corresponding to the user equipment one by one, or return a large amount. It is more selective and targeted, which reduces the amount of data transmission and improves the overall operational efficiency.
  • the second page is an update page of the first page.
  • the generating of the second page and the sending to the user equipment are based on a preset processing operation of performing a corresponding result of the first executable module on the user equipment.
  • the second page may be automatically sent to the user equipment, and the information of the first page already existing in the user equipment may be updated.
  • a program for requesting to acquire one or more wireless access points corresponding to the user equipment may be set in the first executable module corresponding to the first page, based on a related operation of the user on the page information, The device 1 acquires the request information of the wireless access point, and then the device 1 generates and returns to the second page.
  • the second device 12" returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information; wherein the sixth unit 133" executes the first executable module according to the user equipment Determining the current address information, determining one or more candidate wireless access points that match the current address information; and performing the first feedback by the user equipment by executing the first executable module Wireless access point information determining one or more wireless access points corresponding to the user equipment from the one or more candidate wireless access points.
  • the second device 12" returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information.
  • determining the final access information may be based only on current address information of the user equipment.
  • the information error caused by the user equipment may be combined with the first wireless access point information that the user equipment can currently scan, and thus the user equipment may be selected to determine the current user equipment.
  • the wireless access point with corresponding access information available so that the user equipment is based on the wireless connection The success rate of the wireless connection at the entry point is high.
  • the device 1 returns to the first page of the network device, and includes a first executable module for acquiring current address information of the user device, for example, the first executable module may
  • An executable page script program is included, where the set script program can be implemented: the device 1 can obtain current address information of the user equipment; and at the same time, based on the set script program, obtaining the user equipment can also be implemented.
  • the first wireless access point information scanned by the current address information.
  • the content of the second device 12" is the same as or substantially the same as the content of the second device 12' shown in FIG. 2, and accordingly, a corresponding description or example of the second device 12' may also be cited herein. , will not repeat them here.
  • the sixth unit 133" determines one or more candidate radio accesses that match the current address information according to the current address information fed back by the first executable module by the user equipment.
  • the geographic location information of each wireless access point stored in the device 1 may be compared and matched, and the wireless access point with a high availability rate of the current user equipment is determined as the candidate wireless.
  • the candidate wireless access point is a wireless access point that is closer to the user equipment and has corresponding access information in the device 1.
  • the candidate wireless access point The selection may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range is the determined wireless access point.
  • the matched The distance between the geographic location information of the wireless access point and the current address information, and the coverage information of the wireless access point under normal circumstances or in a specific case may be referred to
  • the user equipment in the current location has a higher connection success rate based on the returned wireless access point.
  • the sixth unit 133" is further configured from the one or more candidate wireless access points according to the first wireless access point information fed back by the first executable module by the user equipment. Determining one or more wireless access points corresponding to the user equipment.
  • the wireless access point corresponding to the first wireless access point information is that the user equipment can currently scan the identified wireless connection. Incoming, while the candidate wireless access point has corresponding access information in the device 1.
  • the wireless access point may be further optimized when there are multiple wireless access points that satisfy the condition, for example, based on the wireless access point related information, Such as the connection speed information, signal strength information, geographic location Information, connection frequency information, and the like, preferably access information of a preferred wireless access point with a fast connection speed, a strong signal, a close proximity to the user equipment, and a most recently connected number of times, and returning the information to the user
  • the device can reduce the amount of data transmission between devices, and on the other hand, can improve the success rate of the user equipment to establish a wireless connection based on the access information.
  • the fourth device 14 provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point; a third page, wherein the third page includes a third executable module for establishing a wireless connection between the user equipment and a corresponding wireless access point according to the access information; returning the third to the user equipment page.
  • the fourth device 14 of the device 1 provides the access information to the user equipment, in response to the user equipment performing a response of the second executable module corresponding to the second page. And establishing, by the user equipment, a wireless connection with a corresponding wireless access point.
  • the access information includes, but is not limited to, profile information including a connection password, or authentication information such as an encrypted password string, and the access information may be based on different user equipment systems or actual applications. Need, flexible choice.
  • a third page is generated.
  • the connection prompt confirmation information related to the corresponding wireless access point may be presented in the third page, and may further include, configured to establish, according to the access information, the user equipment and the corresponding wireless access point.
  • a third executable module of the wireless connection can include an executable page script.
  • the preset procedure corresponding to the third executable module is executed, for example, when the user equipment is corresponding to the system wireless connection module.
  • the restricted device When the restricted device is invoked, it may be set in the page script to install the access information, such as the description file information, and may also be set in the page script, based on the installation.
  • the profile information initiating a wireless connection request to the wireless access point.
  • the wireless connection request may be set to determine to perform the request sending again based on the user's selection, or may further set the user equipment to automatically initiate the wireless connection request to the wireless access point. Then, the third page loaded with the third executable module is returned to the user equipment.
  • the setting of the third executable module in the third page may help the user equipment to successfully implement wireless connection with the corresponding wireless access point, preferably
  • the automatic connection between the user equipment and the corresponding wireless access point can also be implemented. Optimized user experience.
  • step S41 shows a flow chart of a method for establishing a wireless connection in accordance with another aspect of the present application.
  • the method comprises step S41, step S42 and step S43.
  • step S41 the device 1 receives an access request for the first page sent by the user equipment; in step S42, the device 1 returns a corresponding first page to the user equipment, where the a page includes a first executable module for acquiring current address information of the user equipment; in step S43, the device 1 is configured to perform the current feedback by the first executable module according to the user equipment
  • the address information determines access information of the wireless access point corresponding to the user equipment; in step S44, the device 1 provides the access information to the user equipment for the user equipment to establish and Corresponding to the wireless connection of the wireless access point.
  • the device 1 includes various smart terminals.
  • the device 1 is preferably a network device, such as various cloud servers.
  • the user equipment includes various smart terminals having wireless connection functions, such as mobile smart devices, various personal computers, and the like.
  • the device 1 corresponds to access point information related to storing a large number of wireless access points, including but not limited to name information of the access point, geographical location information, connection speed information, signal strength information, and connection frequency information. , access information, etc.
  • the wireless access point is an access point corresponding to a wireless network, including but not limited to a wireless local area network based on the IEEE 802.11 series standard protocol, for example, a wireless local area network based on the IEEE 802.11b protocol, ie
  • the user equipment can access the corresponding wireless network through the wireless access point.
  • the user equipment does not need to install or run an application for establishing a wireless connection, for example, when the user equipment is a smart phone, it does not need to be installed thereon, or run for establishing a wireless connection. mobile application.
  • the device 1 receives an access request for the first page sent by the user equipment.
  • the user equipment sends a page request to the device 1, for example, a cloud server storing related information of a mass wireless access point, based on a corresponding browser.
  • the page request may be based on a user corresponding to the user equipment, inputting and submitting a URI corresponding to the device 1 in a address bar of a browser ((Uniform) Resoure Identifier information, such as domain name information corresponding to the device 1, or a hyperlink to the URI information corresponding to the device 1 directly on any other interface on the user equipment.
  • (Uniform) Resoure Identifier information such as domain name information corresponding to the device 1, or a hyperlink to the URI information corresponding to the device 1 directly on any other interface on the user equipment.
  • the device 1 corresponding to the URI information receives a page access request sent by the user equipment, such as an HTTP (HyperText Transfer Protocol) request, based on the access request, the user wants to obtain The first page.
  • a page access request sent by the user equipment, such as an HTTP (HyperText Transfer Protocol) request
  • HTTP HyperText Transfer Protocol
  • the information in the first page is the specific resource information pointed to by the resource path information corresponding to the HTTP request.
  • the first page is an initial page in which a user implements a wireless connection through a browser page.
  • the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment.
  • the device 1 determines specific data pointed to by the resource path information in response to the access request received from the user equipment, such as the HTTP request, and organizes the data into the first page to be returned.
  • the first page is organized according to an HTML protocol.
  • the first page may include information such as a corresponding page layout, a text picture, and the like, and further includes a first executable module for acquiring current address information of the user equipment, for example, the first executable module.
  • An executable page script can be included.
  • the device 1 may acquire current address information of the user equipment.
  • the current address information includes latitude and longitude information of the current location of the user equipment, and may be through an AGPS (Assisted Global Positioning System) function or a GPS (Global Positioning System) in the user equipment.
  • AGPS Assisted Global Positioning System
  • GPS Global Positioning System
  • a positioning system) function to determine the latitude and longitude information.
  • it may be set in the page script program to automatically acquire latitude and longitude information of the user equipment.
  • the prompt opening operation may also be set in the page script program.
  • the browser calls the user equipment authorization to obtain the latitude and longitude information the corresponding calling authority acquisition program may also be set in the page script in advance.
  • step S43 the device 1 determines, according to the current address information that the user equipment feeds back by the first executable module, the access information of the wireless access point corresponding to the user equipment. .
  • the access information includes but is not limited to:
  • the authentication information such as the description file of the connection password or the encrypted password string can be flexibly selected based on different user equipment systems or actual application requirements.
  • a large amount of wireless access point information is stored, and information about each wireless access point and its corresponding access point, such as geographical location information, connection speed information, and signal strength information of the access point, Connection frequency information, access information, etc. are stored correspondingly.
  • the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine the connection of the wireless access point with a high availability rate of the current user equipment. Enter information.
  • the foregoing comparison matching may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range is the determined wireless access point, and, for example, may Setting a matching quantity, radiating outward from the current address information, determining the wireless access point from near to far, and the upper limit is the foregoing matching quantity.
  • the distance between the geographical location information of the matched wireless access point and the current address information may also refer to the coverage of the wireless access point under normal circumstances or in a specific case. Information to ensure that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
  • a corresponding target wireless access point may also be selected from among the plurality of wireless access points. For example, based on the wireless access point related information, such as the connection speed information, the signal strength information, the geographical location information, the connection frequency information, etc., the connection speed is faster, the signal is stronger, and the distance from the user equipment is closer.
  • the preferred wireless access point that has been recently connected is used as the target wireless access point, thereby improving the wireless connection success rate.
  • the device 1 determines one or more wireless access points corresponding to the user equipment, and at the same time, the device 1 simultaneously stores access information corresponding to the wireless access point.
  • the access information is profile information including a connection password.
  • the access information of the one or more wireless access points may be directly determined by the device 1; or the determined wireless access point may be returned to the user equipment first, and then based on The user's access information request finally determines the access information of the wireless access point corresponding to the user equipment.
  • step S44 the device 1 provides the access information to the user equipment, so that the user equipment establishes a wireless connection with a corresponding wireless access point.
  • the access information of the wireless access point directly determined by the device 1 or the access information determined based on the access information request of the user equipment may be sent to the corresponding user equipment, and further When the user equipment selects the wireless access point corresponding to the access information, the corresponding wireless connection may be established based on the obtained access information.
  • the device 1 in the present application returns an access request of the user equipment to the first page that includes the first executable module, based on the execution result of the user equipment on the first executable module.
  • the device 1 takes the current address information of the user equipment, and determines, for the user equipment, the access information of the wireless access point that matches the current address information, such as the connection password and the description file information for connection verification. Wait.
  • the application can help the user equipment to automatically establish a wireless connection with the wireless access point based on the access information of the wireless access point corresponding to the user equipment determined in the device 1
  • the corresponding user can conveniently and quickly use the corresponding wireless network, thereby reducing the probability of the user using the network without the network.
  • the communication between the device 1 and the user equipment is directly implemented by a page access request and response, and does not need to install or run an application for establishing a wireless connection in the user equipment to implement the connection.
  • the acquisition of information thereby saving device resources for the user equipment, such as saving storage space of the device.
  • FIG. 5 illustrates a flow chart of a method for establishing a wireless connection in accordance with a preferred embodiment of the present application.
  • the method includes a step S41', a step S42', a step S43' and a step S44', wherein the step S43' comprises a step S431' and a step S432'.
  • the device 1 receives the access request for the first page sent by the user equipment in step S41'; in step S42', the device 1 returns a corresponding first page to the user equipment, where
  • the first page includes a first executable module, where the first executable module is configured to acquire current address information of the user equipment, and the first wireless access point scanned by the user equipment in the current address information.
  • step S431' the device 1 is based on Determining, by the user equipment, the one or more candidate wireless access points that match the current address information by performing the current address information fed back by the first executable module; in step S432', the device Determining, according to the user equipment, the first wireless access point information fed back by the first executable module, from the one or more candidate wireless access points, corresponding to the user equipment. Access information of the wireless access point; the fourth device 14' provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point.
  • the step S41', the step S44' and the step S41 and the step S42 shown in FIG. 4 are the same or substantially the same, and are not described herein again, and are included herein by reference.
  • step S42' the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is used to acquire The current address information of the user equipment, and the first wireless access point information scanned by the user equipment in the current address information.
  • the information error that may be caused by the final access information is determined based on the current address information of the user equipment, and further, preferably, the first wireless that the user equipment can currently scan is simultaneously combined.
  • Access point information whereby the user equipment can be selected to determine the coverage of the current user equipment, and at the same time, the corresponding access information is available in the device 1, so that the user equipment is based on the wireless The access point has a higher success rate for wireless connections.
  • the device 1 returns to the first page of the network device, and includes a first executable module for acquiring current address information of the user device, for example, the first executable module may
  • An executable page script program is included, where the set script program can be implemented: the device 1 can obtain current address information of the user equipment; and at the same time, based on the set script program, obtaining the user equipment can also be implemented.
  • the first wireless access point information scanned by the current address information. For example, it may be set in the page script to invoke the wireless signal scanning function corresponding to the user equipment to directly obtain the first wireless access point information corresponding to the plurality of wireless access points that may exist around the user equipment. .
  • the system wireless connection module corresponding to the user equipment is restricted in calling, for example, when the user equipment is an iOS system device, and the system wireless connection module is restricted in calling, the current browser in the user equipment is It is not possible to directly scan the wireless signal by calling the interface. At this time, it can be set in the page script program to obtain the wireless access point presentation boundary displayed by the user equipment's own scanning function.
  • the screenshot corresponding to the face, the screenshot includes the first wireless access point information.
  • the page script program may be set to: first prompt the user whether there is a corresponding screenshot, if the user selects an existing screenshot, then set to enter the album to obtain a specific screenshot; if the user selects to take a screenshot, enter the user device self-scanning function
  • the displayed wireless access point presentation interface performs a screenshot operation.
  • the device 1 determines one or more candidates that match the current address information according to the current address information fed back by the first executable module by the user equipment.
  • Wireless access point based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched, and a wireless access point with a high availability rate of the current user equipment is determined as the candidate wireless access. point.
  • the candidate wireless access point is a wireless access point that is relatively close to the user equipment and has corresponding access information in the device 1.
  • the selection of the candidate wireless access point may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range, that is, the determined wireless access point.
  • the distance between the geographical location information of the wireless access point and the current address information may also refer to the coverage information of the wireless access point under normal circumstances or in a specific case, It is ensured that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
  • the device 1 selects from the one or more candidate radio accesses according to the first wireless access point information fed back by the first executable module by the user equipment.
  • the access information of the wireless access point corresponding to the user equipment is determined in the point.
  • the wireless access point corresponding to the first wireless access point information is that the user equipment can currently scan the identified wireless access point, and the candidate wireless access point is in the device 1 again. There is corresponding access information. Therefore, the user equipment achieves a higher success rate of the wireless connection based on the access information of the wireless access point determined by the device 1.
  • the wireless access point may be further optimized, for example, based on the wireless access point related information, such as the connection.
  • Speed information, signal strength information, geographical location information, connection frequency information, etc. preferably access information of a preferred wireless access point with a faster connection speed, a stronger signal, a closer distance to the user equipment, and more recently connected times. And returning to the user equipment, on the one hand, reducing the amount of data transmission between the devices, and on the other hand, improving the success rate of the user equipment to establish a wireless connection based on the access information.
  • the device 1 can simultaneously determine the current user information and the first wireless access point information scanned by the user equipment in the current address information, and determine and return the corresponding wireless connection for the user equipment. Incoming access information.
  • the user equipment in combination with the first wireless access point information, the user equipment can be more accurately matched with the access information of the currently available wireless access point, thereby further improving the user equipment based on the returned The success rate of accessing information for wireless connection.
  • the first wireless access point information includes a screenshot of a wireless access point presentation interface in the user equipment.
  • the user equipment acquires, according to its own wireless scanning function, a wireless access point around the current device, that is, the first wireless access point information, and the first wireless access point information It will be presented in the user equipment interface.
  • the presentation interface may include name information of the first wireless access point information, wireless signal indication information, and the like.
  • the system wireless connection module call of the user equipment is restricted, for example, when the user equipment is an iOS system device, the system wireless connection module call is restricted, and the user equipment browses The device cannot directly scan the wireless signal by calling the interface.
  • the presentation interface of the wireless access point may be first subjected to an image intercepting operation, for example, performing a screen capture to obtain corresponding picture information.
  • the screenshot is acquired by the device 1 from the user device.
  • the first wireless access point information acquired by the device 1 from the user equipment may correspond to one or more of the screenshots.
  • the method further comprises a step S45' (not shown), in step S45', the device 1 extracts the wireless access point presentation interface from the screenshot The access point name information of the wireless access point; wherein, in step S432', the device 1 determines the user from the one or more candidate wireless access points according to the access point name information. Access information of the wireless access point corresponding to the device.
  • the access point name information in the screenshot may include the SSID (Service Set Identifier) information of the corresponding wireless access point to identify different wireless access points.
  • the fifth device extracts, from the screenshot, access point name information of the wireless access point in the wireless access point presentation interface.
  • a graphic recognition function or a method such as an OCR (Optical Character Recognition) function
  • OCR Optical Character Recognition
  • multiple screenshots can be parsed simultaneously and information extracted.
  • step S432' the device 1 determines, according to the access point name information, access information of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points. .
  • a candidate wireless access point that matches the extracted access point name information is searched for among the plurality of candidate wireless access points as a wireless access point corresponding to the user equipment, and is determined. Its corresponding access information. Based on this, preferably, if there are multiple wireless access points that are consistent, a wireless access point with a more accurate matching degree and a higher connection success rate may be further selected, for example, a faster connection speed is preferred.
  • the method further comprises a step S451' (not shown) and a step S452' (not shown).
  • step S451' the device 1 scans the wireless signal indicator and the character string from the screenshot; in step S452, the device 1 parallels the wireless signal indicator in the screenshot The closest character string is recorded as the access point name information of the wireless access point corresponding to the wireless signal indicator.
  • the device 1 scans the wireless signal indicator and the character string from the screenshot.
  • the wireless signal indicator includes identification information of a general wireless signal, and the identification information is changed according to different signal strengths, such as a plurality of parallel lines as the wireless signal indicator, and a line How much corresponds to the strength of the signal.
  • the string information includes access point identification information of each wireless access point in the screenshot, such as SSID information of the access point.
  • step S452' the device 1 records the character string in the screenshot that is parallel and closest to the wireless signal indicator as a wireless connection corresponding to the wireless signal indicator.
  • Access point name information for the inbound point preferably, the information in the screenshot is an orderly arrangement of list information. Generally, information of one wireless access point is recorded in the same row. At this time, it is preferable to determine the wireless signal indicator.
  • the parallel and closest character string is the access point name information of the wireless access point corresponding to the wireless signal.
  • the corresponding parsing and categorization rules may be set based on the layout of the information in the actual screenshot. And determining the one-to-one corresponding wireless signal indicator and the character string, thereby improving the correct rate of information matching.
  • the method further comprises a step S453' (not shown), in step S453', the device 1 compares the wireless signal indicator with a predetermined signal strength model to obtain the wireless connection Signal strength information of the in-point; wherein the second unit 132', when the signal strength information satisfies predetermined signal strength threshold information, from the one or more candidate wireless access points according to the access point name information Determining access information of a wireless access point corresponding to the user equipment.
  • the device 1 compares the wireless signal indicator with a predetermined signal strength model to obtain signal strength information of the wireless access point.
  • the wireless signal indicator corresponding to each specific wireless access point may be quantized, for example, when When a plurality of parallel lines are used as the wireless signal indicator, the wireless signal indicators including different numbers of lines correspond to different signal strengths, thereby predetermining the signal strength model. Further, in an actual application, the obtained wireless signal indicator is matched with the predetermined signal strength model to determine quantized signal strength information of the wireless access point.
  • step S432' the device 1 determines the location from the one or more candidate wireless access points according to the access point name information when the signal strength information satisfies predetermined signal strength threshold information.
  • the signal strength threshold information may be preset, and the signal strength information of the wireless access point is compared with the signal strength threshold information, when When the signal strength information reaches or is greater than the signal strength threshold information, That is, it is estimated that the access information of the wireless access point corresponding to the signal strength information is wirelessly connected, and the connection success rate is high, which can be used as a result of the preferential screening.
  • the present application provides for determining the access information of the wireless access point corresponding to the user equipment by parsing and utilizing the related information of the wireless signal indicator information and the like in the screenshot.
  • the objective reference standard helps to identify the target wireless access point with high connection success rate, optimizes the user's connection experience, and simplifies the workload of part of the device 1 accordingly.
  • step S43 includes step S433", step S434", step S435" and step S436".
  • the device 1 determines, according to the current address information fed back by the first executable module, one or more wireless accesses corresponding to the user equipment, in step S433 Point; in step S434", the device 1 generates a second page, wherein the second page includes a second executable module for at least one of the one or more wireless access points, the second The executable module is configured to send an access information request for the access information of the selected wireless access point to the network device according to a user selection operation of at least one of the one or more wireless access points; S435", the device 1 returns the second page to the user equipment; in step S436", the device 1 performs the connection fed back by the second executable module according to the user equipment The incoming information request determines access information with the selected wireless access point.
  • the access information of the one or more wireless access points may be directly determined by the device 1; or, preferably, in the embodiment, the determining may also be performed first.
  • the wireless access point is returned to the user equipment, and based on the user's access information request, finally determining access information of the wireless access point corresponding to the user equipment.
  • step S433 the device 1 determines one or more wireless connections corresponding to the user equipment according to the current address information fed back by the first executable module by the user equipment.
  • the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine one or more wireless access points that meet the preset matching rule.
  • step S434" the device 1 generates a second page.
  • the device 1 based on a related operation of performing a response of the first executable module to the user equipment, the device 1 is ready to be sent to the user
  • the second page of the device where the second page may include one or more wireless access points and related information determined by the device 1 corresponding to the user equipment, for example, including but not limited to The graphic information of the wireless access point presented in the form of a list, such as the name information of the wireless access point, the connection strength information, the geographical location information, etc.; and the page layout information for displaying the wireless access point, etc.; a second executable module for acquiring current address information of the user equipment, for example, the second executable module may include an executable page script program.
  • the user equipment may be according to a user Selecting operation of at least one of the one or more wireless access points to execute the second executable module, thereby transmitting a flag to the network device based on the selecting operation described above
  • the access information request of the access information of the selected wireless access point is the network device.
  • the network device is the device 1.
  • the two can be interchanged. use.
  • step S435" the device 1 returns the second page to the user equipment.
  • the device 1 does not directly correspond to one or more corresponding to the user equipment.
  • the access information of the wireless access point is directly returned to the user equipment, but the second page including the wireless access point is first returned to the user equipment, so as to facilitate the user to display the number based on the page.
  • the wireless access points perform active selection, and then determine corresponding access information based on user selection.
  • step S436 the device 1 determines, according to the access information request that the user equipment feeds back by the second executable module, the access information with the selected wireless access point.
  • the second executable module is executed based on a selection operation of the target wireless access point by the user in the second page presented by the user equipment, and further, the device 1 acquires the connection from the user equipment.
  • the incoming information request based on the access information request, determines access information that matches the requested wireless access point.
  • the device 1 acquires the access information of the user equipment to the specific selected wireless access point. Accessing the information request, so that only the access information of the wireless access point that matches the access information request can be returned to the user equipment, and at this time, it is not necessary to The access information of all the wireless access points corresponding to the user equipment is returned one by one, or returned in a large amount, but is more selective and targeted, thereby reducing the amount of data transmission and improving the overall operation efficiency.
  • the second page is an update page of the first page.
  • the generating of the second page and the sending to the user equipment are based on a preset processing operation of performing a corresponding result of the first executable module on the user equipment.
  • the second page may be automatically sent to the user equipment, and the information of the first page already existing in the user equipment may be updated.
  • a program for requesting to acquire one or more wireless access points corresponding to the user equipment may be set in the first executable module corresponding to the first page, based on a related operation of the user on the page information, The device 1 acquires the request information of the wireless access point, and then the device 1 generates and returns to the second page.
  • the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire The current address information of the user equipment, and the first wireless access point information scanned by the user equipment in the current address information; wherein, in step S433", the device 1 performs the execution according to the user equipment. Determining, by the first executable module, the current address information, determining one or more candidate wireless access points that match the current address information; according to the user equipment, by executing the first executable module The first wireless access point information that is fed back determines one or more wireless access points corresponding to the user equipment from the one or more candidate wireless access points.
  • step S42" the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is used to acquire Determining the current address information of the user equipment, and the first wireless access point information scanned by the user equipment in the current address information.
  • the device has the corresponding access point of the wireless access point in the device 1, so that the success rate of the wireless connection by the user equipment based on the wireless access point is high.
  • the device 1 returns to The first page of the network device includes a first executable module for acquiring current address information of the user device, for example, the first executable module may include an executable page script program, where In this case, the set script program may be implemented: the device 1 may obtain current address information of the user equipment; and, according to the set script program, obtain the first scanned by the user equipment in the current address information.
  • the step S42 ′′ is the same as or substantially the same as the content of the step S42 ′ shown in FIG. 5 . Therefore, the corresponding description or example of the step S42 ′ may also be referred to herein, and details are not described herein again. .
  • the device 1 determines one or more candidates that match the current address information according to the current address information fed back by the first executable module by the user equipment.
  • a wireless access point based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine a wireless access point with a high availability rate of the current user equipment.
  • the candidate wireless access point is described.
  • the candidate wireless access point is a wireless access point that is closer to the user equipment and has corresponding access information in the device 1. The candidate wireless access point.
  • the selection of the access point may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range, that is, the determined wireless access point.
  • the distance between the geographic location information of the wireless access point and the current address information may also refer to the coverage information of the wireless access point under normal circumstances or in a specific case. To ensure that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
  • the device 1 further performs the one or more candidate wireless connections according to the first wireless access point information fed back by the first executable module by the user equipment. Determining, in the in-point, one or more wireless access points corresponding to the user equipment.
  • the wireless access point corresponding to the first wireless access point information is currently a wireless access point, wherein the candidate wireless access point has corresponding access information in the device 1.
  • wireless is implemented based on one or more wireless access points corresponding to the user equipment
  • the success rate of the connection is higher.
  • the wireless access point may be further optimized, for example, based on the wireless access point.
  • connection speed information preferably has a faster connection speed, a stronger signal, and is used
  • the access information of the preferred wireless access point that is close to the user equipment and has been connected most recently, and returns it to the user equipment, on the one hand, the amount of data transmission between devices can be reduced, and on the other hand, the user can be improved.
  • the device establishes a success rate of the wireless connection based on the access information.
  • the fourth device 14 provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point; a third page, wherein the third page includes a third executable module for establishing a wireless connection between the user equipment and a corresponding wireless access point according to the access information; returning the third to the user equipment page.
  • the device 1 based on the response of the user equipment to the second executable module corresponding to the second page, the device 1 provides the access information to the user equipment for the user
  • the device establishes a wireless connection with the corresponding wireless access point.
  • the access information includes, but is not limited to, profile information including a connection password, or authentication information such as an encrypted password string, and the access information may be based on different user equipment systems or actual applications. Need, flexible choice.
  • a third page is generated.
  • the connection prompt confirmation information related to the corresponding wireless access point may be presented in the third page, and may further include, configured to establish, according to the access information, the user equipment and the corresponding wireless access point.
  • a third executable module of the wireless connection can include an executable page script.
  • the preset procedure corresponding to the third executable module is executed, for example, when the user equipment is corresponding to the system wireless connection module.
  • the restricted device When the restricted device is invoked, it may be set in the page script to install the access information, such as the description file information, and may also be set in the page script, based on the installation.
  • the profile information initiating a wireless connection request to the wireless access point.
  • the wireless connection request may be set to determine to perform the request sending again based on the user's selection, or may further set the user equipment to automatically initiate the wireless connection request to the wireless access point. Then, the third page loaded with the third executable module is returned to the user equipment.
  • the setting of the third executable module in the third page may help the user equipment to successfully implement a wireless connection with the corresponding wireless access point, and preferably, may also be implemented.

Abstract

Provided in the present application are a method and device for establishing a wireless connection. The method comprises: receiving an access request associated with a first page sent by user equipment; returning the corresponding first page to the user equipment, wherein the first page comprises a first executable module for acquiring current address information of the user equipment; determining access information of a wireless access point corresponding to the user equipment according to the current address information fed back by executing the first executable module by the user equipment; and providing the access information to the user equipment for the user equipment to establish a wireless connection with the corresponding wireless access point. In contrast to the related art, the present application realizes communication between a device for establishing a wireless connection and user equipment directly through a page access request and response, without having to install other application programs in the user equipment to acquire the access information, thereby saving device resources.

Description

一种用于建立无线连接的方法与设备Method and device for establishing wireless connection 技术领域Technical field
本申请涉及计算机领域,尤其涉及一种用于建立无线连接的技术。The present application relates to the field of computers, and in particular to a technique for establishing a wireless connection.
背景技术Background technique
现有技术中,用户设备要接入无线网络,例如,用户设备连接进入WiFi(wireless fidelity,无线保真)网络,一般先基于该用户设备搜索到的设备周边的无线接入点,再基于用户手动输入的目标无线接入点的连接密码接入选中的目标无线接入点,若是用户忘记或是不知道目标无线接入点的连接密码则无法接入该目标无线接入点对应的WiFi网络。In the prior art, the user equipment is required to access the wireless network. For example, the user equipment is connected to a wireless (wireless fidelity) network, and is generally based on the wireless access point around the device searched by the user equipment, and then based on the user. The connection password of the manually input target wireless access point is connected to the selected target wireless access point. If the user forgets or does not know the connection password of the target wireless access point, the WiFi network corresponding to the target wireless access point cannot be accessed. .
发明内容Summary of the invention
本申请的目的是提供一种用于建立无线连接的方法与设备。It is an object of the present application to provide a method and apparatus for establishing a wireless connection.
根据本申请的一个方面,提供了一种用于建立无线连接的方法,包括:According to an aspect of the present application, a method for establishing a wireless connection is provided, comprising:
接收用户设备发送的关于第一页面的访问请求;Receiving an access request sent by the user equipment about the first page;
向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块;Returning, to the user equipment, a corresponding first page, where the first page includes a first executable module for acquiring current address information of the user equipment;
根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息;Determining, by the user equipment, access information of a wireless access point corresponding to the user equipment by performing the current address information fed back by the first executable module;
将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。Providing the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point.
根据本申请的另一方面,还提供了一种用于建立无线连接的设备,包括:According to another aspect of the present application, there is also provided an apparatus for establishing a wireless connection, comprising:
第一装置,用于接收用户设备发送的关于第一页面的访问请求;a first device, configured to receive an access request sent by the user equipment about the first page;
第二装置,用于向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块;a second device, configured to return a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment;
第三装置,用于根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息;a third device, configured to determine, according to the user equipment, the access information of the wireless access point corresponding to the user equipment by performing the current address information that is fed back by the first executable module;
第四装置,用于将所述接入信息提供至所述用户设备,以供所述用户设 备建立与对应无线接入点的无线连接。a fourth device, configured to provide the access information to the user equipment, for the user to set A wireless connection with the corresponding wireless access point is established.
与现有技术相比,本申请中所述用于建立无线连接的设备基于接收到的用户设备的访问请求,为其返回包含了第一可以执行模块的第一页面,基于所述用户设备对第一可执行模块的执行结果,所述用于建立无线连接的设备获取了所述用户设备的当前地址信息,并为用户设备确定并返回与该当前地址信息匹配的无线接入点的接入信息,如用于连接验证的连接密码、描述文件信息等。在此,本申请可以基于所述用于建立无线连接的设备中所确定的与所述用户设备相对应的无线接入点的接入信息,帮助用户设备自动建立与该无线接入点之间的无线连接,从而使得对应用户可以方便、快捷地使用相应的无线网络,降低用户无网使用的概率。在此,所述用于建立无线连接的设备与所述用户设备之间的通信直接通过页面访问请求及响应实现,并不需要所述用户设备中安装、或运行用于建立无线连接的应用程序来实现所述接入信息的获取,从而为所述用户设备节约了设备资源,如节省了设备存储空间。Compared with the prior art, the device for establishing a wireless connection in the present application returns a first page including a first executable module based on the received access request of the user equipment, based on the user equipment pair. As a result of the execution of the first executable module, the device for establishing a wireless connection acquires current address information of the user equipment, and determines and returns, for the user equipment, access of the wireless access point that matches the current address information. Information such as connection passwords for connection verification, profile information, and so on. Herein, the application may help the user equipment to automatically establish an access point with the wireless access point based on the access information of the wireless access point corresponding to the user equipment determined in the device for establishing a wireless connection. The wireless connection enables the corresponding user to conveniently and quickly use the corresponding wireless network, thereby reducing the probability of the user using the network without the network. Here, the communication between the device for establishing a wireless connection and the user device is directly implemented by a page access request and response, and the application for establishing a wireless connection is not required to be installed or run in the user device. The obtaining of the access information is implemented, thereby saving device resources for the user equipment, such as saving storage space of the device.
进一步,可以同时结合所述当前地址信息和所述用户设备在所述当前地址信息所扫描的第一无线接入点信息,为用户设备确定并返回可以相应无线接入点的接入信息。在此,结合所述第一无线接入点信息,可以更准确地为用户设备匹配当前实时可用的无线接入点的接入信息,从而,进一步提高了所述用户设备基于所返回的所述接入信息进行无线连接的成功率。Further, the current address information and the first wireless access point information scanned by the user equipment in the current address information may be combined to determine and return access information of the corresponding wireless access point for the user equipment. Herein, in combination with the first wireless access point information, the user equipment can be more accurately matched with the access information of the currently available wireless access point, thereby further improving the user equipment based on the returned The success rate of accessing information for wireless connection.
进一步,所述第一无线接入点信息可以包括所述用户设备中无线接入点呈现界面的截图。并通过对所述截图的解析,可以准确获取所述用户设备当前可以实时获取到信号的无线接入点,在此基础上,在与所述用户设备的当前地址信息相对应的一个或多个候选无线接入点中,进一步确定与上述截图的解析信息匹配的无线接入点的接入信息。在此,当所述用户设备的系统无线连接模块调用受限时,也可以通过截图的形式,获取所述用户设备的第一无线接入点信息,从而通过参考用户设备当前无线接入点信号接收情况,优选连接成功率较高的无线接入点的接入信息,以供所述用户设备能够顺利实现无线连接。 Further, the first wireless access point information may include a screenshot of a wireless access point presentation interface in the user equipment. And obtaining, by the parsing of the screenshot, the wireless access point that the user equipment can obtain the real-time information in real time, and on the basis of the one or more corresponding to the current address information of the user equipment Among the candidate wireless access points, the access information of the wireless access point that matches the resolution information of the above screenshot is further determined. Here, when the system wireless connection module of the user equipment is restricted in calling, the first wireless access point information of the user equipment may also be obtained in the form of a screenshot, thereby referring to the current wireless access point signal of the user equipment. In the receiving situation, it is preferred to connect the access information of the wireless access point with higher success rate, so that the user equipment can smoothly implement the wireless connection.
附图说明DRAWINGS
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present application will become more apparent from the detailed description of the accompanying drawings.
图1示出根据本申请一个方面的一种用于建立无线连接的设备的示意图;1 shows a schematic diagram of an apparatus for establishing a wireless connection in accordance with an aspect of the present application;
图2示出根据本申请一个优选实施例的一种用于建立无线连接的设备示意图;2 shows a schematic diagram of an apparatus for establishing a wireless connection in accordance with a preferred embodiment of the present application;
图3示出根据本申请另一个优选实施例的一种用于建立无线连接的设备的第三装置的示意图;3 shows a schematic diagram of a third apparatus for establishing a wirelessly connected device in accordance with another preferred embodiment of the present application;
图4示出根据本申请另一个方面的一种用于建立无线连接的方法流程图;4 shows a flow chart of a method for establishing a wireless connection in accordance with another aspect of the present application;
图5示出根据本申请一个优选实施例的一种用于建立无线连接的方法流程图;5 shows a flow chart of a method for establishing a wireless connection in accordance with a preferred embodiment of the present application;
图6示出根据本申请另一个优选实施例的一种用于建立无线连接的部分方法流程图。6 shows a flow chart of a portion of a method for establishing a wireless connection in accordance with another preferred embodiment of the present application.
附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.
具体实施方式detailed description
下面结合附图对本申请作进一步详细描述。The present application is further described in detail below with reference to the accompanying drawings.
在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电 可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electricity Erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette, A tape storage or other magnetic storage device or any other non-transportable medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
图1示出根据本申请一个方面的一种用于建立无线连接的设备1的示意图。其中,所述设备1包括第一装置11、第二装置12、第三装置13和第四装置14。FIG. 1 shows a schematic diagram of an apparatus 1 for establishing a wireless connection in accordance with an aspect of the present application. The device 1 includes a first device 11, a second device 12, a third device 13, and a fourth device 14.
其中,所述第一装置11接收用户设备发送的关于第一页面的访问请求;所述第二装置12向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块;所述第三装置13根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息;所述第四装置14将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。The first device 11 receives an access request for the first page sent by the user equipment, and the second device 12 returns a corresponding first page to the user equipment, where the first page includes a first executable module of the current address information of the user equipment; the third device 13 determines, according to the current address information that the user equipment feeds back by the first executable module, that the user equipment is Corresponding access information of the wireless access point; the fourth device 14 provides the access information to the user equipment, so that the user equipment establishes a wireless connection with a corresponding wireless access point.
具体地,在此,所述设备1包括各种智能终端,在本申请中,所述设备1优选为网络设备,如各种云端服务器。所述用户设备包括具有无线连接功能的各种智能终端,如移动智能设备、各种个人计算机等。优选地,所述设备1中对应存储了海量的无线接入点的接入点相关信息,包括但不限于接入点的名称信息、地理位置信息、连接速度信息、信号强度信息、连接频率信息,接入信息等。在此,所述无线接入点是对应无线网络的接入点,所述无线网络包括但不限于基于IEEE 802.11系列标准协议的无线局域网络,例如,基于IEEE 802.11b协议的无线局域网络,即通常所说的WiFi网络,用户设备可以通过所述无线接入点接入对应的无线网络。在此,优选地,所述用户设备不需要安装、或是运行用于建立无线连接的应用程序,例如当用户设备为智能手机时,并不需要其上安装、或运行用于建立无线连接的移动应用。Specifically, the device 1 includes various smart terminals. In the present application, the device 1 is preferably a network device, such as various cloud servers. The user equipment includes various smart terminals having wireless connection functions, such as mobile smart devices, various personal computers, and the like. Preferably, the device 1 corresponds to access point information related to storing a large number of wireless access points, including but not limited to name information of the access point, geographical location information, connection speed information, signal strength information, and connection frequency information. , access information, etc. Here, the wireless access point is an access point corresponding to a wireless network, including but not limited to a wireless local area network based on the IEEE 802.11 series standard protocol, for example, a wireless local area network based on the IEEE 802.11b protocol, ie In the so-called WiFi network, the user equipment can access the corresponding wireless network through the wireless access point. Here, preferably, the user equipment does not need to install or run an application for establishing a wireless connection, for example, when the user equipment is a smart phone, it does not need to be installed thereon, or run for establishing a wireless connection. mobile application.
在此,所述第一装置11接收用户设备发送的关于第一页面的访问请 求。在此,优选地,所述用户设备基于对应的浏览器向所述设备1,例如存储有海量无线接入点的相关信息的云端服务器,发送页面请求。在此,优选地,所述页面请求可以是基于所述用户设备对应的用户在浏览器的地址栏中输入并提交所述设备1对应的URI((Uniform Resoure Identifier,统一资源定位符)信息,例如所述设备1对应的域名信息;或是直接在所述用户设备上的其他任意界面选择所述设备1对应的URI信息的超链接。进而,与所述URI信息对应的所述设备1接收到所述用户设备发送的页面访问请求,例如一个HTTP(HyperText Transfer Protocol,超文本传输协议)请求,基于该访问请求,所述用户希望获取所述第一页面。在此,所述第一页面中的信息即为所述HTTP请求对应的资源路径信息所指向的具体资源信息。在此,优选地,所述第一页面是用户通过浏览器页面实现无线连接的初始页面。Here, the first device 11 receives an access to the first page sent by the user equipment. begging. Here, preferably, the user equipment sends a page request to the device 1, for example, a cloud server storing related information of a mass wireless access point, based on a corresponding browser. Preferably, the page request may be based on a user corresponding to the user equipment, inputting and submitting a URI (Uniform Resound Identifier) information corresponding to the device 1 in an address bar of the browser. For example, the domain name information corresponding to the device 1 or a hyperlink to the URI information corresponding to the device 1 directly on any other interface on the user device. Further, the device 1 corresponding to the URI information receives a page access request sent by the user equipment, such as an HTTP (HyperText Transfer Protocol) request, based on the access request, the user wants to acquire the first page. Here, the first page The information in the information is the specific resource information pointed to by the resource path information corresponding to the HTTP request. Preferably, the first page is an initial page that the user implements a wireless connection through a browser page.
接着,所述第二装置12向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块。在此,所述设备1响应从用户设备接收的所述访问请求,如所述HTTP请求,确定所述资源路径信息指向的具体的数据,并将其组织成待返回的所述第一页面,例如,根据HTML协议组织所述第一页面。在此,所述第一页面可以包含相应的页面布局、文字图片等信息,同时还包含用于获取所述用户设备的当前地址信息的第一可执行模块,例如,所述第一可执行模块可以包括可执行的页面脚本程序。在此,通过在所述用户设备中执行所述第一可执行模块,所述设备1可以获取所述用户设备的当前地址信息。在此,所述当前地址信息包括所述用户设备当前所在位置的经纬度信息,可以通过所述用户设备中的AGPS(Assisted Global Positioning System,辅助全球卫星定位系统)功能或GPS(Global Positioning System,全球定位系统)功能来确定所述经纬度信息。在此,例如,可以在所述页面脚本程序中设置,自动获取所述用户设备的经纬度信息。进一步,优选地,对于所述用户设备中的定位功能,如所述GPS功能,没有开启的情况,还可以在所述页面脚本程序中设置提示开启操作。进一步,优选地,若是浏览器调用所述经纬度信息的获得需要所述用户设备授权,则还可以预先 在所述页面脚本中设置相应的调用权限获取程序。Then, the second device 12 returns a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment. Here, the device 1 determines specific data pointed to by the resource path information in response to the access request received from the user equipment, such as the HTTP request, and organizes the data into the first page to be returned. For example, the first page is organized according to an HTML protocol. Here, the first page may include information such as a corresponding page layout, a text picture, and the like, and further includes a first executable module for acquiring current address information of the user equipment, for example, the first executable module. An executable page script can be included. Here, by executing the first executable module in the user equipment, the device 1 may acquire current address information of the user equipment. Here, the current address information includes latitude and longitude information of the current location of the user equipment, and may be through an AGPS (Assisted Global Positioning System) function or a GPS (Global Positioning System) in the user equipment. A positioning system) function to determine the latitude and longitude information. Here, for example, it may be set in the page script program to automatically acquire latitude and longitude information of the user equipment. Further, preferably, for the positioning function in the user equipment, such as the GPS function, if the GPS function is not turned on, the prompt opening operation may also be set in the page script program. Further, preferably, if the browser invokes the latitude and longitude information to obtain the user equipment authorization, the user equipment may also be pre- Set the corresponding call permission acquisition program in the page script.
在此,本领域技术人员应能理解,上述通过AGPS或GPS获取所述当前地址信息的方式仅为举例,其他现有的或今后可能出现的其他获取所述当前地址信息的方式如可适用于本申请,也应包含在本申请保护范围以内,并在此以引用方式包含于此。Herein, it should be understood by those skilled in the art that the manner of obtaining the current address information by using AGPS or GPS is only an example, and other existing or future possible manners of obtaining the current address information may be applied to This application is also intended to be included within the scope of the present disclosure and is hereby incorporated by reference.
接着,所述第三装置13根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息。在实际应用中,所述用户设备若要接入某个无线接入点对应的无线网络,通常需要有与该无线接入点匹配的接入信息,所述接入信息包括但不限于:包含有连接密码的描述文件信息、或是加密的密码字符串等验证信息,所述接入信息可以基于不同的用户设备系统、或是实际应用需要,灵活选择。在所述设备1中,存储了海量的无线接入点信息,各个无线接入点与其相应的接入点相关信息,如所述接入点的地理位置信息、连接速度信息、信号强度信息、连接频率信息,接入信息等对应存储。在此,基于获取的用户设备的所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定当前用户设备可用率较高的无线接入点的接入信息。在此,上述比较匹配可以基于一定的预设规则,例如,设置与所述当前地址信息距离在预设范围之内的无线接入点即为确定的所述无线接入点,又如,可以设置一个匹配数量,以所述当前地址信息为中心向外辐射,由近至远确定所述无线接入点,上限即为上述匹配数量。在此,优选地,所匹配的所述无线接入点的地理位置信息与所述当前地址信息之间的距离,还可以参考一般情况下、或是特定情况下,无线接入点的覆盖范围信息,以确保在当前地址中的所述用户设备基于所返回的无线接入点有较高的连接成功率。进一步,当满足基于所述当前地址信息这一匹配条件的所述无线接入点有多个时,还可以从多个所述无线接入点中优选对应的目标无线接入点。例如,可以基于所述无线接入点相关信息,如所述连接速度信息、信号强度信息、地理位置信息、连接频率信息等,优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的优选无线接入点作为目标无线接入点,以此提高无线连接 成功率。Next, the third device 13 determines, according to the current address information that the user equipment feeds back by the first executable module, the access information of the wireless access point corresponding to the user equipment. In an actual application, if the user equipment is to access a wireless network corresponding to a wireless access point, it is generally required to have access information that matches the wireless access point, and the access information includes but is not limited to: The authentication information such as the description file of the connection password or the encrypted password string can be flexibly selected based on different user equipment systems or actual application requirements. In the device 1, a large amount of wireless access point information is stored, and information about each wireless access point and its corresponding access point, such as geographical location information, connection speed information, and signal strength information of the access point, Connection frequency information, access information, etc. are stored correspondingly. Here, based on the current address information of the acquired user equipment, the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine the connection of the wireless access point with a high availability rate of the current user equipment. Enter information. Here, the foregoing comparison matching may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range is the determined wireless access point, and, for example, may Setting a matching quantity, radiating outward from the current address information, determining the wireless access point from near to far, and the upper limit is the foregoing matching quantity. Here, preferably, the distance between the geographical location information of the matched wireless access point and the current address information may also refer to the coverage of the wireless access point under normal circumstances or in a specific case. Information to ensure that the user equipment in the current address has a higher connection success rate based on the returned wireless access point. Further, when there are multiple wireless access points that satisfy the matching condition of the current address information, a corresponding target wireless access point may also be selected from among the plurality of wireless access points. For example, based on the wireless access point related information, such as the connection speed information, the signal strength information, the geographical location information, the connection frequency information, etc., the connection speed is faster, the signal is stronger, and the distance from the user equipment is closer. The preferred wireless access point that has been connected frequently is used as the target wireless access point to improve the wireless connection. Success rate.
此时,所述设备1确定了与所述用户设备相对应的一个或多个无线接入点,与此同时,所述设备1中同时存储了与该无线接入点相对应的接入信息,在此,优选地,所述接入信息为包含有连接密码的描述文件信息。在此,可以设置由所述设备1直接确定所述一个或多个无线接入点的接入信息;或者,也可以先将所述确定的无线接入点返还给所述用户设备,再基于用户的接入信息请求,最终确定与所述用户设备相对应的无线接入点的接入信息。At this time, the device 1 determines one or more wireless access points corresponding to the user equipment, and at the same time, the device 1 simultaneously stores access information corresponding to the wireless access point. Here, preferably, the access information is profile information including a connection password. The access information of the one or more wireless access points may be directly determined by the device 1; or the determined wireless access point may be returned to the user equipment first, and then based on The user's access information request finally determines the access information of the wireless access point corresponding to the user equipment.
接着,所述第四装置14将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。在此,可以将所述设备1所直接确定的无线接入点的接入信息,或是将基于所述用户设备的接入信息请求确定的所述接入信息发送至对应的用户设备,进而,当用户设备选择与该接入信息对应的无线接入点时,即可以基于已获得的所述接入信息,建立相应的无线连接。Next, the fourth device 14 provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point. Here, the access information of the wireless access point directly determined by the device 1 or the access information determined based on the access information request of the user equipment may be sent to the corresponding user equipment, and further When the user equipment selects the wireless access point corresponding to the access information, the corresponding wireless connection may be established based on the obtained access information.
在此,本申请中所述设备1于接收到的用户设备的访问请求,为其返回包含了第一可以执行模块的第一页面,基于所述用户设备对第一可执行模块的执行结果,所述设备1取了所述用户设备的当前地址信息,并为用户设备确定并返回与该当前地址信息匹配的无线接入点的接入信息,如用于连接验证的连接密码、描述文件信息等。在此,本申请可以基于所述设备1中所确定的与所述用户设备相对应的无线接入点的接入信息,帮助用户设备自动建立与该无线接入点之间的无线连接,从而使得对应用户可以方便、快捷地使用相应的无线网络,降低用户无网使用的概率。在此,所述设备1与所述用户设备之间的通信直接通过页面访问请求及响应实现,并不需要所述用户设备中安装、或运行用于建立无线连接的应用程序来实现所述接入信息的获取,从而为所述用户设备节约了设备资源,如节省了设备存储空间。Here, the device 1 in the present application returns an access request of the user equipment to the first page that includes the first executable module, based on the execution result of the user equipment on the first executable module. The device 1 takes the current address information of the user equipment, and determines, for the user equipment, the access information of the wireless access point that matches the current address information, such as the connection password and the description file information for connection verification. Wait. Herein, the application can help the user equipment to automatically establish a wireless connection with the wireless access point based on the access information of the wireless access point corresponding to the user equipment determined in the device 1 The corresponding user can conveniently and quickly use the corresponding wireless network, thereby reducing the probability of the user using the network without the network. Here, the communication between the device 1 and the user equipment is directly implemented by a page access request and response, and does not need to install or run an application for establishing a wireless connection in the user equipment to implement the connection. The acquisition of information, thereby saving device resources for the user equipment, such as saving storage space of the device.
图2示出根据本申请一个优选实施例的一种用于建立无线连接的设备1示意图。其中,所述方法包括第一装置11',第二装置12'、第三装置13'和第四装置14',其中,所述第三装置13'包括第一单元131'和第二单元132'。2 shows a schematic diagram of an apparatus 1 for establishing a wireless connection in accordance with a preferred embodiment of the present application. Wherein, the method comprises a first device 11', a second device 12', a third device 13' and a fourth device 14', wherein the third device 13' comprises a first unit 131' and a second unit 132 '.
其中,所述第一装置11'接收用户设备发送的关于第一页面的访问请 求;所述第二装置12'向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;所述第三装置13'的第一单元131'根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;所述第三装置13'的第二单元132'根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息;所述第四装置14'将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。在此,所述第一装置11'、第四装置14'和图1中示出的所述第一装置11、第四装置14内容相同或基本相同,在此不再赘述,并以引用的形式包含与此。The first device 11' receives the access to the first page sent by the user equipment. The second device 12' returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information; the first unit 131' of the third device 13' performs the first according to the user equipment Determining, by the current address information fed back by the module, one or more candidate wireless access points that match the current address information; the second unit 132' of the third device 13' is according to the user equipment Determining, by the first wireless access point information fed back by the first executable module, a connection of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points The fourth device 14' provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point. Here, the first device 11', the fourth device 14' and the first device 11 and the fourth device 14 shown in FIG. 1 have the same or substantially the same content, and are not described herein again. The form contains this.
具体地,所述第二装置12'向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。在此,对于仅基于所述用户设备的当前地址信息确定最终的所述接入信息可能带来的信息误差,进一步,还可以优选地,同时结合所述用户设备当前能够扫描到的第一无线接入点信息,由此,可以为用户设备选择出即可以确定覆盖当前用户设备,同时又在设备1中有相应的接入信息可用的所述无线接入点,从而使得用户设备基于该无线接入点进行无线连接的成功率较高。Specifically, the second device 12' returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information. Here, the information error that may be caused by the final access information is determined based on the current address information of the user equipment, and further, preferably, the first wireless that the user equipment can currently scan is simultaneously combined. Access point information, whereby the user equipment can be selected to determine the coverage of the current user equipment, and at the same time, the corresponding access information is available in the device 1, so that the user equipment is based on the wireless The access point has a higher success rate for wireless connections.
在此,所述设备1返回至所述网络设备的所述第一页面中,包含用于获取所述用户设备的当前地址信息的第一可执行模块,例如,所述第一可执行模块可以包括可执行的页面脚本程序,在此,所设置的脚本程序可以实现:所述设备1可以获取所述用户设备的当前地址信息;同时基于所设置的脚本程序还可以实现获取所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。例如,可以在所述页面脚本程序中设置,调用开启所述用户设备对应的无线信号扫描功能,直接获得该用户设备周围可能 存在的若干个无线接入点所对应的第一无线接入点信息。又如,若是所述用户设备对应的系统无线连接模块调用受限,例如,当所述用户设备为iOS系统设备时,其系统无线连接模块调用受限,则当前所述用户设备中的浏览器无法通过调用接口直接实现无线信号的扫描。则此时,可以在所述页面脚本程序中设置,获取用户设备自身扫描功能显示的无线接入点呈现界面对应的截图,所述截图中即包含所述第一无线接入点信息。在此,所述页面脚本程序中可以设置:先提示用户是否有相应截图,若是用户选择已有截图,则设置进入相册获取具体截图;若是用户选择进行截图,则进入所述用户设备自身扫描功能显示的无线接入点呈现界面进行截图操作。Here, the device 1 returns to the first page of the network device, and includes a first executable module for acquiring current address information of the user device, for example, the first executable module may An executable page script program is included, where the set script program can be implemented: the device 1 can obtain current address information of the user equipment; and at the same time, based on the set script program, obtaining the user equipment can also be implemented. The first wireless access point information scanned by the current address information. For example, it may be set in the page script program to invoke the wireless signal scanning function corresponding to the user equipment to directly obtain the possible surrounding the user equipment. The first wireless access point information corresponding to the plurality of wireless access points. For another example, if the system wireless connection module corresponding to the user equipment is restricted in calling, for example, when the user equipment is an iOS system device, and the system wireless connection module is restricted in calling, the current browser in the user equipment is It is not possible to directly scan the wireless signal by calling the interface. In this case, the screenshot may be set in the page script to obtain a screenshot corresponding to the wireless access point presentation interface displayed by the scanning function of the user equipment, where the screenshot includes the first wireless access point information. Here, the page script program may be set to: first prompt the user whether there is a corresponding screenshot, if the user selects an existing screenshot, then set to enter the album to obtain a specific screenshot; if the user selects to take a screenshot, enter the user device self-scanning function The displayed wireless access point presentation interface performs a screenshot operation.
接着,所述第三装置13'的第一单元131'根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点。在此,基于所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定当前用户设备可用率较高的无线接入点作为所述候选无线接入点。在此,优选地,该候选无线接入点是与所述用户设备距离较近,且在设备1中已有相应接入信息的无线接入点。所述候选无线接入点的选择可以基于一定的预设规则,例如,设置与所述当前地址信息距离在预设范围之内的无线接入点即为确定的所述无线接入点。又如,所匹配的所述无线接入点的地理位置信息与所述当前地址信息之间的距离,还可以参考一般情况下、或是特定情况下,无线接入点的覆盖范围信息,以确保在当前地址中的所述用户设备基于所返回的无线接入点有较高的连接成功率。Next, the first unit 131' of the third device 13' determines, according to the current address information fed back by the first executable module, the user equipment to determine one or Multiple candidate wireless access points. Here, based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched, and a wireless access point with a high availability rate of the current user equipment is determined as the candidate wireless access. point. Here, preferably, the candidate wireless access point is a wireless access point that is relatively close to the user equipment and has corresponding access information in the device 1. The selection of the candidate wireless access point may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range, that is, the determined wireless access point. For example, the distance between the geographical location information of the wireless access point and the current address information may also refer to the coverage information of the wireless access point under normal circumstances or in a specific case, It is ensured that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
接着,所述第三装置13'的第二单元132'根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。在此,所述第一无线接入点信息所对应的无线接入点为所述用户设备当前能够扫描识别到的无线接入点,同时所述候选无线接入点在所述设备1中又有对应的接入信息。因此,所述用户设备基于所述第二单元132'所确定的无线接入点的接入信息实现无线连接的成功率较高。在此,优选地,当满足条件的所述无线接入点有多个时,可以对所述无线接入点进一步进 行优选,例如,可以基于所述无线接入点相关信息,如所述连接速度信息、信号强度信息、地理位置信息、连接频率信息等,优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的优选无线接入点的接入信息,并将其返回给所述用户设备,一方面可以减少设备间数据传输量,另一方面还可以提高用户设备基于所述接入信息建立无线连接的成功率。Next, the second unit 132' of the third device 13' is configured from the one or more candidates according to the first wireless access point information fed back by the user equipment by executing the first executable module. The access information of the wireless access point corresponding to the user equipment is determined in the wireless access point. Here, the wireless access point corresponding to the first wireless access point information is that the user equipment can currently scan the identified wireless access point, and the candidate wireless access point is in the device 1 again. There is corresponding access information. Therefore, the user equipment achieves a higher success rate of the wireless connection based on the access information of the wireless access point determined by the second unit 132 ′. Here, preferably, when there are multiple wireless access points that satisfy the condition, the wireless access point may be further advanced. Preferably, for example, the wireless access point related information, such as the connection speed information, the signal strength information, the geographical location information, the connection frequency information, etc., preferably, the connection speed is fast, the signal is strong, and the user equipment is Access information of a preferred wireless access point that is closer to the nearest and most recently connected times, and returns it to the user equipment, on the one hand, can reduce the amount of data transmission between devices, and on the other hand, can improve the user equipment based on The access information establishes a success rate of the wireless connection.
在本实施例中,所述设备1可以同时结合所述当前地址信息和所述用户设备在所述当前地址信息所扫描的第一无线接入点信息,为用户设备确定并返回可以相应无线接入点的接入信息。在此,结合所述第一无线接入点信息,可以更准确地为用户设备匹配当前实时可用的无线接入点的接入信息,从而,进一步提高了所述用户设备基于所返回的所述接入信息进行无线连接的成功率。In this embodiment, the device 1 can simultaneously determine the current user information and the first wireless access point information scanned by the user equipment in the current address information, and determine and return the corresponding wireless connection for the user equipment. Incoming access information. Herein, in combination with the first wireless access point information, the user equipment can be more accurately matched with the access information of the currently available wireless access point, thereby further improving the user equipment based on the returned The success rate of accessing information for wireless connection.
优选地,所述第一无线接入点信息包括所述用户设备中无线接入点呈现界面的截图。Preferably, the first wireless access point information includes a screenshot of a wireless access point presentation interface in the user equipment.
具体地,在此,优选地,所述用户设备会基于自身的无线扫描功能获取当前设备周围的无线接入点,即所述第一无线接入点信息,并且该第一无线接入点信息将呈现在用户设备界面中,此时,所述呈现界面中可以包括所述第一无线接入点信息的名称信息、无线信号指示信息等。此时,优选地,当所述用户设备的系统无线连接模块调用受限时,例如,当所述用户设备为iOS系统设备时,其系统无线连接模块调用受限,则所述用户设备的浏览器无法通过调用接口直接实现无线信号的扫描。此时,若是欲获悉、并操作当前用户设备能识别的第一无线接入点信息,可以先将所述无线接入点的呈现界面进行图像截取操作,例如进行截屏,获取相应的图片信息。进而,由所述设备1从用户设备获取该截图。在此,所述设备1从用户设备获取的所述第一无线接入点信息可以对应于一张或多张所述截图。Specifically, here, preferably, the user equipment acquires, according to its own wireless scanning function, a wireless access point around the current device, that is, the first wireless access point information, and the first wireless access point information It will be presented in the user equipment interface. At this time, the presentation interface may include name information of the first wireless access point information, wireless signal indication information, and the like. At this time, preferably, when the system wireless connection module call of the user equipment is restricted, for example, when the user equipment is an iOS system device, the system wireless connection module call is restricted, and the user equipment browses The device cannot directly scan the wireless signal by calling the interface. At this time, if it is desired to learn and operate the first wireless access point information that can be identified by the current user equipment, the presentation interface of the wireless access point may be first subjected to an image intercepting operation, for example, performing a screen capture to obtain corresponding picture information. Further, the screenshot is acquired by the device 1 from the user device. Here, the first wireless access point information acquired by the device 1 from the user equipment may correspond to one or more of the screenshots.
在一个优选实施例(参考图2)中,所述设备1还包括第五装置(未示出),所述第五装置从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息;其中,所述第二单元132'根据所述接入点名称信 息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。In a preferred embodiment (refer to FIG. 2), the device 1 further comprises a fifth device (not shown), the fifth device extracting wireless access in the wireless access point presentation interface from the screenshot Point access point name information; wherein the second unit 132' is based on the access point name letter And determining, from the one or more candidate wireless access points, access information of a wireless access point corresponding to the user equipment.
具体地,在此,所述截图中的接入点名称信息可以包括的相应无线接入点的SSID(Service Set Identifier,服务集标识)信息,用以标识不同的无线接入点。所述第五装置从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息。在此,通过对所述截图进行图片解析操作,例如,优选地,通过图文识别功能或方法,如OCR(Optical Character Recognition,光学字符识别)功能,实现图片信息的识别、解析,提取所述截图中包含的无线接入点的名称信息、无线信号指示信息等。优选地,可以同时对多张截图进行解析,并提取信息。在此,可以选择对截图中包含的全部信息进行解析,进而从中确定实际需要的信息,如所述的接入点名称信息;此外,还可以针对性地对截图中部分信息进行相应的解析,以减少不必要的工作量。Specifically, the access point name information in the screenshot may include the SSID (Service Set Identifier) information of the corresponding wireless access point to identify different wireless access points. And the fifth device extracts, from the screenshot, access point name information of the wireless access point in the wireless access point presentation interface. Here, by performing a picture parsing operation on the screenshot, for example, preferably, the image information is recognized, parsed, and extracted by a graphic recognition function or method, such as an OCR (Optical Character Recognition) function. The name information of the wireless access point, the wireless signal indication information, and the like included in the screenshot. Preferably, multiple screenshots can be parsed simultaneously and information extracted. Here, you can choose to parse all the information included in the screenshot, and then determine the information actually needed, such as the access point name information; in addition, the partial information in the screenshot can be analyzed correspondingly. To reduce unnecessary work.
接着,所述第二单元132'根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。此时,在所述若干个候选无线接入点中寻找与上述提取出的所述接入点名称信息一致的候选无线接入点作为与所述用户设备相对应的无线接入点,并确定其对应的接入信息。基于此,优选地,若所述一致的所述无线接入点有多个,还可以从中进一步优选出匹配程度更精确、连接成功率更高的无线接入点,例如优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的无线接入点,并确定其对应的接入信息。Next, the second unit 132' determines, according to the access point name information, access information of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points. At this time, a candidate wireless access point that matches the extracted access point name information is searched for among the plurality of candidate wireless access points as a wireless access point corresponding to the user equipment, and is determined. Its corresponding access information. Based on this, preferably, if there are multiple wireless access points that are consistent, a wireless access point with a more accurate matching degree and a higher connection success rate may be further selected, for example, a faster connection speed is preferred. The wireless access point with strong signal, close proximity to the user equipment, and most recently connected times, and determines the corresponding access information.
优选地,所述第五装置还包括第三单元(未示出)和第四单元(未示出),其中所述第三单元从所述截图中扫描识别无线信号指示符与字符串;所述第四单元将所述截图中与所述无线信号指示符平行且最接近的所述字符串记为所述无线信号指示符对应的无线接入点的接入点名称信息。Preferably, the fifth device further includes a third unit (not shown) and a fourth unit (not shown), wherein the third unit scans the screenshot to identify the wireless signal indicator and the character string; The fourth unit records, in the screenshot, the character string that is parallel and closest to the wireless signal indicator as the access point name information of the wireless access point corresponding to the wireless signal indicator.
具体地,所述第三单元从所述截图中扫描识别无线信号指示符与字符串。在此,所述无线信号指示符包括通用的无线信号的标识信息,该标识信息基于不同的信号强度,会有相应的变化,如以多条平行的线条作为所 述无线信号指示符,线条的多少对应信号的强弱。所述字符串信息包括截图中指代各个无线接入点的接入点辨识信息,如所述接入点的SSID信息。Specifically, the third unit scans the wireless signal indicator and the character string from the screenshot. Here, the wireless signal indicator includes identification information of a general wireless signal, and the identification information is changed based on different signal strengths, such as multiple parallel lines. The wireless signal indicator, the number of lines corresponds to the strength of the signal. The string information includes access point identification information of each wireless access point in the screenshot, such as SSID information of the access point.
接着,所述第四单元将所述截图中与所述无线信号指示符平行且最接近的所述字符串记为所述无线信号指示符对应的无线接入点的接入点名称信息。在此,优选地,以所述截图中信息是以列表信息有序排列为例,一般情况下,一个无线接入点的信息记录在同一行,此时,优选判断与所述无线信号指示符平行且最接近的所述字符串即为该无线信号对应的无线接入点的接入点名称信息。Then, the fourth unit records, in the screenshot, the character string that is parallel and closest to the wireless signal indicator as the access point name information of the wireless access point corresponding to the wireless signal indicator. Here, preferably, the information in the screenshot is an orderly arrangement of list information. Generally, information of one wireless access point is recorded in the same row. At this time, it is preferable to determine the wireless signal indicator. The parallel and closest character string is the access point name information of the wireless access point corresponding to the wireless signal.
在此,本领域技术人员应该能够理解,对于提取出的所述无线信号指示符与所述字符串等信息的对应匹配,可以是基于实际截图中信息的布局,设置相应的解析、归类规则,从而确定一一对应的所述无线信号指示符与所述字符串,进而提高信息匹配的正确率。Here, those skilled in the art should be able to understand that for the corresponding matching of the extracted wireless signal indicator and the information such as the character string, the corresponding parsing and categorization rules may be set based on the layout of the information in the actual screenshot. And determining the one-to-one corresponding wireless signal indicator and the character string, thereby improving the correct rate of information matching.
更优选地,所述第五装置还包括第五单元(未示出),所述第五单元将所述无线信号指示符与预定的信号强度模型相比较,以获得所述无线接入点的信号强度信息;其中,所述第二单元132'当所述信号强度信息满足预定的信号强度阈值信息,根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。More preferably, the fifth device further comprises a fifth unit (not shown), the fifth unit comparing the wireless signal indicator with a predetermined signal strength model to obtain the wireless access point Signal strength information; wherein the second unit 132' determines the sum from the one or more candidate wireless access points according to the access point name information when the signal strength information satisfies predetermined signal strength threshold information The access information of the wireless access point corresponding to the user equipment.
具体地,所述第五单元将所述无线信号指示符与预定的信号强度模型相比较,以获得所述无线接入点的信号强度信息。此时,为了更充分的利用基于所述截图获取的无线信号信息,如所述无线信号指示符,可以对具体的各个无线接入点对应的所述无线信号指示符进行量化,例如,当以多条平行的线条作为所述无线信号指示符时,包含不同数量线条的所述无线信号指示符对应不同的信号强度,以此预定所述信号强度模型。进而,在实际应用中,将获取的所述无线信号指示符与所述预定的所述信号强度模型进行对照匹配,确定所述无线接入点的量化的信号强度信息。Specifically, the fifth unit compares the wireless signal indicator with a predetermined signal strength model to obtain signal strength information of the wireless access point. At this time, in order to more fully utilize the wireless signal information acquired based on the screenshot, such as the wireless signal indicator, the wireless signal indicator corresponding to each specific wireless access point may be quantized, for example, when When a plurality of parallel lines are used as the wireless signal indicator, the wireless signal indicators including different numbers of lines correspond to different signal strengths, thereby predetermining the signal strength model. Further, in an actual application, the obtained wireless signal indicator is matched with the predetermined signal strength model to determine quantized signal strength information of the wireless access point.
接着,所述第二单元132'当所述信号强度信息满足预定的信号强度阈值信息,根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。Next, the second unit 132' determines the user equipment from the one or more candidate wireless access points according to the access point name information when the signal strength information satisfies predetermined signal strength threshold information. Corresponding access information of the wireless access point.
为了提高优选出的目标无线接入点的连接成功率,可以预设所述信号 强度阈值信息,再将所述无线接入点的所述信号强度信息与该信号强度阈值信息对比,当所述信号强度信息达到或大于所述信号强度阈值信息时,即推定基于所述信号强度信息对应的无线接入点的接入信息进行无线连接,连接成功率较高,可以作为择优筛选的结果。In order to improve the connection success rate of the preferred target wireless access point, the signal may be preset The intensity threshold information is further compared with the signal strength threshold information of the wireless access point, and when the signal strength information reaches or is greater than the signal strength threshold information, it is estimated based on the signal strength The access information of the wireless access point corresponding to the information is wirelessly connected, and the connection success rate is high, which can be used as a result of preferential screening.
在此,本申请通过对所述截图中的无线信号指示符信息等相关信息的解析和利用,为后续的所述与所述用户设备相对应的无线接入点的接入信息的确定提供了客观的参考标准,有助于确定出连接成功率较高的目标无线接入点,优化了用户的连接体验,同时也相应简化了设备1的部分阶段的工作量。Here, the present application provides for determining the access information of the wireless access point corresponding to the user equipment by parsing and utilizing the related information of the wireless signal indicator information and the like in the screenshot. The objective reference standard helps to identify the target wireless access point with high connection success rate, optimizes the user's connection experience, and simplifies the workload of part of the device 1 accordingly.
图3示出根据本申请另一个优选实施例的一种用于建立无线连接的设备1的第三装置13”的示意图。其中,所述第三装置13”包括第六单元133”、第七单元134”、第八单元135”和第九单元136”。3 shows a schematic diagram of a third device 13" for establishing a wirelessly connected device 1 according to another preferred embodiment of the present application, wherein the third device 13" includes a sixth unit 133", a seventh Unit 134", eighth unit 135" and ninth unit 136".
其中,所述第六单元133”根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点;所述第七单元134”生成第二页面,其中,所述第二页面包括关于所述一个或多个无线接入点中至少一个的第二可执行模块,所述第二可执行模块用于根据用户对所述一个或多个无线接入点中至少一个的选择操作向所述网络设备发送关于被选择的无线接入点的接入信息的接入信息请求;所述第八单元135”向所述用户设备返回所述第二页面;所述第九单元136”根据所述用户设备通过执行所述第二可执行模块所反馈的所述接入信息请求确定与所述被选择的无线接入点的接入信息。The sixth unit 133" determines one or more wireless access points corresponding to the user equipment according to the current address information fed back by the first executable module by the user equipment; The seventh unit 134" generates a second page, wherein the second page includes a second executable module for at least one of the one or more wireless access points, the second executable module for The user's selection operation of at least one of the one or more wireless access points transmits an access information request for access information of the selected wireless access point to the network device; the eighth unit 135" Returning, by the user equipment, the second page; the ninth unit 136" determines, according to the access information request that the user equipment feeds back by the second executable module, that the selected wireless connection is Incoming access information.
具体地,在本申请中,可以设置由所述设备1直接确定所述一个或多个无线接入点的接入信息;或者,优选地,在本实施例中,也可以先将所述确定的无线接入点返还给所述用户设备,再基于用户的接入信息请求,最终确定与所述用户设备相对应的无线接入点的接入信息。Specifically, in the present application, the access information of the one or more wireless access points may be directly determined by the device 1; or, preferably, in the embodiment, the determining may also be performed first. The wireless access point is returned to the user equipment, and based on the user's access information request, finally determining access information of the wireless access point corresponding to the user equipment.
在此,所述第六单元133”根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点。在此,基于所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定符合预设匹配规则的一 个或多个无线接入点。Here, the sixth unit 133" determines one or more wireless access points corresponding to the user equipment according to the current address information fed back by the first executable module by the user equipment. Here, based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine one that meets a preset matching rule. One or more wireless access points.
接着,所述第七单元134”生成第二页面。在此,基于对用户设备执行所述第一可执行模块的响应的相关操作,所述设备1将准备待发送至所述用户设备的所述第二页面,在此,所述第二页面可以包含所述第六单元133”确定的与所述用户设备相对应的一个或多个无线接入点及其相关信息,例如包括以不限于列表形式呈现的无线接入点的图文信息,如所述无线接入点的名称信息、连接强度信息、地理位置信息等;还包括为了展示该无线接入点的页面布局信息等;同时还包含用于获取所述用户设备的当前地址信息的第二可执行模块,例如,所述第二可执行模块可以包括可执行的页面脚本程序。在此,所述用户设备会根据用户对所述一个或多个无线接入点中至少一个的选择操作,执行所述第二可执行模块,从而,基于上述的选择操作,向所述网络设备发送关于被选择的无线接入点的接入信息的接入信息请求。在此,所述网络设备即为所述设备1,在此,在本实施例中,为了便于表述,两者可以互换使用。Next, the seventh unit 134" generates a second page. Here, based on a related operation of performing a response of the first executable module to the user equipment, the device 1 prepares a site to be sent to the user equipment The second page, where the second page may include one or more wireless access points and related information determined by the sixth unit 133 ′′ corresponding to the user equipment, for example, including but not limited to The graphic information of the wireless access point presented in the form of a list, such as the name information of the wireless access point, the connection strength information, the geographical location information, etc.; and the page layout information for displaying the wireless access point, etc.; A second executable module for obtaining current address information of the user device, for example, the second executable module can include an executable page script. Here, the user equipment performs the second executable module according to a user selecting operation of at least one of the one or more wireless access points, thereby, according to the selecting operation, to the network device An access information request for access information for the selected wireless access point is sent. Here, the network device is the device 1. Here, in the present embodiment, for convenience of description, the two can be used interchangeably.
接着,所述第八单元135”向所述用户设备返回所述第二页面。在本实施例中,所述设备1并不是直接将与所述用户设备相对应的一个或多个无线接入点的接入信息直接返回给所述用户设备,而是先将包含有所述无线接入点的第二页面返回给所述用户设备,以方便用户基于页面中呈现的所述若干个无线接入点进行主动选择,再基于用户选择,确定相应的接入信息。Then, the eighth unit 135" returns the second page to the user equipment. In this embodiment, the device 1 does not directly connect one or more wireless accesses corresponding to the user equipment. The access information of the point is directly returned to the user equipment, but the second page including the wireless access point is first returned to the user equipment, so as to facilitate the user to based on the plurality of wireless connections presented in the page. The ingress point is actively selected, and then the corresponding access information is determined based on the user selection.
接着,所述第九单元136”根据所述用户设备通过执行所述第二可执行模块所反馈的所述接入信息请求确定与所述被选择的无线接入点的接入信息。在此,基于用户在用户设备呈现的第二页面中对目标无线接入点的选择操作,所述第二可执行模块被执行,进而,所述设备1获取到来自用户设备的所述接入信息请求,基于所述接入信息请求,将确定出与被请求的无线接入点相匹配的接入信息。Next, the ninth unit 136" determines access information with the selected wireless access point according to the access information request that the user equipment feeds back by the second executable module. The second executable module is executed based on a selection operation of the target wireless access point by the user in the second page presented by the user equipment, and the device 1 acquires the access information request from the user equipment. Based on the access information request, access information matching the requested wireless access point will be determined.
在本实施例中,基于展现在所述用户设备中的第二页面所对应的第二可执行模块的执行,所述设备1获取了用户设备对特定选择的无线接入点的接入信息的接入信息请求,从而即可以只将与所述接入信息请求匹配的 所述无线接入点的接入信息返回至所述用户设备,此时,并不需要将与所述用户设备相对应的全部无线接入点的接入信息一一返回、或大量返回,而是更有选择性和针对性,从而减少了数据传输量,提高了整体运行效率。In this embodiment, based on the execution of the second executable module corresponding to the second page displayed in the user equipment, the device 1 acquires the access information of the user equipment to the specific selected wireless access point. Accessing the information request, so that only the request for matching the access information can be matched The access information of the wireless access point is returned to the user equipment. At this time, it is not required to return the access information of all the wireless access points corresponding to the user equipment one by one, or return a large amount. It is more selective and targeted, which reduces the amount of data transmission and improves the overall operational efficiency.
优选地,所述第二页面为所述第一页面的更新页面。Preferably, the second page is an update page of the first page.
具体地,在此,所述第二页面的生成,及发送至所述用户设备,是基于对用户设备执行所述第一可执行模块的相应结果的预设处理操作。在此,优选地,可以设置所述第二页面生成后,自动发送至所述用户设备,并更新所述用户设备中已存在的所述第一页面的信息。此外,还可以在所述第一页面对应的第一可执行模块中设置一个请求获取与所述用户设备相对应的一个或多个无线接入点的程序,基于用户对页面信息的相关操作,所述设备1获取该无线接入点的请求信息,再由所述设备1生成、并返回所述第二页面。Specifically, the generating of the second page and the sending to the user equipment are based on a preset processing operation of performing a corresponding result of the first executable module on the user equipment. Here, preferably, after the second page is generated, the second page may be automatically sent to the user equipment, and the information of the first page already existing in the user equipment may be updated. In addition, a program for requesting to acquire one or more wireless access points corresponding to the user equipment may be set in the first executable module corresponding to the first page, based on a related operation of the user on the page information, The device 1 acquires the request information of the wireless access point, and then the device 1 generates and returns to the second page.
优选地,所述第二装置12”向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;其中,所述第六单元133”根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的一个或多个无线接入点。Preferably, the second device 12" returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information; wherein the sixth unit 133" executes the first executable module according to the user equipment Determining the current address information, determining one or more candidate wireless access points that match the current address information; and performing the first feedback by the user equipment by executing the first executable module Wireless access point information determining one or more wireless access points corresponding to the user equipment from the one or more candidate wireless access points.
具体地,所述第二装置12”向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。在此,对于仅基于所述用户设备的当前地址信息确定最终的所述接入信息可能带来的信息误差,进一步,还可以优选地,同时结合所述用户设备当前能够扫描到的第一无线接入点信息,由此,可以为用户设备选择出即可以确定覆盖当前用户设备,同时又在设备1中有相应的接入信息可用的所述无线接入点,从而使得用户设备基于该无线接 入点进行无线连接的成功率较高。在此,所述设备1返回至所述网络设备的所述第一页面中,包含用于获取所述用户设备的当前地址信息的第一可执行模块,例如,所述第一可执行模块可以包括可执行的页面脚本程序,在此,所设置的脚本程序可以实现:所述设备1可以获取所述用户设备的当前地址信息;同时基于所设置的脚本程序还可以实现获取所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。在此,所述第二装置12”与图2中示出的所述第二装置12'的内容相同或基本相同,因此,所述第二装置12'的对应描述或举例也可以引用于此,在此不再赘述。Specifically, the second device 12" returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire the user equipment Current address information, and first wireless access point information scanned by the user equipment in the current address information. Here, determining the final access information may be based only on current address information of the user equipment. The information error caused by the user equipment may be combined with the first wireless access point information that the user equipment can currently scan, and thus the user equipment may be selected to determine the current user equipment. Also in the device 1 is the wireless access point with corresponding access information available, so that the user equipment is based on the wireless connection The success rate of the wireless connection at the entry point is high. Here, the device 1 returns to the first page of the network device, and includes a first executable module for acquiring current address information of the user device, for example, the first executable module may An executable page script program is included, where the set script program can be implemented: the device 1 can obtain current address information of the user equipment; and at the same time, based on the set script program, obtaining the user equipment can also be implemented. The first wireless access point information scanned by the current address information. Here, the content of the second device 12" is the same as or substantially the same as the content of the second device 12' shown in FIG. 2, and accordingly, a corresponding description or example of the second device 12' may also be cited herein. , will not repeat them here.
接着,所述第六单元133”根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点。在此,基于所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定当前用户设备可用率较高的无线接入点作为所述候选无线接入点。在此,优选地,该候选无线接入点是与所述用户设备距离较近,且在设备1中已有相应接入信息的无线接入点。所述候选无线接入点的选择可以基于一定的预设规则,例如,设置与所述当前地址信息距离在预设范围之内的无线接入点即为确定的所述无线接入点。又如,所匹配的所述无线接入点的地理位置信息与所述当前地址信息之间的距离,还可以参考一般情况下、或是特定情况下,无线接入点的覆盖范围信息,以确保在当前地址中的所述用户设备基于所返回的无线接入点有较高的连接成功率。Next, the sixth unit 133" determines one or more candidate radio accesses that match the current address information according to the current address information fed back by the first executable module by the user equipment. In this case, based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched, and the wireless access point with a high availability rate of the current user equipment is determined as the candidate wireless. An access point. Preferably, the candidate wireless access point is a wireless access point that is closer to the user equipment and has corresponding access information in the device 1. The candidate wireless access point The selection may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range is the determined wireless access point. For example, the matched The distance between the geographic location information of the wireless access point and the current address information, and the coverage information of the wireless access point under normal circumstances or in a specific case may be referred to The user equipment in the current location has a higher connection success rate based on the returned wireless access point.
接着,所述第六单元133”再根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的一个或多个无线接入点。在此,所述第一无线接入点信息所对应的无线接入点为所述用户设备当前能够扫描识别到的无线接入点,同时所述候选无线接入点在所述设备1中又有对应的接入信息。由此,基于与所述用户设备相对应的一个或多个无线接入点实现无线连接的成功率较高。在此,优选地,当满足条件的所述无线接入点有多个时,可以对所述无线接入点进一步进行优选,例如,可以基于所述无线接入点相关信息,如所述连接速度信息、信号强度信息、地理位置 信息、连接频率信息等,优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的优选无线接入点的接入信息,并将其返回给所述用户设备,一方面可以减少设备间数据传输量,另一方面还可以提高用户设备基于所述接入信息建立无线连接的成功率。Then, the sixth unit 133" is further configured from the one or more candidate wireless access points according to the first wireless access point information fed back by the first executable module by the user equipment. Determining one or more wireless access points corresponding to the user equipment. Here, the wireless access point corresponding to the first wireless access point information is that the user equipment can currently scan the identified wireless connection. Incoming, while the candidate wireless access point has corresponding access information in the device 1. Thereby, the success of the wireless connection is achieved based on one or more wireless access points corresponding to the user equipment Preferably, the wireless access point may be further optimized when there are multiple wireless access points that satisfy the condition, for example, based on the wireless access point related information, Such as the connection speed information, signal strength information, geographic location Information, connection frequency information, and the like, preferably access information of a preferred wireless access point with a fast connection speed, a strong signal, a close proximity to the user equipment, and a most recently connected number of times, and returning the information to the user On the one hand, the device can reduce the amount of data transmission between devices, and on the other hand, can improve the success rate of the user equipment to establish a wireless connection based on the access information.
在一个优选实施例(参考图1)中,所述第四装置14将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接;生成第三页面,其中,所述第三页面包括用于根据所述接入信息建立所述用户设备与对应无线接入点的无线连接的第三可执行模块;向所述用户设备返回所述第三页面。In a preferred embodiment (refer to FIG. 1), the fourth device 14 provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point; a third page, wherein the third page includes a third executable module for establishing a wireless connection between the user equipment and a corresponding wireless access point according to the access information; returning the third to the user equipment page.
具体地,在此,基于对所述用户设备执行所述第二页面对应的第二可执行模块的响应,所述设备1的第四装置14将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。在此,所述接入信息包括但不限于:包含有连接密码的描述文件信息、或是加密的密码字符串等验证信息,所述接入信息可以基于不同的用户设备系统、或是实际应用需要,灵活选择。接着,生成第三页面。在此,所述第三页面中可以呈现出与所述对应无线接入点相关的连接提示确认信息,还可以包括用于根据所述接入信息建立所述用户设备与对应无线接入点的无线连接的第三可执行模块,例如,所述第三可执行模块可以包括可执行的页面脚本程序。例如,当用户在所述第三页面中点击确定连接所述对应无线接入点,则执行所述第三可执行模块对应的预置程序,例如,当所述用户设备对应为系统无线连接模块调用受限的设备时,则可以在所述页面脚本中设置,将所述接入信息,如所述描述文件信息,进行安装,此外,还可以在在所述页面脚本中设置,基于安装后的描述文件信息,向所述无线接入点发起无线连接请求。进一步,该无线连接请求可以设置为基于用户的选择确定再进行请求发送,或则还可以设置所述用户设备向所述无线接入点自动发起所述无线连接请求。接着,将加载有所述第三可执行模块的所述第三页面返回给所述用户设备。Specifically, the fourth device 14 of the device 1 provides the access information to the user equipment, in response to the user equipment performing a response of the second executable module corresponding to the second page. And establishing, by the user equipment, a wireless connection with a corresponding wireless access point. Here, the access information includes, but is not limited to, profile information including a connection password, or authentication information such as an encrypted password string, and the access information may be based on different user equipment systems or actual applications. Need, flexible choice. Next, a third page is generated. The connection prompt confirmation information related to the corresponding wireless access point may be presented in the third page, and may further include, configured to establish, according to the access information, the user equipment and the corresponding wireless access point. A third executable module of the wireless connection, for example, the third executable module can include an executable page script. For example, when the user clicks to determine the connection of the corresponding wireless access point in the third page, the preset procedure corresponding to the third executable module is executed, for example, when the user equipment is corresponding to the system wireless connection module. When the restricted device is invoked, it may be set in the page script to install the access information, such as the description file information, and may also be set in the page script, based on the installation. The profile information, initiating a wireless connection request to the wireless access point. Further, the wireless connection request may be set to determine to perform the request sending again based on the user's selection, or may further set the user equipment to automatically initiate the wireless connection request to the wireless access point. Then, the third page loaded with the third executable module is returned to the user equipment.
在本实施例中,通过所述第三页面中所述第三可执行模块的设置,可以帮助所述用户设备顺利的实现与所述对应无线接入点的无线连接,优选 地,还可以实现所述用户设备与对应无线接入点之间的自动连接。优化了用户体验。In this embodiment, the setting of the third executable module in the third page may help the user equipment to successfully implement wireless connection with the corresponding wireless access point, preferably The automatic connection between the user equipment and the corresponding wireless access point can also be implemented. Optimized user experience.
图4示出根据本申请另一个方面的一种用于建立无线连接的方法流程图。其中,所述方法包括步骤S41、步骤S42和步骤S43。4 shows a flow chart of a method for establishing a wireless connection in accordance with another aspect of the present application. Wherein, the method comprises step S41, step S42 and step S43.
其中,在步骤S41中,所述设备1接收用户设备发送的关于第一页面的访问请求;在步骤S42中,所述设备1向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块;在步骤S43中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息;在步骤S44中,所述设备1将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。In step S41, the device 1 receives an access request for the first page sent by the user equipment; in step S42, the device 1 returns a corresponding first page to the user equipment, where the a page includes a first executable module for acquiring current address information of the user equipment; in step S43, the device 1 is configured to perform the current feedback by the first executable module according to the user equipment The address information determines access information of the wireless access point corresponding to the user equipment; in step S44, the device 1 provides the access information to the user equipment for the user equipment to establish and Corresponding to the wireless connection of the wireless access point.
具体地,在此,所述设备1包括各种智能终端,在本申请中,所述设备1优选为网络设备,如各种云端服务器。所述用户设备包括具有无线连接功能的各种智能终端,如移动智能设备、各种个人计算机等。优选地,所述设备1中对应存储了海量的无线接入点的接入点相关信息,包括但不限于接入点的名称信息、地理位置信息、连接速度信息、信号强度信息、连接频率信息,接入信息等。在此,所述无线接入点是对应无线网络的接入点,所述无线网络包括但不限于基于IEEE 802.11系列标准协议的无线局域网络,例如,基于IEEE 802.11b协议的无线局域网络,即通常所说的WiFi网络,用户设备可以通过所述无线接入点接入对应的无线网络。在此,优选地,所述用户设备不需要安装、或是运行用于建立无线连接的应用程序,例如当用户设备为智能手机时,并不需要其上安装、或运行用于建立无线连接的移动应用。Specifically, the device 1 includes various smart terminals. In the present application, the device 1 is preferably a network device, such as various cloud servers. The user equipment includes various smart terminals having wireless connection functions, such as mobile smart devices, various personal computers, and the like. Preferably, the device 1 corresponds to access point information related to storing a large number of wireless access points, including but not limited to name information of the access point, geographical location information, connection speed information, signal strength information, and connection frequency information. , access information, etc. Here, the wireless access point is an access point corresponding to a wireless network, including but not limited to a wireless local area network based on the IEEE 802.11 series standard protocol, for example, a wireless local area network based on the IEEE 802.11b protocol, ie In the so-called WiFi network, the user equipment can access the corresponding wireless network through the wireless access point. Here, preferably, the user equipment does not need to install or run an application for establishing a wireless connection, for example, when the user equipment is a smart phone, it does not need to be installed thereon, or run for establishing a wireless connection. mobile application.
在此,在步骤S41中,所述设备1接收用户设备发送的关于第一页面的访问请求。在此,优选地,所述用户设备基于对应的浏览器向所述设备1,例如存储有海量无线接入点的相关信息的云端服务器,发送页面请求。在此,优选地,所述页面请求可以是基于所述用户设备对应的用户在浏览器的地址栏中输入并提交所述设备1对应的URI((Uniform  Resoure Identifier,统一资源定位符)信息,例如所述设备1对应的域名信息;或是直接在所述用户设备上的其他任意界面选择所述设备1对应的URI信息的超链接。进而,与所述URI信息对应的所述设备1接收到所述用户设备发送的页面访问请求,例如一个HTTP(HyperText Transfer Protocol,超文本传输协议)请求,基于该访问请求,所述用户希望获取所述第一页面。在此,所述第一页面中的信息即为所述HTTP请求对应的资源路径信息所指向的具体资源信息。在此,优选地,所述第一页面是用户通过浏览器页面实现无线连接的初始页面。Here, in step S41, the device 1 receives an access request for the first page sent by the user equipment. Here, preferably, the user equipment sends a page request to the device 1, for example, a cloud server storing related information of a mass wireless access point, based on a corresponding browser. Here, preferably, the page request may be based on a user corresponding to the user equipment, inputting and submitting a URI corresponding to the device 1 in a address bar of a browser ((Uniform) Resoure Identifier information, such as domain name information corresponding to the device 1, or a hyperlink to the URI information corresponding to the device 1 directly on any other interface on the user equipment. Further, the device 1 corresponding to the URI information receives a page access request sent by the user equipment, such as an HTTP (HyperText Transfer Protocol) request, based on the access request, the user wants to obtain The first page. Here, the information in the first page is the specific resource information pointed to by the resource path information corresponding to the HTTP request. Here, preferably, the first page is an initial page in which a user implements a wireless connection through a browser page.
接着,在步骤S42中,所述设备1向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块。在此,所述设备1响应从用户设备接收的所述访问请求,如所述HTTP请求,确定所述资源路径信息指向的具体的数据,并将其组织成待返回的所述第一页面,例如,根据HTML协议组织所述第一页面。在此,所述第一页面可以包含相应的页面布局、文字图片等信息,同时还包含用于获取所述用户设备的当前地址信息的第一可执行模块,例如,所述第一可执行模块可以包括可执行的页面脚本程序。在此,通过在所述用户设备中执行所述第一可执行模块,所述设备1可以获取所述用户设备的当前地址信息。在此,所述当前地址信息包括所述用户设备当前所在位置的经纬度信息,可以通过所述用户设备中的AGPS(Assisted Global Positioning System,辅助全球卫星定位系统)功能或GPS(Global Positioning System,全球定位系统)功能来确定所述经纬度信息。在此,例如,可以在所述页面脚本程序中设置,自动获取所述用户设备的经纬度信息。进一步,优选地,对于所述用户设备中的定位功能,如所述GPS功能,没有开启的情况,还可以在所述页面脚本程序中设置提示开启操作。进一步,优选地,若是浏览器调用所述经纬度信息的获得需要所述用户设备授权,则还可以预先在所述页面脚本中设置相应的调用权限获取程序。Next, in step S42, the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment. Here, the device 1 determines specific data pointed to by the resource path information in response to the access request received from the user equipment, such as the HTTP request, and organizes the data into the first page to be returned. For example, the first page is organized according to an HTML protocol. Here, the first page may include information such as a corresponding page layout, a text picture, and the like, and further includes a first executable module for acquiring current address information of the user equipment, for example, the first executable module. An executable page script can be included. Here, by executing the first executable module in the user equipment, the device 1 may acquire current address information of the user equipment. Here, the current address information includes latitude and longitude information of the current location of the user equipment, and may be through an AGPS (Assisted Global Positioning System) function or a GPS (Global Positioning System) in the user equipment. A positioning system) function to determine the latitude and longitude information. Here, for example, it may be set in the page script program to automatically acquire latitude and longitude information of the user equipment. Further, preferably, for the positioning function in the user equipment, such as the GPS function, if the GPS function is not turned on, the prompt opening operation may also be set in the page script program. Further, preferably, if the browser calls the user equipment authorization to obtain the latitude and longitude information, the corresponding calling authority acquisition program may also be set in the page script in advance.
在此,本领域技术人员应能理解,上述通过AGPS或GPS获取所述当前地址信息的方式仅为举例,其他现有的或今后可能出现的其他获取所述当前地址信息的方式如可适用于本申请,也应包含在本申请保护范围以 内,并在此以引用方式包含于此。Herein, it should be understood by those skilled in the art that the manner of obtaining the current address information by using AGPS or GPS is only an example, and other existing or future possible manners of obtaining the current address information may be applied to This application should also be included in the scope of protection of this application. And is hereby incorporated by reference.
接着,在步骤S43中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息。在实际应用中,所述用户设备若要接入某个无线接入点对应的无线网络,通常需要有与该无线接入点匹配的接入信息,所述接入信息包括但不限于:包含有连接密码的描述文件信息、或是加密的密码字符串等验证信息,所述接入信息可以基于不同的用户设备系统、或是实际应用需要,灵活选择。在所述设备1中,存储了海量的无线接入点信息,各个无线接入点与其相应的接入点相关信息,如所述接入点的地理位置信息、连接速度信息、信号强度信息、连接频率信息,接入信息等对应存储。在此,基于获取的用户设备的所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定当前用户设备可用率较高的无线接入点的接入信息。在此,上述比较匹配可以基于一定的预设规则,例如,设置与所述当前地址信息距离在预设范围之内的无线接入点即为确定的所述无线接入点,又如,可以设置一个匹配数量,以所述当前地址信息为中心向外辐射,由近至远确定所述无线接入点,上限即为上述匹配数量。在此,优选地,所匹配的所述无线接入点的地理位置信息与所述当前地址信息之间的距离,还可以参考一般情况下、或是特定情况下,无线接入点的覆盖范围信息,以确保在当前地址中的所述用户设备基于所返回的无线接入点有较高的连接成功率。进一步,当满足基于所述当前地址信息这一匹配条件的所述无线接入点有多个时,还可以从多个所述无线接入点中优选对应的目标无线接入点。例如,可以基于所述无线接入点相关信息,如所述连接速度信息、信号强度信息、地理位置信息、连接频率信息等,优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的优选无线接入点作为目标无线接入点,以此提高无线连接成功率。Next, in step S43, the device 1 determines, according to the current address information that the user equipment feeds back by the first executable module, the access information of the wireless access point corresponding to the user equipment. . In an actual application, if the user equipment is to access a wireless network corresponding to a wireless access point, it is generally required to have access information that matches the wireless access point, and the access information includes but is not limited to: The authentication information such as the description file of the connection password or the encrypted password string can be flexibly selected based on different user equipment systems or actual application requirements. In the device 1, a large amount of wireless access point information is stored, and information about each wireless access point and its corresponding access point, such as geographical location information, connection speed information, and signal strength information of the access point, Connection frequency information, access information, etc. are stored correspondingly. Here, based on the current address information of the acquired user equipment, the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine the connection of the wireless access point with a high availability rate of the current user equipment. Enter information. Here, the foregoing comparison matching may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range is the determined wireless access point, and, for example, may Setting a matching quantity, radiating outward from the current address information, determining the wireless access point from near to far, and the upper limit is the foregoing matching quantity. Here, preferably, the distance between the geographical location information of the matched wireless access point and the current address information may also refer to the coverage of the wireless access point under normal circumstances or in a specific case. Information to ensure that the user equipment in the current address has a higher connection success rate based on the returned wireless access point. Further, when there are multiple wireless access points that satisfy the matching condition of the current address information, a corresponding target wireless access point may also be selected from among the plurality of wireless access points. For example, based on the wireless access point related information, such as the connection speed information, the signal strength information, the geographical location information, the connection frequency information, etc., the connection speed is faster, the signal is stronger, and the distance from the user equipment is closer. The preferred wireless access point that has been recently connected is used as the target wireless access point, thereby improving the wireless connection success rate.
此时,所述设备1确定了与所述用户设备相对应的一个或多个无线接入点,与此同时,所述设备1中同时存储了与该无线接入点相对应的接入信息,在此,优选地,所述接入信息为包含有连接密码的描述文件信息。 在此,可以设置由所述设备1直接确定所述一个或多个无线接入点的接入信息;或者,也可以先将所述确定的无线接入点返还给所述用户设备,再基于用户的接入信息请求,最终确定与所述用户设备相对应的无线接入点的接入信息。At this time, the device 1 determines one or more wireless access points corresponding to the user equipment, and at the same time, the device 1 simultaneously stores access information corresponding to the wireless access point. Here, preferably, the access information is profile information including a connection password. The access information of the one or more wireless access points may be directly determined by the device 1; or the determined wireless access point may be returned to the user equipment first, and then based on The user's access information request finally determines the access information of the wireless access point corresponding to the user equipment.
接着,在步骤S44中,所述设备1将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。在此,可以将所述设备1所直接确定的无线接入点的接入信息,或是将基于所述用户设备的接入信息请求确定的所述接入信息发送至对应的用户设备,进而,当用户设备选择与该接入信息对应的无线接入点时,即可以基于已获得的所述接入信息,建立相应的无线连接。Next, in step S44, the device 1 provides the access information to the user equipment, so that the user equipment establishes a wireless connection with a corresponding wireless access point. Here, the access information of the wireless access point directly determined by the device 1 or the access information determined based on the access information request of the user equipment may be sent to the corresponding user equipment, and further When the user equipment selects the wireless access point corresponding to the access information, the corresponding wireless connection may be established based on the obtained access information.
在此,本申请中所述设备1于接收到的用户设备的访问请求,为其返回包含了第一可以执行模块的第一页面,基于所述用户设备对第一可执行模块的执行结果,所述设备1取了所述用户设备的当前地址信息,并为用户设备确定并返回与该当前地址信息匹配的无线接入点的接入信息,如用于连接验证的连接密码、描述文件信息等。在此,本申请可以基于所述设备1中所确定的与所述用户设备相对应的无线接入点的接入信息,帮助用户设备自动建立与该无线接入点之间的无线连接,从而使得对应用户可以方便、快捷地使用相应的无线网络,降低用户无网使用的概率。在此,所述设备1与所述用户设备之间的通信直接通过页面访问请求及响应实现,并不需要所述用户设备中安装、或运行用于建立无线连接的应用程序来实现所述接入信息的获取,从而为所述用户设备节约了设备资源,如节省了设备存储空间。Here, the device 1 in the present application returns an access request of the user equipment to the first page that includes the first executable module, based on the execution result of the user equipment on the first executable module. The device 1 takes the current address information of the user equipment, and determines, for the user equipment, the access information of the wireless access point that matches the current address information, such as the connection password and the description file information for connection verification. Wait. Herein, the application can help the user equipment to automatically establish a wireless connection with the wireless access point based on the access information of the wireless access point corresponding to the user equipment determined in the device 1 The corresponding user can conveniently and quickly use the corresponding wireless network, thereby reducing the probability of the user using the network without the network. Here, the communication between the device 1 and the user equipment is directly implemented by a page access request and response, and does not need to install or run an application for establishing a wireless connection in the user equipment to implement the connection. The acquisition of information, thereby saving device resources for the user equipment, such as saving storage space of the device.
图5示出根据本申请一个优选实施例的一种用于建立无线连接的方法流程图。其中,所述方法包括步骤S41',步骤S42'、步骤S43'和步骤S44',其中,所述步骤S43'包括步骤S431'和步骤S432'。FIG. 5 illustrates a flow chart of a method for establishing a wireless connection in accordance with a preferred embodiment of the present application. The method includes a step S41', a step S42', a step S43' and a step S44', wherein the step S43' comprises a step S431' and a step S432'.
其中,在步骤S41'中,所述设备1接收用户设备发送的关于第一页面的访问请求;在步骤S42'中,所述设备1向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;在步骤S431'中,所述设备1根据所 述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;在步骤S432'中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息;所述第四装置14'将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。在此,步骤S41',步骤S44'和图4中示出的所述步骤S41,步骤S42内容相同或基本相同,在此不再赘述,并以引用的形式包含与此。The device 1 receives the access request for the first page sent by the user equipment in step S41'; in step S42', the device 1 returns a corresponding first page to the user equipment, where The first page includes a first executable module, where the first executable module is configured to acquire current address information of the user equipment, and the first wireless access point scanned by the user equipment in the current address information. Information; in step S431', the device 1 is based on Determining, by the user equipment, the one or more candidate wireless access points that match the current address information by performing the current address information fed back by the first executable module; in step S432', the device Determining, according to the user equipment, the first wireless access point information fed back by the first executable module, from the one or more candidate wireless access points, corresponding to the user equipment. Access information of the wireless access point; the fourth device 14' provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point. Here, the step S41', the step S44' and the step S41 and the step S42 shown in FIG. 4 are the same or substantially the same, and are not described herein again, and are included herein by reference.
具体地,在步骤S42'中,所述设备1向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。在此,对于仅基于所述用户设备的当前地址信息确定最终的所述接入信息可能带来的信息误差,进一步,还可以优选地,同时结合所述用户设备当前能够扫描到的第一无线接入点信息,由此,可以为用户设备选择出即可以确定覆盖当前用户设备,同时又在设备1中有相应的接入信息可用的所述无线接入点,从而使得用户设备基于该无线接入点进行无线连接的成功率较高。Specifically, in step S42', the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is used to acquire The current address information of the user equipment, and the first wireless access point information scanned by the user equipment in the current address information. Here, the information error that may be caused by the final access information is determined based on the current address information of the user equipment, and further, preferably, the first wireless that the user equipment can currently scan is simultaneously combined. Access point information, whereby the user equipment can be selected to determine the coverage of the current user equipment, and at the same time, the corresponding access information is available in the device 1, so that the user equipment is based on the wireless The access point has a higher success rate for wireless connections.
在此,所述设备1返回至所述网络设备的所述第一页面中,包含用于获取所述用户设备的当前地址信息的第一可执行模块,例如,所述第一可执行模块可以包括可执行的页面脚本程序,在此,所设置的脚本程序可以实现:所述设备1可以获取所述用户设备的当前地址信息;同时基于所设置的脚本程序还可以实现获取所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。例如,可以在所述页面脚本程序中设置,调用开启所述用户设备对应的无线信号扫描功能,直接获得该用户设备周围可能存在的若干个无线接入点所对应的第一无线接入点信息。又如,若是所述用户设备对应的系统无线连接模块调用受限,例如,当所述用户设备为iOS系统设备时,其系统无线连接模块调用受限,则当前所述用户设备中的浏览器无法通过调用接口直接实现无线信号的扫描。则此时,可以在所述页面脚本程序中设置,获取用户设备自身扫描功能显示的无线接入点呈现界 面对应的截图,所述截图中即包含所述第一无线接入点信息。在此,所述页面脚本程序中可以设置:先提示用户是否有相应截图,若是用户选择已有截图,则设置进入相册获取具体截图;若是用户选择进行截图,则进入所述用户设备自身扫描功能显示的无线接入点呈现界面进行截图操作。Here, the device 1 returns to the first page of the network device, and includes a first executable module for acquiring current address information of the user device, for example, the first executable module may An executable page script program is included, where the set script program can be implemented: the device 1 can obtain current address information of the user equipment; and at the same time, based on the set script program, obtaining the user equipment can also be implemented. The first wireless access point information scanned by the current address information. For example, it may be set in the page script to invoke the wireless signal scanning function corresponding to the user equipment to directly obtain the first wireless access point information corresponding to the plurality of wireless access points that may exist around the user equipment. . For another example, if the system wireless connection module corresponding to the user equipment is restricted in calling, for example, when the user equipment is an iOS system device, and the system wireless connection module is restricted in calling, the current browser in the user equipment is It is not possible to directly scan the wireless signal by calling the interface. At this time, it can be set in the page script program to obtain the wireless access point presentation boundary displayed by the user equipment's own scanning function. The screenshot corresponding to the face, the screenshot includes the first wireless access point information. Here, the page script program may be set to: first prompt the user whether there is a corresponding screenshot, if the user selects an existing screenshot, then set to enter the album to obtain a specific screenshot; if the user selects to take a screenshot, enter the user device self-scanning function The displayed wireless access point presentation interface performs a screenshot operation.
接着,在步骤S431'中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点。在此,基于所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定当前用户设备可用率较高的无线接入点作为所述候选无线接入点。在此,优选地,该候选无线接入点是与所述用户设备距离较近,且在设备1中已有相应接入信息的无线接入点。所述候选无线接入点的选择可以基于一定的预设规则,例如,设置与所述当前地址信息距离在预设范围之内的无线接入点即为确定的所述无线接入点。又如,所匹配的所述无线接入点的地理位置信息与所述当前地址信息之间的距离,还可以参考一般情况下、或是特定情况下,无线接入点的覆盖范围信息,以确保在当前地址中的所述用户设备基于所返回的无线接入点有较高的连接成功率。Next, in step S431', the device 1 determines one or more candidates that match the current address information according to the current address information fed back by the first executable module by the user equipment. Wireless access point. Here, based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched, and a wireless access point with a high availability rate of the current user equipment is determined as the candidate wireless access. point. Here, preferably, the candidate wireless access point is a wireless access point that is relatively close to the user equipment and has corresponding access information in the device 1. The selection of the candidate wireless access point may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range, that is, the determined wireless access point. For example, the distance between the geographical location information of the wireless access point and the current address information may also refer to the coverage information of the wireless access point under normal circumstances or in a specific case, It is ensured that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
接着,在步骤S432'中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。在此,所述第一无线接入点信息所对应的无线接入点为所述用户设备当前能够扫描识别到的无线接入点,同时所述候选无线接入点在所述设备1中又有对应的接入信息。因此,所述用户设备基于所述设备1所确定的无线接入点的接入信息实现无线连接的成功率较高。在此,优选地,当满足条件的所述无线接入点有多个时,可以对所述无线接入点进一步进行优选,例如,可以基于所述无线接入点相关信息,如所述连接速度信息、信号强度信息、地理位置信息、连接频率信息等,优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的优选无线接入点的接入信息,并将其返回给所述用户设备,一方面可以减少设备间数据传输量,另一方面还可以提高用户设备基于所述接入信息建立无线连接的成功率。 Next, in step S432', the device 1 selects from the one or more candidate radio accesses according to the first wireless access point information fed back by the first executable module by the user equipment. The access information of the wireless access point corresponding to the user equipment is determined in the point. Here, the wireless access point corresponding to the first wireless access point information is that the user equipment can currently scan the identified wireless access point, and the candidate wireless access point is in the device 1 again. There is corresponding access information. Therefore, the user equipment achieves a higher success rate of the wireless connection based on the access information of the wireless access point determined by the device 1. Here, preferably, when there are multiple wireless access points that satisfy the condition, the wireless access point may be further optimized, for example, based on the wireless access point related information, such as the connection. Speed information, signal strength information, geographical location information, connection frequency information, etc., preferably access information of a preferred wireless access point with a faster connection speed, a stronger signal, a closer distance to the user equipment, and more recently connected times. And returning to the user equipment, on the one hand, reducing the amount of data transmission between the devices, and on the other hand, improving the success rate of the user equipment to establish a wireless connection based on the access information.
在本实施例中,所述设备1可以同时结合所述当前地址信息和所述用户设备在所述当前地址信息所扫描的第一无线接入点信息,为用户设备确定并返回可以相应无线接入点的接入信息。在此,结合所述第一无线接入点信息,可以更准确地为用户设备匹配当前实时可用的无线接入点的接入信息,从而,进一步提高了所述用户设备基于所返回的所述接入信息进行无线连接的成功率。In this embodiment, the device 1 can simultaneously determine the current user information and the first wireless access point information scanned by the user equipment in the current address information, and determine and return the corresponding wireless connection for the user equipment. Incoming access information. Herein, in combination with the first wireless access point information, the user equipment can be more accurately matched with the access information of the currently available wireless access point, thereby further improving the user equipment based on the returned The success rate of accessing information for wireless connection.
优选地,所述第一无线接入点信息包括所述用户设备中无线接入点呈现界面的截图。Preferably, the first wireless access point information includes a screenshot of a wireless access point presentation interface in the user equipment.
具体地,在此,优选地,所述用户设备会基于自身的无线扫描功能获取当前设备周围的无线接入点,即所述第一无线接入点信息,并且该第一无线接入点信息将呈现在用户设备界面中,此时,所述呈现界面中可以包括所述第一无线接入点信息的名称信息、无线信号指示信息等。此时,优选地,当所述用户设备的系统无线连接模块调用受限时,例如,当所述用户设备为iOS系统设备时,其系统无线连接模块调用受限,则所述用户设备的浏览器无法通过调用接口直接实现无线信号的扫描。此时,若是欲获悉、并操作当前用户设备能识别的第一无线接入点信息,可以先将所述无线接入点的呈现界面进行图像截取操作,例如进行截屏,获取相应的图片信息。进而,由所述设备1从用户设备获取该截图。在此,所述设备1从用户设备获取的所述第一无线接入点信息可以对应于一张或多张所述截图。Specifically, here, preferably, the user equipment acquires, according to its own wireless scanning function, a wireless access point around the current device, that is, the first wireless access point information, and the first wireless access point information It will be presented in the user equipment interface. At this time, the presentation interface may include name information of the first wireless access point information, wireless signal indication information, and the like. At this time, preferably, when the system wireless connection module call of the user equipment is restricted, for example, when the user equipment is an iOS system device, the system wireless connection module call is restricted, and the user equipment browses The device cannot directly scan the wireless signal by calling the interface. At this time, if it is desired to learn and operate the first wireless access point information that can be identified by the current user equipment, the presentation interface of the wireless access point may be first subjected to an image intercepting operation, for example, performing a screen capture to obtain corresponding picture information. Further, the screenshot is acquired by the device 1 from the user device. Here, the first wireless access point information acquired by the device 1 from the user equipment may correspond to one or more of the screenshots.
在一个优选实施例(参考图5)中,所述方法还包括步骤S45'(未示出),在步骤S45'中,所述设备1从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息;其中,在步骤S432'中,所述设备1根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。In a preferred embodiment (refer to FIG. 5), the method further comprises a step S45' (not shown), in step S45', the device 1 extracts the wireless access point presentation interface from the screenshot The access point name information of the wireless access point; wherein, in step S432', the device 1 determines the user from the one or more candidate wireless access points according to the access point name information. Access information of the wireless access point corresponding to the device.
具体地,在此,所述截图中的接入点名称信息可以包括的相应无线接入点的SSID(Service Set Identifier,服务集标识)信息,用以标识不同的无线接入点。所述第五装置从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息。在此,通过对所述截图进行图片解析操作, 例如,优选地,通过图文识别功能或方法,如OCR(Optical Character Recognition,光学字符识别)功能,实现图片信息的识别、解析,提取所述截图中包含的无线接入点的名称信息、无线信号指示信息等。优选地,可以同时对多张截图进行解析,并提取信息。在此,可以选择对截图中包含的全部信息进行解析,进而从中确定实际需要的信息,如所述的接入点名称信息;此外,还可以针对性地对截图中部分信息进行相应的解析,以减少不必要的工作量。Specifically, the access point name information in the screenshot may include the SSID (Service Set Identifier) information of the corresponding wireless access point to identify different wireless access points. And the fifth device extracts, from the screenshot, access point name information of the wireless access point in the wireless access point presentation interface. Here, by performing image parsing operations on the screenshot, For example, it is preferable to realize the identification and parsing of the picture information by using a graphic recognition function or a method, such as an OCR (Optical Character Recognition) function, and extract the name information of the wireless access point included in the screenshot, and wirelessly Signal indication information, etc. Preferably, multiple screenshots can be parsed simultaneously and information extracted. Here, you can choose to parse all the information included in the screenshot, and then determine the information actually needed, such as the access point name information; in addition, the partial information in the screenshot can be analyzed correspondingly. To reduce unnecessary work.
接着,在步骤S432'中,所述设备1根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。此时,在所述若干个候选无线接入点中寻找与上述提取出的所述接入点名称信息一致的候选无线接入点作为与所述用户设备相对应的无线接入点,并确定其对应的接入信息。基于此,优选地,若所述一致的所述无线接入点有多个,还可以从中进一步优选出匹配程度更精确、连接成功率更高的无线接入点,例如优选出连接速度较快、信号较强、与用户设备距离较近、最近被连接次数较多的无线接入点,并确定其对应的接入信息。Next, in step S432', the device 1 determines, according to the access point name information, access information of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points. . At this time, a candidate wireless access point that matches the extracted access point name information is searched for among the plurality of candidate wireless access points as a wireless access point corresponding to the user equipment, and is determined. Its corresponding access information. Based on this, preferably, if there are multiple wireless access points that are consistent, a wireless access point with a more accurate matching degree and a higher connection success rate may be further selected, for example, a faster connection speed is preferred. The wireless access point with strong signal, close proximity to the user equipment, and most recently connected times, and determines the corresponding access information.
优选地,所述方法还包括步骤S451'(未示出)和步骤S452'(未示出)。其中,在步骤S451'中,所述设备1从所述截图中扫描识别无线信号指示符与字符串;在步骤S452中,所述设备1将所述截图中与所述无线信号指示符平行且最接近的所述字符串记为所述无线信号指示符对应的无线接入点的接入点名称信息。Preferably, the method further comprises a step S451' (not shown) and a step S452' (not shown). Wherein, in step S451', the device 1 scans the wireless signal indicator and the character string from the screenshot; in step S452, the device 1 parallels the wireless signal indicator in the screenshot The closest character string is recorded as the access point name information of the wireless access point corresponding to the wireless signal indicator.
具体地,在步骤S451'中,所述设备1从所述截图中扫描识别无线信号指示符与字符串。在此,所述无线信号指示符包括通用的无线信号的标识信息,该标识信息基于不同的信号强度,会有相应的变化,如以多条平行的线条作为所述无线信号指示符,线条的多少对应信号的强弱。所述字符串信息包括截图中指代各个无线接入点的接入点辨识信息,如所述接入点的SSID信息。Specifically, in step S451', the device 1 scans the wireless signal indicator and the character string from the screenshot. Here, the wireless signal indicator includes identification information of a general wireless signal, and the identification information is changed according to different signal strengths, such as a plurality of parallel lines as the wireless signal indicator, and a line How much corresponds to the strength of the signal. The string information includes access point identification information of each wireless access point in the screenshot, such as SSID information of the access point.
接着,在步骤S452'中,所述设备1将所述截图中与所述无线信号指示符平行且最接近的所述字符串记为所述无线信号指示符对应的无线接 入点的接入点名称信息。在此,优选地,以所述截图中信息是以列表信息有序排列为例,一般情况下,一个无线接入点的信息记录在同一行,此时,优选判断与所述无线信号指示符平行且最接近的所述字符串即为该无线信号对应的无线接入点的接入点名称信息。Next, in step S452', the device 1 records the character string in the screenshot that is parallel and closest to the wireless signal indicator as a wireless connection corresponding to the wireless signal indicator. Access point name information for the inbound point. Here, preferably, the information in the screenshot is an orderly arrangement of list information. Generally, information of one wireless access point is recorded in the same row. At this time, it is preferable to determine the wireless signal indicator. The parallel and closest character string is the access point name information of the wireless access point corresponding to the wireless signal.
在此,本领域技术人员应该能够理解,对于提取出的所述无线信号指示符与所述字符串等信息的对应匹配,可以是基于实际截图中信息的布局,设置相应的解析、归类规则,从而确定一一对应的所述无线信号指示符与所述字符串,进而提高信息匹配的正确率。Here, those skilled in the art should be able to understand that for the corresponding matching of the extracted wireless signal indicator and the information such as the character string, the corresponding parsing and categorization rules may be set based on the layout of the information in the actual screenshot. And determining the one-to-one corresponding wireless signal indicator and the character string, thereby improving the correct rate of information matching.
更优选地,所述方法还包括步骤S453'(未示出),在步骤S453'中,所述设备1将所述无线信号指示符与预定的信号强度模型相比较,以获得所述无线接入点的信号强度信息;其中,所述第二单元132'当所述信号强度信息满足预定的信号强度阈值信息,根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。More preferably, the method further comprises a step S453' (not shown), in step S453', the device 1 compares the wireless signal indicator with a predetermined signal strength model to obtain the wireless connection Signal strength information of the in-point; wherein the second unit 132', when the signal strength information satisfies predetermined signal strength threshold information, from the one or more candidate wireless access points according to the access point name information Determining access information of a wireless access point corresponding to the user equipment.
具体地,在步骤S453'中,所述设备1将所述无线信号指示符与预定的信号强度模型相比较,以获得所述无线接入点的信号强度信息。此时,为了更充分的利用基于所述截图获取的无线信号信息,如所述无线信号指示符,可以对具体的各个无线接入点对应的所述无线信号指示符进行量化,例如,当以多条平行的线条作为所述无线信号指示符时,包含不同数量线条的所述无线信号指示符对应不同的信号强度,以此预定所述信号强度模型。进而,在实际应用中,将获取的所述无线信号指示符与所述预定的所述信号强度模型进行对照匹配,确定所述无线接入点的量化的信号强度信息。Specifically, in step S453', the device 1 compares the wireless signal indicator with a predetermined signal strength model to obtain signal strength information of the wireless access point. At this time, in order to more fully utilize the wireless signal information acquired based on the screenshot, such as the wireless signal indicator, the wireless signal indicator corresponding to each specific wireless access point may be quantized, for example, when When a plurality of parallel lines are used as the wireless signal indicator, the wireless signal indicators including different numbers of lines correspond to different signal strengths, thereby predetermining the signal strength model. Further, in an actual application, the obtained wireless signal indicator is matched with the predetermined signal strength model to determine quantized signal strength information of the wireless access point.
接着,在步骤S432'中,所述设备1当所述信号强度信息满足预定的信号强度阈值信息,根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。Next, in step S432', the device 1 determines the location from the one or more candidate wireless access points according to the access point name information when the signal strength information satisfies predetermined signal strength threshold information. The access information of the wireless access point corresponding to the user equipment.
为了提高优选出的目标无线接入点的连接成功率,可以预设所述信号强度阈值信息,再将所述无线接入点的所述信号强度信息与该信号强度阈值信息对比,当所述信号强度信息达到或大于所述信号强度阈值信息时, 即推定基于所述信号强度信息对应的无线接入点的接入信息进行无线连接,连接成功率较高,可以作为择优筛选的结果。In order to improve the connection success rate of the preferred target wireless access point, the signal strength threshold information may be preset, and the signal strength information of the wireless access point is compared with the signal strength threshold information, when When the signal strength information reaches or is greater than the signal strength threshold information, That is, it is estimated that the access information of the wireless access point corresponding to the signal strength information is wirelessly connected, and the connection success rate is high, which can be used as a result of the preferential screening.
在此,本申请通过对所述截图中的无线信号指示符信息等相关信息的解析和利用,为后续的所述与所述用户设备相对应的无线接入点的接入信息的确定提供了客观的参考标准,有助于确定出连接成功率较高的目标无线接入点,优化了用户的连接体验,同时也相应简化了设备1的部分阶段的工作量。Here, the present application provides for determining the access information of the wireless access point corresponding to the user equipment by parsing and utilizing the related information of the wireless signal indicator information and the like in the screenshot. The objective reference standard helps to identify the target wireless access point with high connection success rate, optimizes the user's connection experience, and simplifies the workload of part of the device 1 accordingly.
图6示出根据本申请另一个优选实施例的一种用于建立无线连接的部分方法流程图。其中,所述步骤S43”包括步骤S433”、步骤S434”、步骤S435”和步骤S436”。6 shows a flow chart of a portion of a method for establishing a wireless connection in accordance with another preferred embodiment of the present application. Wherein, the step S43" includes step S433", step S434", step S435" and step S436".
其中,在步骤S433”中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点;在步骤S434”中,所述设备1生成第二页面,其中,所述第二页面包括关于所述一个或多个无线接入点中至少一个的第二可执行模块,所述第二可执行模块用于根据用户对所述一个或多个无线接入点中至少一个的选择操作向所述网络设备发送关于被选择的无线接入点的接入信息的接入信息请求;在步骤S435”中,所述设备1向所述用户设备返回所述第二页面;在步骤S436”中,所述设备1根据所述用户设备通过执行所述第二可执行模块所反馈的所述接入信息请求确定与所述被选择的无线接入点的接入信息。The device 1 determines, according to the current address information fed back by the first executable module, one or more wireless accesses corresponding to the user equipment, in step S433 Point; in step S434", the device 1 generates a second page, wherein the second page includes a second executable module for at least one of the one or more wireless access points, the second The executable module is configured to send an access information request for the access information of the selected wireless access point to the network device according to a user selection operation of at least one of the one or more wireless access points; S435", the device 1 returns the second page to the user equipment; in step S436", the device 1 performs the connection fed back by the second executable module according to the user equipment The incoming information request determines access information with the selected wireless access point.
具体地,在本申请中,可以设置由所述设备1直接确定所述一个或多个无线接入点的接入信息;或者,优选地,在本实施例中,也可以先将所述确定的无线接入点返还给所述用户设备,再基于用户的接入信息请求,最终确定与所述用户设备相对应的无线接入点的接入信息。Specifically, in the present application, the access information of the one or more wireless access points may be directly determined by the device 1; or, preferably, in the embodiment, the determining may also be performed first. The wireless access point is returned to the user equipment, and based on the user's access information request, finally determining access information of the wireless access point corresponding to the user equipment.
在此,在步骤S433”中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点。在此,基于所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定符合预设匹配规则的一个或多个无线接入点。 Here, in step S433", the device 1 determines one or more wireless connections corresponding to the user equipment according to the current address information fed back by the first executable module by the user equipment. In this case, based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine one or more wireless access points that meet the preset matching rule.
接着,在步骤S434”中,所述设备1生成第二页面。在此,基于对用户设备执行所述第一可执行模块的响应的相关操作,所述设备1将准备待发送至所述用户设备的所述第二页面,在此,所述第二页面可以包含所述设备1确定的与所述用户设备相对应的一个或多个无线接入点及其相关信息,例如包括以不限于列表形式呈现的无线接入点的图文信息,如所述无线接入点的名称信息、连接强度信息、地理位置信息等;还包括为了展示该无线接入点的页面布局信息等;同时还包含用于获取所述用户设备的当前地址信息的第二可执行模块,例如,所述第二可执行模块可以包括可执行的页面脚本程序。在此,所述用户设备会根据用户对所述一个或多个无线接入点中至少一个的选择操作,执行所述第二可执行模块,从而,基于上述的选择操作,向所述网络设备发送关于被选择的无线接入点的接入信息的接入信息请求。在此,所述网络设备即为所述设备1,在此,在本实施例中,为了便于表述,两者可以互换使用。Next, in step S434", the device 1 generates a second page. Here, based on a related operation of performing a response of the first executable module to the user equipment, the device 1 is ready to be sent to the user The second page of the device, where the second page may include one or more wireless access points and related information determined by the device 1 corresponding to the user equipment, for example, including but not limited to The graphic information of the wireless access point presented in the form of a list, such as the name information of the wireless access point, the connection strength information, the geographical location information, etc.; and the page layout information for displaying the wireless access point, etc.; a second executable module for acquiring current address information of the user equipment, for example, the second executable module may include an executable page script program. Here, the user equipment may be according to a user Selecting operation of at least one of the one or more wireless access points to execute the second executable module, thereby transmitting a flag to the network device based on the selecting operation described above The access information request of the access information of the selected wireless access point. Here, the network device is the device 1. Here, in the embodiment, for convenience of description, the two can be interchanged. use.
接着,在步骤S435”中,所述设备1向所述用户设备返回所述第二页面。在本实施例中,所述设备1并不是直接将与所述用户设备相对应的一个或多个无线接入点的接入信息直接返回给所述用户设备,而是先将包含有所述无线接入点的第二页面返回给所述用户设备,以方便用户基于页面中呈现的所述若干个无线接入点进行主动选择,再基于用户选择,确定相应的接入信息。Next, in step S435", the device 1 returns the second page to the user equipment. In this embodiment, the device 1 does not directly correspond to one or more corresponding to the user equipment. The access information of the wireless access point is directly returned to the user equipment, but the second page including the wireless access point is first returned to the user equipment, so as to facilitate the user to display the number based on the page. The wireless access points perform active selection, and then determine corresponding access information based on user selection.
接着,在步骤S436”中,所述设备1根据所述用户设备通过执行所述第二可执行模块所反馈的所述接入信息请求确定与所述被选择的无线接入点的接入信息。在此,基于用户在用户设备呈现的第二页面中对目标无线接入点的选择操作,所述第二可执行模块被执行,进而,所述设备1获取到来自用户设备的所述接入信息请求,基于所述接入信息请求,将确定出与被请求的无线接入点相匹配的接入信息。Next, in step S436, the device 1 determines, according to the access information request that the user equipment feeds back by the second executable module, the access information with the selected wireless access point. Here, the second executable module is executed based on a selection operation of the target wireless access point by the user in the second page presented by the user equipment, and further, the device 1 acquires the connection from the user equipment. The incoming information request, based on the access information request, determines access information that matches the requested wireless access point.
在本实施例中,基于展现在所述用户设备中的第二页面所对应的第二可执行模块的执行,所述设备1获取了用户设备对特定选择的无线接入点的接入信息的接入信息请求,从而即可以只将与所述接入信息请求匹配的所述无线接入点的接入信息返回至所述用户设备,此时,并不需要将与所 述用户设备相对应的全部无线接入点的接入信息一一返回、或大量返回,而是更有选择性和针对性,从而减少了数据传输量,提高了整体运行效率。In this embodiment, based on the execution of the second executable module corresponding to the second page displayed in the user equipment, the device 1 acquires the access information of the user equipment to the specific selected wireless access point. Accessing the information request, so that only the access information of the wireless access point that matches the access information request can be returned to the user equipment, and at this time, it is not necessary to The access information of all the wireless access points corresponding to the user equipment is returned one by one, or returned in a large amount, but is more selective and targeted, thereby reducing the amount of data transmission and improving the overall operation efficiency.
优选地,所述第二页面为所述第一页面的更新页面。Preferably, the second page is an update page of the first page.
具体地,在此,所述第二页面的生成,及发送至所述用户设备,是基于对用户设备执行所述第一可执行模块的相应结果的预设处理操作。在此,优选地,可以设置所述第二页面生成后,自动发送至所述用户设备,并更新所述用户设备中已存在的所述第一页面的信息。此外,还可以在所述第一页面对应的第一可执行模块中设置一个请求获取与所述用户设备相对应的一个或多个无线接入点的程序,基于用户对页面信息的相关操作,所述设备1获取该无线接入点的请求信息,再由所述设备1生成、并返回所述第二页面。Specifically, the generating of the second page and the sending to the user equipment are based on a preset processing operation of performing a corresponding result of the first executable module on the user equipment. Here, preferably, after the second page is generated, the second page may be automatically sent to the user equipment, and the information of the first page already existing in the user equipment may be updated. In addition, a program for requesting to acquire one or more wireless access points corresponding to the user equipment may be set in the first executable module corresponding to the first page, based on a related operation of the user on the page information, The device 1 acquires the request information of the wireless access point, and then the device 1 generates and returns to the second page.
优选地,在步骤S42”中,所述设备1向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;其中,在步骤S433”中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的一个或多个无线接入点。Preferably, in step S42", the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is configured to acquire The current address information of the user equipment, and the first wireless access point information scanned by the user equipment in the current address information; wherein, in step S433", the device 1 performs the execution according to the user equipment. Determining, by the first executable module, the current address information, determining one or more candidate wireless access points that match the current address information; according to the user equipment, by executing the first executable module The first wireless access point information that is fed back determines one or more wireless access points corresponding to the user equipment from the one or more candidate wireless access points.
具体地,在步骤S42”中,所述设备1向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。在此,对于仅基于所述用户设备的当前地址信息确定最终的所述接入信息可能带来的信息误差,进一步,还可以优选地,同时结合所述用户设备当前能够扫描到的第一无线接入点信息,由此,可以为用户设备选择出即可以确定覆盖当前用户设备,同时又在设备1中有相应的接入信息可用的所述无线接入点,从而使得用户设备基于该无线接入点进行无线连接的成功率较高。在此,所述设备1返回至 所述网络设备的所述第一页面中,包含用于获取所述用户设备的当前地址信息的第一可执行模块,例如,所述第一可执行模块可以包括可执行的页面脚本程序,在此,所设置的脚本程序可以实现:所述设备1可以获取所述用户设备的当前地址信息;同时基于所设置的脚本程序还可以实现获取所述用户设备在所述当前地址信息所扫描的第一无线接入点信息。在此,所述步骤S42”与图5中示出的所述步骤S42'的内容相同或基本相同,因此,所述步骤S42'的对应描述或举例也可以引用于此,在此不再赘述。Specifically, in step S42", the device 1 returns a corresponding first page to the user equipment, where the first page includes a first executable module, and the first executable module is used to acquire Determining the current address information of the user equipment, and the first wireless access point information scanned by the user equipment in the current address information. Here, determining the final connection based on the current address information of the user equipment only The information may be incorrectly combined with the first wireless access point information that the user equipment can currently scan, and thus the user equipment can be selected to determine the current user. The device has the corresponding access point of the wireless access point in the device 1, so that the success rate of the wireless connection by the user equipment based on the wireless access point is high. Here, the device 1 returns to The first page of the network device includes a first executable module for acquiring current address information of the user device, for example, the first executable module may include an executable page script program, where In this case, the set script program may be implemented: the device 1 may obtain current address information of the user equipment; and, according to the set script program, obtain the first scanned by the user equipment in the current address information. A wireless access point information. Here, the step S42 ′′ is the same as or substantially the same as the content of the step S42 ′ shown in FIG. 5 . Therefore, the corresponding description or example of the step S42 ′ may also be referred to herein, and details are not described herein again. .
接着,在步骤S433”中,所述设备1根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点。在此,基于所述当前地址信息,可以与设备1中存储的各个无线接入点的地理位置信息进行比较匹配,确定当前用户设备可用率较高的无线接入点作为所述候选无线接入点。在此,优选地,该候选无线接入点是与所述用户设备距离较近,且在设备1中已有相应接入信息的无线接入点。所述候选无线接入点的选择可以基于一定的预设规则,例如,设置与所述当前地址信息距离在预设范围之内的无线接入点即为确定的所述无线接入点。又如,所匹配的所述无线接入点的地理位置信息与所述当前地址信息之间的距离,还可以参考一般情况下、或是特定情况下,无线接入点的覆盖范围信息,以确保在当前地址中的所述用户设备基于所返回的无线接入点有较高的连接成功率。Next, in step S433", the device 1 determines one or more candidates that match the current address information according to the current address information fed back by the first executable module by the user equipment. a wireless access point. Here, based on the current address information, the geographic location information of each wireless access point stored in the device 1 may be compared and matched to determine a wireless access point with a high availability rate of the current user equipment. The candidate wireless access point is described. Preferably, the candidate wireless access point is a wireless access point that is closer to the user equipment and has corresponding access information in the device 1. The candidate wireless access point. The selection of the access point may be based on a certain preset rule, for example, setting a wireless access point whose distance from the current address information is within a preset range, that is, the determined wireless access point. The distance between the geographic location information of the wireless access point and the current address information may also refer to the coverage information of the wireless access point under normal circumstances or in a specific case. To ensure that the user equipment in the current address has a higher connection success rate based on the returned wireless access point.
接着,在步骤S433”中,所述设备1再根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的一个或多个无线接入点。在此,所述第一无线接入点信息所对应的无线接入点为所述用户设备当前能够扫描识别到的无线接入点,同时所述候选无线接入点在所述设备1中又有对应的接入信息。由此,基于与所述用户设备相对应的一个或多个无线接入点实现无线连接的成功率较高。在此,优选地,当满足条件的所述无线接入点有多个时,可以对所述无线接入点进一步进行优选,例如,可以基于所述无线接入点相关信息,如所述连接速度信息、信号强度信息、地理位置信息、连接频率信息等,优选出连接速度较快、信号较强、与用 户设备距离较近、最近被连接次数较多的优选无线接入点的接入信息,并将其返回给所述用户设备,一方面可以减少设备间数据传输量,另一方面还可以提高用户设备基于所述接入信息建立无线连接的成功率。Then, in step S433, the device 1 further performs the one or more candidate wireless connections according to the first wireless access point information fed back by the first executable module by the user equipment. Determining, in the in-point, one or more wireless access points corresponding to the user equipment. Here, the wireless access point corresponding to the first wireless access point information is currently a wireless access point, wherein the candidate wireless access point has corresponding access information in the device 1. Thereby, wireless is implemented based on one or more wireless access points corresponding to the user equipment The success rate of the connection is higher. Here, preferably, when there are multiple wireless access points that satisfy the condition, the wireless access point may be further optimized, for example, based on the wireless access point. Relevant information, such as the connection speed information, signal strength information, geographical location information, connection frequency information, etc., preferably has a faster connection speed, a stronger signal, and is used The access information of the preferred wireless access point that is close to the user equipment and has been connected most recently, and returns it to the user equipment, on the one hand, the amount of data transmission between devices can be reduced, and on the other hand, the user can be improved. The device establishes a success rate of the wireless connection based on the access information.
在一个优选实施例(参考图4)中,所述第四装置14将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接;生成第三页面,其中,所述第三页面包括用于根据所述接入信息建立所述用户设备与对应无线接入点的无线连接的第三可执行模块;向所述用户设备返回所述第三页面。In a preferred embodiment (refer to FIG. 4), the fourth device 14 provides the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point; a third page, wherein the third page includes a third executable module for establishing a wireless connection between the user equipment and a corresponding wireless access point according to the access information; returning the third to the user equipment page.
具体地,在此,基于对所述用户设备执行所述第二页面对应的第二可执行模块的响应,所述设备1将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。在此,所述接入信息包括但不限于:包含有连接密码的描述文件信息、或是加密的密码字符串等验证信息,所述接入信息可以基于不同的用户设备系统、或是实际应用需要,灵活选择。接着,生成第三页面。在此,所述第三页面中可以呈现出与所述对应无线接入点相关的连接提示确认信息,还可以包括用于根据所述接入信息建立所述用户设备与对应无线接入点的无线连接的第三可执行模块,例如,所述第三可执行模块可以包括可执行的页面脚本程序。例如,当用户在所述第三页面中点击确定连接所述对应无线接入点,则执行所述第三可执行模块对应的预置程序,例如,当所述用户设备对应为系统无线连接模块调用受限的设备时,则可以在所述页面脚本中设置,将所述接入信息,如所述描述文件信息,进行安装,此外,还可以在在所述页面脚本中设置,基于安装后的描述文件信息,向所述无线接入点发起无线连接请求。进一步,该无线连接请求可以设置为基于用户的选择确定再进行请求发送,或则还可以设置所述用户设备向所述无线接入点自动发起所述无线连接请求。接着,将加载有所述第三可执行模块的所述第三页面返回给所述用户设备。Specifically, here, based on the response of the user equipment to the second executable module corresponding to the second page, the device 1 provides the access information to the user equipment for the user The device establishes a wireless connection with the corresponding wireless access point. Here, the access information includes, but is not limited to, profile information including a connection password, or authentication information such as an encrypted password string, and the access information may be based on different user equipment systems or actual applications. Need, flexible choice. Next, a third page is generated. The connection prompt confirmation information related to the corresponding wireless access point may be presented in the third page, and may further include, configured to establish, according to the access information, the user equipment and the corresponding wireless access point. A third executable module of the wireless connection, for example, the third executable module can include an executable page script. For example, when the user clicks to determine the connection of the corresponding wireless access point in the third page, the preset procedure corresponding to the third executable module is executed, for example, when the user equipment is corresponding to the system wireless connection module. When the restricted device is invoked, it may be set in the page script to install the access information, such as the description file information, and may also be set in the page script, based on the installation. The profile information, initiating a wireless connection request to the wireless access point. Further, the wireless connection request may be set to determine to perform the request sending again based on the user's selection, or may further set the user equipment to automatically initiate the wireless connection request to the wireless access point. Then, the third page loaded with the third executable module is returned to the user equipment.
在本实施例中,通过所述第三页面中所述第三可执行模块的设置,可以帮助所述用户设备顺利的实现与所述对应无线接入点的无线连接,优选地,还可以实现所述用户设备与对应无线接入点之间的自动连接。优化了 用户体验。In this embodiment, the setting of the third executable module in the third page may help the user equipment to successfully implement a wireless connection with the corresponding wireless access point, and preferably, may also be implemented. An automatic connection between the user equipment and a corresponding wireless access point. improved user experience.
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。 It is obvious to those skilled in the art that the present application is not limited to the details of the above-described exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present application. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in this application. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of units or devices recited in the device claims may also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (20)

  1. 一种用于建立无线连接的方法,其中,所述方法包括:A method for establishing a wireless connection, wherein the method comprises:
    接收用户设备发送的关于第一页面的访问请求;Receiving an access request sent by the user equipment about the first page;
    向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块;Returning, to the user equipment, a corresponding first page, where the first page includes a first executable module for acquiring current address information of the user equipment;
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息;Determining, by the user equipment, access information of a wireless access point corresponding to the user equipment by performing the current address information fed back by the first executable module;
    将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。Providing the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point.
  2. 根据权利要求1所述的方法,其中,所述向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块包括:The method of claim 1, wherein the returning a corresponding first page to the user equipment, wherein the first page comprises a first executable module for acquiring current address information of the user equipment include:
    向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;Returning, to the user equipment, a corresponding first page, where the first page includes a first executable module, where the first executable module is configured to acquire current address information of the user equipment, and the user equipment First wireless access point information scanned by the current address information;
    其中,所述根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息包括:The determining, by the user equipment, the access information of the wireless access point corresponding to the user equipment, by performing the current address information that is fed back by the first executable module, includes:
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;Determining, according to the current address information that is fed back by the first executable module, the one or more candidate wireless access points that match the current address information;
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。Determining, according to the user equipment, the wireless device corresponding to the user equipment from the one or more candidate wireless access points by performing the first wireless access point information fed back by the first executable module Access information for the access point.
  3. 根据权利要求2所述的方法,其中,所述第一无线接入点信息包括所述用户设备中无线接入点呈现界面的截图。The method of claim 2, wherein the first wireless access point information comprises a screenshot of a wireless access point presentation interface in the user equipment.
  4. 根据权利要求3所述的方法,其中,该方法还包括:The method of claim 3, wherein the method further comprises:
    从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息; Extracting, from the screenshot, access point name information of the wireless access point in the wireless access point presentation interface;
    其中,所述根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息包括:The determining, by the user equipment, the user equipment from the one or more candidate wireless access points by performing the first wireless access point information that is fed back by the first executable module. The access information of the corresponding wireless access point includes:
    根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。And determining, according to the access point name information, access information of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points.
  5. 根据权利要求4所述的方法,其中,所述从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息包括:The method of claim 4, wherein the extracting the access point name information of the wireless access point in the wireless access point presentation interface from the screenshot comprises:
    从所述截图中扫描识别无线信号指示符与字符串;Scanning the wireless signal indicator and the character string from the screenshot;
    将所述截图中与所述无线信号指示符平行且最接近的所述字符串记为所述无线信号指示符对应的无线接入点的接入点名称信息。The character string in the screenshot that is parallel and closest to the wireless signal indicator is recorded as the access point name information of the wireless access point corresponding to the wireless signal indicator.
  6. 根据权利要求5所述的方法,其中,所述从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息还包括:The method of claim 5, wherein the extracting the access point name information of the wireless access point in the wireless access point presentation interface from the screenshot further comprises:
    将所述无线信号指示符与预定的信号强度模型相比较,以获得所述无线接入点的信号强度信息;Comparing the wireless signal indicator with a predetermined signal strength model to obtain signal strength information of the wireless access point;
    其中,所述根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息包括:The determining, by the user equipment, the user equipment from the one or more candidate wireless access points by performing the first wireless access point information that is fed back by the first executable module. The access information of the corresponding wireless access point includes:
    当所述信号强度信息满足预定的信号强度阈值信息,根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。When the signal strength information satisfies predetermined signal strength threshold information, determining, according to the access point name information, determining, from the one or more candidate wireless access points, a wireless access point corresponding to the user equipment Enter information.
  7. 根据权利要求1所述的方法,其中,所述根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息包括:The method according to claim 1, wherein the determining, by the user equipment, the connection of the wireless access point corresponding to the user equipment by performing the current address information fed back by the first executable module The information includes:
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点;Determining, according to the current address information that is fed back by the first executable module, the one or more wireless access points corresponding to the user equipment;
    生成第二页面,其中,所述第二页面包括关于所述一个或多个无线接入点中至少一个的第二可执行模块,所述第二可执行模块用于根据用户对所述一个或多个无线接入点中至少一个的选择操作向所述网络设备发送关于被选择的无线接入点的接入信息的接入信息请求; Generating a second page, wherein the second page includes a second executable module for at least one of the one or more wireless access points, the second executable module for using the one or Selecting an operation of at least one of the plurality of wireless access points to send an access information request for access information of the selected wireless access point to the network device;
    向所述用户设备返回所述第二页面;Returning the second page to the user equipment;
    根据所述用户设备通过执行所述第二可执行模块所反馈的所述接入信息请求确定与所述被选择的无线接入点的接入信息。Determining access information with the selected wireless access point by performing, by the user equipment, the access information request fed back by the second executable module.
  8. 根据权利要求7所述的方法,其中,所述第二页面为所述第一页面的更新页面。The method of claim 7, wherein the second page is an updated page of the first page.
  9. 根据权利要求7或8所述的方法,其中,所述向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块包括:The method according to claim 7 or 8, wherein the returning the corresponding first page to the user equipment, wherein the first page comprises a first available for acquiring current address information of the user equipment Execution modules include:
    向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;Returning, to the user equipment, a corresponding first page, where the first page includes a first executable module, where the first executable module is configured to acquire current address information of the user equipment, and the user equipment First wireless access point information scanned by the current address information;
    其中,所述根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点包括:The determining, by the user equipment, the one or more wireless access points corresponding to the user equipment by performing the current address information that is fed back by the first executable module, includes:
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;Determining, according to the current address information that is fed back by the first executable module, the one or more candidate wireless access points that match the current address information;
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的一个或多个无线接入点。Determining, from the one or more candidate wireless access points, one of the user equipments according to the first wireless access point information fed back by the first executable module Or multiple wireless access points.
  10. 根据权利要求1至9中任一项所述的方法,其中,所述将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接包括:The method according to any one of claims 1 to 9, wherein the providing the access information to the user equipment for the user equipment to establish a wireless connection with a corresponding wireless access point comprises:
    将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接;Providing the access information to the user equipment, where the user equipment establishes a wireless connection with a corresponding wireless access point;
    生成第三页面,其中,所述第三页面包括用于根据所述接入信息建立所述用户设备与对应无线接入点的无线连接的第三可执行模块;Generating a third page, where the third page includes a third executable module for establishing a wireless connection between the user equipment and a corresponding wireless access point according to the access information;
    向所述用户设备返回所述第三页面。 Returning the third page to the user device.
  11. 一种用于建立无线连接的设备,其中,所述设备包括:A device for establishing a wireless connection, wherein the device comprises:
    第一装置,用于接收用户设备发送的关于第一页面的访问请求;a first device, configured to receive an access request sent by the user equipment about the first page;
    第二装置,用于向所述用户设备返回对应的第一页面,其中,所述第一页面包括用于获取所述用户设备的当前地址信息的第一可执行模块;a second device, configured to return a corresponding first page to the user equipment, where the first page includes a first executable module for acquiring current address information of the user equipment;
    第三装置,用于根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的无线接入点的接入信息;a third device, configured to determine, according to the user equipment, the access information of the wireless access point corresponding to the user equipment by performing the current address information that is fed back by the first executable module;
    第四装置,用于将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接。And a fourth device, configured to provide the access information to the user equipment, where the user equipment establishes a wireless connection with a corresponding wireless access point.
  12. 根据权利要求11所述的设备,其中,所述第二装置用于:The apparatus of claim 11 wherein said second means is for:
    向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信息;Returning, to the user equipment, a corresponding first page, where the first page includes a first executable module, where the first executable module is configured to acquire current address information of the user equipment, and the user equipment First wireless access point information scanned by the current address information;
    其中,所述第三装置包括:Wherein the third device comprises:
    第一单元,用于根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;a first unit, configured to determine, according to the current address information that the user equipment feeds back by the first executable module, one or more candidate wireless access points that match the current address information;
    第二单元,用于根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。a second unit, configured to determine, according to the first wireless access point information that is sent by the user equipment by performing the first executable module, from the one or more candidate wireless access points The access information of the wireless access point corresponding to the user equipment.
  13. 根据权利要求12所述的设备,其中,所述第一无线接入点信息包括所述用户设备中无线接入点呈现界面的截图。The device of claim 12, wherein the first wireless access point information comprises a screenshot of a wireless access point presentation interface in the user device.
  14. 根据权利要求13所述的设备,其中,该设备还包括:The device of claim 13, wherein the device further comprises:
    第五装置,用于从所述截图中提取所述无线接入点呈现界面中无线接入点的接入点名称信息;a fifth device, configured to extract, from the screenshot, access point name information of a wireless access point in the wireless access point presentation interface;
    其中,所述第二单元用于:Wherein the second unit is used to:
    根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。 And determining, according to the access point name information, access information of a wireless access point corresponding to the user equipment from the one or more candidate wireless access points.
  15. 根据权利要求14所述的方法,其中,所述第五装置包括:The method of claim 14 wherein said fifth means comprises:
    第三单元,用于从所述截图中扫描识别无线信号指示符与字符串;a third unit, configured to scan and identify a wireless signal indicator and a character string from the screenshot;
    第四单元,用于将所述截图中与所述无线信号指示符平行且最接近的所述字符串记为所述无线信号指示符对应的无线接入点的接入点名称信息。And a fourth unit, configured to record, in the screenshot, the character string that is parallel and closest to the wireless signal indicator as the access point name information of the wireless access point corresponding to the wireless signal indicator.
  16. 根据权利要求15所述的方法,其中,所述第五装置还包括:The method of claim 15 wherein said fifth device further comprises:
    第五单元,用于将所述无线信号指示符与预定的信号强度模型相比较,以获得所述无线接入点的信号强度信息;a fifth unit, configured to compare the wireless signal indicator with a predetermined signal strength model to obtain signal strength information of the wireless access point;
    其中,所述第二单元用于:Wherein the second unit is used to:
    当所述信号强度信息满足预定的信号强度阈值信息,根据所述接入点名称信息从所述一个或多个候选无线接入点中确定与所述用户设备相对应的无线接入点的接入信息。When the signal strength information satisfies predetermined signal strength threshold information, determining, according to the access point name information, determining, from the one or more candidate wireless access points, a wireless access point corresponding to the user equipment Enter information.
  17. 根据权利要求11所述的设备,其中,所述第三装置包括:The apparatus of claim 11 wherein said third means comprises:
    第六单元,用于根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息确定与所述用户设备相对应的一个或多个无线接入点;a sixth unit, configured to determine, according to the current address information that is sent by the user equipment by performing the first executable module, one or more wireless access points corresponding to the user equipment;
    第七单元,用于生成第二页面,其中,所述第二页面包括关于所述一个或多个无线接入点中至少一个的第二可执行模块,所述第二可执行模块用于根据用户对所述一个或多个无线接入点中至少一个的选择操作向所述网络设备发送关于被选择的无线接入点的接入信息的接入信息请求;a seventh unit, configured to generate a second page, where the second page includes a second executable module for at least one of the one or more wireless access points, the second executable module is configured to The user's selection operation of at least one of the one or more wireless access points sends an access information request for access information of the selected wireless access point to the network device;
    第八单元,用于向所述用户设备返回所述第二页面;An eighth unit, configured to return the second page to the user equipment;
    第九单元,用于根据所述用户设备通过执行所述第二可执行模块所反馈的所述接入信息请求确定与所述被选择的无线接入点的接入信息。And a ninth unit, configured to determine, according to the access information request that the user equipment feeds back by the second executable module, the access information with the selected wireless access point.
  18. 根据权利要求17所述的设备,其中,所述第二页面为所述第一页面的更新页面。The device of claim 17, wherein the second page is an updated page of the first page.
  19. 根据权利要求17或18所述的设备,其中,所述第二装置用于:The device according to claim 17 or 18, wherein said second means is for:
    向所述用户设备返回对应的第一页面,其中,所述第一页面包括第一可执行模块,所述第一可执行模块用于获取所述用户设备的当前地址信息,以及所述用户设备在所述当前地址信息所扫描的第一无线接入点信 息;Returning, to the user equipment, a corresponding first page, where the first page includes a first executable module, where the first executable module is configured to acquire current address information of the user equipment, and the user equipment The first wireless access point letter scanned by the current address information interest;
    其中,所述第六单元用于:Wherein the sixth unit is used for:
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述当前地址信息,确定与所述当前地址信息相匹配的一个或多个候选无线接入点;Determining, according to the current address information that is fed back by the first executable module, the one or more candidate wireless access points that match the current address information;
    根据所述用户设备通过执行所述第一可执行模块所反馈的所述第一无线接入点信息,从所述一个或多个候选无线接入点中确定与所述用户设备相对应的一个或多个无线接入点。Determining, from the one or more candidate wireless access points, one of the user equipments according to the first wireless access point information fed back by the first executable module Or multiple wireless access points.
  20. 根据权利要求11至19中任一项所述的设备,其中,所述第四装置用于:Apparatus according to any one of claims 11 to 19, wherein said fourth means is for:
    将所述接入信息提供至所述用户设备,以供所述用户设备建立与对应无线接入点的无线连接;Providing the access information to the user equipment, where the user equipment establishes a wireless connection with a corresponding wireless access point;
    生成第三页面,其中,所述第三页面包括用于根据所述接入信息建立所述用户设备与对应无线接入点的无线连接的第三可执行模块;Generating a third page, where the third page includes a third executable module for establishing a wireless connection between the user equipment and a corresponding wireless access point according to the access information;
    向所述用户设备返回所述第三页面。 Returning the third page to the user device.
PCT/CN2016/070685 2015-10-29 2016-01-12 Method and device for establishing wireless connection WO2017071121A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510724373.8 2015-10-29
CN201510724373.8A CN106658666B (en) 2015-10-29 2015-10-29 Method and equipment for establishing wireless connection

Publications (1)

Publication Number Publication Date
WO2017071121A1 true WO2017071121A1 (en) 2017-05-04

Family

ID=58631261

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/070685 WO2017071121A1 (en) 2015-10-29 2016-01-12 Method and device for establishing wireless connection

Country Status (2)

Country Link
CN (1) CN106658666B (en)
WO (1) WO2017071121A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210051680A1 (en) * 2016-07-06 2021-02-18 Huawei Technologies Co., Ltd. Network connection configuration method and apparatus

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107222898A (en) * 2017-08-07 2017-09-29 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107567021B (en) * 2017-08-21 2021-08-27 上海掌门科技有限公司 Method and equipment for carrying out wireless connection pre-authorization on user equipment
CN107517461B (en) * 2017-08-21 2021-08-27 上海掌门科技有限公司 Method and equipment for carrying out wireless connection pre-authorization on user equipment
CN108135026B (en) * 2018-01-16 2022-02-25 上海尚往网络科技有限公司 Wi-Fi connection method, computer device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026459A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Terminal, system and method for searching service via geographical position information
US20090310585A1 (en) * 2008-06-16 2009-12-17 Skyhook Wireless, Inc. Methods and systems for determining location using a cellular and wlan positioning system by selecting the best wlan ps solution
CN103020247A (en) * 2012-12-18 2013-04-03 北京奇虎科技有限公司 Page presentation method and device
CN103051703A (en) * 2012-12-18 2013-04-17 北京奇虎科技有限公司 Geographical location information-based display method and geographical location information-based display device
CN103475996A (en) * 2013-08-19 2013-12-25 小米科技有限责任公司 Network connecting method, network sharing method and devices
CN104717721A (en) * 2015-02-27 2015-06-17 上海连尚网络科技有限公司 Wifi access system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103874018B (en) * 2014-02-21 2018-03-20 小米科技有限责任公司 Access-in point information sharing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101026459A (en) * 2006-02-17 2007-08-29 联想(北京)有限公司 Terminal, system and method for searching service via geographical position information
US20090310585A1 (en) * 2008-06-16 2009-12-17 Skyhook Wireless, Inc. Methods and systems for determining location using a cellular and wlan positioning system by selecting the best wlan ps solution
CN103020247A (en) * 2012-12-18 2013-04-03 北京奇虎科技有限公司 Page presentation method and device
CN103051703A (en) * 2012-12-18 2013-04-17 北京奇虎科技有限公司 Geographical location information-based display method and geographical location information-based display device
CN103475996A (en) * 2013-08-19 2013-12-25 小米科技有限责任公司 Network connecting method, network sharing method and devices
CN104717721A (en) * 2015-02-27 2015-06-17 上海连尚网络科技有限公司 Wifi access system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210051680A1 (en) * 2016-07-06 2021-02-18 Huawei Technologies Co., Ltd. Network connection configuration method and apparatus
US11533730B2 (en) * 2016-07-06 2022-12-20 Huawei Technologies Co., Ltd. Network connection configuration method and apparatus

Also Published As

Publication number Publication date
CN106658666B (en) 2022-01-04
CN106658666A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
US10111096B2 (en) AP connection method, terminal, and server
US9584529B2 (en) Method and system for obtaining peripheral information, and location proxy server
WO2017071121A1 (en) Method and device for establishing wireless connection
JP6686165B2 (en) Service execution method and device
US10743183B2 (en) Method and device for realizing wireless access point connection authentication
US9378437B2 (en) Sending print jobs using trigger distances
WO2016101635A1 (en) Method, apparatus and device for synchronizing login status, and computer storage medium
WO2017071122A1 (en) Method and device for acquiring access information of wireless access point
US9497563B2 (en) Mobile device activation
WO2017020554A1 (en) Method and device for providing wireless access point
WO2017071120A1 (en) Method and device for establishing wireless connection
US11172520B2 (en) Connection method and device
CN107690175B (en) Method and equipment for managing wireless access point
JP2017526995A (en) Dual channel identification and authentication
JP2010501914A (en) Email form engine for mobile devices
KR20190069574A (en) Wireless network type detection method and apparatus, and electronic device
US20120143943A1 (en) Cloud service system and method, and recording medium
US20160094724A1 (en) Provisioning a trial service to a mobile device
WO2017121283A1 (en) Payment method and system, payment conversion method and payment conversion device
WO2015043451A1 (en) Method and device for displaying patterning page in cgs mode
WO2021084241A1 (en) Method, system and computer program for registering a user with a third-party service
WO2019179476A1 (en) Wireless access point related information providing and acquisition method
CN109388917B (en) Hardware equipment authentication method, device, equipment and storage medium
CN106209742B (en) Security verification method and system
KR101636708B1 (en) Web site verification apparatus using two channel certification and method thereof

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: 16858572

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 1205N DATED 16.08.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16858572

Country of ref document: EP

Kind code of ref document: A1