CN104486814A - Wireless network accessing method and terminal - Google Patents

Wireless network accessing method and terminal Download PDF

Info

Publication number
CN104486814A
CN104486814A CN201410826914.3A CN201410826914A CN104486814A CN 104486814 A CN104486814 A CN 104486814A CN 201410826914 A CN201410826914 A CN 201410826914A CN 104486814 A CN104486814 A CN 104486814A
Authority
CN
China
Prior art keywords
router
terminal
wireless aps
cloud server
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410826914.3A
Other languages
Chinese (zh)
Other versions
CN104486814B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410826914.3A priority Critical patent/CN104486814B/en
Publication of CN104486814A publication Critical patent/CN104486814A/en
Application granted granted Critical
Publication of CN104486814B publication Critical patent/CN104486814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/02Access restriction performed under specific conditions
    • H04W48/04Access restriction performed under specific conditions based on user or terminal location or mobility data, e.g. moving direction, speed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

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

Abstract

The invention discloses a wireless network accessing method, a terminal, a cloud server, a router and a system, relates to the technical field of communication and can solve the problem that the operation that a user logs in a wireless network is complicated. The method comprises the following steps: measuring a distance between the terminal and the router by the terminal to obtain a first actual distance; when the first actual distance is smaller than a preset distance threshold, reporting the terminal information of the terminal and the AP information of the wireless access point of the router to the cloud server by the terminal; searching the router through a medium access control (MAC) address carried in the wireless AP information and sending the terminal information of the terminal to the router by the cloud server; searching the terminal according to the terminal information and measuring a second actual distance between the router and the terminal by the router; when the second actual distance is smaller than the preset distance threshold, accessing the terminal into the wireless AP by the router. The method is suitable for the occasion that the household user is rapidly connected with the wireless network.

Description

A kind of method, terminal of wireless network access
Technical field
The present invention relates to communication technical field, particularly relate to the method for a kind of wireless network access, terminal, cloud server, router and system.
Background technology
Wireless Fidelity (Wireless Fidelity, WiFi) be a current most popular wireless network transmission technology, WiFi is by WAP (wireless access point) (Access Point, AP) and wireless network card composition wireless network, wireless aps is commonly called as " focus ", and any smart mobile phone that wireless network card is housed, the user terminal such as panel computer or notebook computer can remove network resource sharing by AP.
In home network, owner can arrange password to wireless aps usually, and when the user terminal of visitor detects the signal of wireless aps, visitor needs the AP name manually selecting needs to add, and manually input wireless cipher carries out authentication.In practical application, the mode manually choosing AP name and input wireless cipher operates comparatively loaded down with trivial details, and the process of Password Input is very easy to make mistakes.
Summary of the invention
In view of this, method, terminal, cloud server, router and system that a kind of wireless network provided by the invention accesses, can solve user and log in the loaded down with trivial details problem of wireless network operations.
For solving the problems of the technologies described above, first aspect, the invention provides the method for a kind of wireless network access, described method comprises:
Terminal measures the distance between router, obtains the first actual range;
When described first actual range is less than default distance threshold, described terminal reports the end message of described terminal and the wireless access point AP information of router to cloud server;
Described cloud server searches described router by the MAC address carried in described wireless aps information, and issues the end message of described terminal to described router;
Described router searches described terminal according to described end message, and measures the second actual range of described terminal;
When described second actual range is less than described default distance threshold, described terminal is linked in wireless aps by described router.
Second aspect, the invention provides a kind of terminal, and described terminal comprises:
Measuring unit, for measuring the distance between router, obtains the first actual range;
Transmitting element, for when described first actual range that described measuring unit is measured is less than default distance threshold, reports the end message of described terminal and the wireless access point AP information of router to cloud server;
Access unit, for when the second actual range that described router is measured is less than described default distance threshold, is linked in the wireless aps of described router.
The third aspect, the invention provides a kind of cloud server, and described cloud server comprises:
Receiving element, the end message of described terminal reported for receiving terminal and the wireless access point AP information of router;
Search unit, search described router for the MAC address carried in the described wireless aps information that received by described receiving element;
Issue unit, for searching to described the end message that described router that unit searches issues described terminal.
Fourth aspect, the invention provides a kind of router, and described router comprises:
Receiving element, for receiving the end message of the terminal that cloud server issues;
Search unit, search described terminal for the described end message received according to described receiving element;
Measuring unit, for searching the second actual range of the described terminal that unit is searched described in measuring;
Access unit, for when described second actual range that described measuring unit is measured is less than default distance threshold, is linked into described terminal in wireless aps.
5th aspect, the invention provides the system of a kind of wireless network access, described system comprises: terminal, cloud server and router; Wherein, described terminal comprises the terminal described in second aspect; Described cloud server comprises the cloud server described in the third aspect; Described router comprises the router described in fourth aspect.
By technique scheme, the method that wireless network provided by the invention accesses, terminal, cloud server, router and system, first can measure by terminal the distance that it arrives router, when its distance to router arrives in preset range, again to the information of cloud server reporting terminal and router, search this router to trigger cloud server, after this router obtains the information of terminal, then verify whether this terminal has the right to access wireless aps.Manually input compared with password connecting wireless network with needing user in prior art, the present invention passes through terminal initiatively close to router, thus triggering cloud server notifies that this router carries out distance checking, after being verified, terminal just can be dynamically connected this wireless network certainly, and manually input password without the need to user and connect, thus reach the object of wireless network rapid access.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the flow chart of the method for a kind of wireless network access;
Fig. 2 shows a kind of structural representation of terminal;
Fig. 3 shows the structural representation of another kind of terminal;
Fig. 4 shows the structural representation of another kind of terminal;
Fig. 5 shows the structural representation of another kind of terminal;
Fig. 6 shows a kind of structural representation of cloud server;
Fig. 7 shows the structural representation of another kind of cloud server;
Fig. 8 shows the structural representation of another kind of cloud server;
Fig. 9 shows a kind of structural representation of router;
Figure 10 shows the structural representation of another kind of router;
Figure 11 shows the structural representation of another kind of router;
Figure 12 shows the structural representation of another kind of router;
Figure 13 shows the structural representation of another kind of router;
Figure 14 shows the structural representation of another kind of router;
Figure 15 shows the structural representation of another kind of router;
Figure 16 shows the system schematic of a kind of wireless network access.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present invention is described in more detail.Although show exemplary embodiment of the present invention in accompanying drawing, however should be appreciated that can realize the present invention in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the present invention can be understood, and complete for scope of the present invention can be conveyed to those skilled in the art.
Embodiments provide the method for a kind of wireless network access, as shown in Figure 1, the method comprises:
101, terminal measures the distance between router, obtains the first actual range.
Wherein, when terminal has detected that router exists, measure the distance of detected all-router, and obtain the first actual range that it arrives each router.
In practical application, each router at least creates a wireless aps (Access Point, access point), and therefore, terminal by being wirelessly bridged in any one wireless aps of router, can measure the distance of this router.
It should be noted that, along with the movement of terminal, its first actual range to each router measured is also in change.
102, when the first actual range is less than default distance threshold, the end message of terminal to cloud server reporting terminal and the wireless aps information of router.
Wherein, when terminal measures the first actual range of each router, by the first current actual range of measured each router of arrival respectively compared with the distance threshold preset, when measured a certain first actual range is less than default distance threshold, terminal reports the wireless aps information of the end message of this terminal and the router corresponding with this first actual range to cloud server.
Wherein, the end message of terminal can be MAC (the Media Access ControlAddress of terminal, media interviews control) address, the information (comprising MAC Address and the AP name of virtual AP) of the virtual AP that also can create for terminal, the wireless aps information of router comprises the MAC Address of wireless aps, can also comprise the AP name of wireless aps.Wherein, the title of AP is the SSID of AP (Service Set Identifier, service set identifier).SSID is the wireless network name of mark WLAN (wireless local area network), and such as, wireless network can called after Zhangsan4892.
It should be noted that, MAC Address can be used for the position of define grid equipment, in above-mentioned, the wireless aps that terminal or router create, all there is unique MAC Address corresponding with it, so corresponding wireless aps can be searched according to MAC Address, and then find the network equipment corresponding with wireless aps.
103, cloud server searches router by the MAC Address of carrying in wireless aps information, and issues the end message of terminal to router.
Wherein, after cloud server receives the end message of the terminal of terminal to report and the wireless aps information of router, corresponding router is searched according to the MAC Address of carrying in the wireless aps information of router, after finding this router, cloud server issues the end message of this terminal to this router.
104, router searches terminal according to end message, and measures the second actual range of terminal.
Wherein, after router receives the end message of the terminal that cloud server issues, router is according to this terminal of information searching of the MAC Address of the terminal in end message or virtual AP, and after finding this terminal, router measures the second actual range of this terminal.
105, when the second actual range is less than default distance threshold, terminal is linked in wireless aps by router.
Wherein, router is by the second measured actual range compared with the distance threshold preset, and when the second actual range is less than default distance threshold, router then allows to access in its wireless aps created with the terminal corresponding to this second actual range.
When router allows in terminal access wireless aps, router can send the SSID of wireless aps and corresponding password, so that terminal is connected with password by the SSID of wireless aps to terminal.
It should be noted that, when terminal is wanted to be linked in the wireless aps of router, terminal can report the wireless aps information of router to cloud server, thus triggering cloud server searches this router, and issue the end message of terminal to this router, after router receives the end message of this terminal, need to measure its distance to this terminal, when measurement result is in the scope preset, just allows this terminal to access in wireless aps, thus reach the object of authentication.
In actual applications, for home scenarios, when password is comparatively complicated, owner in family is often needed in person to help guest to input wireless cipher, when having numerous guest to come to visit in manager, owner needs on the mobile phone of each guest, to input wireless cipher one by one, and guest is more, and owner's duplication of labour amount is larger.
And the method for the wireless network access that the embodiment of the present invention provides, first can measure by terminal the distance that it arrives router, when its distance to router arrives in preset range, again to the information of cloud server reporting terminal and router, this router is searched to trigger cloud server, after this router obtains the information of terminal, then verify whether this terminal has the right to access wireless aps.Manually input compared with password connecting wireless network with needing user in prior art, the present invention passes through terminal initiatively close to router, thus triggering cloud server notifies that this router carries out distance checking, after being verified, terminal just can be dynamically connected this wireless network certainly, and manually input password without the need to user and connect, thus reach the object of wireless network rapid access.
Further, as to the refinement of above-described embodiment and expansion, before terminal measures the distance between router in a step 101, router is set up with cloud server and being longly connected of being kept for communicating.This long connection can be based on HTTP (Hypertext Transfer Protocol, HTTP) 1.1 long to connect, also can be connect based on the long of TCP (Transmission Control Protocol, transmission control protocol).
Optionally, router can cancel to terminal broadcast can the AP name of wireless aps, also can to terminal broadcast can the AP name of wireless aps, therefore for these two kinds of modes, the present invention has corresponding processing method.
For mode one: before terminal measures the distance between router, router cancel to terminal broadcast can the AP name of wireless aps.
Wherein, when router cancel to terminal broadcast can the AP name of wireless aps time, terminal can obtain the MAC Address of wireless aps, and this MAC Address is reported cloud server, so that cloud server searches corresponding router, and issues the end message of terminal to the router found.
In step 105, when router allows in terminal access wireless aps, router can by the wireless aps of this terminal access acquiescence.
Concrete, the wireless aps of the acquiescence that router is arranged can be main wireless aps, also can for create from wireless aps.
In home environment, router generally only creates a wireless aps, so terminal can be accessed this wireless aps, i.e. and main wireless aps.
But owner for safety in family, can create from wireless aps in the router, when visitor's connecting wireless network, the mobile phone of visitor can be linked into this from wireless aps by router.The reason of its safety is, access the terminal of main wireless aps, the administration interface of router can be entered, to modify the information such as password, SSID, and the virtual AP (namely from wireless aps) created is though have the network connecting function the same with main wireless aps, do not enter the authority that administration interface carries out operating.Therefore, the mobile phone of visitor is linked into from wireless aps, both can have met the demand of visitor's online, can forbid that again visitor revises router and arranges.
For mode two: before terminal measures the distance between router, router to terminal broadcast can the AP name of wireless aps so that the AP name of all available wireless aps of terminal demonstration is selected for user.
Wherein, because router can create a main wireless aps with several from wireless aps, and each wireless aps has a unique AP name (i.e. SSID), so when router to terminal broadcast can the AP name of wireless aps time, end side can demonstrate multiple available wireless aps, such as, show the AP name of 3 wireless aps in mobile phone, be respectively Zhangsan001, zHangsan002 and zhAngsan003.
After user have selected the AP name that will connect, terminal is to the wireless aps information of cloud server reporting terminal information and selected wireless aps, after cloud server forwards, when router allows this terminal access of radio network, this terminal can be linked in the wireless aps that user selects.
Further, specific implementation terminal in step 101 being measured to the distance of router can be:
S1, terminal wireless are bridged in the wireless aps of router establishment, and detect the dBm value of wireless aps.
Wherein, terminal detects the wireless aps around it, and when the wireless aps that router creates being detected, this terminal wireless is bridged in this wireless aps, thus can obtain dBm value according to the signal strength signal intensity of wireless aps.
S2, terminal search the distance value of corresponding dBm value in the mapping relations table preset, and obtain the first actual range.
Wherein, the mapping relations table preset stores the corresponding relation of dBm value and distance, then, after terminal obtains the dBm value of wireless aps, just can find corresponding distance value at the mapping relations table preset.
Exemplary, table 1 is the mapping relations table preset, when in table, dBm value be x1, apart from when be d1, dBm value being x2, apart from being d2.
DBm value Distance
x1 d1
x2 d2
Table 1
Further, at step 104, when router searches terminal according to end message, when establishing virtual AP in terminal, router can find this terminal according to virtual AP; When not setting up virtual AP in terminal, router can search this terminal according to the MAC Address of terminal.
Concrete, after router finds this terminal according to the MAC Address of terminal, router can the received signal strength indicator RSSI value of sense terminals when launching digital signal, and calculate the second actual range according to this RSSI value.
In prior art, the most general principle that RSSI (Received Signal Strength Indication, received signal strength indicator) finds range is the measurement of the distance of carrying out based on the relation between transmitting power, received power and other environmental factors.
In prior art, there is the computing formula between RSSI and distance d, after the RSSI value when router records terminal transmission digital signal, corresponding distance can be calculated according to this computing formula.
When router searches this terminal according to the AP name in end message, router can be wirelessly bridged in the virtual AP of this terminal establishment, and detect the dBm value of virtual AP, then according to presetting the distance value searching corresponding dBm value in mapping relations table, obtain the second actual range.
Measure its distance resemble to router with terminal by the wireless aps of router, router also by being wirelessly bridged in virtual AP that terminal creates, can carrying out the measurement of distance, not repeat them here.
In practical application, the method for measurement measuring the actual range of terminal in the present invention about router also can be other method of measurement, in this no limit.
Further, for step 105, the specific implementation that terminal is linked in wireless aps by router can have the following two kinds mode:
First kind of way:
Second actual range is reported cloud server by a, router, so that the first actual range compares with the second actual range by cloud server.
Wherein, the first actual range measured by it, to while the end message of cloud server reporting terminal and the wireless aps information of router, is also reported cloud server by terminal.
After cloud server obtains the first actual range and the second actual range, both can be compared, to verify whether both are identical.
If the comparative result of b cloud server is that both are identical, then the access instruction that issues according to cloud server of router, is linked into terminal in wireless aps.
Because terminal and router are different equipment, and during terminal use's handheld terminal, have movement slightly, so the distance measured by both has certain error.When the error of the first actual range and the second actual range is less than default error threshold, identical both cloud server judges, and issue access instruction, so that terminal accesses in wireless aps by router to router.
It should be noted that, router can issue SSID and the password of wireless aps, also first can send to cloud server, then be forwarded by cloud server after receiving access instruction directly to terminal.
In this step, after terminal reports the first actual range to cloud server, cloud server does not issue access instruction directly to router, but the end message of terminal is issued to router, so that router measures the actual range of router and terminal again, now, the actual range that both measure compares by cloud server, only have when the first actual range that terminal is measured is identical with the second actual range that router is measured, cloud server just issues access instruction to router, thus avoid terminal because reporting false distance to cloud server, and allow the phenomenon of wireless aps of its couple in router, and then reach the object of authentication.
Optionally, terminal also can not report the first actual range to cloud server, and cloud server side stores default distance threshold, therefore, the second actual range that cloud server only needs routers to report carries out secondary checking, namely again verifies whether the second actual range is less than default distance threshold, when being less than, just issue incoming instruction, thus further ensure the wireless aps that terminal only just can be accessed by router in the distance range allowed.
The second way:
When the second actual range is less than default distance threshold, terminal is directly linked in wireless aps by router.
In practical application, after router authentication terminal and its actual range are in the distance range allowed, this terminal just can directly be linked in wireless aps by this router.
Further, as the realization to above-mentioned each embodiment of the method, in another embodiment of the present invention, additionally provide a kind of terminal, as shown in Figure 2, this terminal comprises: measuring unit 21, transmitting element 22 and access unit 23.Wherein,
Measuring unit 21, for measuring the distance between router, obtains the first actual range;
Transmitting element 22, for when the first actual range that measuring unit 21 is measured is less than default distance threshold, to the end message of cloud server reporting terminal and the wireless access point AP information of router;
Access unit 23, when the second actual range for measuring when router is less than default distance threshold, is linked in the wireless aps of router.
Further, access unit 23, also for being linked in the wireless aps of router default.
Access unit 23, also for being linked in the main wireless aps of router.
Access unit 23, also for be linked into router from wireless aps.
Further, as shown in Figure 3, this terminal comprises further:
Display unit 24, before measuring the distance between router at measuring unit 21, the AP name showing all available wireless aps is selected for user;
Access unit 23, also for being linked in the wireless aps of the router that user selects.
Further, as shown in Figure 4, measuring unit 21, comprising:
Bridge module 211, for being wirelessly bridged in the wireless aps of router establishment, and detects the decibel dBm value of wireless aps;
Searching module 212, for searching the distance value of the dBm value that corresponding bridge module 211 detects in the mapping relations table preset, obtaining the first actual range.
Further, as shown in Figure 5, this terminal comprises further:
Creating unit 25, for creating virtual AP.
Further, as the realization to above-mentioned each embodiment of the method, in another embodiment of the present invention, additionally provide a kind of cloud server, as shown in Figure 6, this cloud server comprises: receiving element 31, search unit 32 and issue unit 33.Wherein,
Receiving element 31, the end message of terminal reported for receiving terminal and the wireless access point AP information of router;
Search unit 32, search router for the MAC address carried in the wireless aps information that received by receiving element 31;
Issue unit 33, for the end message searching router that unit 32 searches and issue terminal.
Further, as shown in Figure 7, this cloud server comprises further:
Set up unit 34, for setting up with router and being longly connected of being kept for communicating.
Further, receiving element 31, also for the second actual range that receiving router reports;
As shown in Figure 8, this cloud server comprises further:
Comparing unit 35, compares for the first actual range of being received by receiving element 31 and the second actual range;
Issue unit 33, also for issuing access instruction to router.
Further, as the realization to above-mentioned each embodiment of the method, in another embodiment of the present invention, additionally provide a kind of router, as shown in Figure 9, this router comprises: receiving element 41, search unit 42, measuring unit 43 and access unit 44.Wherein,
Receiving element 41, for receiving the end message of the terminal that cloud server issues;
Search unit 42, search terminal for the end message received according to receiving element 41;
Measuring unit 43, for measuring the second actual range searching the terminal that unit 42 is searched;
Access unit 44, for when the second actual range that measuring unit 43 is measured is less than default distance threshold, is linked into terminal in wireless aps.
Further, as shown in Figure 10, this router comprises further:
Set up unit 45, for setting up with cloud server and being longly connected of being kept for communicating.
Further, as shown in figure 11, this router comprises further:
Cancel unit 46, for measure the distance between router in terminal before, cancel to terminal broadcast can the AP name of wireless aps;
Access unit 44, also for terminal being linked in the wireless aps of acquiescence.
Further, access unit 44, also for terminal being linked in main wireless aps.
Access unit 44, also for creating from wireless aps, and is linked into terminal from wireless aps.
Further, as shown in figure 12, this router comprises further:
Radio unit 47, for terminal broadcast can the AP name of wireless aps so that the AP name of all available wireless aps of terminal demonstration is selected for user;
Access unit 44, also for terminal being linked in the wireless aps of user's selection.
Further, search unit 42, also for according to the MAC Address in end message, search terminal;
As shown in figure 13, measuring unit 43, comprising:
Detection module 431, for received signal strength indicator RSSI value during sense terminals transmitting digital signal;
Computing module 432, calculates the second actual range for the RSSI value detected according to detection module 431.
Further, search unit 42, also for according to the AP name in end message, be wirelessly bridged in the virtual AP of terminal establishment, and detect the decibel dBm value of virtual AP;
As shown in figure 14, measuring unit 43, comprising:
Searching module 433, for searching the distance value of corresponding dBm value in the mapping relations table preset, obtaining the second actual range.
Further, as shown in figure 15, access unit 44, comprising:
Reporting module 441, for the second actual range is reported cloud server, so that the first actual range compares with the second actual range by cloud server;
Access module 442, for when the comparative result of cloud server be both identical time, the access instruction issued according to cloud server, is linked into terminal in wireless aps.
The terminal that the wireless network that the embodiment of the present invention provides accesses, cloud server and router, first can measure by terminal the distance that it arrives router, when its distance to router arrives in preset range, again to the information of cloud server reporting terminal and router, this router is searched to trigger cloud server, after this router obtains the information of terminal, then verify whether this terminal has the right to access wireless aps.Manually input compared with password connecting wireless network with needing user in prior art, the present invention passes through terminal initiatively close to router, thus triggering cloud server notifies that this router carries out distance checking, after being verified, terminal just can be dynamically connected this wireless network certainly, and manually input password without the need to user and connect, thus reach the object of wireless network rapid access.
Further, as the realization to above-mentioned each embodiment of the method, in another embodiment of the present invention, additionally provide the system of a kind of wireless network access, as shown in figure 16, this system comprises: terminal 51, cloud server 52 and router five 3; Wherein, terminal 51 comprises terminal shown any one of Fig. 2 to Fig. 5; Cloud server shown in cloud server 52 comprises any one of Fig. 6 to Fig. 8; Router shown in router five 3 comprises any one of Fig. 9 to Figure 15.
The system of the wireless network access that the embodiment of the present invention provides, first can measure by terminal the distance that it arrives router, when its distance to router arrives in preset range, again to the information of cloud server reporting terminal and router, this router is searched to trigger cloud server, after this router obtains the information of terminal, then verify whether this terminal has the right to access wireless aps.Manually input compared with password connecting wireless network with needing user in prior art, the present invention passes through terminal initiatively close to router, thus triggering cloud server notifies that this router carries out distance checking, after being verified, terminal just can be dynamically connected this wireless network certainly, and manually input password without the need to user and connect, thus reach the object of wireless network rapid access.
Embodiments of the invention disclose:
The method of A1, a kind of wireless network access, described method comprises:
Terminal measures the distance between router, obtains the first actual range;
When described first actual range is less than default distance threshold, described terminal reports the end message of described terminal and the wireless access point AP information of router to cloud server;
Described cloud server searches described router by the MAC address carried in described wireless aps information, and issues the end message of described terminal to described router;
Described router searches described terminal according to described end message, and measures the second actual range of described terminal;
When described second actual range is less than described default distance threshold, described terminal is linked in wireless aps by described router.
A2, method according to A1, before described terminal measures the distance between router, described method comprises further:
Described router is set up with described cloud server and the length being kept for communicating is connected.
A3, method according to A1, before described terminal measures the distance between router, described method comprises further:
Described router cancel to described terminal broadcast can the AP name of wireless aps;
Described terminal is linked in wireless aps by described router, comprising:
Described terminal is linked in the wireless aps of acquiescence by described router.
A4, method according to A3, described terminal is linked in the wireless aps of acquiescence by described router, comprising:
Described terminal is linked in main wireless aps by described router.
A5, method according to A3, described terminal is linked in the wireless aps of acquiescence by described router, comprising:
Described router creates from wireless aps, and described terminal is linked into described from wireless aps.
A6, method according to A1, before described terminal measures the distance between router, described method comprises further:
Described router to described terminal broadcast can the AP name of wireless aps so that the AP name of all available wireless aps of described terminal demonstration is selected for user;
Described terminal is linked in wireless aps by described router, comprising:
Described terminal is linked in the wireless aps of described user selection by described router.
A7, method according to A1, described terminal measures the distance between router, obtains the first actual range, comprising:
Described terminal wireless is bridged in the wireless aps of described router establishment, and detects the decibel dBm value of described wireless aps;
Described terminal searches the distance value of corresponding described dBm value in the mapping relations table preset, and obtains described first actual range.
A8, method according to A1, described router searches described terminal according to described end message, comprising:
Described router, according to the MAC Address in described end message, searches described terminal;
Described the second actual range measuring described terminal, comprising:
Received signal strength indicator RSSI value described in described router detection during terminal transmission digital signal;
Described router calculates described second actual range according to described RSSI value.
A9, method according to A1, described router searches described terminal according to described end message, comprising:
Described router, according to the AP name in described end message, is wirelessly bridged in the virtual AP of described terminal establishment, and detects the decibel dBm value of described virtual AP;
Described the second actual range measuring described terminal, comprising:
Described router searches the distance value of corresponding described dBm value in the mapping relations table preset, and obtains described second actual range.
A10, method according to A1, described when described second actual range is less than described default distance threshold, described terminal is linked in wireless aps by described router, comprising:
Described second actual range is reported described cloud server by described router, so that described first actual range compares with described second actual range by described cloud server;
If the comparative result of described cloud server is that both are identical, then the access instruction that issues according to described cloud server of described router, is linked into described terminal in wireless aps.
A11, method according to A1, described when described second actual range is less than described default distance threshold, described terminal is linked in wireless aps by described router, comprising:
When described second actual range is less than described default distance threshold, described terminal is directly linked in wireless aps by described router.
B12, a kind of terminal, described terminal comprises:
Measuring unit, for measuring the distance between router, obtains the first actual range;
Transmitting element, for when described first actual range that described measuring unit is measured is less than default distance threshold, reports the end message of described terminal and the wireless access point AP information of router to cloud server;
Access unit, for when the second actual range that described router is measured is less than described default distance threshold, is linked in the wireless aps of described router.
B13, terminal according to B12, described access unit, also for being linked in the wireless aps of described router default.
B14, terminal according to B13, described access unit, also for being linked in the main wireless aps of described router.
B15, terminal according to B13, described access unit, also for be linked into described router from wireless aps.
B16, terminal according to B12, described terminal comprises further:
Display unit, before measuring the distance between router at described measuring unit, the AP name showing all available wireless aps is selected for user;
Described access unit, also for being linked in the wireless aps of the described router that described user selects.
B17, terminal according to B12, described measuring unit, comprising:
Bridge module, for being wirelessly bridged in the wireless aps of described router establishment, and detects the decibel dBm value of described wireless aps;
Searching module, for searching the distance value of the described dBm value that corresponding described bridge module detects in the mapping relations table preset, obtaining described first actual range.
B18, terminal according to B12, described terminal comprises further:
Creating unit, for creating virtual AP.
C19, a kind of cloud server, described cloud server comprises:
Receiving element, the end message of described terminal reported for receiving terminal and the wireless access point AP information of router;
Search unit, search described router for the MAC address carried in the described wireless aps information that received by described receiving element;
Issue unit, for searching to described the end message that described router that unit searches issues described terminal.
C20, cloud server according to C19, described cloud server comprises further:
Set up unit, for setting up with described router and being longly connected of being kept for communicating.
C21, cloud server according to C19, described receiving element, also for receiving the second actual range that described router reports;
Described cloud server comprises further:
Comparing unit, compares for described first actual range that received by described receiving element and described second actual range;
Describedly issue unit, also for issuing access instruction to described router.
D22, a kind of router, described router comprises:
Receiving element, for receiving the end message of the terminal that cloud server issues;
Search unit, search described terminal for the described end message received according to described receiving element;
Measuring unit, for searching the second actual range of the described terminal that unit is searched described in measuring;
Access unit, for when described second actual range that described measuring unit is measured is less than default distance threshold, is linked into described terminal in wireless aps.
D23, router according to D22, described router comprises further:
Set up unit, for setting up with described cloud server and being longly connected of being kept for communicating.
D24, router according to D22, described router comprises further:
Cancel unit, before measuring the distance between described router in described terminal, cancel to described terminal broadcast can the AP name of wireless aps;
Described access unit, also for described terminal being linked in the wireless aps of acquiescence.
D25, router according to D24, described access unit, also for described terminal being linked in main wireless aps.
D26, router according to D24, described access unit, also for creating from wireless aps, and is linked into described from wireless aps by described terminal.
D27, router according to D22, described router comprises further:
Radio unit, for described terminal broadcast can the AP name of wireless aps so that the AP name of all available wireless aps of described terminal demonstration is selected for user;
Described access unit, also for described terminal being linked in the wireless aps of described user selection.
D28, router according to D22, described in search unit, also for according to the MAC Address in described end message, search described terminal;
Described measuring unit, comprising:
Detection module, for detecting received signal strength indicator RSSI value during described terminal transmission digital signal;
Computing module, calculates described second actual range for the described RSSI value detected according to described detection module.
D29, router according to D22, described in search unit, also for according to the AP name in described end message, be wirelessly bridged in the virtual AP that described terminal creates, and detect the decibel dBm value of described virtual AP;
Described measuring unit, comprising:
Searching module, for searching the distance value of corresponding described dBm value in the mapping relations table preset, obtaining described second actual range.
D30, router according to D22, described access unit, comprising:
Reporting module, for described second actual range is reported described cloud server, so that described first actual range compares with described second actual range by described cloud server;
Access module, for when the comparative result of described cloud server be both identical time, the access instruction issued according to described cloud server, is linked into described terminal in wireless aps.
D31, router according to D22, the described access module of described access unit, also for when described second actual range is less than described default distance threshold, is directly linked into described terminal in wireless aps.
The system of E32, a kind of wireless network access, described system comprises: terminal, cloud server and router; Wherein, described terminal comprises the terminal according to any one of B12 to B18; Described cloud server comprises the cloud server according to any one of C19 to C21; Described router comprises the router according to any one of D22 to D31.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
Be understandable that, the correlated characteristic in said method and device can reference mutually.In addition, " first ", " second " in above-described embodiment etc. are for distinguishing each embodiment, and do not represent the quality of each embodiment.
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.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize the some or all parts in the method for a kind of network communication according to the embodiment of the present invention, Apparatus and system.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.

Claims (10)

1. a method for wireless network access, it is characterized in that, described method comprises:
Terminal measures the distance between router, obtains the first actual range;
When described first actual range is less than default distance threshold, described terminal reports the end message of described terminal and the wireless access point AP information of router to cloud server;
Described cloud server searches described router by the MAC address carried in described wireless aps information, and issues the end message of described terminal to described router;
Described router searches described terminal according to described end message, and measures the second actual range of described terminal;
When described second actual range is less than described default distance threshold, described terminal is linked in wireless aps by described router.
2. method according to claim 1, is characterized in that, before described terminal measures the distance between router, described method comprises further:
Described router is set up with described cloud server and the length being kept for communicating is connected.
3. method according to claim 1, is characterized in that, before described terminal measures the distance between router, described method comprises further:
Described router cancel to described terminal broadcast can the AP name of wireless aps;
Described terminal is linked in wireless aps by described router, comprising:
Described terminal is linked in the wireless aps of acquiescence by described router.
4. method according to claim 3, is characterized in that, described terminal is linked in the wireless aps of acquiescence by described router, comprising:
Described terminal is linked in main wireless aps by described router.
5. method according to claim 3, is characterized in that, described terminal is linked in the wireless aps of acquiescence by described router, comprising:
Described router creates from wireless aps, and described terminal is linked into described from wireless aps.
6. method according to claim 1, is characterized in that, before described terminal measures the distance between router, described method comprises further:
Described router to described terminal broadcast can the AP name of wireless aps so that the AP name of all available wireless aps of described terminal demonstration is selected for user;
Described terminal is linked in wireless aps by described router, comprising:
Described terminal is linked in the wireless aps of described user selection by described router.
7. a terminal, is characterized in that, described terminal comprises:
Measuring unit, for measuring the distance between router, obtains the first actual range;
Transmitting element, for when described first actual range that described measuring unit is measured is less than default distance threshold, reports the end message of described terminal and the wireless access point AP information of router to cloud server;
Access unit, for when the second actual range that described router is measured is less than described default distance threshold, is linked in the wireless aps of described router.
8. a cloud server, is characterized in that, described cloud server comprises:
Receiving element, the end message of described terminal reported for receiving terminal and the wireless access point AP information of router;
Search unit, search described router for the MAC address carried in the described wireless aps information that received by described receiving element;
Issue unit, for searching to described the end message that described router that unit searches issues described terminal.
9. a router, is characterized in that, described router comprises:
Receiving element, for receiving the end message of the terminal that cloud server issues;
Search unit, search described terminal for the described end message received according to described receiving element;
Measuring unit, for searching the second actual range of the described terminal that unit is searched described in measuring;
Access unit, for when described second actual range that described measuring unit is measured is less than default distance threshold, is linked into described terminal in wireless aps.
10. a system for wireless network access, it is characterized in that, described system comprises: terminal, cloud server and router; Wherein, described terminal comprises terminal as claimed in claim 7; Described cloud server comprises cloud server as claimed in claim 8; Described router comprises router as claimed in claim 9.
CN201410826914.3A 2014-12-26 2014-12-26 A kind of method, the terminal of wireless network access Active CN104486814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410826914.3A CN104486814B (en) 2014-12-26 2014-12-26 A kind of method, the terminal of wireless network access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410826914.3A CN104486814B (en) 2014-12-26 2014-12-26 A kind of method, the terminal of wireless network access

Publications (2)

Publication Number Publication Date
CN104486814A true CN104486814A (en) 2015-04-01
CN104486814B CN104486814B (en) 2018-02-06

Family

ID=52761303

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410826914.3A Active CN104486814B (en) 2014-12-26 2014-12-26 A kind of method, the terminal of wireless network access

Country Status (1)

Country Link
CN (1) CN104486814B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245539A (en) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 Router visitor verification method and system and router
CN106060820A (en) * 2016-08-24 2016-10-26 深圳普创天信科技发展有限公司 Wireless network access method
CN106792672A (en) * 2017-01-09 2017-05-31 佛山市顺德区美的电子科技有限公司 Networking methods, system and its equipment based on voice broadcast dynamic key
CN111108775A (en) * 2017-09-21 2020-05-05 诺基亚技术有限公司 Handover improvements for air-to-ground systems
CN111436024A (en) * 2019-01-15 2020-07-21 珠海格力电器股份有限公司 Wireless connection method, wireless communication device and intelligent terminal
US11558479B2 (en) * 2018-03-30 2023-01-17 Beijing Boe Technology Development Co., Ltd. Access method, internet of things platform, application device, service device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843686A (en) * 2012-09-14 2012-12-26 惠州Tcl移动通信有限公司 Wireless network system and portable electronic device
CN103096506A (en) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 Terminal devices, wireless fidelity (WIFI) connection method and system
US20130152168A1 (en) * 2011-12-09 2013-06-13 Verizon Patent And Licensing, Inc. Wireless connection method and device
CN103402275A (en) * 2013-07-26 2013-11-20 北京小米科技有限责任公司 Method, terminal and system of sharing WiFi (Wireless Fidelity) link information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130152168A1 (en) * 2011-12-09 2013-06-13 Verizon Patent And Licensing, Inc. Wireless connection method and device
CN102843686A (en) * 2012-09-14 2012-12-26 惠州Tcl移动通信有限公司 Wireless network system and portable electronic device
CN103096506A (en) * 2013-01-07 2013-05-08 东莞宇龙通信科技有限公司 Terminal devices, wireless fidelity (WIFI) connection method and system
CN103402275A (en) * 2013-07-26 2013-11-20 北京小米科技有限责任公司 Method, terminal and system of sharing WiFi (Wireless Fidelity) link information

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105245539A (en) * 2015-10-27 2016-01-13 上海斐讯数据通信技术有限公司 Router visitor verification method and system and router
CN106060820A (en) * 2016-08-24 2016-10-26 深圳普创天信科技发展有限公司 Wireless network access method
CN106792672A (en) * 2017-01-09 2017-05-31 佛山市顺德区美的电子科技有限公司 Networking methods, system and its equipment based on voice broadcast dynamic key
CN106792672B (en) * 2017-01-09 2019-12-10 佛山市顺德区美的电子科技有限公司 Networking method, system and equipment based on voice broadcast dynamic key
CN111108775A (en) * 2017-09-21 2020-05-05 诺基亚技术有限公司 Handover improvements for air-to-ground systems
US11503513B2 (en) 2017-09-21 2022-11-15 Skyfive Ag Handover improvement for air-to-ground system
US11558479B2 (en) * 2018-03-30 2023-01-17 Beijing Boe Technology Development Co., Ltd. Access method, internet of things platform, application device, service device
CN111436024A (en) * 2019-01-15 2020-07-21 珠海格力电器股份有限公司 Wireless connection method, wireless communication device and intelligent terminal

Also Published As

Publication number Publication date
CN104486814B (en) 2018-02-06

Similar Documents

Publication Publication Date Title
CN104486814A (en) Wireless network accessing method and terminal
CN104540128B (en) The method, apparatus and system of wireless network access
CN104540186B (en) Method, device and system for wireless network access
CN104378345B (en) The safety detection method of mobile client URL and system
CN104349423A (en) Method, system and device for automatically connecting with wireless LAN (local area network)
EP2922276B1 (en) File sharing method, apparatus, and mobile device
CN103533635A (en) Mobile terminal positioning method and mobile terminal
US20210240464A1 (en) Automatic device-to-device firmware upgrade of a wireless network
CN104967995A (en) Method for acquiring WIFI network password, client and server
CN106487859A (en) The method of monitoring user access activity, device, terminal unit and system
CN105791454A (en) Binding method and apparatus for intelligent terminal
CN106685891A (en) Verification method and apparatus for accessing network
CN103685176A (en) Terminal equipment, equipment management server and connection establishment method
US20160277217A1 (en) Home control gateway and home control method thereof
WO2023015816A1 (en) Esim device configuration system, method and apparatus, and storage medium
CN105511275A (en) Method and device for controlling intelligent electric appliance
WO2015165075A1 (en) Wireless access point selection based on a connection plan
CN103281288B (en) A kind of SMSCallFilter system and method
CN109976828B (en) Method and device for configuring file
CN113242550A (en) Network distribution method, device, equipment and storage medium
KR20100027218A (en) Methods, apparatuses, and computer program products, for automatically finding configuration settings for services
CN113325729B (en) Region division method for household appliance, terminal device and readable storage medium
JP7481369B2 (en) Method, device and readable storage medium for setting an access point name
CN111738388B (en) Parameter configuration method and device of measuring instrument, computer equipment and storage medium
CN103873580A (en) Method and device for analyzing video webpages

Legal Events

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

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right