CN105120458A - Wireless connection method, device and system - Google Patents

Wireless connection method, device and system Download PDF

Info

Publication number
CN105120458A
CN105120458A CN201510437759.0A CN201510437759A CN105120458A CN 105120458 A CN105120458 A CN 105120458A CN 201510437759 A CN201510437759 A CN 201510437759A CN 105120458 A CN105120458 A CN 105120458A
Authority
CN
China
Prior art keywords
access point
wireless access
wap
application
password
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.)
Pending
Application number
CN201510437759.0A
Other languages
Chinese (zh)
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.)
NANJING SHIMA TAIZHONG INFORMATION TECHNOLOGY Co Ltd
Original Assignee
NANJING SHIMA TAIZHONG INFORMATION 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 NANJING SHIMA TAIZHONG INFORMATION TECHNOLOGY Co Ltd filed Critical NANJING SHIMA TAIZHONG INFORMATION TECHNOLOGY Co Ltd
Priority to CN201510437759.0A priority Critical patent/CN105120458A/en
Publication of CN105120458A publication Critical patent/CN105120458A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

The embodiment of the present invention provides a wireless connection method, device and system. In one aspect, the method comprises steps that a server receives a data request sent by application. The data request is sent by a terminal where the application is installed when the terminal scans the wireless access point. Thus the server obtains a password of the wireless access point according to the data request. Furthermore the server sends the password of the wireless access point to the application, so that the application executes the operation of access of the wireless access point to the terminal where the application is according to the password of the wireless access point. According to the technology scheme provided by the embodiment, the server concentratedly stores the password of the wireless access point. The password can be provided for each application according to the request of each application. Thus the problems that the reliability of the method by which the terminal gets access to the wireless access point in the prior art is low and the wireless access point can not be shared are solved.

Description

Wireless connection method, Apparatus and system
[technical field]
The present invention relates to wireless communication technology field, particularly relate to a kind of wireless connection method, Apparatus and system.
[background technology]
At present, access WAP (wireless access point) has become the basic function of terminal, terminal is deployed in the WAP (wireless access point) in the various places such as family, office, dining room, hotel or market by access section, realize being connected with the Internet by WAP (wireless access point), thus the various services that user just can use the Internet to provide by terminal, as amusement, communication, social activity etc.
In prior art, when terminal successfully accessed the WAP (wireless access point) of an encryption, the relevant information of this WAP (wireless access point) will store in the terminal, and when terminal is positioned at the coverage of this WAP (wireless access point) again, terminal can access this WAP (wireless access point) automatically.But when terminal fault or reinstall after system or user change terminal, can cause the loss of the relevant information of WAP (wireless access point), therefore, in prior art, the mode Reliability comparotive of terminal access WAP (wireless access point) is low.And in prior art, the relevant information of WAP (wireless access point) is just deposited in the terminal, causes cannot sharing of WAP (wireless access point).
[summary of the invention]
In view of this, embodiments provide a kind of wireless connection method, Apparatus and system, the problem that the low and WAP (wireless access point) of the Reliability comparotive in order to solve the access of terminal in prior art wireless connections cannot be shared.
The one side of the embodiment of the present invention, provides a kind of wireless connection method, comprising:
Server receives the request of data that application sends, and described request of data is send after the terminal scanning to WAP (wireless access point) of described application place;
Described server, according to described request of data, obtains the password of described WAP (wireless access point);
Described server sends the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, and described request of data carries the mark of described application and the mark of described WAP (wireless access point); Described server, according to described request of data, obtains the password of described WAP (wireless access point), comprising:
Described server, according to the mark of described application, carries out authentication to described application;
If described application is by authentication, described server, according to the mark of described WAP (wireless access point), mates in the mark of WAP (wireless access point) and the corresponding relation of password, to obtain the password of described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, a kind of implementation is provided further, described server is according to the mark of described WAP (wireless access point), mate in the mark of WAP (wireless access point) and the corresponding relation of password, before the password obtaining described WAP (wireless access point), described method also comprises: the corresponding relation of the described mark of server stores WAP (wireless access point) and the password of WAP (wireless access point).
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described method also comprises:
Described server receives the use record of the described WAP (wireless access point) that described application sends, and the use of described WAP (wireless access point) is recorded as described application and uses the situation of described WAP (wireless access point) to obtain according to described application place terminal;
Described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, the use record of WAP (wireless access point) described in described server stores.
The one side of the embodiment of the present invention, provides a kind of wireless connection method, comprising:
If application place terminal scanning is to WAP (wireless access point), described application sends request of data to server, so that described server is according to described request of data, obtains the password of described WAP (wireless access point);
Described application receives the password of the described WAP (wireless access point) that described server sends;
Described application, according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, if application place terminal scanning is to WAP (wireless access point), described application sends request of data to server, comprising:
The administration module of described application obtains the mark of the WAP (wireless access point) that described application place terminal scanning arrives;
The mark of described WAP (wireless access point) is sent to described interface module by the administration module of described application;
The interface module of described application sends described request of data to described server, and described request of data carries the mark of described application and the mark of described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, a kind of implementation is provided further, described application receives the password of the described WAP (wireless access point) that described server sends, and comprising: the interface module of described application receives the password of the described WAP (wireless access point) that described server sends;
Described application is according to the password of described WAP (wireless access point), perform the operation that described application place terminal accesses described WAP (wireless access point), comprise: the interface module of described application is according to the password of described WAP (wireless access point), call the application programming interface API of the operating system of described application place terminal, with the password making described operating system utilize described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), access described WAP (wireless access point) to realize described application place terminal.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described method also comprises:
Described application uses the situation of described WAP (wireless access point) according to described application place terminal, obtains the use record of WAP (wireless access point);
The use record of described WAP (wireless access point) is sent to described server by described application, so that described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, so that the use record of WAP (wireless access point) described in described server stores.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, and described interface module utilizes SDK SDK to realize.
The one side of the embodiment of the present invention, provides a kind of wireless connection device, comprising:
Receiver module, for receiving the request of data that application sends, described request of data is send after the terminal scanning to WAP (wireless access point) of described application place;
Processing module, for according to described request of data, obtains the password of described WAP (wireless access point);
Sending module, for sending the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, and described request of data carries the mark of described application and the mark of described WAP (wireless access point); Described processing module, specifically for:
According to the mark of described application, authentication is carried out to described application;
If described application, by authentication, according to the mark of described WAP (wireless access point), is mated, to obtain the password of described WAP (wireless access point) in the mark of WAP (wireless access point) and the corresponding relation of password.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described device also comprises:
Memory module, for the corresponding relation of the password of the mark and WAP (wireless access point) that store WAP (wireless access point).
Aspect as above and arbitrary possible implementation, a kind of implementation is provided further, described receiver module, also for receiving the use record of the described WAP (wireless access point) that described application sends, the use of described WAP (wireless access point) is recorded as described application and uses the situation of described WAP (wireless access point) to obtain according to described application place terminal;
Described processing module, also carries out data statistics for the use record according to described WAP (wireless access point); And/or described memory module, also for storing the use record of described WAP (wireless access point).
The one side of the embodiment of the present invention, provides a kind of wireless connection device, comprising:
Interface module, if for application place terminal scanning to WAP (wireless access point), send request of data to server, so that described server is according to described request of data, obtain the password of described WAP (wireless access point);
Described interface module, also for receiving the password of the described WAP (wireless access point) that described server sends;
Described interface module, also for the password according to described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, described device also comprises administration module;
Described administration module, for obtaining the mark of the WAP (wireless access point) that described application place terminal scanning arrives, and, the mark of described WAP (wireless access point) is sent to described interface module;
Described interface module, also for sending described request of data to described server, described request of data carries the mark of described application and the mark of described WAP (wireless access point).
Aspect as above and arbitrary possible implementation, provide a kind of implementation, described interface module further, also for receiving the password of the described WAP (wireless access point) that described server sends;
Described interface module is used for the password according to described WAP (wireless access point), perform described application place terminal when accessing the operation of described WAP (wireless access point), specifically for: according to the password of described WAP (wireless access point), call the application programming interface API of the operating system of described application place terminal, with the password making described operating system utilize described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), access described WAP (wireless access point) to realize described application place terminal.
Aspect as above and arbitrary possible implementation, provide a kind of implementation, described interface module further, also for using the situation of described WAP (wireless access point) according to described application place terminal, obtains the use record of WAP (wireless access point);
Described interface module, also for the use record of described WAP (wireless access point) is sent to described server, so that described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, so that the use record of WAP (wireless access point) described in described server stores.
Aspect as above and arbitrary possible implementation, provide a kind of implementation further, it is characterized in that, described interface module utilizes SDK SDK to realize.
The one side of the embodiment of the present invention, provides a kind of wireless connection system, comprising: application and service device;
Described application, if for application place terminal scanning to WAP (wireless access point), send request of data to server;
Described server, for according to described request of data, obtains the password of described WAP (wireless access point), and sends the password of described WAP (wireless access point) to described application;
Described application, also for receiving the password of the described WAP (wireless access point) that described server sends, and, according to the password of described WAP (wireless access point), perform the operation that described application place terminal accesses described WAP (wireless access point).
As can be seen from the above technical solutions, the embodiment of the present invention has following beneficial effect:
In the technical scheme that the embodiment of the present invention provides, the password of WAP (wireless access point) is stored by server centered, and each application can be provided it to according to the request of each application, therefore, it is possible in solution prior art, the relevant information of lost terminal WAP (wireless access point) and cannot access the problem of WAP (wireless access point), can improve the reliability of terminal access wireless connections.And the password of the WAP (wireless access point) that application can store in shared server, realizes sharing of WAP (wireless access point), solves the problem that in prior art, WAP (wireless access point) cannot be shared.
[accompanying drawing explanation]
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the embodiment one of the wireless connection method that the embodiment of the present invention provides;
Fig. 2 is the first exemplary plot of the system that wireless connection method that the embodiment of the present invention provides is applied;
Fig. 3 is the schematic flow sheet of the embodiment two of the wireless connection method that the embodiment of the present invention provides;
Fig. 4 is the second exemplary plot of the system that wireless connection method that the embodiment of the present invention provides is applied;
Fig. 5 is the functional block diagram of the embodiment one of the wireless connection device that the embodiment of the present invention provides;
Fig. 6 is the functional block diagram of the embodiment two of the wireless connection device that the embodiment of the present invention provides;
Fig. 7 is the structural representation of the wireless connection system that the embodiment of the present invention provides.
[embodiment]
Technical scheme for a better understanding of the present invention, is described in detail the embodiment of the present invention below in conjunction with accompanying drawing.
Should be clear and definite, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The term used in embodiments of the present invention is only for the object describing specific embodiment, and not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to comprise most form, unless context clearly represents other implications.
Should be appreciated that term "and/or" used herein is only a kind of incidence relation describing affiliated partner, can there are three kinds of relations in expression, and such as, A and/or B, can represent: individualism A, exists A and B simultaneously, these three kinds of situations of individualism B.In addition, character "/" herein, general expression forward-backward correlation is to the relation liking a kind of "or".
Depend on linguistic context, word as used in this " if " can be construed as into " ... time " or " when ... time " or " in response to determining " or " in response to detection ".Similarly, depend on linguistic context, phrase " if determination " or " if detecting (the conditioned disjunction event of statement) " can be construed as " when determining " or " in response to determining " or " when detecting (the conditioned disjunction event of statement) " or " in response to detection (the conditioned disjunction event of statement) ".
Embodiment one
The embodiment of the present invention provides a kind of wireless connection method, and the method is wireless connection method in the embodiment of the present invention of server side realization.Please refer to Fig. 1, the schematic flow sheet of the embodiment one of its wireless connection method provided for the embodiment of the present invention, as shown in the figure, the method comprises the following steps:
S101, server receives the request of data that application sends, and described request of data is send after the terminal scanning to WAP (wireless access point) of described application place.
S102, described server, according to described request of data, obtains the password of described WAP (wireless access point).
S103, described server sends the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
Please refer to Fig. 2, first exemplary plot of the system that its wireless connection method provided for the embodiment of the present invention is applied, as shown in the figure, at least two methods (Application, APP), a server and at least one WAP (wireless access point) is mainly comprised.Described application as the APP1 in Fig. 2, APP2 ..., shown in APPn, described WAP (wireless access point) as compatibility checking (WirelessFidelity, Wi-Fi) focus 1 wireless in Fig. 2, Wi-Fi Hotspot 2 ..., shown in Wi-Fi Hotspot n.Wherein, described at least two methods can be positioned at different terminals also can be positioned at same terminal, and the embodiment of the present invention is not particularly limited this.
Be understandable that, the method described by S101 ~ S103 can be utilized to obtain the password of WAP (wireless access point) from server for each application, and complete the wireless connections operation of place terminal according to the password of this WAP (wireless access point).
In a concrete implementation procedure, described application place terminal can scan the WAP (wireless access point) of surrounding.If described application place terminal scanning is to WAP (wireless access point), described application can send described request of data to described server, in order to obtain the password of the WAP (wireless access point) scanned from described server.Like this, described server just can receive the described request of data that application sends.
It should be noted that, before described application place terminal accesses described WAP (wireless access point), described application can utilize the Mobile data between place terminal with described server to communicate.
Preferably, can carry in described request of data but be not limited to: the mark of described application and the mark of described WAP (wireless access point).Wherein, the mark of described WAP (wireless access point) can include but not limited to: service set (ServiceSetIdentifier, SSID) and media interviews control (MediaAccessControl, MAC) address.
It should be noted that, the mark of the described WAP (wireless access point) comprised in described request of data needs the SSID and the MAC Address that comprise WAP (wireless access point) simultaneously, and the combination of SSID and MAC Address can unique identification WAP (wireless access point).
Illustrate, in the embodiment of the present invention, described server is according to described request of data, and the method obtaining the password of described WAP (wireless access point) can include but not limited to:
First, described server, according to the mark of the application of carrying in described request of data, carries out authentication to described application.If described application is by authentication, described server, according to the mark of described WAP (wireless access point), mates with the corresponding relation of the password of WAP (wireless access point) in the mark of WAP (wireless access point), to obtain the password of described WAP (wireless access point).Otherwise if described application is not by authentication, described server does not obtain the password of described WAP (wireless access point) for described application, and returns the information of authentication failure to described application.
In a concrete implementation procedure, described server can distribute a mark (APPID) for each legal application in advance, can think, only has legal application just to have mark.So, describedly be applied in when obtaining the password of WAP (wireless access point) to described server request, just can carry this mark by request of data, so that pass through authentication, if it is legal for judging to apply according to the mark of application, then this application is by authentication, otherwise, it is illegal for applying if judge, then this application identity authentication failed.
In a concrete implementation procedure, for a large amount of WAP (wireless access point), described server can prestore the corresponding relation of the mark of each WAP (wireless access point) and the password of WAP (wireless access point).In addition, described server can also store the geographical location information of described WAP (wireless access point), as latitude and longitude coordinates.
In a concrete implementation procedure, each WAP (wireless access point) can carry out data encryption to the mark of self and password, then sends the mark of the WAP (wireless access point) after encryption and password to described server and stores.
In a concrete implementation procedure, described server is after the password obtaining the WAP (wireless access point) of asking, the password of this WAP (wireless access point) can be sent to described application, like this, described application just can according to the password of the WAP (wireless access point) obtained, perform the operation that described application place terminal accesses described WAP (wireless access point), described application place terminal just can access described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), and pass through accessed WAP (wireless access point) and opposite equip. carries out data communication.
In an optional implementation procedure, described server can receive the use record of the described WAP (wireless access point) that described application sends, and the use of described WAP (wireless access point) is recorded as described application and uses the situation of described WAP (wireless access point) to obtain according to described application place terminal.Then, described server can carry out data statistics according to the use record of described WAP (wireless access point); And/or described server also can store the use record of described WAP (wireless access point).
Be understandable that, in the embodiment of the present invention, server is utilized to carry out concentrating storage to the password of WAP (wireless access point), thus password can be supplied to by checking, the some application with legal identity, these application can both be obtained and use the password of WAP (wireless access point), realize sharing wireless access dot information, share wireless connection service.
It should be noted that, terminal involved in the embodiment of the present invention can include but not limited to personal computer (PersonalComputer, PC), personal digital assistant (PersonalDigitalAssistant, PDA), radio hand-held equipment, panel computer (TabletComputer), mobile phone, MP3 player, MP4 player etc.
Embodiment two
The embodiment of the present invention provides a kind of wireless connection method, and the method is wireless connection method in the embodiment of the present invention of application side realization.Please refer to Fig. 3, the schematic flow sheet of the embodiment two of its wireless connection method provided for the embodiment of the present invention, as shown in the figure, the method comprises the following steps:
S301, if application place terminal scanning is to WAP (wireless access point), described application sends request of data to server, so that described server is according to described request of data, obtains the password of described WAP (wireless access point).
S302, described application receives the password of the described WAP (wireless access point) that described server sends.
S303, described application, according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
Please refer to Fig. 4, second exemplary plot of the system that its wireless connection method provided for the embodiment of the present invention is applied, as shown in the figure, each application can comprise an administration module and an interface module, and interface module can carrying out between administration module, the operating system applying place terminal and described server alternately respectively and in application.
In a concrete implementation procedure, described interface module can be, but not limited to utilize SDK (SoftwareDevelopmentKit, SDK) to realize.Preferably, in the development process of application, standardized SDK can be embedded and installs in the application, application can integrated SDK, SDK can be present in described application as a module.
Illustrate, if application place terminal scanning is to WAP (wireless access point), the method that described application sends request of data to server can include but not limited to:
First, the administration module of described application obtains the mark of the WAP (wireless access point) that described application place terminal scanning arrives.Then, the mark of described WAP (wireless access point) is sent to described interface module by the administration module of described application.Finally, the interface module of described application sends described request of data to described server, and described request of data carries the mark of described application and the mark of described WAP (wireless access point).
In a concrete implementation procedure, the administration module of described application can send state to the operating system of described application place terminal and obtain request, the state of the Wi-Fi switch of terminal, after receiving this state acquisition request, is sent to the administration module of described application by the operating system of described application place terminal.Like this, described application just can know the state of Wi-Fi switch from the operating system of place terminal.
Preferably, in the embodiment of the present invention, the operating system of described application place terminal can include but not limited to: the operating system (IphoneOperatingSystem of Android (Android) operating system, Apple, IOS) or Saipan (Symbian) operating system etc., the embodiment of the present invention is not particularly limited this.
In a concrete implementation procedure, if the administration module of described application is according to the state of Wi-Fi switch, confirmation institute in the terminal Wi-Fi switch is in opening, the administration module of described application can send access point acquisition request to the operating system of described application place terminal further, the operating system of described application place terminal is receiving after this access point obtains request, by described application place terminal scanning to the mark of WAP (wireless access point) of surrounding send to the administration module of described application.Like this, described application just obtains the mark of the WAP (wireless access point) that place terminal scanning arrives.
It should be noted that, before described application place terminal accesses described WAP (wireless access point), the interface module of described application can be communicated with described server certificate by Mobile data.
In a concrete implementation procedure, as shown in Figure 4, the administration module of described application can receive the mark of at least one WAP (wireless access point) from the operating system of described application place terminal, and further the mark of at least one WAP (wireless access point) is sent to the interface module of described application.This interface module generates request of data, and carry the mark of at least one WAP (wireless access point) and the mark of place application by this request of data, to make the server receiving this request of data according to this request of data, return the password of at least one WAP (wireless access point).
In a concrete implementation procedure, as shown in Figure 4, the interface module of described application receives the password of the described WAP (wireless access point) that described server sends.
In a concrete implementation procedure, because the interface module of described application to have sent the mark of at least one WAP (wireless access point) to described server, therefore, the interface module of described application also can obtain the password of at least one WAP (wireless access point) from described server.Further, the interface module of described application can, according to the signal strength signal intensity of at least one WAP (wireless access point), select a strongest WAP (wireless access point) of signal to access; Or the interface module of described application also can Stochastic choice WAP (wireless access point) access; Or, the interface module of described application can also show this at least one WAP (wireless access point) by display module, and receive the selection of user at least one WAP (wireless access point) described, realize the access of WAP (wireless access point), the embodiment of the present invention is not particularly limited this.
Illustrate, in the embodiment of the present invention, described application is according to the password of described WAP (wireless access point), and performing the method that described application place terminal accesses the operation of described WAP (wireless access point) can include but not limited to:
The interface module of described application is according to the password of described WAP (wireless access point), call the application programming interface (ApplicationProgrammingInterface of the operating system of described application place terminal, API), with the password making described operating system utilize described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), access described WAP (wireless access point) to realize described application place terminal.
In a concrete implementation procedure, the password of the WAP (wireless access point) that described operating system can be transmitted according to described interface module, attempts the described WAP (wireless access point) of access.If the success of access WAP (wireless access point), described application place terminal just can set up the wireless connections between described WAP (wireless access point), and by described WAP (wireless access point) access network, carries out data communication with opposite equip..Otherwise if the failure of access WAP (wireless access point), described operating system can return failure information, as error code to described interface module.
In an optional implementation procedure, after described application place terminal accesses described WAP (wireless access point), the interface module of described application can also use the situation of described WAP (wireless access point) according to described application place terminal, obtains the use record of WAP (wireless access point); Then, the use record of described WAP (wireless access point) is sent to described server by the interface module of described application further, so that described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, so that the use record of WAP (wireless access point) described in described server stores.
Such as, the service condition of described WAP (wireless access point) can include but not limited to: the use duration of described WAP (wireless access point) and/or the access times of described WAP (wireless access point).
It should be noted that, the executive agent of S301 ~ S303 can be wireless connection device, this device can be positioned at the application of local terminal, or can also for being arranged in plug-in unit or the SDK (SoftwareDevelopmentKit of the application of local terminal, the functional unit such as SDK), the embodiment of the present invention is not particularly limited this.
Be understandable that, described application can be mounted in the application program (nativeApp) in terminal, or can also be a web page program (webApp) of browser in terminal, and the embodiment of the present invention does not limit this.
The embodiment of the present invention provides the device embodiment realizing each step and method in said method embodiment further.
Please refer to Fig. 5, the functional block diagram of the embodiment one of its wireless connection device provided for the embodiment of the present invention.As shown in the figure, this device is arranged in server, and this device comprises:
Receiver module 51, for receiving the request of data that application sends, described request of data is send after the terminal scanning to WAP (wireless access point) of described application place;
Processing module 52, for according to described request of data, obtains the password of described WAP (wireless access point);
Sending module 53, for sending the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
In a concrete implementation procedure, described request of data carries the mark of described application and the mark of described WAP (wireless access point); Described processing module 52, specifically for:
According to the mark of described application, authentication is carried out to described application;
If described application, by authentication, according to the mark of described WAP (wireless access point), is mated, to obtain the password of described WAP (wireless access point) in the mark of WAP (wireless access point) and the corresponding relation of password.
In an optional implementation procedure, described device also comprises:
Memory module 54, for the corresponding relation of the password of the mark and WAP (wireless access point) that store WAP (wireless access point).
In a concrete implementation procedure, described receiver module 51, also for receiving the use record of the described WAP (wireless access point) that described application sends, the use of described WAP (wireless access point) is recorded as described application and uses the situation of described WAP (wireless access point) to obtain according to described application place terminal;
Described processing module 52, also carries out data statistics for the use record according to described WAP (wireless access point); And/or described memory module, also for storing the use record of described WAP (wireless access point).
Because each unit in the present embodiment can perform the method shown in Fig. 1, the part that the present embodiment is not described in detail, can with reference to the related description to Fig. 1.
Please refer to Fig. 6, the functional block diagram of the embodiment two of its wireless connection device provided for the embodiment of the present invention.As shown in the figure, this device is arranged in application, and this device comprises:
Interface module 61, if for application place terminal scanning to WAP (wireless access point), send request of data to server, so that described server is according to described request of data, obtain the password of described WAP (wireless access point);
Described interface module 61, also for receiving the password of the described WAP (wireless access point) that described server sends;
Described interface module 61, also for the password according to described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
In an optional implementation procedure, described device also comprises administration module 62;
Described administration module 62, for obtaining the mark of the WAP (wireless access point) that described application place terminal scanning arrives, and, the mark of described WAP (wireless access point) is sent to described interface module;
Described interface module 61, also for sending described request of data to described server, described request of data carries the mark of described application and the mark of described WAP (wireless access point).
In a concrete implementation procedure, described interface module 61, also for receiving the password of the described WAP (wireless access point) that described server sends;
Described interface module 61 is for the password according to described WAP (wireless access point), perform described application place terminal when accessing the operation of described WAP (wireless access point), specifically for: according to the password of described WAP (wireless access point), call the application programming interface API of the operating system of described application place terminal, with the password making described operating system utilize described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), access described WAP (wireless access point) to realize described application place terminal.
In a concrete implementation procedure, described interface module 61, also for using the situation of described WAP (wireless access point) according to described application place terminal, obtains the use record of WAP (wireless access point);
Described interface module 61, also for the use record of described WAP (wireless access point) is sent to described server, so that described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, so that the use record of WAP (wireless access point) described in described server stores.
In a concrete implementation procedure, described interface module 61 utilizes SDK SDK to realize.
Because each unit in the present embodiment can perform the method shown in Fig. 3, the part that the present embodiment is not described in detail, can with reference to the related description to Fig. 3.
Please refer to Fig. 7, the structural representation of its wireless connection system provided for the embodiment of the present invention.As shown in the figure, this wireless connection system comprises: application 71 and server 72;
Described application 71, if for application place terminal scanning to WAP (wireless access point), send request of data to server 72;
Described server 72, for according to described request of data, obtains the password of described WAP (wireless access point), and sends the password of described WAP (wireless access point) to described application 71;
Described application 71, also for receiving the password of the described WAP (wireless access point) that described server 72 sends, and, according to the password of described WAP (wireless access point), perform the operation that described application place terminal accesses described WAP (wireless access point).
The technical scheme of the embodiment of the present invention has following beneficial effect:
In the embodiment of the present invention, received the request of data of application transmission by server, described request of data is send after the terminal scanning to WAP (wireless access point) of described application place; Thus described server, according to described request of data, obtains the password of described WAP (wireless access point); And then described server sends the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), perform the operation that described application place terminal accesses described WAP (wireless access point).
In the technical scheme that the embodiment of the present invention provides, the password of WAP (wireless access point) is stored by server centered, and each application can be provided it to according to the request of each application, therefore, it is possible in solution prior art, the relevant information of lost terminal WAP (wireless access point) and cannot access the problem of WAP (wireless access point), can improve the reliability of terminal access wireless connections.And the password of the WAP (wireless access point) that application can store in shared server, realizes sharing of WAP (wireless access point), solves the problem that in prior art, WAP (wireless access point) cannot be shared.
In addition, in the embodiment of the present invention, server centered stores the password of WAP (wireless access point), as long as application obtains the password of WAP (wireless access point), application place terminal just can access this WAP (wireless access point), different terminals can share wireless access service, thus solve wireless connection service in prior art cannot cross-terminal, cross operating system problem.
In addition, in the embodiment of the present invention, be applied in after scanning WAP (wireless access point), can from the password of server automatic acquisition WAP (wireless access point), and automatically complete the operation that place terminal accesses this WAP (wireless access point), achieve being certainly dynamically connected between terminal and WAP (wireless access point), improve the efficiency of terminal access WAP (wireless access point), decrease user operation cost.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiment provided by the present invention, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, is only a kind of logic function and divides, and actual can have other dividing mode when realizing, such as, multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that hardware also can be adopted to add SFU software functional unit realizes.
The above-mentioned integrated unit realized with the form of SFU software functional unit, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprising some instructions in order to make a computer installation (can be personal computer, server, or network equipment etc.) or processor (Processor) perform the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-OnlyMemory, ROM), random access memory (RandomAccessMemory, RAM), magnetic disc or CD etc. various can be program code stored medium.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (19)

1. a wireless connection method, is characterized in that, described method comprises:
Server receives the request of data that application sends, and described request of data is send after the terminal scanning to WAP (wireless access point) of described application place;
Described server, according to described request of data, obtains the password of described WAP (wireless access point);
Described server sends the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
2. method according to claim 1, is characterized in that, described request of data carries the mark of described application and the mark of described WAP (wireless access point); Described server, according to described request of data, obtains the password of described WAP (wireless access point), comprising:
Described server, according to the mark of described application, carries out authentication to described application;
If described application is by authentication, described server, according to the mark of described WAP (wireless access point), mates in the mark of WAP (wireless access point) and the corresponding relation of password, to obtain the password of described WAP (wireless access point).
3. method according to claim 2, it is characterized in that, described server is according to the mark of described WAP (wireless access point), mate in the mark of WAP (wireless access point) and the corresponding relation of password, before the password obtaining described WAP (wireless access point), described method also comprises: the corresponding relation of the described mark of server stores WAP (wireless access point) and the password of WAP (wireless access point).
4. according to the method in any one of claims 1 to 3, it is characterized in that, described method also comprises:
Described server receives the use record of the described WAP (wireless access point) that described application sends, and the use of described WAP (wireless access point) is recorded as described application and uses the situation of described WAP (wireless access point) to obtain according to described application place terminal;
Described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, the use record of WAP (wireless access point) described in described server stores.
5. a wireless connection method, is characterized in that, described method comprises:
If application place terminal scanning is to WAP (wireless access point), described application sends request of data to server, so that described server is according to described request of data, obtains the password of described WAP (wireless access point);
Described application receives the password of the described WAP (wireless access point) that described server sends;
Described application, according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
6. method according to claim 5, is characterized in that, if application place terminal scanning is to WAP (wireless access point), described application sends request of data to server, comprising:
The administration module of described application obtains the mark of the WAP (wireless access point) that described application place terminal scanning arrives;
The mark of described WAP (wireless access point) is sent to described interface module by the administration module of described application;
The interface module of described application sends described request of data to described server, and described request of data carries the mark of described application and the mark of described WAP (wireless access point).
7. the method according to claim 5 or 6, is characterized in that,
Described application receives the password of the described WAP (wireless access point) that described server sends, and comprising: the interface module of described application receives the password of the described WAP (wireless access point) that described server sends;
Described application is according to the password of described WAP (wireless access point), perform the operation that described application place terminal accesses described WAP (wireless access point), comprise: the interface module of described application is according to the password of described WAP (wireless access point), call the application programming interface API of the operating system of described application place terminal, with the password making described operating system utilize described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), access described WAP (wireless access point) to realize described application place terminal.
8. method according to claim 5, is characterized in that, described method also comprises:
Described application uses the situation of described WAP (wireless access point) according to described application place terminal, obtains the use record of WAP (wireless access point);
The use record of described WAP (wireless access point) is sent to described server by described application, so that described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, so that the use record of WAP (wireless access point) described in described server stores.
9. the method according to any one of claim 5 to 7, is characterized in that, described interface module utilizes SDK SDK to realize.
10. a wireless connection device, is characterized in that, described device comprises:
Receiver module, for receiving the request of data that application sends, described request of data is send after the terminal scanning to WAP (wireless access point) of described application place;
Processing module, for according to described request of data, obtains the password of described WAP (wireless access point);
Sending module, for sending the password of described WAP (wireless access point) to described application, so that described application is according to the password of described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
11. devices according to claim 10, is characterized in that, described request of data carries the mark of described application and the mark of described WAP (wireless access point); Described processing module, specifically for:
According to the mark of described application, authentication is carried out to described application;
If described application, by authentication, according to the mark of described WAP (wireless access point), is mated, to obtain the password of described WAP (wireless access point) in the mark of WAP (wireless access point) and the corresponding relation of password.
12. devices according to claim 11, is characterized in that, described device also comprises:
Memory module, for the corresponding relation of the password of the mark and WAP (wireless access point) that store WAP (wireless access point).
13., according to claim 10 to the device according to any one of 12, is characterized in that,
Described receiver module, also for receiving the use record of the described WAP (wireless access point) that described application sends, the use of described WAP (wireless access point) is recorded as described application and uses the situation of described WAP (wireless access point) to obtain according to described application place terminal;
Described processing module, also carries out data statistics for the use record according to described WAP (wireless access point); And/or described memory module, also for storing the use record of described WAP (wireless access point).
14. 1 kinds of wireless connection devices, is characterized in that, described device comprises:
Interface module, if for application place terminal scanning to WAP (wireless access point), send request of data to server, so that described server is according to described request of data, obtain the password of described WAP (wireless access point);
Described interface module, also for receiving the password of the described WAP (wireless access point) that described server sends;
Described interface module, also for the password according to described WAP (wireless access point), performs the operation that described application place terminal accesses described WAP (wireless access point).
15. devices according to claim 14, is characterized in that, described device also comprises administration module;
Described administration module, for obtaining the mark of the WAP (wireless access point) that described application place terminal scanning arrives, and, the mark of described WAP (wireless access point) is sent to described interface module;
Described interface module, also for sending described request of data to described server, described request of data carries the mark of described application and the mark of described WAP (wireless access point).
16. devices according to claims 14 or 15, is characterized in that,
Described interface module, also for receiving the password of the described WAP (wireless access point) that described server sends;
Described interface module is used for the password according to described WAP (wireless access point), perform described application place terminal when accessing the operation of described WAP (wireless access point), specifically for: according to the password of described WAP (wireless access point), call the application programming interface API of the operating system of described application place terminal, with the password making described operating system utilize described WAP (wireless access point), set up the wireless connections between described WAP (wireless access point), access described WAP (wireless access point) to realize described application place terminal.
17. devices according to claim 14, is characterized in that,
Described interface module, also for using the situation of described WAP (wireless access point) according to described application place terminal, obtains the use record of WAP (wireless access point);
Described interface module, also for the use record of described WAP (wireless access point) is sent to described server, so that described server carries out data statistics according to the use record of described WAP (wireless access point); And/or, so that the use record of WAP (wireless access point) described in described server stores.
18., according to claim 14 to the device according to any one of 16, is characterized in that, described interface module utilizes SDK SDK to realize.
19. 1 kinds of wireless connection systems, is characterized in that, described system comprises: application and service device;
Described application, if for application place terminal scanning to WAP (wireless access point), send request of data to server;
Described server, for according to described request of data, obtains the password of described WAP (wireless access point), and sends the password of described WAP (wireless access point) to described application;
Described application, also for receiving the password of the described WAP (wireless access point) that described server sends, and, according to the password of described WAP (wireless access point), perform the operation that described application place terminal accesses described WAP (wireless access point).
CN201510437759.0A 2015-07-23 2015-07-23 Wireless connection method, device and system Pending CN105120458A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510437759.0A CN105120458A (en) 2015-07-23 2015-07-23 Wireless connection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510437759.0A CN105120458A (en) 2015-07-23 2015-07-23 Wireless connection method, device and system

Publications (1)

Publication Number Publication Date
CN105120458A true CN105120458A (en) 2015-12-02

Family

ID=54668293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510437759.0A Pending CN105120458A (en) 2015-07-23 2015-07-23 Wireless connection method, device and system

Country Status (1)

Country Link
CN (1) CN105120458A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682015A (en) * 2016-04-05 2016-06-15 上海连尚网络科技有限公司 Method and device for establishing wireless connection
CN105744576A (en) * 2016-01-28 2016-07-06 自连电子科技(上海)有限公司 Method for increasing network roaming speed
CN105873049A (en) * 2016-01-18 2016-08-17 上海连尚网络科技有限公司 Method and equipment for obtaining shared wireless access point
CN106358190A (en) * 2016-09-19 2017-01-25 江苏福云星信息技术有限公司 Connection method for enabling intelligent wireless terminal to rapidly and automatically access WIFI (wireless fidelity) wireless network and application system
CN108495316A (en) * 2018-04-10 2018-09-04 上海连尚网络科技有限公司 A kind of wireless connection method and equipment
WO2020011194A1 (en) * 2018-07-10 2020-01-16 上海连尚网络科技有限公司 Wireless connection method and device
CN111182532A (en) * 2019-06-26 2020-05-19 腾讯科技(深圳)有限公司 Wireless local area network connection method, device, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070066304A1 (en) * 2005-09-07 2007-03-22 Samsung Electronics Co., Ltd. Method and apparatus for connecting to stable access point using connection history
CN103298072A (en) * 2013-07-02 2013-09-11 张洁昕 Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal
CN104320861A (en) * 2014-11-04 2015-01-28 腾讯科技(深圳)有限公司 Wireless connection building method and device, terminal device, application server and system
CN104618991A (en) * 2014-12-31 2015-05-13 上海连尚网络科技有限公司 Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070066304A1 (en) * 2005-09-07 2007-03-22 Samsung Electronics Co., Ltd. Method and apparatus for connecting to stable access point using connection history
CN103298072A (en) * 2013-07-02 2013-09-11 张洁昕 Method and system for automatically connecting to WiFi (wireless fidelity) access points and mobile communication terminal
CN104320861A (en) * 2014-11-04 2015-01-28 腾讯科技(深圳)有限公司 Wireless connection building method and device, terminal device, application server and system
CN104618991A (en) * 2014-12-31 2015-05-13 上海连尚网络科技有限公司 Wifi (wireless fidelity) connecting method and wifi connecting system for mobile terminal

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10299191B2 (en) 2016-01-18 2019-05-21 Shanghai Lianshang Network Technology Co., Ltd. Method and device for establishing wireless connection
CN105873049A (en) * 2016-01-18 2016-08-17 上海连尚网络科技有限公司 Method and equipment for obtaining shared wireless access point
WO2017124620A1 (en) * 2016-01-18 2017-07-27 上海连尚网络科技有限公司 Method and device for sharing wireless access point
CN105873049B (en) * 2016-01-18 2017-12-22 上海连尚网络科技有限公司 A kind of method, equipment, system and storage medium for being used to share WAP
CN105744576A (en) * 2016-01-28 2016-07-06 自连电子科技(上海)有限公司 Method for increasing network roaming speed
CN105682015A (en) * 2016-04-05 2016-06-15 上海连尚网络科技有限公司 Method and device for establishing wireless connection
CN105682015B (en) * 2016-04-05 2017-10-31 上海连尚网络科技有限公司 A kind of method and apparatus for being used to set up wireless connection
CN106358190A (en) * 2016-09-19 2017-01-25 江苏福云星信息技术有限公司 Connection method for enabling intelligent wireless terminal to rapidly and automatically access WIFI (wireless fidelity) wireless network and application system
CN106358190B (en) * 2016-09-19 2019-09-20 江苏福云星信息技术有限公司 The connection method and application system of the fast automatic access WIFI wireless network of Intelligent wireless terminal
CN108495316A (en) * 2018-04-10 2018-09-04 上海连尚网络科技有限公司 A kind of wireless connection method and equipment
CN108495316B (en) * 2018-04-10 2021-02-23 上海连尚网络科技有限公司 Wireless connection method and device
WO2020011194A1 (en) * 2018-07-10 2020-01-16 上海连尚网络科技有限公司 Wireless connection method and device
CN111182532A (en) * 2019-06-26 2020-05-19 腾讯科技(深圳)有限公司 Wireless local area network connection method, device, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105120458A (en) Wireless connection method, device and system
CN108512870B (en) Method for accessing Internet of things platform, Internet of things platform and Internet of things equipment
CN101554033B (en) System capability discovery for software defined radio
CN101965581B (en) System and method for installing smart card applet
KR20190126005A (en) Smart broadcasting method and device
CN102801656B (en) Realize condition control method, the equipment and system of instant messaging application
CN101873719A (en) Method, device and system for configuring wireless fidelity (WIFI) parameter
CN105684520B (en) Method for establishing wireless local area network communication connection and electronic equipment thereof
KR102173242B1 (en) Local wireless data communication system, method and apparatus for automactic setup of imformation
CN104125307A (en) Data flow sharing method and device
CN105357737A (en) Method and device for accessing WiFi device to wireless access point
CN110831005B (en) Equipment adding method of Mesh network, gateway equipment and storage medium
JPWO2010016123A1 (en) Base station apparatus, mobile communication method, and mobile communication system
CN103491071A (en) Wireless communication system
CN105981356B (en) Information sending and processing method and device
CN103945364A (en) Data transmission method, first terminal and system
CN110312266B (en) Method and device for realizing WIFI communication by multiple systems of terminal
CN105263132A (en) eUICC standby configuration file selection method and user terminal
CN104539742A (en) Information push method, information push device and information push system
CN103634819A (en) Mobile network signal blind zone discovery method and device
CN104125205B (en) A kind of communication account number login method, system and terminal
CN104753761A (en) Method, server and system for processing messages
CN105072082A (en) Method and device for transmitting verification code
CN105142217A (en) MAC address combined positioning method based on push and wireless fidelity (WiFi) hot spot
CN102722404A (en) Management system, device and method for application software in intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20151202