CN108601064B - Method for providing and acquiring related information of wireless access point - Google Patents

Method for providing and acquiring related information of wireless access point Download PDF

Info

Publication number
CN108601064B
CN108601064B CN201810245706.2A CN201810245706A CN108601064B CN 108601064 B CN108601064 B CN 108601064B CN 201810245706 A CN201810245706 A CN 201810245706A CN 108601064 B CN108601064 B CN 108601064B
Authority
CN
China
Prior art keywords
access point
wireless access
url
information
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810245706.2A
Other languages
Chinese (zh)
Other versions
CN108601064A (en
Inventor
程翰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Shangxiang Network Technology Co.,Ltd.
Original Assignee
Shanghai Shangxiang Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Shangxiang Network Technology Co ltd filed Critical Shanghai Shangxiang Network Technology Co ltd
Priority to CN201810245706.2A priority Critical patent/CN108601064B/en
Publication of CN108601064A publication Critical patent/CN108601064A/en
Priority to PCT/CN2019/078934 priority patent/WO2019179476A1/en
Application granted granted Critical
Publication of CN108601064B publication Critical patent/CN108601064B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The application provides a method for providing and acquiring related information of a wireless access point, which comprises the following steps: the wireless device obtains and accesses a Uniform Resource Locator (URL); and acquiring the wireless access point related information returned by the server according to the URL, wherein the wireless access point related information comprises wireless access point identification information and wireless access point access information. By the method, the user can acquire the related information of the wireless access point through the URL and further access the wireless access point, the URL does not need to contain the access information of the wireless access point, and the access information is only stored in the server, so that the safety is improved.

Description

Method for providing and acquiring related information of wireless access point
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of internet applications, and in particular, to a method for providing and acquiring information related to a wireless access point.
[ background of the invention ]
In the prior art, a wireless access point owner provides a wireless network, for example, in an application scenario where a merchant provides a client, a host provides a guest, and the like, a user generally posts or dictates an SSID and a connection password of a wireless access point to the user, so that the user manually searches for a nearby wireless access point, selects a wireless access point corresponding to the SSID, and accesses the wireless access point provided by the wireless access point owner based on the connection password manually input by the user, and the client needs to perform multi-step operations, which is cumbersome. And, because the wireless access point password is disclosed, the security is poor.
[ summary of the invention ]
Aspects of the present disclosure provide a method for providing and acquiring information related to a wireless access point, so as to improve the access efficiency of the wireless access point.
In one aspect of the present application, a method for acquiring information related to a wireless access point is provided, including:
the wireless device obtains and accesses a Uniform Resource Locator (URL);
and acquiring the wireless access point related information returned by the server according to the URL, wherein the wireless access point related information comprises wireless access point identification information and wireless access point access information.
In one aspect of the present application, a method for providing information related to a wireless access point is provided, including:
the server acquires the wireless access point related information uploaded by a wireless access point provider, allocates an ID for the wireless access point related information and stores the ID; the wireless access point related information comprises wireless access point identification information and wireless access point access information;
and generating a URL according to the ID of the wireless access point related information, so that the wireless equipment can acquire the wireless access point related information according to the URL and access the wireless access point.
In one aspect of the present application, a method for providing information related to a wireless access point is provided, including:
the server receives an access request sent by the wireless equipment according to the URL;
searching relevant information of a corresponding wireless access point according to the ID contained in the URL; the wireless access point related information comprises wireless access point identification information and wireless access point access information;
and sending the related information of the wireless access point to the wireless equipment so that the wireless equipment establishes connection with a network through the wireless access point.
In another aspect of the present application, there is provided an apparatus, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement any of the above-described methods.
In another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements any of the above-mentioned methods.
According to the technical scheme, the user can obtain the related information of the wireless access point through the URL and further access the wireless access point, the URL does not need to contain the access information of the wireless access point, and the access information is only stored in the server, so that the safety is improved.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can also obtain other drawings according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating a method for acquiring information related to a wireless access point according to an embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a method for providing information related to a wireless access point according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for providing information related to a wireless access point according to an embodiment of the present application;
FIG. 4 is a block diagram of an exemplary computer system/server suitable for use in implementing embodiments of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Fig. 1 is a schematic flowchart of a method for acquiring information related to a wireless access point according to an embodiment of the present application, as shown in fig. 1, including the following steps:
step S11, the wireless device scans a two-dimensional code, wherein the two-dimensional code comprises a URL for acquiring the related information of the wireless access point;
step S12, analyzing the two-dimension code, and acquiring and accessing a URL corresponding to the two-dimension code;
and step S13, acquiring the related information of the wireless access point returned by the server according to the URL, wherein the related information of the wireless access point comprises the identification information of the wireless access point and the access information of the wireless access point.
The execution subject of the method shown in fig. 1 may be a client installed in a wireless device.
The wireless device includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with a user and can implement a wireless communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The intelligent terminal device can adopt any operating system, such as an Android operating system, an iOS operating system, a Windows operating system and the like.
The network device is a server, and includes but is not limited to a cloud service device, a remote storage service device, and the like. In a preferred embodiment of the present application, preferably, the server is a cloud service device.
The wireless access point may be an AP, a terminal device hotspot, etc., that provides wireless network access services. The wireless network includes, but is not limited to, a wireless local area network based on IEEE802.11 series standard protocols, for example, a wireless local area network based on IEEE802.11n protocol and IEEE802.11ac protocol, which is called a wireless access point network, and a wireless device can access a corresponding wireless network through the wireless access point. In the following embodiments of the present invention, a wireless access point accessing a wireless access point network is taken as an example for description.
In one preferred implementation of step S11,
preferably, the two-dimensional code is generated by a server, and the format of the two-dimensional code is uniform Resource locator url (uniform Resource locator), that is, the two-dimensional code exists in a network link form. The URL comprises an ID corresponding to the wireless access point related information, and the ID is used for the wireless equipment to acquire the wireless access point related information from the server. The ID is generated by the server for the related information of the wireless access point, and the server stores the related information of the wireless access point, including the identification information of the wireless access point, the access information of the wireless access point and the like, in the server and uniquely determines the ID.
In a preferred embodiment of the present invention, the format of the two-dimensional code may be http:// domain name? ...&The ID is "ID information", in which a domain name can be arbitrarily set, for example,http:// www. Wireless Access Point. com/Wireless Access Point master. The ID information is the ID corresponding to the wireless access point related information.
In a preferred embodiment of the present invention, the two-dimensional code further includes guide information for guiding the start/download of a specific client. The URL is encoded by adopting a preset encoding and decoding rule, and a specified client installed in the wireless equipment can identify the code to obtain the URL corresponding to the two-dimensional code; the other clients cannot recognize the code, and the obtained guiding information is used for guiding the starting/downloading of the appointed client.
And encoding the URL in the two-dimensional code by adopting a preset encoding and decoding rule, and only a specified client installed in the wireless equipment can identify the encoded URL and decode the URL to obtain an actual URL. The other clients cannot identify the encoded URL, but identify the encoded URL as a common URL, the URL points to a static webpage, the static webpage comprises guiding information for guiding starting/downloading of the specified client, and the guiding information comprises an internal calling address and a downloading address of the specified client. Specifically, with a hidden Iframe (embedded framework) of a web page, an internal calling address pointing to a specified client, and a download address of the specified client.
The wireless Access point identification information preferably includes an SSID of the wireless Access point, the SSID being used to identify a wireless network to which the wireless Access point corresponds, and further may be further refined into a BSSID (Basic Service Set Identifier) and an ESSID (Extended Service Set Identifier).
Preferably, the access information of the wireless access point includes an access password of the wireless access point, and may further include information such as an authentication type of the wireless access point and whether a Service Set Identifier (SSID) is hidden.
Preferably, the authentication type of the wireless access point includes a portal authentication manner.
The Portal authentication is also called web authentication, when a user needs to use other information in the internet, the user must perform authentication on a Portal website, and only after the authentication is passed, internet resources can be used.
Preferably, the wireless device-installed client scans the two-dimensional code. The two-dimensional code can be a two-dimensional code picture displayed by a client installed in other wireless equipment, a printed two-dimensional code picture, or a two-dimensional code picture received and stored from other wireless equipment. The client installed on the wireless equipment calls a camera of the wireless equipment to scan the two-dimensional code picture or directly identifies the two-dimensional code picture stored in the local machine.
In one preferred implementation of step S12,
preferably, after scanning the two-dimensional code, the client installed in the wireless device analyzes the two-dimensional code, and acquires and accesses the URL corresponding to the two-dimensional code.
Preferably, the wireless device sends an access request to the server for access to the URL. Preferably, the wireless device completes sending the access request based on a currently existing data communication mode, for example, completes sending the access request based on an already opened mobile communication network, such as a 3G network, a 4G network, and the like; for another example, the sending of the access request is completed based on an already opened wireless local area network, such as a wireless access point network.
Accordingly, the server receives a request for access to the URL by the wireless device.
Preferably, since various applications installed on the wireless device can scan and parse the two-dimensional code, the server needs to determine the source of the received access request, such as whether the received access request is a client transmission, a client type, a client version, and the like.
The server judges whether the access request is sent by the client or not through an encryption and decryption means or a communication protocol negotiated with the client in advance.
And if the access request is sent by other clients, inquiring whether the user wants to download the client, and if the user inputs a confirmation instruction, downloading and installing the client. Similarly, if a client with a lower version is installed in the system, the client can be downloaded and installed to cover the client.
And if the access request is sent by the client, searching the related information of the corresponding wireless access point according to the ID contained in the access request.
Specifically, the server stores a large amount of wireless access points and related information corresponding to the wireless access points. The access information of the wireless access point stored in the server is provided by sharing by the user. The related information of each wireless access point stored in the server is uniquely determined by an ID.
In a preferred embodiment of the present invention,
and if the started current scanning program is the appointed client, acquiring the URL contained in the two-dimensional code after analyzing the two-dimensional code, and accessing the URL.
If the started current scanning program is not the appointed client but other application clients capable of scanning the two-dimensional code, the two-dimensional code is analyzed and the guide information is acquired, the appointed client is called according to the guide information to analyze the two-dimensional code, the URL contained in the two-dimensional code is acquired, and the URL is accessed.
If the wireless equipment is not provided with the appointed client side, the calling is failed, the appointed client side is downloaded and installed according to the download address of the appointed client side, and the appointed client side is used for scanning the two-dimensional code.
Preferably, the download address of the client is accessed, and before downloading the client, the user may be asked whether to download the client, and if the user inputs a confirmation instruction, the client is downloaded and installed. Similarly, if a client with a lower version is installed in the system, the installation coverage can be downloaded. And enabling the client side which is successfully installed to analyze the two-dimensional code, acquiring the URL contained in the two-dimensional code, and accessing the URL.
In one preferred implementation of step S13,
preferably, the client acquisition server of the wireless device displays the accessible prompt information of the wireless access point on the wireless access point list of the client based on the wireless access point identification information in the related information of the wireless access point returned by the URL. For example, the accessible prompting information is represented by a certain graphic identifier, which prompts the user that the related information of the corresponding wireless access point is obtained, thereby facilitating the user to further select the wireless access point for access.
Preferably, the client acquisition server of the wireless device interacts with the wireless access point module of the wireless device based on the wireless access point identification information in the related information of the wireless access point returned by the URL, and displays the accessible prompt information of the wireless access point on the system native wireless access point list of the wireless device. For example, the accessible prompting information is represented by a certain graphic identifier, which prompts the user that the related information of the corresponding wireless access point is obtained, thereby facilitating the user to further select the wireless access point for access.
Preferably, the user selects a wireless access point presented on the client's list of wireless access points or selects a wireless access point presented on the system-native list of wireless access points of the wireless device to establish a wireless connection with the wireless access point. The wireless device establishes a wireless connection with the wireless access point, for example, by clicking on an establish connection button.
The establishment of the wireless connection can be that a user selects 'safe connection' at a client, the client automatically initiates a connection request to the wireless access point based on the access information of the wireless access point, and the whole connection process automatically runs in the background;
the establishment of the wireless connection may be that a password of the wireless access point is presented to a user corresponding to the wireless device, for example, the password is sent to the client in an in-application prompt message manner, and then the user performs wireless connection based on the acquired access information, for example, the user sends a connection request to the wireless access point in a manner of manually inputting connection password information.
Preferably, the mobile device obtains the information about the wireless access point, the wireless access point does not need to be presented on a wireless access point list of the client or a system native wireless access point list of the wireless device, based on the obtained wireless access point access information, a connection request is automatically initiated to the wireless access point corresponding to the obtained wireless access point identification information, and the whole connection process automatically runs in the background.
Preferably, in the portal authentication mode, the mobile device does not need to input a password to connect to the wireless access point, and the establishment of the wireless connection may be that the user clicks a connection establishment button to establish a wireless connection between the wireless device and the wireless access point. Preferably, the mobile device automatically initiates a connection request to the wireless access point, and the whole connection process automatically runs in the background.
When the mobile equipment is connected with a network provided by the wireless access point, the mobile equipment pops up a web authentication page/authentication dialog box to prompt a user to carry out portal authentication.
Preferably, the mobile device calls a web browser and sends an http request for accessing a preset internet address; the http request can be redirected to a Web authentication page/authentication dialog box of a Portal server by a wireless access point; the user inputs authentication information in the authentication homepage/authentication dialog box, for example, an authentication mode that a mobile phone number obtains a verification code is adopted, and the Portal server transmits the authentication information of the user to the wireless access point; wireless access points allow users to access the internet.
In a preferred embodiment of the invention, the mobile terminal accesses the URL, enters a page authorizing connection to the current wireless access point, displays in said page the information about the wireless access point returned by the server based on said URL, clicks a button in said page indicating "connect", and establishes a connection to the network via the wireless access point.
Preferably, the mobile terminal accesses the URL, enters a page authorized to connect with the current wireless access point, establishes connection with the network through the wireless access point according to the relevant information of the wireless access point returned by the server based on the URL, and displays the prompt information that the connection with the network has been established through the wireless access point on the current page.
Fig. 2 is a flowchart illustrating a method for providing information related to a wireless access point according to a second embodiment of the present application, as shown in fig. 2, including the following steps:
in step S21, the server obtains the information about the wireless access point uploaded by the wireless access point provider; distributing and storing an ID for the related information of the wireless access point; the wireless access point related information comprises wireless access point identification information and wireless access point access information;
in step S22, generating a URL based on the ID of the wireless access point-related information;
in step S23, a two-dimensional code is generated according to the URL, so that the wireless device can access the wireless access point by scanning the two-dimensional code.
The execution subject of the method shown in fig. 2 may be a server.
The network device is a server, and includes but is not limited to a cloud service device, a remote storage service device, and the like. In a preferred embodiment of the present application, preferably, the server is a cloud service device.
The wireless device includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with a user and can implement a wireless communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The intelligent terminal device can adopt any operating system, such as an Android operating system, an iOS operating system, a Windows operating system and the like.
The wireless access point may be an AP, a terminal device hotspot, etc., that provides wireless network access services. The wireless network includes, but is not limited to, a wireless local area network based on IEEE802.11 series standard protocols, for example, a wireless local area network based on IEEE802.11n protocol and IEEE802.11ac protocol, which is called a wireless access point network, and a wireless device can access a corresponding wireless network through the wireless access point. In the following embodiments of the present invention, a wireless access point accessing a wireless access point network is taken as an example for description.
In one preferred implementation of step S21,
the server acquires the related information of the wireless access point uploaded by a wireless access point provider through a client installed by user equipment;
preferably, the wireless access point provider can upload the related information of the wireless access point through a management interface of a client installed in the user equipment; the management interface is displayed in a form of a popup window or a page.
Preferably, the wireless access point related information includes: wireless access point identification information, wireless access point access information.
The wireless Access point identification information preferably includes an SSID of the wireless Access point, the SSID being used to identify a wireless network to which the wireless Access point corresponds, and further may be further refined into a BSSID (Basic Service Set Identifier) and an ESSID (Extended Service Set Identifier).
Preferably, the access information of the wireless access point includes an access password of the wireless access point, and may further include information such as an authentication type of the wireless access point and whether a Service Set Identifier (SSID) is hidden.
Preferably, the authentication type of the wireless access point includes a portal authentication manner. Portal authentication is also called web authentication, and when a user needs to use other information in the Internet, authentication must be carried out on a Portal website, and only after the authentication is passed, Internet resources can be used.
The server stores the acquired wireless access point related information, including wireless access point identification information and wireless access point access information, in the server, and uniquely determines the information by using the ID. The server may look up and determine wireless access point related information based on the ID.
Preferably, the server obtains the wireless access point related information uploaded by the wireless access point provider through the client installed in the user equipment based on a currently existing data communication mode, for example, an opened mobile communication network, such as a 3G network, a 4G network, and the like, or an opened wireless local area network, such as a wireless access point network, and the like.
In one preferred implementation of step S22,
the server generates a URL according to the ID of the related information of the wireless access point;
preferably, the URL includes an ID corresponding to the related information of the wireless access point, so that the wireless device can obtain the related information of the wireless access point from the server.
In a preferred embodiment of the present invention, the format of the two-dimensional code may be http:// domain name? ...&The ID is "ID information", in which a domain name can be arbitrarily set, for example,http:// www. Wireless Access Point. com/Wireless Access Point master. The ID information is the ID corresponding to the wireless access point related information.
In a preferred embodiment of the present invention, the two-dimensional code further includes guide information for guiding the start/download of a specific client. The URL is encoded by adopting a preset encoding and decoding rule, and a specified client installed in the wireless equipment can identify the code to obtain a corresponding URL; the other clients cannot recognize the code, and the obtained guiding information is used for guiding the starting/downloading of the appointed client.
And encoding the URL in the two-dimensional code by adopting a preset encoding and decoding rule, and only a specified client installed in the wireless equipment can identify the encoded URL and decode the URL to obtain an actual URL. The other clients cannot identify the encoded URL, but identify the URL as a common URL, the URL points to a static webpage, the static webpage comprises guiding information for guiding the starting/downloading of the specified client, and the guiding information comprises an internal calling address and a downloading address of the specified client. Specifically, with a hidden Iframe (embedded framework) of a web page, an internal calling address pointing to a specified client, and a download address of the specified client.
In one preferred implementation of step S23,
and generating a two-dimensional code according to the URL, and deriving the two-dimensional code.
Preferably, the server sends the two-dimensional code to a wireless access point provider, and the two-dimensional code is printed, displayed or sent to other wireless devices by the wireless access point provider.
After scanning the two-dimensional code, the client installed on other wireless equipment analyzes the two-dimensional code, and acquires and accesses the URL corresponding to the two-dimensional code; and the acquisition server establishes connection with the network through the wireless access point according to the related information of the wireless access point returned by the URL.
Fig. 3 is a flowchart illustrating a method for providing information related to a wireless access point according to an embodiment of the present application, as shown in fig. 3, including the following steps:
in step S31, the server receives an access request sent by the wireless device according to the URL acquired after scanning the two-dimensional code;
in step S32, the server searches for relevant information of the corresponding wireless access point according to the ID contained in the URL; the wireless access point related information comprises wireless access point identification information and wireless access point access information;
in step S33, the server sends the information about the wireless access point to the wireless device, so that the wireless device establishes a connection with the network through the wireless access point.
The execution subject of the method shown in fig. 3 may be a server.
The network device is a server, and includes but is not limited to a cloud service device, a remote storage service device, and the like. In a preferred embodiment of the present application, preferably, the server is a cloud service device.
The wireless device includes, but is not limited to, any intelligent terminal device that can perform human-computer interaction with a user and can implement a wireless communication function, such as a smart phone, a tablet computer, a notebook computer, and the like. The intelligent terminal device can adopt any operating system, such as an Android operating system, an iOS operating system, a Windows operating system and the like.
The wireless access point may be an AP, a terminal device hotspot, etc., that provides wireless network access services. The wireless network includes, but is not limited to, a wireless local area network based on IEEE802.11 series standard protocols, for example, a wireless local area network based on IEEE802.11n protocol and IEEE802.11ac protocol, which is called a wireless access point network, and a wireless device can access a corresponding wireless network through the wireless access point. In the following embodiments of the present invention, a wireless access point accessing a wireless access point network is taken as an example for description.
In one preferred implementation of step S31,
the server receives an access request sent by the wireless equipment after scanning the two-dimensional code;
the wireless device scans a two-dimensional code, which contains a URL for obtaining information related to the wireless access point. The URL comprises an ID corresponding to the wireless access point related information, and the ID is used for the wireless equipment to acquire the wireless access point related information from the server. The ID is generated by the server for the related information of the wireless access point, and the server stores the related information of the wireless access point, including the identification information of the wireless access point, the access information of the wireless access point and the like, in the server and uniquely determines the ID.
In a preferred embodiment of the present invention, the format of the two-dimensional code may be http:// domain name? ...&The ID is "ID information", in which a domain name can be arbitrarily set, for example,http:// www. Wireless Access Point. com/Wireless Access Point master. The ID information is the ID corresponding to the wireless access point related information.
In a preferred embodiment of the present invention, the two-dimensional code further includes guidance information for guiding the start of a specified client. The URL is encoded by adopting a preset encoding and decoding rule, and a specified client installed in the wireless equipment can identify the code to obtain a corresponding URL; the other clients cannot recognize the code, and the obtained guiding information is used for guiding the starting/downloading of the appointed client.
And encoding the URL in the two-dimensional code by adopting a preset encoding and decoding rule, and only a specified client installed in the wireless equipment can identify the encoded URL and decode the URL to obtain an actual URL. The other clients cannot identify the encoded URL, but identify the URL as a common URL, the URL points to a static webpage, the static webpage comprises guiding information used for guiding the starting/downloading of the specified client, and the guiding information comprises an internal calling address and a downloading address of the specified client. Specifically, with a hidden Iframe (embedded framework) of a web page, an internal calling address pointing to a specified client, and a download address of the specified client.
Preferably, the server receives an access request sent by the wireless device after scanning the two-dimensional code, based on a currently existing data communication mode, for example, an opened mobile communication network, such as a 3G network, a 4G network, and the like, or an opened wireless local area network, such as a wireless access point network, and the like.
Preferably, since various applications (clients) installed on the wireless device can scan and parse the two-dimensional code, the server needs to determine the source of the received access request, such as whether it is a specific client transmission, a specific client type, a specific client version, and the like.
The server judges whether the access request is sent by the appointed client side or not through an encryption and decryption means or a communication protocol negotiated with the appointed client side in advance.
And if the access request is sent by other applications, inquiring whether the user wants to download the specified client, and if the user inputs a confirmation instruction, downloading and installing the specified client. Similarly, if the lower version of the designated client is installed in the system, the client with the lower version is only required to be downloaded and installed to cover the lower version client.
And if the access request is sent by a specified client, searching the relevant information of the corresponding wireless access point according to the ID contained in the access request.
In a preferred embodiment of the present invention, the ID in the two-dimensional code is encoded by using a preset encoding and decoding rule, and only a client installed in the wireless device can identify the encoded ID and decode the ID to obtain the actual URL. Therefore, the server does not need to judge the source of the received access request any more, and directly searches the related information of the corresponding wireless access point according to the ID contained in the access request.
In one preferred implementation of step S32,
and the server searches the related information of the corresponding wireless access point according to the ID contained in the access request. Specifically, the server stores a large amount of wireless access points and related information corresponding to the wireless access points. The access information of the wireless access point stored in the server is provided by sharing by the user. The related information of each wireless access point stored in the server is uniquely determined by an ID.
The wireless Access point identification information preferably includes an SSID of the wireless Access point, the SSID being used to identify a wireless network to which the wireless Access point corresponds, and further may be further refined into a BSSID (Basic Service Set Identifier) and an ESSID (Extended Service Set Identifier).
Preferably, the access information of the wireless access point includes an access password of the wireless access point, and may further include information such as an authentication type of the wireless access point and whether a Service Set Identifier (SSID) is hidden.
Preferably, the authentication type of the wireless access point includes a portal authentication manner.
The Portal authentication is also called web authentication, when a user needs to use other information in the internet, the user must perform authentication on a Portal website, and only after the authentication is passed, internet resources can be used.
In one preferred implementation of step S33,
and the server sends the related information of the wireless access point to the wireless equipment so that the wireless equipment establishes connection with a network through the wireless access point.
In the embodiment of the invention, the user can access the wireless access point by scanning the two-dimensional code, the two-dimensional code does not need to contain access information of the wireless access point, and the access information is only stored in the server, so that the safety is improved; and the application of scanning the two-dimensional code can be limited, and the utilization rate of the client is improved.
Fig. 4 illustrates a block diagram of an exemplary computer system/server 012 suitable for use in implementing embodiments of the invention. The computer system/server 012 shown in fig. 4 is only an example, and should not bring any limitation to the function and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the computer system/server 012 is embodied as a general purpose computing device. The components of computer system/server 012 may include, but are not limited to: one or more processors or processing units 016, a system memory 028, and a bus 018 that couples various system components including the system memory 028 and the processing unit 016.
Bus 018 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer system/server 012 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 012 and includes both volatile and nonvolatile media, removable and non-removable media.
System memory 028 can include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)030 and/or cache memory 032. The computer system/server 012 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 034 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be connected to bus 018 via one or more data media interfaces. Memory 028 can include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the present invention.
Program/utility 040 having a set (at least one) of program modules 042 can be stored, for example, in memory 028, such program modules 042 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof might include an implementation of a network environment. Program modules 042 generally perform the functions and/or methodologies of embodiments of the present invention as described herein.
The computer system/server 012 may also communicate with one or more external devices 014 (e.g., keyboard, pointing device, display 024, etc.), hi the present invention, the computer system/server 012 communicates with an external radar device, and may also communicate with one or more devices that enable a user to interact with the computer system/server 012, and/or with any device (e.g., network card, modem, etc.) that enables the computer system/server 012 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 022. Also, the computer system/server 012 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 020. As shown in fig. 4, the network adapter 020 communicates with the other modules of the computer system/server 012 via bus 018. It should be appreciated that although not shown in fig. 4, other hardware and/or software modules may be used in conjunction with the computer system/server 012, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 016 executes the programs stored in the system memory 028, thereby performing the functions and/or methods of the described embodiments of the present invention.
The computer program described above may be provided in a computer storage medium encoded with a computer program that, when executed by one or more computers, causes the one or more computers to perform the method flows and/or apparatus operations shown in the above-described embodiments of the invention.
With the development of time and technology, the meaning of media is more and more extensive, and the propagation path of computer programs is not limited to tangible media any more, and can also be downloaded from a network directly and the like. Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (13)

1. A method for obtaining information related to a wireless access point, comprising:
the wireless equipment scans a two-dimensional code, wherein the two-dimensional code comprises a Uniform Resource Locator (URL) for acquiring related information of a wireless access point, and the two-dimensional code also comprises guide information for guiding starting/downloading of a specified client;
the two-dimensional code encodes the URL by adopting a preset encoding and decoding rule, and only a specified client installed in the wireless equipment can identify the encoded URL and decode the URL to obtain an actual URL; the other clients can not identify the encoded URL, but identify the encoded URL as a common URL, the URL points to a static webpage, the static webpage comprises guiding information for guiding the starting/downloading of the specified client, and the guiding information comprises an internal calling address and a downloading address of the specified client; wherein, a hidden embedded frame of a webpage is used for pointing to an internal calling address and a downloading address of a specified client;
the appointed client side of the wireless equipment analyzes the two-dimensional code, acquires a URL corresponding to the two-dimensional code, and sends an access request of the URL acquired after scanning the two-dimensional code to a server, wherein the URL comprises an ID corresponding to the related information of the wireless access point, and the ID is generated by the server to uniquely determine the related information of the wireless access point;
the server judges whether the access request is sent by a specified client, the type of the specified client and the version of the specified client through an encryption and decryption means or a communication protocol negotiated with the specified client in advance;
when the server determines that the access request is sent by the appointed client, the server searches corresponding wireless access point related information according to the ID included in the URL and returns the wireless access point related information, wherein the wireless access point related information comprises wireless access point identification information and wireless access point access information; the server stores the wireless access point related information and the ID allocated to the wireless access point related information.
2. The method of claim 1,
the method further comprises the following steps: and establishing connection with a network through the wireless access point according to the related information of the wireless access point.
3. The method of claim 1, wherein the wireless access point access information comprises an access password of the wireless access point, and further comprising at least one of:
authentication type, encryption mode and hidden SSID of the wireless access point.
4. The method of claim 1, wherein accessing a Uniform Resource Locator (URL) comprises: and sending an access request for accessing the URL to the server so that the server searches and returns corresponding wireless access point information according to the ID included in the URL.
5. A method for providing information related to a wireless access point, comprising:
the server acquires the wireless access point related information uploaded by a wireless access point provider, allocates an ID for the wireless access point related information and stores the ID; the wireless access point related information comprises wireless access point identification information and wireless access point access information;
generating a URL according to the ID of the related information of the wireless access point, and generating a two-dimensional code according to the URL so that wireless equipment can access the wireless access point by scanning the two-dimensional code; the two-dimensional code comprises a Uniform Resource Locator (URL) for acquiring related information of the wireless access point, and the two-dimensional code also comprises guiding information for guiding starting/downloading of a specified client; the two-dimensional code encodes the URL by adopting a preset encoding and decoding rule, and only a specified client installed in the wireless equipment can identify the encoded URL and decode the URL to obtain an actual URL; the other clients can not identify the encoded URL, but identify the encoded URL as a common URL, the URL points to a static webpage, the static webpage comprises guiding information for guiding the starting/downloading of the specified client, and the guiding information comprises an internal calling address and a downloading address of the specified client; wherein, a hidden embedded frame of a webpage is used for pointing to an internal calling address and a downloading address of a specified client;
the server receives an access request sent by the wireless equipment according to the URL acquired after the two-dimensional code is scanned, and judges whether the access request is sent by a specified client, the type of the specified client and the version of the specified client through an encryption and decryption means or a communication protocol negotiated with the specified client in advance;
and when the server determines that the access request is sent by the specified client, the server searches the relevant information of the corresponding wireless access point according to the ID included in the URL and returns the relevant information of the wireless access point so that the wireless equipment can access the wireless access point.
6. The method of claim 5,
the URL comprises an ID corresponding to the related information of the wireless access point;
the ID is generated by the server to uniquely determine the wireless access point related information.
7. The method of claim 5, wherein the wireless access point access information comprises an access password of the wireless access point, and further comprising at least one of:
authentication type, encryption mode and hidden SSID of the wireless access point.
8. A method for providing information related to a wireless access point, wherein a server stores the information related to the wireless access point and an ID assigned to the information related to the wireless access point, the method comprising:
the server receives an access request sent by the wireless equipment according to the URL acquired after the two-dimensional code is scanned; the two-dimensional code comprises a Uniform Resource Locator (URL) for acquiring related information of the wireless access point, and the two-dimensional code also comprises guiding information for guiding starting/downloading of a specified client; wherein
The two-dimensional code encodes the URL by adopting a preset encoding and decoding rule, and only a specified client installed in the wireless equipment can identify the encoded URL and decode the encoded URL to obtain an actual URL; the other clients can not identify the encoded URL, but identify the encoded URL as a common URL, the URL points to a static webpage, the static webpage comprises guiding information for guiding the starting/downloading of the specified client, and the guiding information comprises an internal calling address and a downloading address of the specified client; wherein, a hidden embedded frame of a webpage is used for pointing to an internal calling address and a downloading address of a specified client;
the server judges whether the access request is sent by a specified client, the type of the specified client and the version of the specified client through an encryption and decryption means or a communication protocol negotiated with the specified client in advance;
if the access request is sent by the appointed client, searching relevant information of a corresponding wireless access point according to the ID contained in the URL; the wireless access point related information comprises wireless access point identification information and wireless access point access information;
and sending the related information of the wireless access point to the wireless equipment so that the wireless equipment establishes connection with a network through the wireless access point.
9. The method of claim 8,
the URL comprises an ID corresponding to the related information of the wireless access point;
the ID is generated by the server to uniquely determine the wireless access point related information.
10. The method of claim 8,
the wireless access point access information comprises an access password of the wireless access point, and further comprises at least one of the following items:
authentication type, encryption mode and hidden SSID of the wireless access point.
11. The method of claim 8, further comprising:
and if the access request is not sent by the specified client, inquiring whether the user wants to download the specified client.
12. An apparatus for providing information relating to a wireless access point, the apparatus comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-11.
13. A computer-readable storage medium providing information about wireless access points, on which a computer program is stored which, when executed by a processor, causes the processor to carry out the method according to any one of claims 1-11.
CN201810245706.2A 2018-03-23 2018-03-23 Method for providing and acquiring related information of wireless access point Active CN108601064B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810245706.2A CN108601064B (en) 2018-03-23 2018-03-23 Method for providing and acquiring related information of wireless access point
PCT/CN2019/078934 WO2019179476A1 (en) 2018-03-23 2019-03-20 Wireless access point related information providing and acquisition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810245706.2A CN108601064B (en) 2018-03-23 2018-03-23 Method for providing and acquiring related information of wireless access point

Publications (2)

Publication Number Publication Date
CN108601064A CN108601064A (en) 2018-09-28
CN108601064B true CN108601064B (en) 2022-02-18

Family

ID=63627338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810245706.2A Active CN108601064B (en) 2018-03-23 2018-03-23 Method for providing and acquiring related information of wireless access point

Country Status (2)

Country Link
CN (1) CN108601064B (en)
WO (1) WO2019179476A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108601064B (en) * 2018-03-23 2022-02-18 上海尚往网络科技有限公司 Method for providing and acquiring related information of wireless access point
CN114980270A (en) * 2022-05-12 2022-08-30 上海华客信息科技有限公司 WIFI connection management method, system, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717218A (en) * 2015-03-19 2015-06-17 北京云安世纪科技有限公司 Wifi certification system and method
CN105025486A (en) * 2014-04-28 2015-11-04 腾讯科技(深圳)有限公司 Network connection method and user equipment
CN105392136A (en) * 2014-09-09 2016-03-09 中兴通讯股份有限公司 Method and device for access to router based on two-dimensional code
CN108093461A (en) * 2017-12-14 2018-05-29 上海连尚网络科技有限公司 A kind of method for connecting wireless access point

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461605A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Application downloading method and electronic devices
CN104378758B (en) * 2014-05-12 2016-08-17 腾讯科技(深圳)有限公司 Access point method of attachment, terminal and server
CN105246075B (en) * 2014-07-09 2017-09-12 腾讯科技(深圳)有限公司 access point connection method and device
CN105472694B (en) * 2014-09-05 2020-04-07 腾讯科技(深圳)有限公司 Method, device, terminal and storage medium for accessing WiFi through scanning two-dimensional code
CN104320861B (en) * 2014-11-04 2016-06-01 腾讯科技(深圳)有限公司 Wireless connecting establishment method, device, terminating unit, application server and system
CN106161596A (en) * 2016-06-24 2016-11-23 青岛海信移动通信技术股份有限公司 The method for down loading of a kind of application program and device
CN107016125A (en) * 2017-04-28 2017-08-04 维沃移动通信有限公司 Quick Response Code matching process, terminal and terminal server
CN107506114A (en) * 2017-09-01 2017-12-22 洛阳市恒凯网络技术服务有限公司 A kind of method for displaying network information
CN108601064B (en) * 2018-03-23 2022-02-18 上海尚往网络科技有限公司 Method for providing and acquiring related information of wireless access point

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105025486A (en) * 2014-04-28 2015-11-04 腾讯科技(深圳)有限公司 Network connection method and user equipment
CN105392136A (en) * 2014-09-09 2016-03-09 中兴通讯股份有限公司 Method and device for access to router based on two-dimensional code
CN104717218A (en) * 2015-03-19 2015-06-17 北京云安世纪科技有限公司 Wifi certification system and method
CN108093461A (en) * 2017-12-14 2018-05-29 上海连尚网络科技有限公司 A kind of method for connecting wireless access point

Also Published As

Publication number Publication date
CN108601064A (en) 2018-09-28
WO2019179476A1 (en) 2019-09-26

Similar Documents

Publication Publication Date Title
US9560617B2 (en) Wireless network access method and apparatus, terminal, and server
US10623954B2 (en) AP connection method, terminal, and server
KR101541263B1 (en) Method and apparatus for executing user action commands
CN107623690B (en) Login method, device and storage medium
CN105472694B (en) Method, device, terminal and storage medium for accessing WiFi through scanning two-dimensional code
CN108093313B (en) Method, device, system and medium for accessing set top box to network and set top box
US9497563B2 (en) Mobile device activation
CN110113250B (en) Method for sharing wireless access point through instant messaging software
CN108093461B (en) Method for connecting wireless access point
CN111160845A (en) Service processing method and device
KR101494854B1 (en) Method of convenient signing in using automatically detecting and filling login field in web or applicaion and apparatus for the same
CN104572263A (en) Page data interaction method, related device and system
CN103036902A (en) Login control method and login control system based on two-dimension code
WO2019141192A1 (en) Wi-fi connection method, computer device and storage medium
CN104363226A (en) Method, device and system for logging in operating system
CN111683370B (en) Access authentication method, device and system of wireless network equipment
CN108601064B (en) Method for providing and acquiring related information of wireless access point
CN107969003B (en) Wireless access authentication method
CN107770835B (en) Method, equipment and computer storage medium for connecting wireless access point
CN110933659A (en) User identification number migration method, device, terminal and storage medium
US20210160238A1 (en) Method, an apparatus and a storage medium for network connection
CN109451497B (en) Wireless network connection method and device, electronic equipment and storage medium
CN108282472B (en) WIFI authentication method, device, server and storage medium
CN114422236B (en) Intelligent device access method and device and electronic device
CN108521651B (en) Secondary authentication method of WiFi network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210507

Address after: 201203 Zone E, 9th floor, No.1 Lane 666, zhangheng Road, China (Shanghai) pilot Free Trade Zone, Pudong New Area, Shanghai

Applicant after: Shanghai Shangxiang Network Technology Co.,Ltd.

Address before: 312599 Affiliated Building B-2, 3rd Floor, Jiayi Plaza, 127 Renmin East Road, Nanming Street, Xinchang County, Shaoxing City, Zhejiang Province

Applicant before: LIANSHANG (XINCHANG) NETWORK TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant