CN105530684A - Method, device and system for network access - Google Patents

Method, device and system for network access Download PDF

Info

Publication number
CN105530684A
CN105530684A CN201410510310.8A CN201410510310A CN105530684A CN 105530684 A CN105530684 A CN 105530684A CN 201410510310 A CN201410510310 A CN 201410510310A CN 105530684 A CN105530684 A CN 105530684A
Authority
CN
China
Prior art keywords
network access
wireless network
station location
corresponding relation
location marker
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.)
Granted
Application number
CN201410510310.8A
Other languages
Chinese (zh)
Other versions
CN105530684B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410510310.8A priority Critical patent/CN105530684B/en
Publication of CN105530684A publication Critical patent/CN105530684A/en
Application granted granted Critical
Publication of CN105530684B publication Critical patent/CN105530684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device and a system for network access, which belongs to the technical field of communication. The method comprises steps: a data packet sent by a position informing device in an area where a terminal is is acquired; a position identifier in the data packet is read; a wireless network access parameter corresponding to the position identifier is acquired; and the wireless network access parameter is adopted to be accessed to the corresponding wireless network. The position identifier is read from the acquired data packet through the terminal, the wireless network access parameter corresponding to the position identifier is then acquired, and the wireless network access parameter is adopted to be automatically accessed to the corresponding wireless network; the problems that the network access method in the background technology is tedious in operation steps and long in access time consumption can be solved; and the wireless network access steps are simplified, the access time consumption is shortened, and the wireless network can be accessed automatically.

Description

Method for network access, device and system
Technical field
The present invention relates to communication technical field, particularly a kind of method for network access, device and system.
Background technology
WiFi (WirelessFidelity, Wireless Fidelity) is a kind of short-distance wireless communication technology.User can utilize and support that the terminal of WiFi technology is connected with WAP (wireless access point), and by WAP (wireless access point) accessing Internet.
At present, WiFi network cut-in method mainly comprises the steps: that terminal obtains attachable WAP (wireless access point) in peripheral region, user therefrom chooses a WAP (wireless access point) needing to connect, and the password that input is corresponding, then the password of the WAP (wireless access point) chosen according to user of terminal and correspondence thereof completes WiFi network access.
Realizing in process of the present invention, inventor finds that above-mentioned technology at least exists following problem: the WiFi cut-in method that above-mentioned technology relates to exists complex operation step, accesses the shortcoming of length consuming time.
Summary of the invention
There is complex operation step, access the problem of length consuming time in the WiFi cut-in method related to solve above-mentioned technology, embodiments provides a kind of method for network access, device and system.Described technical scheme is as follows:
First aspect, provides a kind of method for network access, and in terminal, described method comprises:
Obtain the packet that the position annunciator in region residing for described terminal outwards sends, in region residing for described terminal, also comprise at least one WAP (wireless access point);
Read the station location marker comprised in described packet, described station location marker is for reflecting the geographical position of described position annunciator;
Obtain the wireless network access parameters corresponding with described station location marker;
The wireless network that the access WAP (wireless access point) corresponding with described wireless network access parameters provides.
Second aspect, provides a kind of method for network access, and in server, described method comprises:
The station location marker that receiving terminal sends, described station location marker is after described terminal gets the packet that the position annunciator in region residing for described terminal outwards sends, read from described packet, described station location marker, for reflecting the geographical position of described position annunciator, also comprises at least one WAP (wireless access point) in region residing for described terminal;
Obtain the wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters;
Described wireless network access parameters is sent to described terminal, the wireless network that described wireless network access parameters provides for triggering the described terminal access WAP (wireless access point) corresponding with described wireless network access parameters.
The third aspect, provides a kind of network access device, and in terminal, described device comprises:
Packet acquisition module, the packet that the position annunciator for obtaining in region residing for described terminal outwards sends, also comprises at least one WAP (wireless access point) in region residing for described terminal;
Identity reading module, for reading the station location marker comprised in described packet, described station location marker is for reflecting the geographical position of described position annunciator;
Parameter acquisition module, for obtaining the wireless network access parameters corresponding with described station location marker;
Network access module, for accessing the wireless network that the WAP (wireless access point) corresponding with described wireless network access parameters provides.
Fourth aspect, provides a kind of network access device, and in server, described device comprises:
Mark receiver module, for the station location marker that receiving terminal sends, described station location marker is after described terminal gets the packet that the position annunciator in region residing for described terminal outwards sends, read from described packet, described station location marker, for reflecting the geographical position of described position annunciator, also comprises at least one WAP (wireless access point) in region residing for described terminal;
Parameter obtains module, and for obtaining the wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters;
Parameter sending module, for described wireless network access parameters is sent to described terminal, the wireless network that described wireless network access parameters provides for triggering the described terminal access WAP (wireless access point) corresponding with described wireless network access parameters.
5th aspect, provides a kind of network access system, it is characterized in that, described system comprises: terminal and server;
Described terminal comprises the network access device as described in the third aspect;
Described server comprises the network access device as described in fourth aspect.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By terminal load position mark from the packet got, then obtain the wireless network access parameters corresponding with this station location marker, and adopt this wireless network access parameters automatically to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, 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 structural representation of a kind of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the method flow diagram of the method for network access that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the method for network access that another embodiment of the present invention provides;
Fig. 4 is the method flow diagram of the method for network access that yet another embodiment of the invention provides;
Fig. 5 is the block diagram of the network access device that one embodiment of the invention provides;
Fig. 6 is the block diagram of the network access device that another embodiment of the present invention provides;
Fig. 7 is the block diagram of the network access system that one embodiment of the invention provides;
Fig. 8 is the structural representation of the terminal that one embodiment of the invention provides;
Fig. 9 is the structural representation of the server that one embodiment of the invention provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Realizing in process of the present invention, inventor finds: if terminal needs to access a certain wireless network in peripheral region, terminal needs the wireless network access parameters obtaining this wireless network.Therefore, can by means of the position judgment of location technology realization to terminal, and then the wireless network access parameters of wireless network accessible in its peripheral region can be provided to terminal according to the position of terminal, after terminal gets this wireless network access parameters, this wireless network access parameters just can be adopted automatically to access corresponding wireless network.
Below, first a kind of possible implementation environment involved by each embodiment of the present invention is introduced.
Please refer to Fig. 1, it illustrates the structural representation of a kind of implementation environment involved by each embodiment of the present invention.This implementation environment comprises: terminal 120, position annunciator 140 and WAP (wireless access point) 160.
Terminal 120 can be mobile phone, panel computer, E-book reader, MP3 (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert compression standard audio frequency aspect 3) player, MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert compression standard audio frequency aspect 4) player, pocket computer on knee etc.
Position annunciator 140 can be all kinds of base station equipments that outwards can send packet.Such as, position annunciator 140 can comprise controller and wireless radio frequency modules, and controller outwards sends packet for controlling wireless radio frequency modules.
In a kind of possible implementation, software, hardware or both combinations realization iBeacon reflector based on iBeacon technology can be passed through in position annunciator 140 inside, and software, element or both combinations realization iBeacon receiver based on iBeacon technology can be passed through in terminal 120 inside.Wherein, iBeacon technology is a kind of technology realizing accurate microposition based on BLE (BluetoothLowEnergy, low-power consumption bluetooth) technology.IBeacon reflector is used for outwards sending for realizing the broadcast data packet of locating, and the broadcast data packet that iBeacon receiver sends for obtaining outside iBeacon reflector.
WAP (wireless access point) 160 can be pure access point apparatus, also can be the equipment integrating integrating route, exchange and access.WAP (wireless access point) 160, for providing wireless network, accesses for terminal 120.Such as, this Wi-Fi is WiFi network.
In addition, optionally, this implementation environment can also comprise: server 180.
Can be connected by cable network or wireless network between server 180 with terminal 120.Such as, when being connected by wireless network between server 180 with terminal 120, this wireless network can be the wireless network based on communication standard, as 2G (TheSecondGenerationofMobilePhoneMobileCommunicationTechn ologyStandards, Generation Mobile Telecommunication System technical specification) network, 3G (TheThirdGenerationofMobilePhoneMobileCommunicationTechno logyStandards, G mobile communication specification) network, 4G (TheFourthGenerationofMobilePhoneMobileCommunicationTechn ologyStandards, forth generation mobile communication technology standard) network or HF radio communication signal.
Server 180 can be a station server, or the server cluster be made up of some station servers, or a cloud computing service center.
Below, the network insertion scheme that the embodiment of the present invention provides is described in detail and illustrated.
Please refer to Fig. 2, it illustrates the method flow diagram of the method for network access that one embodiment of the invention provides, the end side that the present embodiment is applied in implementation environment shown in Fig. 1 with this method for network access is illustrated.This method for network access can comprise the steps:
Step 202, obtains the packet that the position annunciator in region residing for terminal outwards sends, also comprises at least one WAP (wireless access point) in region residing for this terminal.
Send packet in the region of position annunciator certain limit towards periphery, after terminal enters this region, just can get the packet that the position annunciator in this region outwards sends.Wherein, when position annunciator is iBeacon reflector, its packet outwards sent is for realizing the broadcast data packet of locating.Accordingly, terminal inner accessible site has iBeacon receiver, for obtaining the broadcast data packet that iBeacon reflector sends.
In addition, in region residing for terminal except comprising position annunciator, also comprise at least one WAP (wireless access point).
Step 204, the station location marker comprised in read data packet, this station location marker is for reflecting the geographical position of position annunciator.
Carry the station location marker in the geographical position for reflecting position annunciator in packet, different station location markers represents different geographical position.Because position annunciator, WAP (wireless access point) and terminal are in the same area, the geographical position of WAP (wireless access point) and terminal is also reflected in the geographical position that station location marker reflects.
Step 206, obtains the wireless network access parameters corresponding with station location marker.
Pre-set the predetermined corresponding relation between diverse location mark and different networks access parameter.This predetermined corresponding relation can be stored in terminal, also can be stored in server.When this predetermined corresponding relation is stored in terminal, terminal obtains wireless network access parameters in this locality; When this corresponding relation is stored in server, terminal is by obtaining wireless network access parameters with server interaction.
The call parameter of wireless network access parameters needed for terminal access of radio network.Such as, when wireless network is WiFi network, wireless network access parameters generally includes the SSID (ServiceSetIdentifier, service set) of WiFi network, password and network encryption type.
Step 208, accesses the wireless network that the WAP (wireless access point) corresponding with wireless network access parameters provides.
After terminal gets wireless network access parameters, the wireless network that automatically corresponding according to wireless network access parameters access WAP (wireless access point) provides.
In sum, the method for network access that the present embodiment provides, by terminal load position mark from the packet got, then obtain the wireless network access parameters corresponding with this station location marker, and adopt this wireless network access parameters automatically to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
Please refer to Fig. 3, it illustrates the method flow diagram of the method for network access that another embodiment of the present invention provides, the server side that the present embodiment is applied in implementation environment shown in Fig. 1 with this method for network access is illustrated.This method for network access can comprise the steps:
Step 302, the station location marker that receiving terminal sends, this station location marker is after terminal gets the packet that the position annunciator in region residing for terminal outwards sends, read from packet, this station location marker for reflecting the geographical position of position annunciator, and also comprises at least one WAP (wireless access point) in region residing for terminal.
Server is connected by wireless network or cable network with terminal room.The station location marker that server is sent by above-mentioned wireless network or cable network reception terminal.Station location marker is for reflecting the geographical position of the position annunciator in region residing for terminal, and different station location markers represents different geographical position.
In addition, in region residing for terminal except comprising position annunciator, also comprise at least one WAP (wireless access point).Because position annunciator, WAP (wireless access point) and terminal are in the same area, the geographical position of WAP (wireless access point) and terminal is also reflected in the geographical position that station location marker reflects.
Step 304, obtain the wireless network access parameters corresponding with station location marker according to predetermined corresponding relation, this predetermined corresponding relation comprises the corresponding relation between above-mentioned station location marker and above-mentioned wireless network access parameters.
Be previously stored with the predetermined corresponding relation between diverse location mark and different networks access parameter in server, the predetermined corresponding relation of server lookup obtains the wireless network access parameters corresponding with the station location marker received.
The call parameter of wireless network access parameters needed for terminal access of radio network.Such as, when wireless network is WiFi, wireless network access parameters generally includes the SSID of WiFi network, password and network encryption type.
Step 306, sends to terminal by wireless network access parameters, and this wireless network access parameters is used for the wireless network that the triggering terminal access WAP (wireless access point) corresponding with wireless network access parameters provides.
The wireless network access parameters got is sent to terminal by above-mentioned wireless network or cable network by server, after terminal gets this wireless network access parameters, the wireless network that automatically corresponding according to wireless network access parameters access WAP (wireless access point) provides.
In sum, the method for network access that the present embodiment provides, by server after the station location marker receiving terminal transmission, obtain the wireless network access parameters corresponding with this station location marker, and fed back to terminal, make terminal adopt this wireless network access parameters to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
Please refer to Fig. 4, it illustrates the method flow diagram of the method for network access that yet another embodiment of the invention provides, the present embodiment is applied in implementation environment shown in Fig. 1 with this method for network access and is illustrated.This method for network access can comprise the steps:
Step 401, terminal obtains the packet that the position annunciator in region residing for terminal outwards sends, and also comprises at least one WAP (wireless access point) in region residing for this terminal.
Terminal inner can be provided with one in advance for obtaining the APP (Application, application) of the packet that position annunciator sends.After user uses terminal to open this APP, terminal just can AM automatic monitoring, obtain the packet that external position annunciator sends.In addition, may there is one or more positions annunciator in region residing for terminal, terminal can get the packet that this one or more positions annunciator outwards sends.
In region residing for terminal except comprising position annunciator, also comprise at least one WAP (wireless access point).WAP (wireless access point) is used for providing wireless network, accesses for terminal.
Step 402, the station location marker comprised in terminal read data packet, this station location marker is for reflecting the geographical position of position annunciator.
Carry the station location marker in the geographical position for reflecting position annunciator in packet, different station location markers represents different geographical position.For the packet sent based on iBeacon technology, usually proximityUUID (proximityUniversallyUniqueIdentifier is included in this packet, the universal unique identifier closed on, hereinafter referred to as " UUID "), majoridentifier (primary identifier, hereinafter referred to as " major ") and minoridentifier (secondary identity symbol, hereinafter referred to as " minor "), above-mentioned 3 identifiers form a complete station location marker.These 3 identifiers acting as separately: UUID is for identifying one or one group of iBeacon equipment; Major is for distinguishing the iBeacon equipment that one group has identical UUID; Minor is for distinguishing the iBeacon equipment that one group has identical UUID and identical major.
In the positioning principle based on iBeacon technology, iBeacon reflector can set up a region centered by self, and the station location marker that this region just can be made up of the minor of the major of the UUID of 16 bytes, 2 bytes and 2 bytes carries out unique identification.Concrete, the mark of this zones of different realizes can in conjunction with such as shown in following table-1, for the different branch of trade company A in different regions:
Table-1
As can be seen from upper table-1, all branch of this trade company A share a UUID, different major and identify different areas, and different minor identifies the different branch of areal.By above-mentioned 3 identifiers form a complete station location marker, accurately can determine any branch of this trade company A.
Optionally, during the station location marker that terminal comprises in read data packet, following a few sub-steps can be comprised:
The first, the general identifier comprised in read data packet.
General identifier is the overall identification for identifying one or one group position annunciator, as above-mentioned UUID.
The second, detect general identifier and whether be present in the general identifier group preset.
At least one general identifier is included in general identifier group.The general identifier comprised in this general identifier group is that preset, that the region of wireless network access services can be provided corresponding general identifier.Whether terminal is present in general identifier group by detecting the general identifier read from packet, useful general identifier can be filtered out, and for the general identifier that some do not provide the region of wireless network access services corresponding, do not make subsequent treatment.
In addition, terminal can obtain general identifier group from server.Such as, after user opens APP at every turn, under networking state, terminal obtains up-to-date general identifier group automatically from server.This acquisition process can be that terminal initiatively sends request acquisition to server, also can the pushed information that sends of passive reception server, does not do concrete restriction to this.
3rd, if general identifier is present in general identifier group, then the unique identifier comprised in read data packet, and using general identifier and unique identifier as station location marker.
When the general identifier read from packet is present in general identifier group, show that the region that this general identifier is corresponding can provide wireless network access services.Now, the unique identifier comprised in the further read data packet of terminal.Unique identifier is for distinguishing the unique identification that a group has the position annunciator of same general identifier, as the combination of above-mentioned major and minor.The station location marker that the combination of general identifier and unique identifier is formed reflects the geographical position residing for the annunciator of position sending this packet.
In addition, when terminal get come from packet that multiple positions annunciator outwards sends time, can be handled as follows:
When there is the general identifier comprised in n packet and being present in general identifier group, terminal obtains terminal respectively and sends the distance between each position annunciator of this n packet, from this n packet, then choose the packet that the position annunciator nearest with terminal sends; Wherein, n >=2 and n is integer.
Specifically, terminal can obtain received signal strength indicator corresponding to each packet, and obtains the distance between terminal and each position annunciator sending this n packet according to received signal strength indicator.After terminal gets the distance between each position annunciator, the position annunciator that selected distance is nearest, load position mark from the packet that this nearest position annunciator sends, can ensure the stability that follow-up wireless network connects like this.
Terminal after the mark of load position, can obtain the wireless network access parameters corresponding with this station location marker in this locality or from server from packet.Wherein, the wireless network access parameters that station location marker is corresponding is the wireless network access parameters of the WAP (wireless access point) in geographic location area that this station location marker reflects.Following steps 403 to step 405, is first introduced the process that terminal obtains wireless network access parameters from server.
Step 403, station location marker is sent to server by terminal.
Be connected by cable network or wireless network between terminal with server, terminal connects to server transmission station location marker by means of this network.
Accordingly, the station location marker of server receiving terminal transmission.
Step 404, server obtains the wireless network access parameters corresponding with station location marker according to predetermined corresponding relation.
Wherein, predetermined corresponding relation comprises the corresponding relation between station location marker and wireless network access parameters.The corresponding relation between at least one group of station location marker and wireless network access parameters can be prestored in server.Server is inquired about predetermined corresponding relation and is obtained the wireless network access parameters corresponding with the station location marker received after receiving the station location marker of terminal transmission.
When wireless network is WiFi network, wireless network access parameters generally includes the SSID of WiFi network, password and network encryption type.
In a kind of possible implementation, the geographical location information that server is first corresponding with station location marker according to the first predetermined corresponding relation inquiry, this first predetermined corresponding relation comprises the corresponding relation between station location marker and geographical location information; Afterwards, the wireless network access parameters that server is corresponding with geographical location information according to the second predetermined corresponding relation inquiry, the second predetermined corresponding relation comprises the corresponding relation between geographical location information and wireless network access parameters.
As following table-2 and table-3, which respectively show the example of the first predetermined corresponding relation and the second predetermined corresponding relation:
Station location marker Geographical location information
70018899-9423-47BC-8A77-8D9C11B87681;1;10 Branch, trade company A Guangzhou 1
70018899-9423-47BC-8A77-8D9C11B87681;1;20 Branch, trade company A Guangzhou 2
70018899-9423-47BC-8A77-8D9C11B87681;2;10 Branch, trade company A Shanghai 1
Table-2
Geographical location information Wireless network access parameters
Branch, trade company A Guangzhou 1 SSID:Mc-free; Password: 12345678; Encryption type: WEP
Branch, trade company A Guangzhou 2 SSID:TP-Link98E; Password: freewifi; Encryption type: WPA2-AES
Branch, trade company A Shanghai 1 SSID:Mc-free; Password: 88888888; Encryption type: WPA2-AES
Table-3
In a concrete example, in conjunction with reference to above-mentioned table-2 and table-3, suppose that the station location marker that terminal to server sends comprises: 70018899-9423-47BC-8A77-8D9C11B87681; 1; 10.After server receives above-mentioned station location marker, inquiry the first predetermined corresponding relation obtains geographical location information, and this geographical location information is " branch, trade company A Guangzhou 1 ".Afterwards, server obtains the wireless network access parameters in this branch further according to the second predetermined corresponding relation inquiry.Be previously stored with the wireless network access parameters of the providers such as each region providing wireless network access services, businessman or unit in server, and can information be upgraded in real time, guarantee integrality and the accuracy of information.
Step 405, wireless network access parameters is sent to terminal by server.
Wireless network access parameters is fed back to terminal after getting the wireless network access parameters corresponding with station location marker by server, so that SS later utilizes this wireless network access parameters automatically to access corresponding wireless network.
Accordingly, the wireless network access parameters of terminal reception server transmission.
Above-mentioned steps 403 to step 405 obtains the process of wireless network access parameters for terminal from server, and in the implementation that other is possible, terminal also can obtain wireless network access parameters in this locality.Concrete, terminal can prestore in this locality predetermined corresponding relation, then the predetermined corresponding relation stored according to this locality inquires about the wireless network access parameters corresponding with station location marker, and this predetermined corresponding relation comprises the corresponding relation between station location marker and wireless network access parameters.Wherein, the predetermined corresponding relation that terminal local prestores also can be obtain from server in advance and store.
The process obtaining wireless network access parameters with server is similar, the first predetermined corresponding relation that first terminal also can store according to this locality inquires about the geographical location information corresponding with station location marker, and this first predetermined corresponding relation comprises the corresponding relation between station location marker and geographical location information; Then the second predetermined corresponding relation stored according to this locality inquires about the wireless network access parameters corresponding with geographical location information, and this second predetermined corresponding relation comprises the corresponding relation between geographical location information and wireless network access parameters.Concrete query script, in introduction and explanation in detail above, specifically can refer to the query script of server side, repeats no more this.
Step 406, the wireless network that the terminal access WAP (wireless access point) corresponding with wireless network access parameters provides.
After terminal gets wireless network access parameters, realize access automatically by system bottom.Such as, after terminal gets the SSID of WiF network, password and network encryption type, automatically can access the WiFi network that corresponding WAP (wireless access point) provides.Concrete access procedure be the easy full of beard of those skilled in the art and, the present embodiment repeats no more this.
It should be noted is that: the corresponding relation between station location marker and wireless network access parameters can be man-to-man relation, also can be the relation of one-to-many.When the wireless network access parameters corresponding with station location marker is one, terminal directly adopts this wireless network access parameters to access corresponding wireless network.When the wireless network access parameters corresponding with station location marker is two or more, terminal can therefrom choose a wireless network access parameters according to the predetermined selection rule preset, the wireless network access parameters then adopting this to choose accesses the wireless network that corresponding WAP (wireless access point) provides.Wherein, predetermined selection rule can be random selecting wireless network access parameters, chooses first wireless network access parameters or choose wireless network access parameters successively, until the wireless network that the WAP (wireless access point) successfully accessing correspondence provides.
In sum, the method for network access that the present embodiment provides, by terminal load position mark from the packet got, then obtain the wireless network access parameters corresponding with this station location marker, and adopt this wireless network access parameters automatically to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
In addition, the method for network access that the present embodiment provides, by the packet outwards sent by means of iBeacon reflector in iBeacon technology, utilize the geographic location area of the station location marker determination terminal of carrying in this packet itself, and then get the wireless network access parameters of the WAP (wireless access point) in this region.Achieve the Appropriate application to the station location marker itself carried in packet, and then provide automatically wireless network access services for user, after eliminating manual search, select the trouble of this serial procedures of access.
In addition, when terminal detects that the general identifier comprised in multiple packet is present in general identifier group, choose the packet that the position annunciator nearest with terminal sends, and therefrom load position identifies, and ensure that the quality of connection that wireless network connects.
Following is apparatus of the present invention embodiment, may be used for performing the inventive method embodiment.For the details do not disclosed in apparatus of the present invention embodiment, please refer to the inventive method embodiment.
Please refer to Fig. 5, it illustrates the block diagram of the network access device that one embodiment of the invention provides, this network access device can realize becoming the part or all of of terminal by software, hardware or both combinations.This network access device can comprise: packet acquisition module 510, identity reading module 520, parameter acquisition module 530 and network access module 540.
Packet acquisition module 510, the packet that the position annunciator for obtaining in region residing for described terminal outwards sends, also comprises at least one WAP (wireless access point) in region residing for described terminal.
Identity reading module 520, for reading the station location marker comprised in described packet, described station location marker is for reflecting the geographical position of described position annunciator.
Parameter acquisition module 530, for obtaining the wireless network access parameters corresponding with described station location marker.
Network access module 540, for accessing the wireless network that the WAP (wireless access point) corresponding with described wireless network access parameters provides.
In sum, the network access device that the present embodiment provides, by terminal load position mark from the packet got, then obtain the wireless network access parameters corresponding with this station location marker, and adopt this wireless network access parameters automatically to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
Please refer to Fig. 6, it illustrates the block diagram of the network access device that another embodiment of the present invention provides, this network access device can realize becoming the part or all of of server by software, hardware or both combinations.This network access device can comprise: mark receiver module 610, parameter obtain module 620 and parameter sending module 630.
Mark receiver module 610, for the station location marker that receiving terminal sends, described station location marker is after described terminal gets the packet that the position annunciator in region residing for described terminal outwards sends, read from described packet, described station location marker, for reflecting the geographical position of described position annunciator, also comprises at least one WAP (wireless access point) in region residing for described terminal.
Parameter obtains module 620, and for obtaining the wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters.
Parameter sending module 630, for described wireless network access parameters is sent to described terminal, the wireless network that described wireless network access parameters provides for triggering the described terminal access WAP (wireless access point) corresponding with described wireless network access parameters.
In sum, the network access device that the present embodiment provides, by server after the station location marker receiving terminal transmission, obtain the wireless network access parameters corresponding with this station location marker, and fed back to terminal, make terminal adopt this wireless network access parameters to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
Please refer to Fig. 7, it illustrates the block diagram of the network access system that one embodiment of the invention provides, this network access system comprises: terminal 500 and server 600.Wherein:
Terminal 500 can comprise network access device, and this network access device can realize becoming the part or all of of terminal 500 by software, hardware or both combinations.This network access device can comprise: packet acquisition module 510, identity reading module 520, parameter acquisition module 530 and network access module 540.
Packet acquisition module 510, the packet that the position annunciator for obtaining in region residing for described terminal 500 outwards sends, also comprises at least one WAP (wireless access point) in region residing for described terminal 500.
Identity reading module 520, for reading the station location marker comprised in described packet, described station location marker is for reflecting the geographical position of described position annunciator.
Wherein, described identity reading module 520, comprising: the first reading unit 520a, label detection unit 520b and the second reading unit 520c.
Described first reading unit 520a, for reading the general identifier comprised in described packet.
Whether described label detection unit 520b, be present in the general identifier group preset for detecting described general identifier.
Described second reading unit 520c, during for being present in described general identifier group when described general identifier, reads the unique identifier comprised in described packet, and using described general identifier and described unique identifier as described station location marker.
Optionally, described identity reading module 520, also comprises: distance acquiring unit 520d and packet choose unit 520e.
Described distance acquiring unit 520d, for when there is the general identifier comprised in n packet and being present in described general identifier group, obtains the distance between described terminal 500 and each position annunciator sending a described n packet respectively.
Concrete, described distance acquiring unit 520d, comprising: signal acquisition subelement 520d1 and distance obtain subelement 520d2.
Described signal acquisition subelement 520d1, for obtaining received signal strength indicator corresponding to each packet.
Described distance obtains subelement 520d2, for obtaining the distance between described terminal 500 and each position annunciator sending a described n packet according to described received signal strength indicator.
Described packet chooses unit 520e, for choosing the packet that the position annunciator nearest with described terminal 500 sends from a described n packet.
Optionally, described identity reading module 520, also comprises: mark acquiring unit 520f.
Described mark acquiring unit 520f, for obtaining described general identifier group from server 600.
Parameter acquisition module 530, for obtaining the wireless network access parameters corresponding with described station location marker.
Wherein, described parameter acquisition module 530, comprising: local acquiring unit 530a.
Local acquiring unit 530a, the wireless network access parameters that the predetermined corresponding relation inquiry for storing according to this locality is corresponding with described station location marker, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters.
Concrete, described local acquiring unit 530a, comprising: position acquisition subelement 530a1 and parameter acquiring subelement 530a2.
Described position acquisition subelement 530a1, the geographical location information that for storing according to this locality first predetermined corresponding relation inquiry is corresponding with described station location marker, described first predetermined corresponding relation comprises the corresponding relation between described station location marker and described geographical location information.
Described parameter acquiring subelement 530a2, the wireless network access parameters that for storing according to this locality second predetermined corresponding relation inquiry is corresponding with described geographical location information, described second predetermined corresponding relation comprises the corresponding relation between described geographical location information and described wireless network access parameters.
Or described parameter acquisition module 530, comprising: mark transmitting element 530b and parameter receiving element 530c.
Mark transmitting element 530b, for sending to server 600 by described station location marker; Parameter receiving element 530c, for receiving the wireless network access parameters corresponding with described station location marker that described server 600 sends; Wherein, described wireless network access parameters is that described server 600 obtains according to predetermined corresponding relation inquiry, and described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters.
Network access module 540, accesses corresponding wireless network for adopting described wireless network access parameters.
Server 600 can comprise network access device, and this network access device can realize becoming the part or all of of server 600 by software, hardware or both combinations.This network access device can comprise: mark receiver module 610, parameter obtain module 620 and parameter sending module 630.
Mark receiver module 610, for the station location marker that receiving terminal 500 sends, described station location marker is after described terminal 500 gets the packet that the position annunciator in region residing for described terminal 500 outwards sends, read from described packet, described station location marker, for reflecting the geographical position of described position annunciator, also comprises at least one WAP (wireless access point) in region residing for described terminal 500.
Parameter obtains module 620, and for obtaining the wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters.
Concrete, described parameter obtains module 620, comprising: the first acquiring unit 620a and second acquisition unit 620b.
Described first acquiring unit 620a, for the geographical location information corresponding with described station location marker according to the first predetermined corresponding relation inquiry, described first predetermined corresponding relation comprises the corresponding relation between described station location marker and described geographical location information.
Described second acquisition unit 620b, for the wireless network access parameters corresponding with described geographical location information according to the second predetermined corresponding relation inquiry, described second predetermined corresponding relation comprises the corresponding relation between described geographical location information and described wireless network access parameters.
Parameter sending module 630, for described wireless network access parameters is sent to described terminal 500, the wireless network that described wireless network access parameters provides for triggering the described terminal 500 access WAP (wireless access point) corresponding with described wireless network access parameters.
Optionally, described device also comprises: mark sending module 602.
Mark sending module 602, for sending general identifier group to described terminal, includes at least one general identifier in described general identifier group;
Wherein, described general identifier group is used for after described terminal reads general identifier from described packet, whether detect the described general identifier read is present in described general identifier group, when described general identifier is present in described general identifier group, read the unique identifier comprised in described packet, and using described general identifier and described unique identifier as described station location marker.
In sum, the network access system that the present embodiment provides, by terminal load position mark from the packet got, then obtain the wireless network access parameters corresponding with this station location marker, and adopt this wireless network access parameters automatically to access corresponding wireless network; Solve the method for network access that background technology relates to there is complex operation step, access the problem of length consuming time; Simplify Wi-Fi access step, shorten access consuming time, and achieve automatically access of radio network.
In addition, when terminal detects that the general identifier comprised in multiple packet is present in general identifier group, choose the packet that the position annunciator nearest with terminal sends, and therefrom load position identifies, and ensure that the quality of connection that wireless network connects.
It should be noted that: the network access device that above-described embodiment provides and system are when providing network insertion to serve, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the embodiment of the method for the network access device that above-described embodiment provides and system and method for network access belongs to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Please refer to Fig. 8, it illustrates the structural representation of the terminal that one embodiment of the invention provides.This terminal is for implementing the method for network access provided in above-described embodiment.Specifically:
Terminal 800 can comprise RF (RadioFrequency, radio frequency) circuit 810, the memory 820 including one or more computer-readable recording mediums, input unit 830, display unit 840, transducer 850, voicefrequency circuit 860, WiFi (wirelessfidelity, Wireless Fidelity) module 870, include the parts such as processor 880 and power supply 890 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 8, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 810 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 880 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 810 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA (LowNoiseAmplifier, low noise amplifier), duplexer etc.In addition, RF circuit 810 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (GlobalSystemofMobilecommunication, global system for mobile communications), GPRS (GeneralPacketRadioService, general packet radio service), CDMA (CodeDivisionMultipleAccess, code division multiple access), WCDMA (WidebandCodeDivisionMultipleAccess, Wideband Code Division Multiple Access (WCDMA)), LTE (LongTermEvolution, Long Term Evolution), Email, SMS (ShortMessagingService, Short Message Service) etc.
Memory 820 can be used for storing software program and module, and processor 880 is stored in software program and the module of memory 820 by running, thus performs the application of various function and data processing.Memory 820 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 800.In addition, memory 820 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 820 can also comprise Memory Controller, to provide the access of processor 880 and input unit 830 pairs of memories 820.
Input unit 830 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, action bars, optics or trace ball signal and inputs.Particularly, input unit 830 can comprise image input device 831 and other input equipments 832.Image input device 831 can be camera, also can be photoelectric scanning device.Except image input device 831, input unit 830 can also comprise other input equipments 832.Particularly, other input equipments 832 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 840 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 800 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 840 can comprise display floater 841, optionally, the form such as LCD (LiquidCrystalDisplay, liquid crystal display), OLED (OrganicLight-EmittingDiode, Organic Light Emitting Diode) can be adopted to configure display floater 841.
Terminal 800 also can comprise at least one transducer 850, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 841, proximity transducer when terminal 800 moves in one's ear, can cut out display floater 841 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for terminal 800 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 860, loud speaker 861, microphone 862 can provide the audio interface between user and terminal 800.Voicefrequency circuit 860 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 861, by loud speaker 861 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 862, voice data is converted to after being received by voicefrequency circuit 860, after again voice data output processor 880 being processed, through RF circuit 810 to send to such as another terminal, or export voice data to memory 820 to process further.Voicefrequency circuit 860 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 800.
WiFi belongs to short range wireless transmission technology, and by WiFi module 870, terminal 800 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 8 shows WiFi module 870, be understandable that, it does not belong to must forming of terminal 800, can omit in the scope of essence not changing invention as required completely.
Processor 880 is control centres of terminal 800, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 820 and/or module is stored in by running or performing, and call the data be stored in memory 820, perform various function and the deal with data of terminal 800, thus integral monitoring is carried out to mobile phone.Optionally, processor 880 can comprise one or more process core; Preferably, processor 880 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 880.
Terminal 800 also comprises the power supply 890 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 880 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 890 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 800 can also comprise bluetooth module etc., does not repeat them here.
Specifically in the present embodiment, terminal 800 also includes memory, and one or more than one program, one of them or more than one program are stored in memory, and be configured to be performed by more than one or one processor, to perform the method for network access of above-mentioned Fig. 2 or the end side provided embodiment illustrated in fig. 4.
Fig. 9 shows the structural representation of the server that one embodiment of the invention provides.This server is for implementing the method for network access provided in above-described embodiment.Specifically:
Described server 900 comprises CPU (CPU) 901, comprises the system storage 904 of random access memory (RAM) 902 and read-only memory (ROM) 903, and the system bus 905 of connected system memory 904 and CPU 901.Described server 900 also comprises the basic input/output (I/O system) 906 of transmission information between each device of helping in computer, and for the mass-memory unit 907 of storage operation system 913, application program 914 and other program modules 915.
Described basic input/output 906 includes the input equipment 909 of the display 908 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 908 and input equipment 909 are all connected to CPU 901 by the IOC 910 being connected to system bus 905.Described basic input/output 906 can also comprise IOC 910 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, IOC 910 also provides the output equipment outputting to display screen, printer or other types.
Described mass-memory unit 907 is connected to CPU 901 by the bulk memory controller (not shown) being connected to system bus 905.Described mass-memory unit 907 and the computer-readable medium that is associated thereof provide non-volatile memories for server 900.That is, described mass-memory unit 907 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical storage, cassette, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 904 and mass-memory unit 907 can be referred to as memory.
According to various embodiments of the present invention, the remote computer that described server 900 can also be connected on network by networks such as such as internets runs.Also namely server 900 can be connected to network 912 by the network interface unit 911 be connected on described system bus 905, in other words, network interface unit 911 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described memory also comprises one or more than one program, described more than one or one program is stored in memory, and be configured to be performed by more than one or one processor, to perform the method for network access of above-mentioned Fig. 3 or the server side provided embodiment illustrated in fig. 4.
Should be understood that, use in this article, unless context clearly supports exception, singulative " " (" a ", " an ", " the ") is intended to also comprise plural form.It is to be further understood that the "and/or" used in this article refers to comprise any of more than one or one project listed explicitly and likely combine.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
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 done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (21)

1. a method for network access, is characterized in that, in terminal, described method comprises:
Obtain the packet that the position annunciator in region residing for described terminal outwards sends, in region residing for described terminal, also comprise at least one WAP (wireless access point);
Read the station location marker comprised in described packet, described station location marker is for reflecting the geographical position of described position annunciator;
Obtain the wireless network access parameters corresponding with described station location marker;
The wireless network that the access WAP (wireless access point) corresponding with described wireless network access parameters provides.
2. method according to claim 1, is characterized in that, the wireless network access parameters that described acquisition is corresponding with described station location marker, comprising:
Inquire about the wireless network access parameters corresponding with described station location marker according to the predetermined corresponding relation that this locality stores, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters;
Or,
Described station location marker is sent to server, receives the wireless network access parameters corresponding with described station location marker that described server sends; Wherein, described wireless network access parameters is that described server obtains according to predetermined corresponding relation inquiry, and described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters.
3. method according to claim 2, is characterized in that, the described predetermined corresponding relation stored according to this locality inquires about the wireless network access parameters corresponding with described station location marker, comprising:
Inquire about the geographical location information corresponding with described station location marker according to the first predetermined corresponding relation that this locality stores, described first predetermined corresponding relation comprises the corresponding relation between described station location marker and described geographical location information;
Inquire about the wireless network access parameters corresponding with described geographical location information according to the second predetermined corresponding relation that this locality stores, described second predetermined corresponding relation comprises the corresponding relation between described geographical location information and described wireless network access parameters.
4., according to the arbitrary described method of claims 1 to 3, it is characterized in that, the station location marker comprised in the described packet of described reading, comprising:
Read the general identifier comprised in described packet;
Whether detect described general identifier is present in the general identifier group preset;
If described general identifier is present in described general identifier group, then read the unique identifier comprised in described packet, and using described general identifier and described unique identifier as described station location marker.
5. method according to claim 4, is characterized in that, whether the described general identifier of described detection also comprises after being present in the general identifier group preset:
When there is the general identifier comprised in n packet and being present in described general identifier group, the distance between each position annunciator obtaining described terminal respectively and send a described n packet;
The packet that the position annunciator nearest with described terminal sends is chosen from a described n packet;
Wherein, n >=2 and n is integer.
6. method according to claim 5, is characterized in that, the distance between described each position annunciator obtaining described terminal respectively and send a described n packet, comprising:
Obtain the received signal strength indicator that each packet is corresponding;
Distance between each position annunciator obtaining described terminal according to described received signal strength indicator and send a described n packet.
7. method according to claim 4, is characterized in that, whether the described general identifier of described detection also comprises before being present in the general identifier group preset:
Described general identifier group is obtained from server.
8. a method for network access, is characterized in that, in server, described method comprises:
The station location marker that receiving terminal sends, described station location marker is after described terminal gets the packet that the position annunciator in region residing for described terminal outwards sends, read from described packet, described station location marker, for reflecting the geographical position of described position annunciator, also comprises at least one WAP (wireless access point) in region residing for described terminal;
Obtain the wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters;
Described wireless network access parameters is sent to described terminal, the wireless network that described wireless network access parameters provides for triggering the described terminal access WAP (wireless access point) corresponding with described wireless network access parameters.
9. method according to claim 8, is characterized in that, the described wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation acquisition, comprising:
The geographical location information corresponding with described station location marker according to the first predetermined corresponding relation inquiry, described first predetermined corresponding relation comprises the corresponding relation between described station location marker and described geographical location information;
The wireless network access parameters corresponding with described geographical location information according to the second predetermined corresponding relation inquiry, described second predetermined corresponding relation comprises the corresponding relation between described geographical location information and described wireless network access parameters.
10. method according to claim 8 or claim 9, is characterized in that, before the station location marker that described receiving terminal sends, also comprises:
Send general identifier group to described terminal, in described general identifier group, include at least one general identifier;
Wherein, described general identifier group is used for after described terminal reads general identifier from described packet, whether detect the described general identifier read is present in described general identifier group, when described general identifier is present in described general identifier group, read the unique identifier comprised in described packet, and using described general identifier and described unique identifier as described station location marker.
11. 1 kinds of network access devices, is characterized in that, in terminal, described device comprises:
Packet acquisition module, the packet that the position annunciator for obtaining in region residing for described terminal outwards sends, also comprises at least one WAP (wireless access point) in region residing for described terminal;
Identity reading module, for reading the station location marker comprised in described packet, described station location marker is for reflecting the geographical position of described position annunciator;
Parameter acquisition module, for obtaining the wireless network access parameters corresponding with described station location marker;
Network access module, for accessing the wireless network that the WAP (wireless access point) corresponding with described wireless network access parameters provides.
12. devices according to claim 11, is characterized in that, described parameter acquisition module, comprising:
Local acquiring unit, the wireless network access parameters that the predetermined corresponding relation inquiry for storing according to this locality is corresponding with described station location marker, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters;
Or,
Mark transmitting element, for sending to server by described station location marker; Parameter receiving element, for receiving the wireless network access parameters corresponding with described station location marker that described server sends; Wherein, described wireless network access parameters is that described server obtains according to predetermined corresponding relation inquiry, and described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters.
13. devices according to claim 12, is characterized in that, described local acquiring unit, comprising: position acquisition subelement and parameter acquiring subelement;
Described position acquisition subelement, the geographical location information that for storing according to this locality first predetermined corresponding relation inquiry is corresponding with described station location marker, described first predetermined corresponding relation comprises the corresponding relation between described station location marker and described geographical location information;
Described parameter acquiring subelement, the wireless network access parameters that for storing according to this locality second predetermined corresponding relation inquiry is corresponding with described geographical location information, described second predetermined corresponding relation comprises the corresponding relation between described geographical location information and described wireless network access parameters.
14. according to claim 11 to 13 arbitrary described devices, and it is characterized in that, described identity reading module, comprising: the first reading unit, label detection unit and the second reading unit;
Described first reading unit, for reading the general identifier comprised in described packet;
Whether described label detection unit, be present in the general identifier group preset for detecting described general identifier;
Described second reading unit, during for being present in described general identifier group when described general identifier, reads the unique identifier comprised in described packet, and using described general identifier and described unique identifier as described station location marker.
15. devices according to claim 14, is characterized in that, described identity reading module, also comprises: distance acquiring unit and packet choose unit;
Described distance acquiring unit, for when there is the general identifier comprised in n packet and being present in described general identifier group, the distance between each position annunciator obtaining described terminal respectively and send a described n packet;
Described packet chooses unit, for choosing the packet that the position annunciator nearest with described terminal sends from a described n packet;
Wherein, n >=2 and n is integer.
16. devices according to claim 15, is characterized in that, described metrics calculation unit, comprising: signal acquisition subelement and distance obtain subelement;
Described signal acquisition subelement, for obtaining received signal strength indicator corresponding to each packet;
Described distance obtains subelement, for obtaining the distance between described terminal and each position annunciator sending a described n packet according to described received signal strength indicator.
17. devices according to claim 14, is characterized in that, described identity reading module, also comprises: mark acquiring unit;
Described mark acquiring unit, for obtaining described general identifier group from server.
18. 1 kinds of network access devices, is characterized in that, in server, described device comprises:
Mark receiver module, for the station location marker that receiving terminal sends, described station location marker is after described terminal gets the packet that the position annunciator in region residing for described terminal outwards sends, read from described packet, described station location marker, for reflecting the geographical position of described position annunciator, also comprises at least one WAP (wireless access point) in region residing for described terminal;
Parameter obtains module, and for obtaining the wireless network access parameters corresponding with described station location marker according to predetermined corresponding relation, described predetermined corresponding relation comprises the corresponding relation between described station location marker and described wireless network access parameters;
Parameter sending module, for described wireless network access parameters is sent to described terminal, the wireless network that described wireless network access parameters provides for triggering the described terminal access WAP (wireless access point) corresponding with described wireless network access parameters.
19. devices according to claim 18, is characterized in that, described parameter obtains module, comprising: the first acquiring unit and second acquisition unit;
Described first acquiring unit, for the geographical location information corresponding with described station location marker according to the first predetermined corresponding relation inquiry, described first predetermined corresponding relation comprises the corresponding relation between described station location marker and described geographical location information;
Described second acquisition unit, for the wireless network access parameters corresponding with described geographical location information according to the second predetermined corresponding relation inquiry, described second predetermined corresponding relation comprises the corresponding relation between described geographical location information and described wireless network access parameters.
20. devices according to claim 18 or 19, it is characterized in that, described device also comprises:
Mark sending module, for sending general identifier group to described terminal, includes at least one general identifier in described general identifier group;
Wherein, described general identifier group is used for after described terminal reads general identifier from described packet, whether detect the described general identifier read is present in described general identifier group, when described general identifier is present in described general identifier group, read the unique identifier comprised in described packet, and using described general identifier and described unique identifier as described station location marker.
21. 1 kinds of network access systems, is characterized in that, described system comprises: terminal and server;
Described terminal comprise as arbitrary in claim 11 to 17 as described in network access device;
Described server comprise as arbitrary in claim 18 to 20 as described in network access device.
CN201410510310.8A 2014-09-28 2014-09-28 Network access method, device and system Active CN105530684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410510310.8A CN105530684B (en) 2014-09-28 2014-09-28 Network access method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410510310.8A CN105530684B (en) 2014-09-28 2014-09-28 Network access method, device and system

Publications (2)

Publication Number Publication Date
CN105530684A true CN105530684A (en) 2016-04-27
CN105530684B CN105530684B (en) 2020-09-11

Family

ID=55772582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410510310.8A Active CN105530684B (en) 2014-09-28 2014-09-28 Network access method, device and system

Country Status (1)

Country Link
CN (1) CN105530684B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106850760A (en) * 2016-12-30 2017-06-13 华为软件技术有限公司 Geographical position acquisition methods and device
CN107567071A (en) * 2016-06-30 2018-01-09 上海连尚网络科技有限公司 A kind of method and apparatus for being used to inquire about hotspot
WO2018107952A1 (en) * 2016-12-16 2018-06-21 中兴通讯股份有限公司 Method and device for wireless connection
CN111049710A (en) * 2019-11-20 2020-04-21 视联动力信息技术股份有限公司 Method and device for accessing server
EP4161156A4 (en) * 2020-08-11 2023-07-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network selection method and apparatus, device, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN102857858A (en) * 2011-06-27 2013-01-02 罗博特·顾 Wireless positioning information device
CN103108380A (en) * 2011-11-10 2013-05-15 北京千橡网景科技发展有限公司 Method and device for providing network connection
EP2648126A1 (en) * 2012-04-05 2013-10-09 LG CNS Co., Ltd. Method of authenticating user, server and mobile terminal performing the same
CN103458408A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Network connection method and network sharing method and device
CN103475996A (en) * 2013-08-19 2013-12-25 小米科技有限责任公司 Network connecting method, network sharing method and devices
CN103501482A (en) * 2013-09-26 2014-01-08 小米科技有限责任公司 Network access method, network access device and terminal
CN103607713A (en) * 2013-10-29 2014-02-26 小米科技有限责任公司 Method, apparatus, device and system for network access
CN103823230A (en) * 2014-03-11 2014-05-28 邹美余 Indoor positioning system and application method thereof
CN104066146A (en) * 2013-03-18 2014-09-24 华为技术有限公司 Wi-fi network access method and wireless access device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102857858A (en) * 2011-06-27 2013-01-02 罗博特·顾 Wireless positioning information device
CN102448187A (en) * 2011-10-29 2012-05-09 华为终端有限公司 Method and terminal capable of automatically accessing Wi-Fi (Wireless Fidelity) network
CN103108380A (en) * 2011-11-10 2013-05-15 北京千橡网景科技发展有限公司 Method and device for providing network connection
EP2648126A1 (en) * 2012-04-05 2013-10-09 LG CNS Co., Ltd. Method of authenticating user, server and mobile terminal performing the same
CN104066146A (en) * 2013-03-18 2014-09-24 华为技术有限公司 Wi-fi network access method and wireless access device
CN103458408A (en) * 2013-08-19 2013-12-18 小米科技有限责任公司 Network connection method and network sharing method and device
CN103475996A (en) * 2013-08-19 2013-12-25 小米科技有限责任公司 Network connecting method, network sharing method and devices
CN103501482A (en) * 2013-09-26 2014-01-08 小米科技有限责任公司 Network access method, network access device and terminal
CN103607713A (en) * 2013-10-29 2014-02-26 小米科技有限责任公司 Method, apparatus, device and system for network access
CN103823230A (en) * 2014-03-11 2014-05-28 邹美余 Indoor positioning system and application method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107567071A (en) * 2016-06-30 2018-01-09 上海连尚网络科技有限公司 A kind of method and apparatus for being used to inquire about hotspot
WO2018107952A1 (en) * 2016-12-16 2018-06-21 中兴通讯股份有限公司 Method and device for wireless connection
CN108207018A (en) * 2016-12-16 2018-06-26 中兴通讯股份有限公司 Wireless connection method and device
CN106850760A (en) * 2016-12-30 2017-06-13 华为软件技术有限公司 Geographical position acquisition methods and device
CN111049710A (en) * 2019-11-20 2020-04-21 视联动力信息技术股份有限公司 Method and device for accessing server
EP4161156A4 (en) * 2020-08-11 2023-07-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network selection method and apparatus, device, and storage medium

Also Published As

Publication number Publication date
CN105530684B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN103475996A (en) Network connecting method, network sharing method and devices
CN103458409A (en) Network connection method and network sharing method and device
CN103874018A (en) Access point information sharing method and device
CN103455348B (en) Subarea adjustment, device, terminal, server and system
CN104468679A (en) Geographic position sharing method and system and terminals
CN103501482A (en) Network access method, network access device and terminal
CN104951212A (en) Method, device and system for processing desktop data of mobile terminal
CN105024984A (en) Permission setting method, apparatus and system
CN104135728B (en) Method for connecting network and device
CN104519485A (en) Communication method between terminals, devices and system
CN104717341A (en) Message prompting method and terminal
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN103677899A (en) Method and device for installing application programs
CN104618854A (en) Method, terminal and server for sharing location information
CN105530684A (en) Method, device and system for network access
CN104426963A (en) Terminal associating method and terminal
CN105208056A (en) Information exchange method and terminal
CN103945241A (en) Streaming data statistical method, system and related device
CN105282692A (en) Speed measurement information display method and device
CN103631592B (en) A kind of configuration, call method, device and equipment that shows resource
CN105303591A (en) Method for superposing place information in puzzle, terminal and server
CN103686791A (en) Terminal card using condition detection method and device
CN103634463A (en) Prompt method for state change and terminal
CN103561155B (en) Send the method for note, device and terminal
CN103200077B (en) The method of data interaction during a kind of voice call, Apparatus and system

Legal Events

Date Code Title Description
C06 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