WO2016101730A1 - 无线网络接入的方法、装置及系统 - Google Patents
无线网络接入的方法、装置及系统 Download PDFInfo
- Publication number
- WO2016101730A1 WO2016101730A1 PCT/CN2015/094709 CN2015094709W WO2016101730A1 WO 2016101730 A1 WO2016101730 A1 WO 2016101730A1 CN 2015094709 W CN2015094709 W CN 2015094709W WO 2016101730 A1 WO2016101730 A1 WO 2016101730A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- wireless
- router
- actual distance
- signal strength
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a method, device, and system for wireless network access.
- WiFi Wireless Fidelity
- WiFi is a wireless network composed of wireless access points (APs) and wireless network cards.
- APs wireless access points
- Wireless APs are commonly called "hot spots”. Any A user terminal such as a smartphone, tablet or laptop with a wireless network card can share network resources through the AP.
- the host In the home network, the host usually sets a password for the wireless AP.
- the visitor When the user terminal of the visitor detects the signal of the wireless AP, the visitor needs to manually select the AP name to be joined, and manually input the wireless password for authentication.
- manually selecting the AP name and entering the wireless password is cumbersome to operate, and the process of password input is very error-prone.
- the embodiments of the present invention provide a method, a device, and a system for accessing a wireless network, and the main purpose thereof is to solve the problem that the operation process is cumbersome when a visitor accesses the wireless AP.
- a method for wireless network access including:
- the terminal is connected to the wireless access node AP.
- an apparatus for wireless network access including:
- a detecting unit configured to detect a signal strength of the terminal
- a calculating unit configured to calculate an actual distance between the terminal and the router according to the signal strength detected by the detecting unit
- the comparison unit is configured to compare the actual distance calculated by the calculation unit with a preset distance threshold Correct;
- the access unit is configured to access the terminal to the wireless access node AP when the actual distance of the comparison unit is not greater than the distance threshold.
- a system for wireless network access comprising a terminal and a router, wherein the terminal comprises means as previously described.
- a computer program comprising computer readable code that, when executed on a computing device, causes the computing device to perform the wireless network access described above Methods.
- a computer readable medium wherein the computer program described above is stored.
- the router detects the signal strength of the terminal, calculates the actual distance between the terminal and the router according to the signal strength, and calculates the calculated actual distance and the pre- The distance threshold is compared.
- the terminal accesses the wireless AP.
- the present invention determines whether the terminal is allowed to access the wireless AP by manually calculating the actual distance between the terminal and the router according to the signal strength of the terminal, and thus does not need to manually input the wireless password for authentication.
- the method provided by the invention can greatly simplify the operation process of the terminal accessing the wireless AP.
- FIG. 1 is a flowchart of a method for accessing a wireless network according to an embodiment of the present invention
- FIG. 2 is a block diagram showing the structure of an apparatus for accessing a wireless network according to an embodiment of the present invention
- FIG. 3 is a structural block diagram of another apparatus for accessing a wireless network according to an embodiment of the present invention.
- FIG. 4 is a structural block diagram of another apparatus for accessing a wireless network according to an embodiment of the present invention.
- FIG. 5 is a structural block diagram of another apparatus for accessing a wireless network according to an embodiment of the present invention.
- FIG. 6 is a structural block diagram of another apparatus for accessing a wireless network according to an embodiment of the present invention.
- FIG. 7 is a structural block diagram of another apparatus for accessing a wireless network according to an embodiment of the present invention.
- FIG. 8 is a block diagram showing the structure of another apparatus for accessing a wireless network according to an embodiment of the present invention.
- FIG. 9 is a structural block diagram of a system for accessing a wireless network according to an embodiment of the present invention.
- Figure 10 schematically shows a block diagram of a computing device for performing the method according to the invention
- Fig. 11 schematically shows a storage unit for holding or carrying program code implementing the method according to the invention.
- the embodiment of the invention provides a method for wireless network access. As shown in FIG. 1 , the method includes:
- the terminal in the step 101 is a terminal that supports wireless Internet access, and the terminal used in the embodiment of the present invention may be: a smart phone, a personal computer (PC), a tablet computer, etc., and the specific embodiment of the present invention. No restrictions are imposed.
- the router After detecting the signal strength of the terminal in step 101, the router calculates the actual distance between the terminal and the router based on the signal strength.
- the embodiment of the present invention does not exclude external interference and errors caused by different terminal models.
- the preset distance threshold is manually set, and may be implemented by using, but not limited to, setting a distance threshold, for example, setting a distance threshold of 40 cm, or setting a distance threshold of 10 cm. The embodiment of the present invention does not limit this.
- the terminal is connected to the wireless access node AP.
- the router should perform the authentication according to the comparison result in step 103. If the actual distance is not greater than the distance threshold, the terminal is connected to the wireless AP. If the actual distance is greater than the distance threshold, the terminal cannot be connected to the wireless AP.
- the method for accessing a wireless network detects the signal strength of the terminal by the router, calculates the actual distance between the terminal and the router according to the signal strength, and calculates the actual distance calculated. The distance is compared with a preset distance threshold. When the actual distance is not greater than the distance threshold, the terminal accesses the wireless AP.
- the embodiment of the present invention determines whether the terminal is allowed to access the wireless AP by manually calculating the actual distance between the terminal and the router according to the signal strength of the terminal, and does not need to manually input the wireless password for authentication.
- the method provided by the embodiment of the present invention can greatly simplify the operation process of the terminal accessing the wireless AP.
- the router adopts different methods for detecting the signal strength of the terminal for different signal types.
- the embodiment of the present invention adopts, but is not limited to, the following methods:
- the received signal strength when detecting the received digital signal indicates the RSSI value.
- the signal strength of the router in detecting the terminal is a unified method, and the signal strength is different according to the transmission power of different terminals, and different terminal models correspond to different transmission powers, so after the router detects the RSSI value when receiving the digital signal Find the transmit power of the corresponding terminal model and calibrate the RSSI value according to the transmit power.
- the transmission power of the terminal 1 of the model M01 is 40 mW
- the transmission power of the terminal 2 of the model M030 is 5 mW.
- the signal strength of 1 is greater than the signal strength of terminal 2; similarly, when the router detects that the signal strengths of terminal 3 and terminal 4 are the same, and the transmission power of terminal 3 and terminal 4 are the same, then terminal 3 and terminal 4 and the router The actual distance between the terminals is the same, but the transmission power of the terminal 3 is not the same as the transmission power of the terminal 4.
- the embodiment of the present invention calibrates the RSSI value according to the size of different transmission powers of different terminal models.
- the router determines the model of the terminal according to the data signal sent by the terminal, and searches for the corresponding transmit power of the terminal according to the terminal model and the transmit power comparison table, as shown in Table 1, Table 1 shows A comparison table of terminal models and transmission powers is available.
- Terminal model Transmit power M01 40mW M030 5mW Zw8050 60mW SX673 3mW H4 21mW Mh370 25mW
- the router calibrates the RSSI value according to the transmission power of the terminal, the current RSSI value of the terminal is obtained, and the signal strength of the terminal is determined according to the current RSSI value of the terminal, and a preset first mapping relationship table is locally saved in the router to obtain the terminal.
- the actual distance from the router where the table has a one-to-one correspondence between the RSSI value and the actual distance.
- the embodiment of the present invention can be implemented by using, but not limited to, the following manner: the router sequentially searches in the terminal model and the transmit power comparison table.
- the corresponding transmit power of the terminal or, by means of the binary method, find the transmit power corresponding to the terminal in the terminal model and the transmit power comparison table.
- the specific embodiments of the present invention are not limited.
- the wireless bridge is connected to the virtual AP created by the terminal to detect the decibel dBm value of the virtual AP.
- the router automatically scans the surrounding wireless APs and checks the wireless APs that can be bridged.
- the router obtains the dBm value carried in the wireless AP during the wireless AP scanning process.
- the signal strength of the terminal can be detected according to the dBm value. Calculate the actual distance between the terminal and the router.
- the terminal first creates a virtual AP, and the router bridges the virtual AP created by the terminal, and detects the dBm value.
- the dBm value and the RSSI value can both be used to indicate the signal strength of the terminal, wherein the dBm value and the RSSI value can be converted into each other.
- the router obtains the current dBm value of the terminal, and determines the signal strength of the terminal according to the current dBm value of the terminal, and saves a preset second mapping relationship table locally on the router to obtain the actual distance between the terminal and the router, where the table A one-to-one correspondence between the dBm value and the actual distance is recorded.
- the router stops broadcasting the name of the wireless AP to the terminal before detecting the signal strength of the terminal, so that the terminal does not display the name of the wireless AP.
- the router may continue to detect the signal strength of the terminal.
- the router calculates the actual distance between the terminal and the router according to the signal strength, the actual distance is not greater than In the distance threshold, the router broadcasts the name of the wireless AP and accesses the terminal to the wireless AP.
- the router stops broadcasting the name of the wireless AP to the terminal, and the terminal knows the When the name of the wireless AP is used, the terminal user can manually input the name of the wireless AP and send the request information for accessing the wireless AP to the router. When receiving the request information for accessing the wireless AP, the router sends a message waiting for ranging to the terminal. When the router calculates, according to the signal strength, that the actual distance between the terminal and the router is not greater than the distance threshold, the terminal is connected to the wireless AP.
- the router stops broadcasting the name of the wireless AP to the terminal, and the name may be a Service Set Identifier (SSID) of the wireless AP, or may be a name of a wireless AP set by the user, such as WX_3003.
- SSID Service Set Identifier
- WX_3003 WX_3003
- the information when the prompt information for waiting for ranging is sent to the terminal, the information may be implemented by using, but not limited to, the following manner.
- the router may send the prompt information waiting for ranging to the terminal in the form of a dialog box; or
- the device may not respond to the request information of the access wireless AP sent by the terminal, but wait for the router to calculate the actual distance between the terminal and the router not greater than the distance threshold according to the signal strength of the terminal, and then access the terminal to the wireless AP. in.
- the specific embodiments of the present invention are not limited.
- the router stops broadcasting the name of the wireless AP to the terminal and applies it to the interactive game of the family. Hide the wireless AP in a corner of the home, Huawei, Xiaohua, Xiaohong three people to play, to see which terminal will access the wireless AP in the shortest time, the terminals of Huaweing, Xiaohua and Xiaohong need to be in
- the wireless AP can be accessed only within a preset distance from the router.
- the router can also be set within a preset distance between the terminal and the router, and the wireless network between the terminal and the wireless AP is established by shaking the terminal, so as to increase the user pair.
- the router sets the number and mode of shaking the terminal, so that the terminal can quickly access the wireless AP.
- the router can set the terminal to shake once, or set the terminal to shake twice.
- the router determines whether the terminal will shake according to the number of times the terminal shakes.
- the terminal accesses the wireless AP.
- the router can virtualize multiple wireless APs, and each wireless AP has its unique name, the router can also broadcast the names of all the wireless APs to the terminal, so that the user needs to access the terminal.
- the wireless AP in which multiple wireless APs virtualized by the same router are subnets created by the router, can access the terminal to the wireless network.
- the router detects that the actual distance between the terminal and the router is not greater than the distance threshold, the router receives the wireless password of the corresponding wireless AP reported by the terminal, and authenticates the terminal according to the wireless password, if the wireless password reported by the terminal is correct. , the terminal is connected to the wireless AP.
- the wireless password reported by the terminal is the name of the broadcast wireless AP
- the router is encrypted by the public key and bound to the name.
- the wireless password when the router broadcasts the wireless AP, binds the password of the wireless AP to the wireless AP name through an encryption algorithm, and when the terminal displays the name of the wireless AP, the wireless algorithm uses a decryption algorithm corresponding to the wireless AP encryption algorithm.
- the wireless password bound to the AP name is decrypted, and the decrypted wireless password is reported to the router to enable the terminal to access the wireless AP.
- the wireless password reported by the terminal is previously cached by the terminal.
- the wireless password is passed, and the terminal after the authentication is recorded in the router local area, and the terminal that is authenticated by the router locally caches the wireless password of the access wireless AP, so that the subsequent access to the corresponding wireless AP is required without authentication. Can be connected to the corresponding wireless AP.
- the user may manually input the wireless password and wait for the authentication of the router. If the input wireless password is correct, the terminal is used. Access to the wireless AP.
- the router when the router detects that the actual distance between the terminal and the router is not greater than the preset distance, canceling the receiving of the wireless password and authenticating the terminal, and accessing the terminal to the wireless AP.
- the cancellation of the wireless password reception and the authentication of the terminal mentioned here does not mean that any terminal can access the wireless AP unconditionally.
- the router needs to calculate the terminal and the router according to the signal strength of the terminal. If the actual distance is not greater than the preset distance threshold, the terminal can be connected to the wireless AP; if the actual distance between the terminal and the router is less than the preset distance threshold, even if the router cancels the reception of the wireless password and The terminal's authentication cannot connect the terminal with the actual distance between the router and the router to the wireless AP.
- the terminal can be connected to the wireless AP, and the router can also receive the client identifier reported by the terminal, authenticate the terminal according to the client identifier, and access the terminal to the wireless AP. After the router detects that the actual distance between the terminal and the router is not greater than the preset value, the terminal reports its own client identifier and waits for the authentication of the router. After the client identifier reported by the terminal passes the authentication of the router, the terminal will Automatically access to the wireless AP.
- the client identifier may be identified by a Token or may be identified by a ticket, which is not limited by the embodiment of the present invention.
- the router may virtualize a plurality of wireless APs, and divide the plurality of virtual APs that are virtualized into a primary wireless AP and a secondary wireless AP, wherein the terminal may log in to the router through the primary wireless AP.
- the control interface can modify the configuration information of the router, the name of the wireless AP, etc., but the terminal cannot log in to the control interface of the router from the wireless AP; the primary wireless AP and the secondary wireless AP are both subnets created by the router, when there is When a visitor needs to access a wireless network, the terminal can be connected to the secondary wireless AP.
- the embodiment of the present invention further provides a device for accessing a wireless network.
- the device includes:
- a detecting unit 21 configured to detect a signal strength of the terminal
- the calculating unit 22 is configured to calculate an actual distance between the terminal and the router according to the signal strength detected by the detecting unit 21;
- the comparison unit 23 is configured to compare the actual distance calculated by the calculation unit 22 with a preset distance threshold
- the access unit 24 is configured to access the terminal into the wireless access node AP when the actual distance of the comparison unit 23 is not greater than the distance threshold.
- the detecting unit 21 is further configured to: when the terminal sends the data signal, detect the received signal strength indicating the RSSI value when receiving the digital signal;
- the calculating unit 22 is further configured to search for a distance value corresponding to the RSSI value detected by the detecting module in the preset first mapping relationship table to obtain an actual distance.
- the apparatus further includes:
- the searching unit 25 is configured to search for the transmit power of the corresponding terminal model after the detecting unit 21 detects the RSSI value when receiving the digital signal;
- the calibration unit 26 is configured to calibrate the RSSI value according to the size of the transmission power searched by the searching unit 25.
- the detecting unit 21 is further configured to: wirelessly bridge into the virtual AP created by the terminal, and detect a decibel dBm value of the virtual AP bridged by the bridging module;
- the calculating unit 22 is further configured to search for a distance value of the dBm value detected by the corresponding detecting unit 21 in the preset second mapping relationship table to obtain an actual distance.
- the apparatus further includes:
- the stopping unit 27 is configured to stop broadcasting the name of the wireless AP to the terminal before the detecting unit 21 detects the signal strength of the terminal, so that the terminal does not display the name of the wireless AP.
- the apparatus further includes:
- the broadcasting unit 28 is configured to broadcast the names of all the wireless APs to the terminal when the actual distance that the comparison unit 23 compares is not greater than the distance threshold, so that the user selects the wireless AP that needs to be accessed on the terminal.
- the access unit 24 accesses the terminal to the wireless AP, including:
- the receiving module 241 is configured to receive a wireless password of the corresponding wireless AP reported by the terminal;
- the authentication module 242 is configured to authenticate the terminal by receiving the wireless password according to the receiving module 241.
- the access module 243 is configured to: after the authentication module 242 authenticates the terminal, access the terminal. Go to the wireless AP.
- the wireless password reported by the terminal received by the receiving module 241 is a wireless password encrypted by the public key and bound to the name when the name of the wireless AP is broadcasted.
- the wireless password reported by the terminal received by the receiving module 241 is a wireless password previously cached by the terminal.
- the access unit 24 accesses the terminal to the wireless AP, including:
- the canceling module 244 is configured to cancel the receiving of the wireless password and the authentication of the terminal, and access the terminal to the wireless AP;
- the receiving module 241 is further configured to receive the client identifier reported by the terminal;
- the authentication module 242 is further configured to: authenticate the terminal according to the client identifier received by the receiving module 241;
- the access module 241 is further configured to: after the authentication module 242 authenticates the client identifier, access the terminal to the wireless AP.
- the access unit 24 accesses the terminal to the wireless AP, including:
- the establishing module 245 is configured to establish a virtual wireless AP, and the terminal cannot log in to the control interface of the router through the virtual wireless AP;
- the access module 243 is further configured to access the terminal to the virtual wireless AP established by the establishing module 245.
- the embodiment of the present invention further provides a system for wireless network access, where the system includes a terminal 31 and a router 32, wherein the terminal 31 includes The apparatus shown in any of the above Figures 2 to 8.
- the router detects the signal strength of the terminal, calculates the actual distance between the terminal and the router according to the signal strength, and compares the calculated actual distance with a preset distance threshold. Yes, when the actual distance is not greater than the distance threshold, the terminal accesses the wireless AP.
- the embodiment of the present invention determines whether the terminal is allowed to access the wireless AP by manually calculating the actual distance between the terminal and the router according to the signal strength of the terminal, and does not need to manually input the wireless password for authentication.
- the device and system provided by the present invention can greatly simplify the operation process of the terminal accessing the wireless AP.
- modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
- the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
- any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
- This specification including Each feature disclosed in the accompanying claims, the abstract and the drawings may be replaced by alternative features that provide the same, equivalent or similar purpose.
- the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the wireless network access device in accordance with embodiments of the present invention.
- the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- Figure 10 schematically illustrates a block diagram of a computing device for performing the method in accordance with the present invention.
- the computing device conventionally includes a processor 1010 and a computer program product or computer readable medium in the form of a memory 1020.
- the memory 1020 may be an electronic memory such as a flash memory, an EEPROM (Electrically Erasable Programmable Read Only Memory), an EPROM, a hard disk, or a ROM.
- the memory 1020 has a memory space 1030 for executing program code 1031 of any of the above method steps.
- storage space 1030 for program code may include various program code 1031 for implementing various steps in the above methods, respectively.
- the program code can be read from or written to one or more computer program products.
- Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
- Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
- the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 1020 in the computing device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit comprises computer readable code 1031' for performing the steps of the method according to the invention, i.e. code which can be read by a processor such as 1010, which is carried by the computing device At the time of the line, the computing device is caused to perform the various steps in the method described above.
- the present invention is applicable to computer systems/servers that can operate with numerous other general purpose or special purpose computing system environments or configurations.
- Examples of well-known computing systems, environments, and/or configurations suitable for use with computer systems/servers include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, based on Microprocessor systems, set-top boxes, programmable consumer electronics, networked personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments including any of the above, and the like.
- the computer system/server can be described in the general context of computer system executable instructions (such as program modules) being executed by a computer system.
- program modules may include routines, programs, target programs, components, logic, data structures, and the like that perform particular tasks or implement particular abstract data types.
- the computer system/server can be implemented in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communication network.
- program modules may be located on a local or remote computing system storage medium including storage devices.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种无线网络接入的方法、装置及系统,用于解决访客接入无线接入节点(AP)时操作过程繁琐的问题。所述方法包括:检测终端的信号强度(101);根据信号强度计算终端到路由器之间的实际距离(102);将实际距离与预设的距离阈值进行比对(103);若实际距离不大于距离阈值,则将终端接入到无线AP中(104)。
Description
本发明涉及通信技术领域,特别是涉及一种无线网络接入的方法、装置及系统。
无线保真(Wireless Fidelity,WiFi)是一个当今使用最广泛的无线网络传输技术,WiFi是由无线接入点(Access Point,AP)和无线网卡组成的无线网络,无线AP俗称“热点”,任何一台装有无线网卡的智能手机、平板电脑或笔记本电脑等用户终端都可以通过AP去分享网络资源。
家庭网络中,主人通常会对无线AP设置密码,当访客的用户终端检测到无线AP的信号时,访客需要手动选择需要加入的AP名称,并且手动输入无线密码进行鉴权。实际应用中,手动选取AP名称及输入无线密码的方式操作起来较为繁琐,并且密码输入的过程非常容易出错。
发明内容
有鉴于此,本发明实施例提供一种无线网络接入的方法、装置及系统,主要目的在于解决访客接入无线AP时操作过程繁琐的问题。
依据本发明一个方面,提供了一种无线网络接入的方法,包括:
检测终端的信号强度;
根据信号强度计算终端到路由器之间的实际距离;
将实际距离与预设的距离阈值进行比对;
若实际距离不大于距离阈值,则将终端接入到无线接入节点AP中。
根据本发明的另一个方面,提供了一种无线网络接入的装置,包括:
检测单元,用于检测终端的信号强度;
计算单元,用于根据检测单元检测的信号强度计算终端到路由器之间的实际距离;
比对单元,用于将计算单元计算的实际距离与预设的距离阈值进行比
对;
接入单元,用于当比对单元比对的实际距离不大于距离阈值时,将终端接入到无线接入节点AP中。
根据本发明的另一个方面,提供了一种无线网络接入的系统,所示系统包括终端及路由器,其中,所述终端包括如前所述的装置。
根据本发明的另一个方面,提出了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行上文所述的无线网络接入的方法。
根据本发明的另一方面,提出了一种计算机可读介质,其中存储了上述的计算机程序。
借由上述技术方案,本发明提供的无线网络接入的方法、装置及系统,路由器检测终端的信号强度,根据信号强度计算终端到路由器之间的实际距离,并将计算得到的实际距离与预设的距离阈值进行比对,当实际距离不大于距离阈值时,终端接入到无线AP中。与现有技术相比,本发明通过路由器根据终端的信号强度计算得到的终端与路由器之间的实际距离,判断是否允许终端接入无线AP,而无需手动输入无线密码进行鉴权,因此,本发明提供的方法能够大大简化终端接入无线AP的操作过程。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1示出了本发明实施例提供的一种无线网络接入的方法的流程图;
图2示出了本发明实施例提供的一种无线网络接入的装置的组成框图;
图3示出了本发明实施例提供的另一种无线网络接入的装置的组成框图;
图4示出了本发明实施例提供的另一种无线网络接入的装置的组成框图;
图5示出了本发明实施例提供的另一种无线网络接入的装置的组成框图;
图6示出了本发明实施例提供的另一种无线网络接入的装置的组成框图;
图7示出了本发明实施例提供的另一种无线网络接入的装置的组成框图;
图8示出了本发明实施例提供的另一种无线网络接入的装置的组成框图;
图9示出了本发明实施例提供的一种无线网络接入的系统的组成框图;
图10示意性地示出了用于执行根据本发明的方法的计算设备的框图;以及
图11示意性地示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
本发明实施例提供一种无线网络接入的方法,如图1所示,该方法包括:
101、检测终端的信号强度。
当终端需要接入无线网络时,首先需要打开其自身设备上接入无线网络的信号开关,以便路由器能根据终端发出的信号检测到该终端,路由器基于终端发出的信号,检测终端的信号强度。其中,步骤101中所述的终端为支持无线上网的终端,本发明实施例所采用的终端可以为:智能手机、个人计算机(Personal Computer,PC)、平板电脑等等,具体的本发明实施例不进行限制。
102、根据信号强度计算终端到路由器之间的实际距离。
在步骤101检测终端的信号强度之后,路由器根据该信号强度计算终端与路由器之间的实际距离。本发明实施例在计算终端到路由器之间的实际距离时,不排除外界干扰及不同终端机型造成的误差。
103、将实际距离与预设的距离阈值进行比对。
在步骤102计算出的实际距离后,与预设的距离阈值进行比对,设置的距离阈值越小说明终端需要与路由器的实际距离越近才能接入到无线网络中。其中,所述预设的距离阈值是人为设置的,在设置距离阈值时可以采用但不局限于以下的方式实现,例如,设置距离阈值为40厘米,或者也可以设置距离阈值为10厘米,具体的本发明实施例对此不进行限制。
104、若实际距离不大于距离阈值,则将终端接入到无线接入节点AP中。
在确保能够简化终端接入无线AP时的操作程序的同时,还要确保无线AP的安全,为了防止其他终端接入到该无线AP中,路由器应该根据步骤103中的比对结果进行鉴权,若实际距离不大于距离阈值,则将终端接入到无线AP中,若实际距离大于距离阈值,则不能将终端接入到无线AP中。
现有技术中,对于家庭场景而言,当家中有众多访客时,主人需要手动逐一在每个客人的手机、平板电脑等等终端上重复输入无线AP的密码,客人越多,主人的重复劳动量就越大,并且密码输入的过程非常容易出错。为简化访客接入无线AP的过程,本发明实施例提供的无线网络接入的方法,由路由器检测终端的信号强度,根据信号强度计算终端到路由器之间的实际距离,并将计算得到的实际距离与预设的距离阈值进行比对,当实际距离不大于距离阈值时,终端接入到无线AP中。与现有技术相比,本发明实施例通过路由器根据终端的信号强度计算得到的终端与路由器之间的实际距离,判断是否允许终端接入无线AP,而无需手动输入无线密码进行鉴权,因此,本发明实施例提供的方法能够大大简化终端接入无线AP的操作过程。
进一步的,作为对上述实施例的细化和扩展,上述步骤101在检测终端的信号强度时,路由器针对不同的信号类型采用不同检测终端的信号强度的方法。本发明实施例在检测终端的信号强度时,采用但不局限于以下的方法:
方式一:
当终端发送数据信号时,检测接收数字信号时的接收信号强度指示RSSI值。
路由器在检测终端的信号强度都是用统一的方法,信号强度又根据不同终端的发射功率有所差异,而不同的终端机型对应不同发射功率,因此在路由器检测接收数字信号时的RSSI值之后,查找对应终端机型的发射功率,根据发射功率的大小对RSSI值进行校准。示例性的,假设机型为M01的终端1的发射功率为40mW,机型为M030的终端2的发射功率为5mW,当终端1和终端2在距离路由器相同的位置时,路由器会检测到终端1的信号强度比终端2的信号强度大;同理的,当路由器检测到终端3和终端4的信号强度相同,且终端3与终端4发射功率相同时,则终端3和终端4与路由器之间的实际距离相同,但是不排除终端3的发射功率与终端4的发射功率不相同的情况,当终端3的发射功率比终端4的发射功率大时,终端3与路由器之间的实际距离要比终端4与路由器之间的实际距离大,当终端3的发射功率比终端4的发射功率小时,终端3与路由器之间的实际距离要比终端4与路由器之间的实际距离要小,进而路由器在根据信号强度计算终端到路由器之间的实际距离时会出现误差。因此,针对如上所述的问题,本发明实施例采用根据不同终端机型对应于不同发射功率的大小,对RSSI值进行校准。
在实际的运行过程中,路由器会根据终端发送的数据信号,确定该终端的机型,并根据终端机型与发射功率对照表查找该终端对应的发射功率,如表1所示,表1示出了终端机型与发射功率对照表。
表1
| 终端机型 | 发射功率 |
| M01 | 40mW |
| M030 | 5mW |
| Zw8050 | 60mW |
| SX673 | 3mW |
| H4 | 21mW |
| Mh370 | 25mW |
路由器根据终端发射功率的大小对RSSI值进行校准之后,获取终端当前的RSSI值,并根据终端当前的RSSI值确定终端的信号强度,在路由器本地保存一个预设的第一映射关系表,获取终端与路由器之间的实际距离,其中,该表中记录了RSSI值与实际距离之间的一一对应关系。
其中,路由器在根据终端机型与发射功率对照表查找该终端对应的发射功率时,本发明实施例可以采用但不局限于以下的方式实现,路由器在终端机型与发射功率对照表中逐次查找终端对应的发射功率;或者,通过二分法的方式在终端机型与发射功率对照表中查找终端对应的发射功率。具体的本发明实施例不进行限制。
方式二:
无线桥接到终端创建的虚拟AP中,检测虚拟AP的分贝dBm值。
路由器会自动扫描周围的无线AP,并查看能够桥接的无线AP,在路由器进行无线AP扫描过程中获取无线AP中携带的dBm值,根据所述dBm值可以检测出终端的信号强度,根据信号强度计算所述终端到路由器之间的实际距离。在具体实施时,首先终端创建虚拟AP,路由器桥接到终端创建的虚拟AP中,并检测dBm值。其中,所述dBm值与RSSI值都可以用来表示终端的信号强度,其中,dBm值与RSSI值可以进行相互转换。
路由器获取终端当前的dBm值,并根据终端当前的dBm值确定终端的信号强度,在路由器本地保存一个预设的第二映射关系表,获取终端与路由器之间的实际距离,其中,该表中记录了dBm值与实际距离之间的一一对应关系。
可选的,为了进一步的确保无线AP的安全,路由器在检测终端的信号强度之前,停止向终端广播无线AP的名称,以使得终端不显示无线AP的名称。在本发明实施例的一种实现方式中,路由器停止向终端广播无线AP的名称时,路由器可以继续检测到终端的信号强度,当路由器根据信号强度计算出终端与路由器之间的实际距离不大于所述距离阈值时,路由器广播无线AP的名称,并将终端接入到无线AP中;在本发明实施例的另一种实现方式中,路由器停止向终端广播无线AP的名称,且终端知道该无线AP的名称时,终端用户可以手动输入无线AP的名称,并向路由器发送接入无线AP的请求信息,路由器在接收到接入无线AP的请求信息时,向终端发送等待测距的提示信息,当路由器根据信号强度计算出终端与路由器之间的实际距离不大于所述距离阈值时,将终端接入到无线AP中。其中,路由器停止向终端广播无线AP的名称,所述名称可以是无线AP的服务集标识(Service Set Identifier,SSID),也可以是用户人为设置的无线AP的名称,如WX_3003等,
本发明实施例对无线AP的名称不进行限制。
其中,本发明实施例在向终端发送等待测距的提示信息时可以采用但不局限于以下的方式实现,例如,路由器可以采用以对话框的形式向终端发送等待测距的提示信息;或者,也可以不对终端发送的接入无线AP的请求信息进行响应,而是等待路由器根据终端的信号强度计算出终端与路由器之间的实际距离不大于所述距离阈值之后,将终端接入到无线AP中。具体的本发明实施例不进行限定。
在实际应用场景中,路由器停止向终端广播无线AP的名称应用于家庭的互动游戏中。将无线AP隐藏在家中的某个角落里,小明、小花、小红三人进行比赛,查看哪个终端会在最短的时间内接入到无线AP,小明、小花、小红三人的终端需要在与路由器的预设距离内才能够接入无线AP,此外,路由器也可以设置在终端与路由器的预设距离内,通过摇动终端的方式建立终端与无线AP之间的无线网络,以便增加用户对简化接入无线AP操作程序的体验。其中,路由器对摇动终端的次数和方式进行设置,以便能够使得终端快速的接入到无线AP中,路由器可以设置终端摇动一次,也可以设置终端摇动两次,路由器根据终端摇动的次数判断是否将终端接入到无线AP中。
可选的,由于路由器可以虚拟出多个无线AP,且每个无线AP都有其唯一的名称,因此路由器也可以向终端广播所有的无线AP的名称,以使得用户在终端上选择需要接入的无线AP,其中,由同一个路由器虚拟的多个无线AP都是由路由器创建的子网,都可以将终端接入到无线网络中。
进一步的,当路由器检测到终端与路由器之间的实际距离不大于距离阈值时,路由器接收终端上报的对应无线AP的无线密码,在根据无线密码对终端进行鉴权,若终端上报的无线密码正确,则将该终端接入到无线AP中。为了能够更好的简化终端接入无线AP的操作程序,在本发明实施例的一种实现方式中,终端上报的无线密码为广播无线AP的名称时,路由器通过公钥加密并绑定于名称的无线密码,路由器在广播无线AP时,将该无线AP的密码通过加密算法绑定到无线AP名称中,终端显示到该无线AP的名称时,通过与无线AP加密算法对应的解密算法对无线AP名称中绑定的无线密码进行解密,将解密后的无线密码上报给路由器,实现终端接入到无线AP中。在本发明实施例的另一种实现方式中,终端上报的无线密码为终端此前缓存
过的无线密码,路由器本地中记录通过鉴权之后的终端,而通过路由器鉴权之后的终端本地会缓存接入无线AP的无线密码,以便后续需要接入对应的无线AP时,无需鉴权就可接入到对应的无线AP中。在本发明实施例的第三种实现方式中,当终端中显示出无线AP的名称时,用户可以采用手动输入无线密码的方式,等待路由器的鉴权,若输入的无线密码正确,则将终端接入到无线AP中。
可选的,当路由器检测到终端与路由器之间的实际距离不大于距离预设值时,取消对无线密码的接收及对终端的鉴权,并将终端接入到无线AP中。这里所说的取消对无线密码的接收及对终端的鉴权并不是说任何终端都可以无条件的接入到无线AP中,如前所述的,路由器需要根据终端的信号强度计算出终端与路由器的实际距离是否不大于预设的距离阈值之后,才能够将终端接入到无线AP中;若终端与路由器之间的实际距离小于预设的距离阈值,即使路由器取消对无线密码的接收及对终端的鉴权,也不能将与路由器之间的实际距离小于距离阈值的终端接入到无线AP中。
将终端接入到无线AP中还可以采用路由器接收终端上报的客户端标识,根据客户端标识对终端进行鉴权并将终端接入到无线AP中。基于路由器检测到终端与路由器之间的实际距离不大于距离预设值,终端上报其自身的客户端标识,等待路由器的鉴权,当终端上报的客户端标识通过路由器的鉴权之后,终端会自动接入无线AP中。其中,所述客户端标识可以通过Token进行标识,也可以通过ticket进行标识,具体的本发明实施例对此不进行限制。
进一步的,如前所述的,路由器可以虚拟出多个无线AP,将虚拟出的多个无线AP分为主无线AP和从无线AP,其中,终端通过所述主无线AP可以登录到路由器的控制界面,能够对路由器的配置信息、无线AP的名称等进行修改,但终端无法通过从无线AP登录路由器的控制界面;所述主无线AP与从无线AP都是路由器创建的子网,当有访客需要访问无线网络时,可以将终端接入到从无线AP中。
进一步的,作为对上述方法的实现,本发明实施例还提供了一种无线网络接入的装置,如图2所示,该装置包括:
检测单元21,用于检测终端的信号强度;
计算单元22,用于根据检测单元21检测的信号强度计算终端到路由器之间的实际距离;
比对单元23,用于将计算单元22计算的实际距离与预设的距离阈值进行比对;
接入单元24,用于当比对单元23比对的实际距离不大于距离阈值时,将终端接入到无线接入节点AP中。
进一步的,检测单元21还用于,当终端发送数据信号时,检测接收数字信号时的接收信号强度指示RSSI值;
计算单元22还用于,在预设的第一映射关系表中查找对应检测模块检测的RSSI值的距离值,获得实际距离。
进一步的,如图3所示,装置进一步包括:
查找单元25,用于在检测单元21检测接收数字信号时的RSSI值之后,查找对应终端机型的发射功率;
校准单元26,用于根据查找单元25查找的发射功率的大小对RSSI值进行校准。
进一步的,检测单元21还用于,无线桥接到终端创建的虚拟AP中,检测桥接模块桥接的虚拟AP的分贝dBm值;
计算单元22还用于,在预设的第二映射关系表中查找对应检测单元21检测的dBm值的距离值,获得实际距离。
进一步的,如图4所示,装置进一步包括:
停止单元27,用于在检测单元21检测终端的信号强度之前,停止向终端广播无线AP的名称,以使得终端不显示无线AP的名称。
进一步的,如图5所示,装置进一步包括:
广播单元28,用于当比对单元23比对的实际距离不大于距离阈值时,向终端广播所有无线AP的名称,以使得用户在终端上选择需要接入的无线AP。
进一步的,如图6所示,接入单元24将终端接入到无线AP中,包括:
接收模块241,用于接收终端上报的对应无线AP的无线密码;
鉴权模块242,用于在根据接收模块241接收无线密码对终端进行鉴权;
接入模块243,用于在鉴权模块242对终端进行鉴权之后,将终端接入
到无线AP中。
进一步的,接收模块241接收的终端上报的无线密码为在广播无线AP的名称时,通过公钥加密并绑定于名称的无线密码。
进一步的,接收模块241接收的终端上报的无线密码为终端此前缓存的无线密码。
进一步的,如图7所示,接入单元24将终端接入到无线AP中,包括:
取消模块244,用于取消对无线密码的接收及对终端的鉴权,并将终端接入到无线AP中;
接收模块241还用于,接收终端上报的客户端标识;
鉴权模块242还用于,根据接收模块241接收的客户端标识对终端进行鉴权;
接入模块241还用于,在鉴权模块242对客户端标志进行鉴权之后,将终端接入到无线AP中。
进一步的,如图8所示,其特征在于,接入单元24将终端接入到无线AP中,包括:
建立模块245,用于建立虚拟无线AP,终端无法通过虚拟无线AP登录路由器的控制界面;
接入模块243还用于,将终端接入到建立模块245建立的虚拟无线AP中。
进一步的,作为对上述方法的实现以及上述装置的应用,如图9所示,本发明实施例还提供一种无线网络接入的系统,该系统包括终端31及路由器32,其中,终端31包括上述图2至图8中任一幅所示的装置。
本发明实施例提供的无线网络接入的装置及系统,路由器检测终端的信号强度,根据信号强度计算终端到路由器之间的实际距离,并将计算得到的实际距离与预设的距离阈值进行比对,当实际距离不大于距离阈值时,终端接入到无线AP中。与现有技术相比,本发明实施例通过路由器根据终端的信号强度计算得到的终端与路由器之间的实际距离,判断是否允许终端接入无线AP,而无需手动输入无线密码进行鉴权,因此,本发明提供的装置及系统能够大大简化终端接入无线AP的操作过程。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有
详述的部分,可以参见其他实施例的相关描述。
可以理解的是,上述方法及装置中的相关特征可以相互参考。另外,上述实施例中的“第一”、“第二”等是用于区分各实施例,而并不代表各实施例的优劣。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括
伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的无线网络接入的装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图10示意性地示出了用于执行根据本发明的方法的计算设备的框图。该计算设备传统上包括处理器1010和以存储器1020形式的计算机程序产品或者计算机可读介质。存储器1020可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器1020具有用于执行上述方法中的任何方法步骤的程序代码1031的存储空间1030。例如,用于程序代码的存储空间1030可以包括分别用于实现上面的方法中的各种步骤的各个程序代码1031。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图11所述的便携式或者固定存储单元。该存储单元可以具有与图10的计算设备中的存储器1020类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括用于执行根据本发明的方法步骤的计算机可读代码1031’,即可以由例如诸如1010之类的处理器读取的代码,这些代码当由计算设备运
行时,导致该计算设备执行上面所描述的方法中的各个步骤。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
本发明可以应用于计算机系统/服务器,其可与众多其它通用或专用计算系统环境或配置一起操作。适于与计算机系统/服务器一起使用的众所周知的计算系统、环境和/或配置的例子包括但不限于:个人计算机系统、服务器计算机系统、瘦客户机、厚客户机、手持或膝上设备、基于微处理器的系统、机顶盒、可编程消费电子产品、网络个人电脑、小型计算机系统、大型计算机系统和包括上述任何系统的分布式云计算技术环境,等等。
计算机系统/服务器可以在由计算机系统执行的计算机系统可执行指令(诸如程序模块)的一般语境下描述。通常,程序模块可以包括例程、程序、目标程序、组件、逻辑、数据结构等等,它们执行特定的任务或者实现特定的抽象数据类型。计算机系统/服务器可以在分布式云计算环境中实施,分布式云计算环境中,任务是由通过通信网络链接的远程处理设备执行的。在分布式云计算环境中,程序模块可以位于包括存储设备的本地或远程计算系统存储介质上。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”的词语例子不一定全指同一个实施例。
Claims (25)
- 一种无线网络接入的方法,其特征在于,包括:检测终端的信号强度;根据所述信号强度计算所述终端到路由器之间的实际距离;将所述实际距离与预设的距离阈值进行比对;若所述实际距离不大于所述距离阈值,则将所述终端接入到无线接入节点AP中。
- 根据权利要求1所述的方法,其特征在于,所述检测终端的信号强度,包括:当所述终端发送数据信号时,检测接收所述数字信号时的接收信号强度指示RSSI值;所述根据所述信号强度计算所述终端到路由器之间的实际距离,包括:在预设的第一映射关系表中查找对应所述RSSI值的距离值,获得所述实际距离。
- 根据权利要求2所述的方法,其特征在于,在所述检测接收所述数字信号时的RSSI值之后,所述方法进一步包括:查找对应所述终端机型的发射功率;根据所述发射功率的大小对所述RSSI值进行校准。
- 根据权利要求1所述的方法,其特征在于,所述检测终端的信号强度,包括:无线桥接到所述终端创建的虚拟AP中;检测所述虚拟AP的分贝dBm值;所述根据所述信号强度计算所述终端到路由器之间的实际距离,包括:在预设的第二映射关系表中查找对应所述dBm值的距离值,获得所述实际距离。
- 根据权利要求1所述的方法,其特征在于,在所述检测终端的信号强度之前,所述方法进一步包括:停止向所述终端广播所述无线AP的名称,以使得所述终端不显示所述无线AP的名称。
- 根据权利要求5所述的方法,其特征在于,若所述实际距离不大于所述距离阈值,则所述方法进一步包括:向所述终端广播所有无线AP的名称,以使得用户在所述终端上选择需要接入的无线AP。
- 根据权利要求1所述的方法,其特征在于,所述将所述终端接入到无线AP中,包括:接收所述终端上报的对应所述无线AP的无线密码;在根据所述无线密码对所述终端进行鉴权后,将所述终端接入到所述无线AP中。
- 根据权利要求7所述的方法,其特征在于,所述终端上报的所述无线密码为在广播无线AP的名称时,通过公钥加密并绑定于所述名称的无线密码。
- 根据权利要求7所述的方法,其特征在于,所述终端上报的所述无线密码为所述终端此前缓存的无线密码。
- 根据权利要求1所述的方法,其特征在于,所述将所述终端接入到无线AP中,包括:取消对无线密码的接收及对所述终端的鉴权,并将所述终端接入到无线AP中;或者,接收所述终端上报的客户端标识,根据所述客户端标识对所述终端进行鉴权并将所述终端接入到无线AP中。
- 根据权利要求1至10中任一项所述的方法,其特征在于,所述将所述终端接入到无线AP中,包括:建立虚拟无线AP,所述终端无法通过所述虚拟无线AP登录路由器的控制界面;将所述终端接入到所述虚拟无线AP中。
- 一种无线网络接入的装置,其特征在于,包括:检测单元,用于检测终端的信号强度;计算单元,用于根据所述检测单元检测的信号强度计算所述终端到路由器之间的实际距离;比对单元,用于将所述计算单元计算的实际距离与预设的距离阈值进行比对;接入单元,用于当所述比对单元比对的实际距离不大于所述距离阈值时,将所述终端接入到无线接入节点AP中。
- 根据权利要求12所述的装置,所述检测单元还用于,其特征在于, 当所述终端发送数据信号时,检测接收所述数字信号时的接收信号强度指示RSSI值;所述计算单元还用于,在预设的第一映射关系表中查找对应所述检测模块检测的RSSI值的距离值,获得所述实际距离。
- 根据权利要求13所述的装置,其特征在于,所述装置进一步包括:查找单元,用于在所述检测单元检测接收所述数字信号时的RSSI值之后,查找对应所述终端机型的发射功率;校准单元,用于根据所述查找单元查找的发射功率的大小对所述RSSI值进行校准。
- 根据权利要求12所述的装置,其特征在于,所述检测单元还用于,无线桥接到所述终端创建的虚拟AP中,检测所述桥接模块桥接的虚拟AP的分贝dBm值;所述计算单元还用于,在预设的第二映射关系表中查找对应所述检测单元检测的dBm值的距离值,获得所述实际距离。
- 根据权利要求12所述的装置,其特征在于,所述装置进一步包括:停止单元,用于在所述检测单元检测终端的信号强度之前,停止向所述终端广播所述无线AP的名称,以使得所述终端不显示所述无线AP的名称。
- 根据权利要求16所述的装置,其特征在于,所述装置进一步包括:广播单元,用于当所述比对单元比对的实际距离不大于所述距离阈值时,向所述终端广播所有无线AP的名称,以使得用户在所述终端上选择需要接入的无线AP。
- 根据权利要求12所述的装置,其特征在于,所述接入单元将所述终端接入到无线AP中,包括:接收模块,用于接收所述终端上报的对应所述无线AP的无线密码;鉴权模块,用于在根据所述接收模块接收无线密码对所述终端进行鉴权;接入模块,用于在所述鉴权模块对所述终端进行鉴权之后,将所述终端接入到所述无线AP中。
- 根据权利要求18所述的装置,其特征在于,所述接收模块接收的终端上报的所述无线密码为在广播无线AP的名称时,通过公钥加密并绑定于所述名称的无线密码。
- 根据权利要求18所述的装置,其特征在于,所述接收模块接收的 终端上报的所述无线密码为所述终端此前缓存的无线密码。
- 根据权利要求12所述的装置,其特征在于,所述接入单元将所述终端接入到无线AP中,包括:取消模块,用于取消对无线密码的接收及对所述终端的鉴权,并将所述终端接入到无线AP中;所述接收模块还用于,接收所述终端上报的客户端标识;所述鉴权模块还用于,根据所述接收模块接收的客户端标识对所述终端进行鉴权;所述接入模块还用于,在所述鉴权模块对所述客户端标志进行鉴权之后,所述将所述终端接入到无线AP中。
- 根据权利要求12至21中任一项所述的装置,其特征在于,所述接入单元将所述终端接入到无线AP中,包括:建立模块,用于建立虚拟无线AP,所述终端无法通过所述虚拟无线AP登录路由器的控制界面;所述接入模块还用于,将所述终端接入到所述建立模块建立的虚拟无25线AP中。
- 一种无线网络接入的系统,其特征在于,所述系统包括终端及路由器,其中,所述终端包括如权利要求12至22任一项中所述的装置。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据权利要求1-11中的任一项所述的无线网络接入的方法。
- 一种计算机可读介质,其中存储了如权利要求24所述的计算机程序。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410827448.0A CN104540186B (zh) | 2014-12-26 | 2014-12-26 | 无线网络接入的方法、装置及系统 |
| CN201410827448.0 | 2014-12-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016101730A1 true WO2016101730A1 (zh) | 2016-06-30 |
Family
ID=52855618
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/094709 Ceased WO2016101730A1 (zh) | 2014-12-26 | 2015-11-16 | 无线网络接入的方法、装置及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104540186B (zh) |
| WO (1) | WO2016101730A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3288001A1 (en) * | 2016-08-24 | 2018-02-28 | Zhejiang Hanshow Technology Co. Ltd | Data interaction system |
| CN113660733A (zh) * | 2021-09-26 | 2021-11-16 | 西安酷赛科技有限公司 | 一种基于位置信息的无线通信方法及其无线通信系统 |
Families Citing this family (19)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104540186B (zh) * | 2014-12-26 | 2017-04-12 | 北京奇虎科技有限公司 | 无线网络接入的方法、装置及系统 |
| CN104994594A (zh) * | 2015-05-12 | 2015-10-21 | 深圳市蚂蚁邦科技有限公司 | 一种近距离自动连接Wifi的方法 |
| CN104902500B (zh) * | 2015-05-21 | 2019-11-22 | 南京创维信息技术研究院有限公司 | 无线网络设备与无线接入设备的自动连接方法及系统 |
| CN105245539A (zh) * | 2015-10-27 | 2016-01-13 | 上海斐讯数据通信技术有限公司 | 一种路由器访客验证方法及系统、路由器 |
| CN105516976A (zh) * | 2015-11-26 | 2016-04-20 | 苏州集联微电子科技有限公司 | 一种非密码式授权无线设备接入Internet的方法 |
| CN105592462A (zh) * | 2016-03-03 | 2016-05-18 | 广东顺德中卡云网络科技有限公司 | 一种通过侦听客户端频谱场强进行接入认证的方法 |
| CN105873106A (zh) * | 2016-04-29 | 2016-08-17 | 北京小米移动软件有限公司 | 无线网络连接的处理方法、装置和设备 |
| CN106102088A (zh) * | 2016-06-01 | 2016-11-09 | 上海斐讯数据通信技术有限公司 | 一种无线路由器的连接控制方法及无线路由器 |
| CN106060820A (zh) * | 2016-08-24 | 2016-10-26 | 深圳普创天信科技发展有限公司 | 一种无线网络接入方法 |
| CN106302052A (zh) * | 2016-09-09 | 2017-01-04 | 珠海格力电器股份有限公司 | 一种连网控制方法、系统以及无线路由器和智能家用电器 |
| FR3060251B1 (fr) * | 2016-12-09 | 2019-05-10 | Sagemcom Broadband Sas | Procede d'appairage d'un terminal de type wi-fi a un point d'acces de type wi-fi |
| CN108234250A (zh) * | 2016-12-20 | 2018-06-29 | 博西华电器(江苏)有限公司 | 灶具系统、灶具以及移动终端控制灶具的方法 |
| CN106937289B (zh) * | 2017-03-27 | 2021-05-18 | 联想(北京)有限公司 | 一种网络接入方法及电子设备 |
| CN107295606A (zh) * | 2017-06-30 | 2017-10-24 | 北京小米移动软件有限公司 | 网络连接方法、装置及用户设备 |
| CN110621024B (zh) * | 2018-06-20 | 2022-08-02 | 深圳市云猫信息技术有限公司 | 一种wifi园区ap设备自动布放的方法 |
| CN111277428A (zh) * | 2018-12-05 | 2020-06-12 | 北京奇虎科技有限公司 | 一种物联网设备配网方法及系统 |
| CN111669739B (zh) * | 2020-06-04 | 2023-08-04 | 北京万维智能技术有限公司 | 蓝牙ap自动注册设备方法、系统以及蓝牙ap |
| CN112672280A (zh) * | 2020-12-21 | 2021-04-16 | 西安闻泰电子科技有限公司 | 移动路由器的控制方法、装置、计算机设备和存储介质 |
| CN114025409B (zh) * | 2021-10-08 | 2024-12-13 | 中移(杭州)信息技术有限公司 | 抗干扰配网方法、装置、网络设备以及存储介质 |
Citations (5)
| 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 |
| JP2013198130A (ja) * | 2012-03-22 | 2013-09-30 | Fujitsu Fip Corp | 認証装置及び認証方法 |
| CN103781074A (zh) * | 2014-02-08 | 2014-05-07 | 北京极科极客科技有限公司 | 无线局域网安全接入方法及设备 |
| CN104144415A (zh) * | 2014-07-10 | 2014-11-12 | 深圳市螺光科技有限公司 | 连接WiFi接入点的方法和移动通信终端 |
| CN104540186A (zh) * | 2014-12-26 | 2015-04-22 | 北京奇虎科技有限公司 | 无线网络接入的方法、装置及系统 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101557625B (zh) * | 2009-03-09 | 2011-04-06 | 南京大学 | 一种无线网络中基于移动检测的快速切换方法 |
| US8958838B2 (en) * | 2010-02-12 | 2015-02-17 | Qualcomm Incorporated | Multi-stage transmit power control scheme for access point |
| CN102685882A (zh) * | 2011-03-11 | 2012-09-19 | 北京威讯紫晶科技有限公司 | 一种无线网络中的区域定位方法 |
| CN103188023A (zh) * | 2013-03-19 | 2013-07-03 | 天脉聚源(北京)传媒科技有限公司 | 一种测距方法、系统及应用方法 |
| CN103997782B (zh) * | 2014-04-24 | 2018-06-05 | 湘潭大学 | 一种基于信号强度和抓包速率的无线ap探测定位的方法 |
-
2014
- 2014-12-26 CN CN201410827448.0A patent/CN104540186B/zh active Active
-
2015
- 2015-11-16 WO PCT/CN2015/094709 patent/WO2016101730A1/zh not_active Ceased
Patent Citations (5)
| 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 |
| JP2013198130A (ja) * | 2012-03-22 | 2013-09-30 | Fujitsu Fip Corp | 認証装置及び認証方法 |
| CN103781074A (zh) * | 2014-02-08 | 2014-05-07 | 北京极科极客科技有限公司 | 无线局域网安全接入方法及设备 |
| CN104144415A (zh) * | 2014-07-10 | 2014-11-12 | 深圳市螺光科技有限公司 | 连接WiFi接入点的方法和移动通信终端 |
| CN104540186A (zh) * | 2014-12-26 | 2015-04-22 | 北京奇虎科技有限公司 | 无线网络接入的方法、装置及系统 |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP3288001A1 (en) * | 2016-08-24 | 2018-02-28 | Zhejiang Hanshow Technology Co. Ltd | Data interaction system |
| CN113660733A (zh) * | 2021-09-26 | 2021-11-16 | 西安酷赛科技有限公司 | 一种基于位置信息的无线通信方法及其无线通信系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104540186B (zh) | 2017-04-12 |
| CN104540186A (zh) | 2015-04-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104540186B (zh) | 无线网络接入的方法、装置及系统 | |
| WO2016101729A1 (zh) | 无线网络接入的方法、装置及系统 | |
| US10587614B2 (en) | Method and apparatus for facilitating frictionless two-factor authentication | |
| CN108337677B (zh) | 网络鉴权方法及装置 | |
| US10341979B2 (en) | Secure fine timing measurement protocol | |
| US11765164B2 (en) | Server-based setup for connecting a device to a local area network | |
| US10757102B2 (en) | Methods, apparatus, and systems for identity authentication | |
| US9571485B2 (en) | Spatial and temporal verification of users and/or user devices | |
| JP2019501430A (ja) | 無線ネットワークアクセス用無線対応装置の初期設定および構成 | |
| EP2620004A2 (en) | System and method for maintaining privacy in a wireless network | |
| WO2017067201A1 (zh) | 一种连接Wi-Fi的方法、终端和系统 | |
| US10750369B2 (en) | Method, apparatus, and platform for sharing wireless local area network | |
| CN107182053B (zh) | 一种用于连接隐藏无线接入点的方法与设备 | |
| US11196736B2 (en) | Systems and methods for location-aware two-factor authentication | |
| US9924488B2 (en) | Position authentication | |
| US9877200B2 (en) | System and method for wireless handheld device security in a data center environment | |
| US20190087561A1 (en) | Peer assisted enhanced authentication | |
| KR102310027B1 (ko) | 결정 방법 및 대응하는 단말기, 컴퓨터 프로그램 제품 및 저장 매체 | |
| CN112689277B (zh) | 一种为设备配置网络的方法、装置及系统 | |
| US10200864B2 (en) | Method and device for managing wireless access point | |
| US11425568B2 (en) | Electronic device and controlling method of electronic device | |
| KR20130123149A (ko) | 데이터 망 접속 인증 방법 및 그 전자 장치 | |
| CN105939516A (zh) | 用户认证方法及装置 | |
| KR20200114074A (ko) | 전자 디바이스를 인증하기 위한 방법 및 그에 따른 장치 | |
| WO2018014555A1 (zh) | 数据传输控制方法及装置 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15871800 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15871800 Country of ref document: EP Kind code of ref document: A1 |