CN108495316B - Wireless connection method and device - Google Patents

Wireless connection method and device Download PDF

Info

Publication number
CN108495316B
CN108495316B CN201810317821.6A CN201810317821A CN108495316B CN 108495316 B CN108495316 B CN 108495316B CN 201810317821 A CN201810317821 A CN 201810317821A CN 108495316 B CN108495316 B CN 108495316B
Authority
CN
China
Prior art keywords
release
routing
target hotspot
feedback information
user equipment
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
CN201810317821.6A
Other languages
Chinese (zh)
Other versions
CN108495316A (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 Lianshang Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201810317821.6A priority Critical patent/CN108495316B/en
Publication of CN108495316A publication Critical patent/CN108495316A/en
Application granted granted Critical
Publication of CN108495316B publication Critical patent/CN108495316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Abstract

The purpose of the application is to provide a wireless connection method and equipment, in the application, before user equipment needs to be in wireless connection with a target hotspot, a connection request of the target hotspot is sent to a platform server of a platform to which the user equipment belongs, the platform server sends a release request for releasing the target hotspot to a routing server based on the connection request, the routing server performs release interactive authentication with the routing equipment based on the release request to obtain release request feedback information of the target hotspot and sends the release request feedback information to the platform server, the platform server returns connection request feedback information to the user equipment based on the release request feedback information, the routing server and the routing equipment end pre-release the target hotspot to be connected, which is scanned by the user equipment, and the user equipment can establish corresponding wireless connection with the target hotspot based on the connection request feedback information, and wireless connection between the user equipment and the target hotspot is realized, and the connection success rate is further ensured.

Description

Wireless connection method and device
Technical Field
The present application relates to the field of computers, and in particular, to a wireless connection method and device.
Background
With the coming of the information era, the requirements for information sharing and data transmission are increasing, the convenience of wireless transmission is more popular, and the pairing between electronic devices such as mobile terminals and the like and the wireless transmission of information files can be realized by using wireless transmission modes such as Bluetooth (Bluetooth) technology and the like. With the development of electronic technology, many electronic devices such as mobile terminals have wireless transmission functions built therein.
In the prior art, when electronic devices such as a mobile terminal and the like realize wireless connection, on one hand, the wireless connection is realized in an open network short message authentication mode, but the biggest pain point is inconvenient to use and needs to input a mobile phone number for verification every time, so that a lot of services are highly dependent on a mobile phone operating system, and the experience cannot be unified; on the other hand, the advertisement push of the public number needs to be accepted through the WeChat public number attention authentication, and the risk of revealing key information of the user exists.
Disclosure of Invention
An object of the present application is to provide a wireless connection method and device, so as to solve the problems in the prior art that the wireless connection is inconvenient to implement and the user experience is not high.
According to an aspect of the present application, there is provided a wireless connection method at a platform server, wherein the method includes:
receiving a connection request of a target hotspot sent by user equipment, wherein the connection request comprises a route identifier to which the target hotspot belongs;
sending a release request of the target hotspot to a routing server to which the routing equipment corresponding to the routing identifier belongs;
receiving feedback information of the release request returned by the routing server;
and when the releasing request feedback information is successful, sending the releasing success information to the user equipment so as to enable the user equipment to establish wireless connection with the target hotspot.
Further, in the above wireless connection method at the platform server, if the release request feedback information is a release failure, a prompt message that the wireless connection with the target hotspot cannot be established is sent to the user equipment.
Further, in the above wireless connection method at the platform server side, the connection request further includes any one of:
a hotspot identification of the target hotspot;
platform information of a platform to which the user equipment belongs;
the user identification of the affiliated user of the user equipment on the affiliated platform;
a device identification of the user equipment.
Further, in the above wireless connection method at the platform server, after receiving feedback information of the release request returned by the routing server, the method further includes:
receiving a user acquisition request sent by the routing server;
and returning the user identification of the user to the routing server based on the acquired user request.
According to another aspect of the present application, there is provided a wireless connection method at a user equipment, wherein the method includes:
acquiring a target hotspot connection instruction;
sending a connection request of the target hotspot to a platform server corresponding to a platform to which the user equipment belongs, wherein the connection request comprises a route identifier to which the target hotspot belongs;
receiving connection request feedback information returned by the platform server, wherein the connection request feedback information comprises: allow connection or prohibit connection;
and when the connection request feedback information is connection permission, establishing wireless connection with the target hotspot.
Further, in the wireless connection method at the user equipment end, when the connection request feedback information is connection prohibition, prompt information that the platform server returns that the wireless connection with the target hotspot cannot be established is received and displayed.
Further, in the above-mentioned wireless connection method at the ue side, the connection request further includes any one of:
a hotspot identification of the target hotspot;
platform information of a platform to which the user equipment belongs;
the user identification of the affiliated user of the user equipment on the affiliated platform;
a device identification of the user equipment.
Further, in the above wireless connection method at the user equipment, the acquiring a target hotspot connection instruction includes:
scanning and acquiring at least one hotspot and connection related information thereof;
determining the target hotspot from the at least one hotspot based on the connection-related information.
Further, in the above method for wireless connection at the ue, after establishing the wireless connection with the target hotspot when the connection request feedback information is connection permission, the method further includes:
detecting whether the target hotspot is normally accessed to the internet or not,
if yes, displaying related information of the target hotspot;
if not, sending a connection retry request of the target hotspot to the platform server, wherein the connection retry request comprises the device identifier of the user equipment.
According to another aspect of the present application, there is provided a wireless connection method at a routing server, wherein the method includes:
receiving a release request for releasing a target hotspot sent by a platform server, wherein the release request comprises a route identifier to which the target hotspot belongs;
sending a release instruction to the routing equipment corresponding to the routing identifier;
receiving feedback information of a release instruction sent by a routing device, and sending the release instruction feedback information to the platform server, so that the platform server sends the release instruction feedback information to the user equipment, wherein the release instruction feedback information includes: successful or failed release.
Further, in the above wireless connection method at the routing server, the connection request further includes any one of:
a hotspot identification of the target hotspot;
platform information of a platform to which the user equipment belongs;
the user identification of the affiliated user of the user equipment on the affiliated platform;
a device identification of the user equipment.
Further, in the above wireless connection method at the routing server end, the release instruction includes a release rule carrying the device identifier and the routing identifier.
Further, in the above wireless connection method at the routing server, after receiving feedback information of the release instruction sent by the routing device, the method further includes:
sending a user acquisition request to the platform server;
and receiving the user identification of the user returned by the platform server based on the user acquiring request.
According to another aspect of the present application, a wireless connection method on a routing device side is provided, wherein the method includes:
receiving a connection request of a target hotspot sent by user equipment, wherein the connection request comprises a route identifier to which the target hotspot belongs;
generating a release command comprising the target hotspot and a release trigger rule of the routing target based on the connection request;
receiving a release instruction sent by a routing server;
and returning feedback information of the release instruction to the routing server based on the release instruction and the release triggering rule so that the routing server sends the feedback information of the release instruction to the platform server.
Further, in the above wireless connection method at the routing device end, the release instruction includes a release rule carrying the device identifier and the routing identifier;
if the release triggering rule in the routing equipment is correspondingly matched with the release rule, sending release instruction feedback information for indicating successful release to a routing server;
and if the release triggering rule in the routing equipment is not correspondingly matched with the release rule, sending release instruction feedback information for indicating release failure to the routing server.
According to another aspect of the present application, there is provided a non-transitory storage medium having computer-readable instructions stored thereon, which, when executed by a processor, cause the processor to implement the wireless connection method as described above.
According to another aspect of the present application, there is provided a platform server for wireless connection, wherein the platform server includes:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a wireless connectivity method at a platform server side as described above.
According to another aspect of the present application, there is provided a user equipment for wireless connection, wherein the user equipment comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement the wireless connection method at the user equipment as described above.
According to another aspect of the present application, there is provided a routing server for wireless connection, wherein the routing server comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a wireless connectivity method at a routing server as described above.
According to another aspect of the present application, there is provided a routing device for wireless connection, wherein the routing device comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a wireless connectivity method at a routing device as described above.
Compared with the prior art, in the application, before the user equipment needs to be wirelessly connected with the target hotspot, the connection request of the target hotspot is sent to the platform server of the platform to which the user equipment belongs, so that the platform server sends the release request for releasing the target hotspot to the routing server which is cooperated with/authorized with the platform based on the connection request, thus, the routing server performs release interactive authentication with the routing equipment based on the release request to obtain release request feedback information of the target hotspot and sends the release request feedback information to the platform server, the platform server returns connection request feedback information to the user equipment based on the release request feedback information, thereby achieving the purpose that the routing server and the routing equipment end scan the target hotspot to be connected by the user equipment, and then the user equipment can establish corresponding wireless connection with the target hotspot based on the connection request feedback information, and wireless connection between the user equipment and the target hotspot is realized, and the connection success rate is further ensured.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 illustrates a schematic flowchart interaction of a wireless connection method according to an embodiment of the present application;
fig. 2 is a schematic flow interaction diagram illustrating a wireless connection method according to an embodiment of the present application;
fig. 3 is a schematic view illustrating an application scenario of a wireless connection method according to an embodiment of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission 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 (transient media), such as modulated data signals and carrier waves.
As shown in fig. 1, an embodiment of the present application provides a schematic flow interaction diagram of a wireless connection method, where the wireless connection process includes a user device, a routing device (AC/AP), a routing server and a platform server, and the method is applied in a wireless connection process in which a user connects to a target hotspot corresponding to a routing device that cooperates with or is authorized by a platform through the platform of a user device end corresponding to the platform server, where the target hotspot is a hotspot corresponding to a routing device that corresponds to the platform and a partner/authorizer, and the method includes: step S11, step S12, step S13, step S14, step S21, step S22, step S23, step S24, step S31, step S32, and step S33; wherein, specifically include:
when a user enters a hotspot range, all hotspots which can be connected currently and around can be scanned through a user terminal where the user is located, all connectable hotspots are scanned and displayed on user equipment through a platform where the user equipment is located (for example, an application program WIFI master key and the like), and when the user needs to perform wireless connection with a hotspot where the platform is cooperated/alliance, the step S21 is that the user equipment obtains a target hotspot where the user needs to perform wireless connection currently from at least one scanned hotspot of the alliance;
by clicking a key connection on a platform (e.g., an application program WIFI master key, etc.) to which the user equipment belongs, that is, in step S22, the user equipment sends a connection request of the target hotspot to a platform server corresponding to the platform to which the user equipment belongs, so that before the user equipment establishes a wireless connection with the target hotspot, the platform server sends a release request to a routing server based on the connection request, so that the routing server performs pre-release authentication on the target hotspot, thereby improving the connection power of the user; here, the connection request includes a route identifier to which the target hotspot belongs;
after the user equipment sends the connection request to the platform server, in step S11, the platform server receives the connection request of the target hotspot sent by the user equipment;
in step S12, the platform server determines, according to the route identifier to which the target hotspot belongs in the connection request, a routing device to which the target hotspot belongs, and sends a release request of the target hotspot to the routing server to which the routing device corresponding to the route identifier belongs, that is, the platform server requests the routing server to which the routing device corresponding to the route identifier belongs to release the target hotspot, so that the user device can connect the released target hotspot;
in step S31, the routing server receives a release request for releasing the target hotspot sent by the platform server, where the release request includes a routing identifier to which the target hotspot belongs; the platform server sends the release request to the current routing server in an oriented manner according to the received routing identifier to which the target hotspot belongs in the connection request sent by the user equipment;
in step S32, the routing server sends a release instruction to the routing device corresponding to the routing identifier based on a release request for releasing the target hotspot sent by the platform server, so that the routing device performs release interaction according to the release instruction to obtain feedback information of the release instruction; the release instruction feedback information may include release success or release failure, which may be, but is not limited to, including released and about to be released;
in step S33, the routing server receives feedback information of the release instruction sent by the routing device corresponding to the routing identifier, and sends the feedback information of the release instruction to the platform server, so that the platform server can send the feedback information of the release instruction to the user equipment;
step S13, the platform server receives the releasing request feedback information returned by the routing server based on the releasing request of the target hotspot requesting to release the user equipment end;
step S14, the platform server sends the release request feedback information to the user equipment as connection request feedback information in response to the connection request sent by the user equipment, so that the user equipment can establish a corresponding wireless connection with the target hotspot based on the connection request feedback information, thereby implementing pre-release of the target hotspot to be connected, which is scanned by the user equipment, by the platform server end, and further ensuring a connection success rate;
here, at the platform server, when the release request feedback information is that release is successful, transmitting the release success information to the user equipment so that the user equipment establishes wireless connection with the target hotspot; and if the release request feedback information is release failure, sending prompt information that the wireless connection with the target hotspot cannot be established to the user equipment to prompt the user that the current target hotspot cannot be established, so that the user can retry the subsequent connection.
In step S23, the user equipment receives connection request feedback information returned by the platform server based on the release request, where the connection request feedback information is returned by the routing server after the platform server sends the release request for releasing the target hotspot to the routing server to which the routing device corresponding to the routing identifier belongs; in step S24, the user equipment establishes a corresponding wireless connection with the target hotspot based on the connection request feedback information, so as to implement a wireless connection between the user equipment and the target hotspot;
here, the connection request feedback information includes: allowing connection or prohibiting connection, and when the connection request feedback information is connection permission, the user equipment establishes wireless connection with the target hotspot; when the connection request feedback information is connection prohibition, the user equipment receives and displays prompt information which is returned by the platform server and cannot establish wireless connection with the target hotspot, so that the prompt information prompts that the target hotspot currently performing connection attempt cannot establish wireless connection, or prompts that the user can perform connection retry again, and further improves user experience. Through the steps S11 to S14, S21 to S24, and S31 to S33, the user equipment performs pre-release on the target hotspot through the wireless connection between the target hotspot corresponding to the routing equipment cooperating with the platform/authorized and the platform server corresponding to the authorized platform, so as to improve the success rate of establishing wireless connection between all target hotspots corresponding to the routing equipment needing to be partnered/authorized, and achieve uniform experience of all users performing wireless connection between alliance hotspots through the platform.
In all embodiments of the present application, the connection request sent by the user equipment to the platform server for the target hotspot may include not only the route identifier to which the target hotspot belongs, but also any one of the following:
a hotspot identification of the target hotspot; for example, the hotspot identification may be a hotspot name and a physical address of the target hotspot federation;
platform information of a platform to which the user equipment belongs; for example, the platform information may be platform version information, platform configuration information, etc.;
the user identification of the affiliated user of the user equipment on the affiliated platform; the user identifier is used for uniquely identifying the user on the platform to which the user equipment belongs, and can comprise information such as a mobile phone number, an identity card number, an image code and the like for uniquely identifying the user, and the image code can comprise a bar code, a two-dimensional code and the like for uniquely identifying the user;
a device identification of the user equipment; for example, the device identifier may be a factory serial number, a device ID, and the like for uniquely identifying the user equipment.
In this embodiment, in step S32, according to the platform server requesting the routing server to release the release request of the target hotspot, the routing server sends a release instruction to the routing device corresponding to the routing identifier, where the release instruction includes a release rule carrying the device identifier and the routing identifier, and for example, the release rule is as follows:
the token is 1708015q17c03d4601558b |2082c0ad898b, so that the routing equipment and the routing server perform passing interactive judgment.
At a user equipment end, when user equipment needs to be in wireless connection with a target hotspot, the user equipment sends a connection request to a routing device while sending the connection request to a platform server, and the routing device receives the connection request of the user equipment, wherein the connection request comprises a routing identifier to which the target hotspot belongs; the routing device may generate a release trigger rule according to the connection request, where the release trigger rule includes a release command for the target hotspot and a device identifier of the user device, and the release trigger rule is, for example:
“iptables-t nat-w-D freewifi_device_list-p tcp--dport 80-m mac--mac-source"20:82:C0:AD:89:8B"-j ACCEPT
iptables-t nat-w-D freewifi_device_list-p tcp--dport 443-m mac--mac-source"20:82:C0:AD:89:8B"-j ACCEPT”
the routing device receives a release instruction sent by the routing server, where the release instruction includes a release rule carrying the device identifier and the routing identifier, and the release rule is, for example:
“token:zi1708015q17c03d4601558b|2082c0ad898b”
based on the release instruction and the release triggering rule, returning feedback information of the release instruction to the routing server, so that the routing server sends the feedback information of the release instruction to the platform server, specifically including:
if a release triggering rule in the routing equipment is correspondingly matched with the release rule, namely a routing identifier in the release rule corresponds to the routing equipment currently receiving a release instruction, and the equipment identifier in the release rule is correspondingly consistent with the equipment identifier in the release triggering rule, sending release instruction feedback information for indicating that release is successful to a routing server;
if the release triggering rule in the routing device is not correspondingly matched with the release rule, that is, the routing identifier in the release rule does not correspond to the routing device currently receiving the release instruction, and/or the device identifier in the release rule is not correspondingly consistent with the device identifier in the release triggering rule, sending release instruction feedback information for indicating release failure to the routing server, so as to determine whether the target hotspot is released at the routing device.
That is, for the routing server, the release instruction sent by the routing server to the routing device includes a release rule carrying the device identifier and the routing identifier, and if the result determined in the routing device is: if a release triggering rule in the routing equipment is correspondingly matched with the release rule pair, receiving release instruction feedback information sent by the routing equipment, wherein the release triggering rule is generated by the routing equipment according to a connection request from user equipment, and the release triggering rule comprises a release command for the target hotspot and the equipment identifier; if the judgment result in the routing equipment is as follows: and if the release triggering rule in the routing equipment is not correspondingly matched with the release rule, receiving feedback information of the release instruction sent by the routing equipment, wherein the feedback information is release failure, and judging whether the target hotspot is released between the routing equipment and the routing server is realized. Here, the successful release may include released and to-be-released, where the target hotspot is released to indicate that the target hotspot is currently in a released state, that is, has been released before, and may directly connect to the target hotspot and establish a wireless connection, and the target hotspot is to-be-released to indicate that the target hotspot is not released before and is currently released, and may connect to the target hotspot and establish a wireless connection. In this embodiment, the determining, by the user equipment, the target hotspot in step S21 includes:
scanning and acquiring at least one hotspot and connection related information thereof; the connection related information may include signal information of the current hotspot, distance information, connection success rate, and the like;
determining the target hotspot from the at least one hotspot based on the connection-related information. For example, after the user equipment scans at least one hotspot with a coalition label and connection related information thereof through a platform to which the user equipment belongs, the connection related information of each scanned hotspot of the coalition is compared, and a hotspot which is connected comprehensively and has higher power or closer distance is selected as a target hotspot to be connected by the current user equipment, so that the selected target hotspot can comprehensively meet the requirements of the user on connection success rate, distance and signal, and the optimal target hotspot to be connected for the user of the user equipment is determined.
In this embodiment, after the platform server sends, to the routing server to which the routing device corresponding to the routing identifier belongs, the connection request feedback information received by the user equipment in step S23, and then the routing server performs release interaction with the routing device based on the release request, and then determines and returns the release request to the routing server to which the routing device belongs, as shown in fig. 1.
In the wireless connection method between the user equipment, the routing device, the routing server and the platform server according to the embodiment of the present application, in order to ensure that the user who performs the target hotspot connection recorded in the routing server corresponding to the routing device that cooperates with/is authorized to the platform keeps synchronous with the user who performs the wireless connection with the target hotspot corresponding to the routing device on the platform server corresponding to the platform to which the user equipment belongs, after the routing server in step S33 sends the release result obtained by the release interaction with the routing device to the platform server, the method further includes step S34 and step S35; meanwhile, after the platform server receives the release result returned by the routing server based on the request of the platform server for releasing the target hotspot in step S13, the method further includes step S15 and step S16, as shown in fig. 2, specifically:
in step S34, the routing server sends an acquire user request to the platform server, where the acquire user request is used to acquire the user identifier of the user on the platform to which the user equipment belongs from the release request, so that the user can also be uniquely identified on the routing server;
in step S15, the platform server receives the user obtaining request sent by the routing server;
in step S16, the platform server returns the user identifier of the user to the routing server based on the obtained user request, so that the platform server and the routing server synchronize users connected to the passable target hotspot;
in step S35, the routing server receives the user identifier of the user returned by the platform server based on the user request, and synchronizes the users connected to the passable target hotspot between the routing server and the platform server.
In an embodiment of the present application, in step S23, if the connection request feedback information received from the platform server is that connection is allowed, a wireless connection is successfully established with the target hotspot, so that successful release of the target hotspot corresponding to the routing device is achieved through the routing server, and a wireless connection is established;
or, if the release feedback information is release failure, receiving and displaying prompt information which is returned by the platform server and cannot establish wireless connection with the target hotspot, so that the user can select hotspots of other alliances based on the prompt information and send connection requests to the platform server or continue to send connection retry requests of the current target hotspot to the platform server.
Next, in this embodiment, when the connection request feedback information is connection permission, after establishing the wireless connection with the target hotspot, the method further includes:
detecting whether the target hotspot is normally accessed to the internet or not,
if yes, displaying related information of the target hotspot; the related information may include, but is not limited to, merchant information, push information, online information and the like corresponding to the target hotspot, the merchant information may include a merchant name, merchant location information, a merchant label and the like, the push information may include package information, discount information, sale/arrangement information and the like related to the merchant, and the online information may include merchant order information, comment information, online number of people currently connected to the target hotspot and the like.
If not, sending a release retry request of the target hotspot to the platform server, wherein the release retry request includes a device identifier of the user equipment (for example, a physical address of the user equipment, etc.), so that the user retries the current target hotspot to request connection again.
In an actual application scenario of the present application, as shown in fig. 3, after a user scans a federation hotspot with a tag, 1, selects a federation hotspot needing wireless connection; 2. a user clicks a key connection on a platform to which user equipment belongs to initiate a connection request for a selected alliance hotspot; 2.1, before initiating a connection request, user equipment (such as an application platform) judges whether a user logs in a current platform or not and enters a native page; 2.2, after the user logs in, the user equipment initiates a connection request for establishing wireless connection with the selected alliance hotspot to the platform server; 2.2.1, the platform server sends a release request for requesting release of the selected alliance hotspot to a partner server (routing server) through a release interface; 2.2.2, the cooperative server sends a release instruction to the routing equipment corresponding to the routing identifier; enabling the partner server and the routing equipment to carry out internal interactive matching of release parameters and the like to obtain release instruction feedback information; 2.2.3, the routing equipment sends the release instruction feedback information to the cooperative server, so that 2.2.4, the cooperative server sends the release success, the release success or the release failure and the like as release request feedback information to the platform server; 2.2.5, the cooperative server requests the platform server to acquire the unique identification of the user on the affiliated platform: a user identification; 2.2.5, the platform server returns a user identifier for uniquely identifying the user on the platform to the partner server, so that the synchronization of the user connected with the hot spot of the alliance between the platform server and the partner server cooperated by the platform is realized; 2.3, the platform server feeds back the release request: the release success or the release failure sends connection request feedback information to the user equipment, wherein the connection request feedback information comprises connection permission or connection prohibition; 3.1 if connection is forbidden (namely the selected alliance hotspot fails to pass), the user equipment prompts that the selected alliance hotspot is not connected with the network; 3.2, if connection is allowed (and the selected alliance hotspot is released successfully or already), establishing wireless connection (connecting WiFi) between the user equipment and the selected alliance hotspot, and monitoring whether the selected alliance hotspot can normally surf the internet; 4.1, if the internet can not be accessed normally, the user equipment continues to send a connection retry request carrying the equipment identifier (such as a physical address and the like) of the user equipment to the platform server, so that the user can retry the connection request again for the current target hotspot; and 4.2, if the network can be normally accessed, displaying relevant information of the target hotspot, such as service number information and the like, so as to realize the alliance hotspot corresponding to the routing equipment which is connected with the user equipment and cooperates with the platform.
According to another aspect of the present application, there is also provided a non-volatile storage medium having computer readable instructions stored thereon, which, when executed by a processor, cause the processor to implement the method of wireless connection as described above.
According to another aspect of the present application, there is also provided a platform server for wireless connection, wherein the platform server includes:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a wireless connectivity method at a platform server side as described above.
Here, the details of each embodiment of the platform server for wireless connection may specifically refer to the corresponding part of the embodiment of the method of the platform server end for wireless connection, and are not described herein again.
According to another aspect of the present application, there is also provided a user equipment for wireless connection, wherein the user equipment comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement the wireless connection method at the user equipment as described above.
Here, the details of each embodiment of the user equipment for wireless connection may specifically refer to the corresponding part of the embodiment of the method of the user equipment for wireless connection, and are not described herein again.
According to another aspect of the present application, there is also provided a routing server for wireless connection, wherein the routing server comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement a wireless connectivity method at a route server as described above.
Here, the details of each embodiment of the routing server for wireless connection may specifically refer to the corresponding part of the embodiment of the method of the routing server for wireless connection, and are not described herein again.
According to another aspect of the present application, there is also provided a routing server for wireless connection, wherein the routing device includes:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, the one or more computer-readable instructions cause the one or more processors to implement the wireless connectivity method at the routing device side as described above.
Here, for details of each embodiment in the routing device for wireless connection, reference may be specifically made to corresponding parts of the method embodiment of the routing device end for wireless connection, and details are not described herein again.
In summary, in the present application, before the user equipment needs to wirelessly connect with the target hotspot, a connection releasing request of the target hotspot is sent to a platform server of a platform to which the user equipment belongs, so that the platform server sends a release request for releasing the target hotspot to a routing server cooperating with/authorized to the platform based on the connection request, thus, the routing server performs release interactive authentication with the routing equipment based on the release request to obtain release request feedback information of the target hotspot, and sends the release request feedback information to the platform server, the platform server sends connection request feedback information to the user equipment based on the release request feedback information, so as to achieve pre-release of the target hotspot to be connected, which is scanned by the routing server and the routing equipment end by the user equipment, and then the user equipment can establish corresponding wireless connection with the target hotspot based on the connection request feedback information, and wireless connection between the user equipment and the target hotspot is realized, and the connection success rate is further ensured.
It should be noted that the present application may be implemented in software and/or in a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (20)

1. A wireless connection method at a platform server side, wherein the method comprises:
receiving a connection request of a target hotspot sent by user equipment, wherein the connection request comprises a routing identifier to which the target hotspot belongs, and the connection request is initiated by the user equipment acquiring the target hotspot which is required to be wirelessly connected currently by a user from at least one scanned hotspot of the alliance;
determining routing equipment to which the target hotspot belongs according to a routing identifier to which the target hotspot belongs, and sending a release request of the target hotspot to a routing server to which the routing equipment corresponding to the routing identifier belongs, wherein the routing server sends a release instruction to the routing equipment corresponding to the routing identifier based on the release request, so that the routing equipment performs release interaction according to the release instruction to obtain feedback information of the release instruction and sends the feedback information to the routing server, and the routing server receives the feedback information of the release instruction sent by the routing equipment and sends the feedback information to the platform server;
receiving release request feedback information returned by the routing server based on a release request of a target hotspot of a user equipment end requesting release;
and when the releasing request feedback information is successful, sending the releasing successful information to the user equipment as connection request feedback information responding to the connection request sent by the user equipment, so that the user equipment establishes wireless connection with the target hotspot based on the connection request feedback information.
2. The method of claim 1, wherein if the release request feedback information indicates that release fails, sending a prompt to the user equipment that wireless connection cannot be established with the target hotspot.
3. The method of claim 1, wherein the connection request further comprises any one of:
a hotspot identification of the target hotspot;
platform information of a platform to which the user equipment belongs;
the user identification of the affiliated user of the user equipment on the affiliated platform;
a device identification of the user equipment.
4. The method of claim 3, wherein after receiving the feedback information of the release request returned by the routing server, the method further comprises:
receiving a user acquisition request sent by the routing server;
and returning the user identification of the user to the routing server based on the acquired user request.
5. A wireless connection method at a user equipment, wherein the method comprises:
acquiring a target hotspot connection instruction;
sending a connection request of the target hotspot to a platform server corresponding to a platform to which the user equipment belongs, wherein the connection request comprises a routing identifier to which the target hotspot belongs, so that the platform server determines routing equipment to which the target hotspot belongs according to the routing identifier to which the target hotspot belongs, and sends a release request of the target hotspot to the routing server to which the routing equipment corresponding to the routing identifier belongs, wherein the routing server sends a release instruction to the routing equipment corresponding to the routing identifier based on the release request, so that the routing equipment performs release interaction according to the release instruction to obtain feedback information of the release instruction and sends the feedback information to the routing server, and the routing server receives the feedback information of the release instruction sent by the routing equipment and sends the feedback information to the platform server, after the platform server receives release request feedback information returned by the routing server based on a release request for requesting release of a target hotspot of a user equipment end, when the release request feedback information is successful, the release success information is sent to the user equipment as connection request feedback information responding to the connection request sent by the user equipment;
receiving connection request feedback information returned by the platform server, wherein the connection request feedback information comprises: allow connection or prohibit connection;
and when the connection request feedback information is connection permission, establishing wireless connection with the target hotspot.
6. The method of claim 5, wherein when the connection request feedback information is connection prohibition, receiving and displaying a prompt message returned by the platform server that the wireless connection with the target hotspot cannot be established.
7. The method of claim 5, wherein the connection request further comprises any of:
a hotspot identification of the target hotspot;
platform information of a platform to which the user equipment belongs;
the user identification of the affiliated user of the user equipment on the affiliated platform;
a device identification of the user equipment.
8. The method of claim 7, wherein the obtaining target hotspot connection instructions comprises:
scanning and acquiring at least one hotspot and connection related information thereof;
determining the target hotspot from the at least one hotspot based on the connection-related information.
9. The method of claim 5, wherein when the connection request feedback information is connection permission, after establishing the wireless connection with the target hotspot, the method further comprises:
detecting whether the target hotspot is normally accessed to the internet or not,
if yes, displaying related information of the target hotspot;
if not, sending a connection retry request of the target hotspot to the platform server, wherein the connection retry request comprises the device identifier of the user equipment.
10. A wireless connection method of a routing server side, wherein the method comprises the following steps:
receiving a release request for releasing a target hotspot sent by a platform server, wherein the release request comprises a route identifier to which the target hotspot belongs, and the release request is initiated to a route server to which a route device corresponding to the route identifier belongs after the platform server determines the route device to which the target hotspot belongs according to the route identifier to which the target hotspot belongs in a connection request of the target hotspot sent by a user device belongs, wherein the connection request comprises the route identifier to which the target hotspot belongs, and the connection request is initiated by the user device by acquiring the target hotspot to which the user currently needs to wirelessly connect from at least one scanned hotspot of alliances;
sending a release instruction to the routing equipment corresponding to the routing identifier;
receiving feedback information of a release instruction sent by a routing device, and sending the release instruction feedback information to the platform server, so that the platform server sends the release instruction feedback information to the user equipment, wherein the release instruction feedback information includes: successful or failed release.
11. The method of claim 10, wherein the connection request further comprises any of:
a hotspot identification of the target hotspot;
platform information of a platform to which the user equipment belongs;
the user identification of the affiliated user of the user equipment on the affiliated platform;
a device identification of the user equipment.
12. The method of claim 11, wherein the release instruction comprises a release rule carrying the device identifier and the route identifier.
13. The method of claim 11, wherein after receiving the feedback information of the release instruction sent by the routing device, the method further comprises:
sending a user acquisition request to the platform server;
and receiving the user identification of the user returned by the platform server based on the user acquiring request.
14. A wireless connection method of a routing device side is disclosed, wherein the method comprises the following steps:
receiving a connection request of a target hotspot sent by user equipment, wherein the connection request comprises a route identifier to which the target hotspot belongs;
generating a release command comprising the target hotspot and a release trigger rule of the routing target based on the connection request;
receiving a release instruction sent by a routing server, wherein the release instruction is sent to a routing device corresponding to a routing identifier by the routing server based on a release request received from a platform server, the release request is initiated to the routing server corresponding to the routing identifier after the platform server determines the routing device to which the target hotspot belongs according to the routing identifier to which the target hotspot belongs in a connection request of the target hotspot sent by the user equipment belongs, wherein the connection request includes the routing identifier to which the target hotspot belongs, and the connection request is initiated by the user equipment by acquiring the target hotspot, which is required to be wirelessly connected currently by the user, from at least one scanned hotspot in the federation;
and returning feedback information of the release instruction to the routing server based on the release instruction and the release triggering rule so that the routing server sends the release instruction feedback information to the platform server, wherein the platform server receives release request feedback information returned by the routing server based on a release request requesting release of a target hotspot of a user equipment end, and when the release request feedback information is successful, the release successful information is sent to the user equipment as connection request feedback information responding to the connection request sent by the user equipment so that the user equipment establishes wireless connection with the target hotspot based on the connection request feedback information.
15. The method of claim 14, wherein the release instruction includes a release rule carrying the device identifier and the route identifier;
if the release triggering rule in the routing equipment is correspondingly matched with the release rule, sending release instruction feedback information for indicating successful release to a routing server;
and if the release triggering rule in the routing equipment is not correspondingly matched with the release rule, sending release instruction feedback information for indicating release failure to the routing server.
16. A non-transitory storage medium having stored thereon computer readable instructions which, when executed by a processor, cause the processor to implement the method of any one of claims 1 to 15.
17. A platform server for wireless connectivity, wherein the platform server comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
18. A user equipment for wireless connectivity, wherein the user equipment comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 5-9.
19. A routing server for wireless connectivity, wherein the routing server comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 10-13.
20. A routing device for wireless connectivity, wherein the routing device comprises:
one or more processors;
a non-volatile storage medium for storing one or more computer-readable instructions,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 14-15.
CN201810317821.6A 2018-04-10 2018-04-10 Wireless connection method and device Active CN108495316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810317821.6A CN108495316B (en) 2018-04-10 2018-04-10 Wireless connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810317821.6A CN108495316B (en) 2018-04-10 2018-04-10 Wireless connection method and device

Publications (2)

Publication Number Publication Date
CN108495316A CN108495316A (en) 2018-09-04
CN108495316B true CN108495316B (en) 2021-02-23

Family

ID=63315607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810317821.6A Active CN108495316B (en) 2018-04-10 2018-04-10 Wireless connection method and device

Country Status (1)

Country Link
CN (1) CN108495316B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108848505B (en) * 2018-07-10 2021-05-07 上海尚往网络科技有限公司 Wireless connection method and device
CN109067917B (en) * 2018-09-21 2021-10-08 上海连尚网络科技有限公司 Fitness information pushing method and equipment
CN109862605B (en) * 2019-01-22 2021-12-07 上海尚往网络科技有限公司 Networking method and equipment for terminal equipment
CN114419812A (en) * 2021-12-29 2022-04-29 上海尚往网络科技有限公司 Method and equipment for playing target voice information

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120458A (en) * 2015-07-23 2015-12-02 南京施玛泰众信息技术有限公司 Wireless connection method, device and system
CN105979521A (en) * 2016-06-23 2016-09-28 福建富士通信息软件有限公司 Method for no-perception authentication free Internet access of fat WiFi AP and thin WiFi AP
CN107517461A (en) * 2017-08-21 2017-12-26 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN107567021A (en) * 2017-08-21 2018-01-09 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN107846662A (en) * 2016-09-20 2018-03-27 上海掌门科技有限公司 For the method and apparatus based on WAP push marketing message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4764108B2 (en) * 2005-08-30 2011-08-31 富士通株式会社 Wireless terminal, management device, wireless LAN control method, wireless LAN system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105120458A (en) * 2015-07-23 2015-12-02 南京施玛泰众信息技术有限公司 Wireless connection method, device and system
CN105979521A (en) * 2016-06-23 2016-09-28 福建富士通信息软件有限公司 Method for no-perception authentication free Internet access of fat WiFi AP and thin WiFi AP
CN107846662A (en) * 2016-09-20 2018-03-27 上海掌门科技有限公司 For the method and apparatus based on WAP push marketing message
CN107517461A (en) * 2017-08-21 2017-12-26 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN107567021A (en) * 2017-08-21 2018-01-09 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization

Also Published As

Publication number Publication date
CN108495316A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108495316B (en) Wireless connection method and device
AU2019203267B2 (en) Method and apparatus for facilitating electronic payments using a wearable device
CN108848505B (en) Wireless connection method and device
US11250440B2 (en) Payment collection device and method and apparatus
CN102821104B (en) Authorization method, authorization device and authorization system
CN109862605B (en) Networking method and equipment for terminal equipment
US8848670B2 (en) Authentication system and authentication method in wireless LAN environment
US20190066090A1 (en) Transaction Application Selection Method and Terminal
US11172520B2 (en) Connection method and device
US20110145900A1 (en) Delegating authentication using a challenge/response protocol
US9713184B2 (en) Method for performing an interaction from a communicating device configured to establish a wireless communication channel and corresponding telecommunication system
KR102372571B1 (en) Mobile payment methods, devices and systems
CN112948809B (en) Application authorization method and device
CN106658665A (en) Method and apparatus for establishing wireless connection
CN109831441B (en) Identity authentication method, system and related components
CN103250442A (en) Methods and apparatus for obtaining a service
CN108809969B (en) Authentication method, system and device
JP2009075987A (en) Network content management method, content server, reproduction equipment, authentication server, and authentication terminal
CN110087330B (en) Wireless network connection establishing method, wireless access equipment and server
WO2016138743A1 (en) Secure payment method, mobile terminal, and payment authentication server
KR101552568B1 (en) System for multi-channel certificating using automatic selection of mode, method of multi-channel certificating and apparatus for the same
CN112218249B (en) Data transmission method, data transmission device, data downloading method and related equipment
CN110602767B (en) Hot spot connection method and equipment
CN113055884B (en) Network access method, network access device and terminal
CN114585055A (en) Vehicle-mounted WiFi access method, vehicle controller, cloud server and mobile terminal

Legal Events

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

Effective date of registration: 20210420

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

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

Address before: 201306 Shanghai city Pudong New Area mud Town Road No. 979 Building 2 Hon

Patentee before: SHANGHAI LIANSHANG NETWORK TECHNOLOGY Co.,Ltd.