WO2017076029A1 - 智能终端与路由器之间的无线保真连接方法及系统 - Google Patents

智能终端与路由器之间的无线保真连接方法及系统 Download PDF

Info

Publication number
WO2017076029A1
WO2017076029A1 PCT/CN2016/088404 CN2016088404W WO2017076029A1 WO 2017076029 A1 WO2017076029 A1 WO 2017076029A1 CN 2016088404 W CN2016088404 W CN 2016088404W WO 2017076029 A1 WO2017076029 A1 WO 2017076029A1
Authority
WO
WIPO (PCT)
Prior art keywords
wifi
router
smart terminal
preset
connection
Prior art date
Application number
PCT/CN2016/088404
Other languages
English (en)
French (fr)
Inventor
李鹏
Original Assignee
乐视控股(北京)有限公司
乐视致新电子科技(天津)有限公司
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 乐视控股(北京)有限公司, 乐视致新电子科技(天津)有限公司 filed Critical 乐视控股(北京)有限公司
Priority to US15/249,118 priority Critical patent/US20170134365A1/en
Publication of WO2017076029A1 publication Critical patent/WO2017076029A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the embodiments of the present invention relate to the field of wireless network technologies, and in particular, to a wireless fidelity connection method and system between an intelligent terminal and a router.
  • Wi-fi is a technology that wirelessly connects terminals such as personal computers and smart devices (tablets, mobile phones, smart TVs) and wireless routers. More and more users use wifi to access the Internet when using smart devices. With the development of the Internet and the Internet of Things, more and more devices have wifi access.
  • Embodiments of the present invention provide a wireless fidelity connection method and system between an intelligent terminal and a router, which are used to solve the problem of time and effort for manually inputting a wifi password.
  • the embodiment of the invention provides a wireless fidelity connection method between an intelligent terminal and a router, including:
  • the smart terminal monitors the wireless fidelity wifi beacon frame or the wifi probe response frame sent by the router, and determines whether the wifi beacon frame or the wifi probe response frame carries the identifier field;
  • the smart terminal determines whether the content in the identifier field is the same as the preset identifier content
  • the smart terminal connects to the router using a wifi password preset therein, and establishes a wifi connection between the smart terminal and the router.
  • the embodiment of the present invention further provides a method for wireless fidelity connection between an intelligent terminal and a router, including:
  • the router sends a wireless fidelity wifi beacon frame carrying the identification field and a wifi probe response frame;
  • the router receives, by the smart terminal, the wifi beacon frame and the wifi probe response frame carrying the identifier field, determining that the content in the identifier field is a preset identifier content, and connecting by using a wifi password preset therein
  • the router compares the wifi password preset in its internal with the wifi password from the smart terminal;
  • the router establishes a wifi connection with the smart terminal.
  • the embodiment of the present invention further provides a wireless fidelity connection system between an intelligent terminal and a router, including: an intelligent terminal and a router, wherein
  • the smart terminal includes:
  • a first judging module configured to monitor a wireless fidelity wifi beacon frame or a wifi probe response frame sent by the router, and determine whether the wifi beacon frame or the wifi probe response frame carries an identifier field;
  • a second determining module if yes, determining whether the content in the identifier field is the same as the preset identifier content
  • the first connection module is configured to connect to the router by using a wifi password preset in the smart terminal to establish a wifi connection between the smart terminal and the router;
  • the router includes:
  • a frame sending module configured to send a wifi beacon frame carrying the identification field and a wifi probe response frame
  • a comparison module configured to receive, by the smart terminal, the wifi beacon frame and the wifi probe response frame carrying the identifier field, determine that the content in the identifier field is a preset identifier content, and use the preset in the smart
  • the wifi password preset in the router is compared with the wifi password from the smart terminal
  • the second connection module is configured to establish a wifi connection between the router and the smart terminal if the same.
  • an embodiment of the present invention further provides a computer readable storage medium having recorded thereon a program for the method of the embodiment of the present invention
  • the wireless fidelity connection method and system between the intelligent terminal and the router provided by the embodiment of the invention, wherein the smart terminal and the router preset the wifi password in the code before leaving the factory, when the smart terminal starts the wifi function and acquires the router
  • the wifi beacon frame that carries the identification field or When the wifi detects the response frame, it is determined whether the content of the identifier field is the same as the preset identifier content. If the same, it indicates that the wifi connection between the router and the router can be established by using the preset wifi password in the smart terminal, and further, the smart terminal uses The preset wifi password is connected to the router. The router compares the preset wifi password with the wifi password from the smart terminal. If the same, the wifi connection is established with the smart terminal.
  • the wifi connection between the intelligent terminal and the router is established by using the preset wifi password, thereby avoiding the operation of manually inputting the wifi password, and reducing the establishment of the wifi connection between the intelligent terminal and the router.
  • the workload increases the efficiency of the wifi connection.
  • FIG. 1 is a flow chart showing the steps of a method for wireless fidelity connection between an intelligent terminal and a router according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a wireless fidelity connection system between an intelligent terminal and a router according to another embodiment of the present invention
  • Figure 3 shows a block diagram of a computing device for performing the method according to the invention
  • Figure 4 shows a storage unit for holding or carrying program code implementing the method according to the invention.
  • the smart terminal and the router in this embodiment are preset with a wifi password in the code structure at the factory, and the preset wifi password can establish a wifi connection between the smart terminal and the wifi hotspot of the router, and the preset wifi password. It is invisible to the user and guarantees the security of the wifi password.
  • FIG. 1 there is shown a flow chart of steps of a method for wireless fidelity connection between an intelligent terminal and a router in an embodiment of the present invention.
  • step 100 the router sends a wireless fidelity wifi beacon frame carrying the identification field and a wifi probe response frame.
  • the router prior to said step 100, is arranged to allow the establishment of a wifi connection between the intelligent terminal and the router using the wifi password preset therein.
  • the wifi beacon frame may carry an identifier field, and the wifi probe response frame may also carry an identifier field.
  • Step 102 after the smart terminal turns on the wifi, it listens to the wifi beacon frame or the wifi probe response frame sent by the router, and determines whether the content in the identifier field is the same as the preset identifier content, if the same, step 104 is performed; If it is different, the process ends.
  • the intelligent terminal monitors the wifi beacon frame or the wifi probe response frame sent by the router to carry the identifier field, and judges that the content in the identifier field is the same as the preset identifier content, and reports to the framework of the smart terminal.
  • the Framework receives the reported result and will use the preset wifi password to connect to the router's wifi hotspot.
  • Step 104 The smart terminal connects to the router by using a wifi password preset therein.
  • the intelligent terminal may obtain a Service Set Identifier (SSID) of the router from the wifi beacon frame, and connect the SSID by using a preset wifi password.
  • SSID Service Set Identifier
  • the smart terminal When the smart terminal acquires the SSIDs of multiple routers, and both of them can connect using the preset wifi password, the SSID with the strongest wifi signal can be selected for connection.
  • the smart terminal sends a wifi frame carrying an identifier field to the router, where the content of the identifier field is a preset identifier content.
  • Step 106 The router compares the wifi password preset in the internal with the wifi password from the smart terminal. If they are the same, step 108 is performed; if not, the process ends.
  • Step 108 The router establishes a wifi connection with the smart terminal.
  • the smart terminal and the router are provided with a wifi password cloud change interface, and the preset wifi password in the smart terminal and the router can be periodically changed through the cloud server.
  • the wireless fidelity connection method between the intelligent terminal and the router provided by the embodiment of the present invention, wherein the smart terminal and the router preset the wifi password in the code before leaving the factory, when the smart terminal starts the wifi function and When the wifi beacon frame or the wifi probe response frame that carries the identifier field sent by the router is obtained, it is determined whether the content of the identifier field is the same as the preset identifier content. If they are the same, it indicates that the wifi password preset in the smart terminal can be used.
  • the wifi connection with the router further, the smart terminal connects to the router using a preset wifi password. The router compares the preset wifi password with the wifi password from the smart terminal. If the same, the wifi connection is established with the smart terminal.
  • the wifi connection between the intelligent terminal and the router is established by using the preset wifi password, thereby avoiding the operation of manually inputting the wifi password, and reducing the establishment of the wifi connection between the intelligent terminal and the router.
  • the workload increases the efficiency of the wifi connection.
  • a wireless fidelity connection system between a smart terminal and a router according to another embodiment of the present invention is described in detail.
  • the system includes a smart terminal 20 and a router 22.
  • the intelligent terminal 20 and the router 22 in this embodiment are preset with a wifi password in the code structure at the factory, and the wifi connection between the smart terminal 20 and the router 22 can be established by using the preset wifi password.
  • the smart terminal 20 includes a first determining module 201, a second determining module 202, and a first connecting module 203.
  • the router 22 includes a frame sending module 221, a comparing module 222, and a second connecting module 223.
  • FIG. 2 a schematic structural diagram of a wireless fidelity connection system between an intelligent terminal and a router in Embodiment 2 of the present invention is shown.
  • the first determining module 201 is configured to monitor a wireless fidelity wifi beacon frame or a wifi probe response frame sent by the router, and determine whether the wifi beacon frame or the wifi probe response frame carries an identifier field.
  • the second determining module 202 is configured to determine, if yes, the content and the preset in the identifier field. The identity of the logo is the same.
  • the first connection module 203 is configured to connect to the router by using a wifi password preset in the smart terminal to establish a wifi connection between the smart terminal and the router.
  • the frame sending module 221 is configured to send a wifi beacon frame carrying the identifier field and a wifi probe response frame.
  • the comparing module 222 is configured to receive, by the smart terminal, the wifi beacon frame and the wifi probe response frame carrying the identifier field, determine that the content in the identifier field is a preset identifier content, and use the preset in the When the wifi password inside the smart terminal is connected to the router, the wifi password preset inside the router is compared with the wifi password from the smart terminal.
  • the second connection module 223 is configured to establish a wifi connection between the router and the smart terminal if the same.
  • the smart terminal and the router are both provided with a wifi password cloud change interface.
  • the router may further include:
  • a setting module configured to: before the frame sending module 221 sends the wifi beacon frame and the wifi probe response frame carrying the identifier field, set the router to allow the wifi connection to be established by using the wifi password preset in the frame .
  • the wireless fidelity connection system between the intelligent terminal and the router provided by the embodiment of the present invention, wherein the smart terminal and the router preset the wifi password in the code before leaving the factory, when the smart terminal starts the wifi function and When the wifi beacon frame or the wifi probe response frame that carries the identifier field sent by the router is obtained, it is determined whether the content of the identifier field is the same as the preset identifier content. If they are the same, it indicates that the wifi password preset in the smart terminal can be used.
  • the wifi connection with the router further, the smart terminal connects to the router using a preset wifi password. The router compares the preset wifi password with the wifi password from the smart terminal. If the same, the wifi connection is established with the smart terminal.
  • the wifi connection between the intelligent terminal and the router is established by using the preset wifi password, thereby avoiding the operation of manually inputting the wifi password, and reducing the establishment of the wifi connection between the intelligent terminal and the router.
  • the workload increases the efficiency of the wifi connection.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located One place, or it can be distributed to multiple networks On the unit. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.
  • the various device 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 communication processing 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.
  • the apparatus of the present invention can be utilized in a computing device that can conventionally include a processor and a computer program product or computer readable medium in the form of a memory.
  • the memory 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 has a memory space for program code for performing any of the method steps described above.
  • the storage space for the program code may include various program codes for implementing the various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such computer program products are typically portable or fixed storage units, which may have storage segments, storage spaces, and the like that are similarly arranged to the memory in the computing devices described above.
  • the program code can be compressed in an appropriate form.
  • a storage unit includes computer readable code, i.e., code readable by, for example, the processor described above, which when executed by a computing device causes the computing device to perform various steps in the methods described above.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 3 illustrates a computing device in which a wireless fidelity connection method in accordance with the present invention can be implemented.
  • the computing device e.g., smart terminal, router, etc.
  • the computing device conventionally includes a processor 310 and a program product or readable medium in the form of a memory 320.
  • Memory 320 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, or ROM.
  • the memory 320 has a memory space 330 for program code 331 for performing any of the method steps described above.
  • storage space 330 for program code may include various program code 331 for implementing various steps in the above methods, respectively.
  • These program codes can be read from or written to one or more program products.
  • program products include program code carriers such as memory cards.
  • Such a 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 320 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes readable code 331', ie, code that can be read by a processor, such as 310, which, when executed by a processor of the computing device, causes the processor of the computing device to perform the operations described above The various steps in the method.

Abstract

本发明实施例提供一种智能终端与路由器之间的无线保真连接方法和系统,其中,所述方法包括:智能终端监听到路由器发出的无线保真wifi信标帧或wifi探测响应帧,并判断wifi信标帧或wifi探测响应帧中是否携带标识字段;若存在,则智能终端判断标识字段中的内容与预置的标识内容是否相同;若相同,则智能终端使用预置在其内部的wifi密码连接路由器,建立智能终端与路由器之间的wifi连接。通过在智能终端和路由器中预置wifi密码,利用预置的wifi密码建立智能终端和路由器之间的wifi连接,避免了手动输入wifi密码的操作,减少了智能终端与路由器之间建立wifi连接的工作量,提高了wifi连接的效率。

Description

智能终端与路由器之间的无线保真连接方法及系统 技术领域
本发明实施例涉及无线网络技术领域,尤其涉及一种智能终端与路由器之间的无线保真连接方法及系统。
背景技术
无线保真(wi-fi)是一种可以将个人电脑、智能设备(平板、手机、智能电视)与无线路由器等终端以无线方式互相连接的技术。越来越多的用户在使用智能设备时使用wifi来上网,随着互联网和物联网的发展,越来越多的设备具备wifi上网功能。
从网络安全方面考虑,目前大多数wifi热点都设置了无线加密,智能设备初次连接到wifi热点,需要手动输入wifi密码,在验证通过后建立wifi连接。少数路由器可通过近距离无线通信技术(Near Field Communication,NFC)或者扫描二维码来获取wifi密码自动建立与智能设备的连接。而对于复杂的wifi密码,用户经常会输入错误或记错造成连接不畅,当路由器需要连接的设备数量多时,频繁手动输入wifi密码进行连接也必将费时费力。
发明内容
本发明实施例提供一种智能终端与路由器之间的无线保真连接方法及系统,用以解决手动输入wifi密码费时费力的问题。
本发明实施例提供了一种智能终端与路由器之间的无线保真连接方法,包括:
智能终端监听到路由器发出的无线保真wifi信标帧或wifi探测响应帧,并判断所述wifi信标帧或wifi探测响应帧中是否携带标识字段;
若存在,则所述智能终端判断所述标识字段中的内容与预置的标识内容是否相同;
若相同,则所述智能终端使用预置在其内部的wifi密码连接所述路由器,建立所述智能终端与路由器之间的wifi连接。
相应地,本发明实施例还提供了一种智能终端与路由器之间的无线保真连接方法,包括:
路由器发出携带有标识字段的无线保真wifi信标帧和wifi探测响应帧;
在智能终端接收到所述携带有标识字段的wifi信标帧和wifi探测响应帧,确定所述标识字段中的内容为预置的标识内容,并使用预置在其内部的wifi密码连接所述路由器时,所述路由器将预置在其内部的wifi密码与来自所述智能终端的wifi密码进行比较;
若相同,则所述路由器建立与所述智能终端之间的wifi连接。
相应地,本发明实施例还提供了一种智能终端与路由器之间的无线保真连接系统,包括:智能终端和路由器,其中;
所述智能终端,包括:
第一判断模块,用于监听到路由器发出的无线保真wifi信标帧或wifi探测响应帧,并判断所述wifi信标帧或wifi探测响应帧中是否携带标识字段;
第二判断模块,用于若存在,则判断所述标识字段中的内容与预置的标识内容是否相同;
第一连接模块,用于若相同,则使用预置在所述智能终端内部的wifi密码连接所述路由器,建立所述智能终端与路由器之间的wifi连接;
所述路由器,包括:
帧发送模块,用于发出携带有标识字段的wifi信标帧和wifi探测响应帧;
比较模块,用于在智能终端接收到所述携带有标识字段的wifi信标帧和wifi探测响应帧,确定所述标识字段中的内容为预置的标识内容,并使用预置在所述智能终端内部的wifi密码连接所述路由器时,将预置在所述路由器内部的wifi密码与来自所述智能终端的wifi密码进行比较;
第二连接模块,用于若相同,则建立所述路由器与智能终端之间的wifi连接。
相应地,本发明实施例还提供了一种在其上记录有用于本发明实施例所述方法的程序的计算机可读存储介质
本发明实施例提供的一种智能终端与路由器之间的无线保真连接方法及系统,其中,智能终端和路由器在出厂之前预置wifi密码在代码中,当智能终端开启wifi功能并获取到路由器发送的携带标识字段的wifi信标帧或者 wifi探测响应帧时,判断标识字段的内容是否与预置的标识内容相同,若相同,则表示可以利用智能终端中预置的wifi密码建立与路由器之间的wifi连接,进一步地,智能终端使用预置的wifi密码连接路由器。路由器将预置的wifi密码与来自智能终端的wifi密码进行比较,若相同,则建立与智能终端之间的wifi连接。通过在智能终端和路由器中预置wifi密码,利用预置的wifi密码建立智能终端和路由器之间的wifi连接,避免了手动输入wifi密码的操作,减少了智能终端与路由器之间建立wifi连接的工作量,提高了wifi连接的效率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明一个实施例中的一种智能终端与路由器之间的无线保真连接方法的步骤流程图;
图2为本发明另一个实施例中的一种智能终端与路由器之间的无线保真连接系统的结构示意图;
图3示出了用于执行根据本发明的方法的计算设备的框图;
图4示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例一
详细介绍本发明实施例一提出的一种智能终端与路由器之间的无线保真连接方法。
本实施例中的智能终端和路由器均在出厂时预置了wifi密码在代码结构体中,预置的wifi密码可以在将智能终端与路由器的wifi热点建立wifi连接,并且,预置的wifi密码对用户不可见,保障了wifi密码的安全性。
参照图1,示出了本发明一个实施例中的一种智能终端与路由器之间的无线保真连接方法的步骤流程图。
步骤100,路由器发出携带有标识字段的无线保真wifi信标帧和wifi探测响应帧。
在本发明的一个优选实施例中,在所述步骤100之前,将路由器设置为允许使用预置在其内部的wifi密码建立智能终端与路由器之间的wifi连接。
如果将路由器设置为不允许使用预置在其内部的wifi密码建立智能终端与路由器之间的wifi连接,则只能使用用户配置的wifi密码进行连接。其中,wifi信标帧可以携带有标识字段,wifi探测响应帧也可以携带有标识字段。
步骤102,智能终端开启wifi后,监听到路由器发出的wifi信标帧或wifi探测响应帧,并判断所述标识字段中的内容与预置的标识内容是否相同,若相同,则执行步骤104;若不同,则流程结束。
智能终端监听到路由器发出的wifi信标帧或wifi探测响应帧中携带标识字段,并判断标识字段中的内容与预置的标识内容相同时,向智能终端的框架(framework)上报。Framework收到上报结果将使用预置的wifi密码连接路由器的wifi热点。
步骤104,所述智能终端使用预置在其内部的wifi密码连接所述路由器。
智能终端可以从上述wifi信标帧中获取路由器的服务集标识(Service Set Identifier,SSID),使用预置的wifi密码连接SSID。
当智能终端获取到多个路由器的SSID,且均可以使用预置的wifi密码连接时,可以从中选择wifi信号最强的SSID进行连接。
智能终端向路由器发出携带标识字段的wifi帧,其中的标识字段内容为预置的标识内容。
步骤106,路由器将预置在其内部的wifi密码与来自所述智能终端的wifi密码进行比较,若相同,则执行步骤108;若不同,则流程结束。
步骤108,所述路由器建立与所述智能终端之间的wifi连接。
在本发明的一个优选的实施例中,智能终端和路由器设置有wifi密码云端更改接口,通过云端服务器可以定期更改智能终端和路由器中预置的wifi密码。
综上所述,本发明实施例提供的一种智能终端与路由器之间的无线保真连接方法,其中,智能终端和路由器在出厂之前预置wifi密码在代码中,当智能终端开启wifi功能并获取到路由器发送的携带标识字段的wifi信标帧或者wifi探测响应帧时,判断标识字段的内容是否与预置的标识内容相同,若相同,则表示可以利用智能终端中预置的wifi密码建立与路由器之间的wifi连接,进一步地,智能终端使用预置的wifi密码连接路由器。路由器将预置的wifi密码与来自智能终端的wifi密码进行比较,若相同,则建立与智能终端之间的wifi连接。通过在智能终端和路由器中预置wifi密码,利用预置的wifi密码建立智能终端和路由器之间的wifi连接,避免了手动输入wifi密码的操作,减少了智能终端与路由器之间建立wifi连接的工作量,提高了wifi连接的效率。
实施例二
详细介绍本发明另一个实施例提出的一种智能终端与路由器之间的无线保真连接系统。
所述系统包括智能终端20和路由器22。本实施例中的智能终端20和路由器22均在出厂时预置了wifi密码在代码结构体中,使用预置的wifi密码可以建立智能终端20与路由器22之间的wifi连接。其中,智能终端20包括第一判断模块201,第二判断模块202,第一连接模块203。路由器22包括帧发送模块221,比较模块222,第二连接模块223。
参照图2,示出了本发明实施例二中的一种智能终端与路由器之间的无线保真连接系统的结构示意图。
下面分别详细介绍各模块的功能以及各模块之间的关系。
第一判断模块201,用于监听到路由器发出的无线保真wifi信标帧或wifi探测响应帧,并判断所述wifi信标帧或wifi探测响应帧中是否携带标识字段。
第二判断模块202,用于若存在,则判断所述标识字段中的内容与预置 的标识内容是否相同。
第一连接模块203,用于若相同,则使用预置在所述智能终端内部的wifi密码连接所述路由器,建立所述智能终端与路由器之间的wifi连接
帧发送模块221,用于发出携带有标识字段的wifi信标帧和wifi探测响应帧。
比较模块222,用于在智能终端接收到所述携带有标识字段的wifi信标帧和wifi探针反应帧,确定所述标识字段中的内容为预置的标识内容,并使用预置在所述智能终端内部的wifi密码连接所述路由器时,将预置在所述路由器内部的wifi密码与来自所述智能终端的wifi密码进行比较。
第二连接模块223,用于若相同,则建立所述路由器与智能终端之间的wifi连接。
优选地,所述智能终端和路由器均设置有wifi密码云端更改接口。
在本发明的一个优选的实施例中,所述路由器,还可以包括:
设置模块,用于在所述帧发送模块221发出携带有标识字段的wifi信标帧和wifi探测响应帧之前,将所述路由器设置为允许使用所述预置在其内部的wifi密码建立wifi连接。
综上所述,本发明实施例提供的一种智能终端与路由器之间的无线保真连接系统,其中,智能终端和路由器在出厂之前预置wifi密码在代码中,当智能终端开启wifi功能并获取到路由器发送的携带标识字段的wifi信标帧或者wifi探测响应帧时,判断标识字段的内容是否与预置的标识内容相同,若相同,则表示可以利用智能终端中预置的wifi密码建立与路由器之间的wifi连接,进一步地,智能终端使用预置的wifi密码连接路由器。路由器将预置的wifi密码与来自智能终端的wifi密码进行比较,若相同,则建立与智能终端之间的wifi连接。通过在智能终端和路由器中预置wifi密码,利用预置的wifi密码建立智能终端和路由器之间的wifi连接,避免了手动输入wifi密码的操作,减少了智能终端与路由器之间建立wifi连接的工作量,提高了wifi连接的效率。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络 单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
本发明的各个装置实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的通信处理设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,本发明的装置可以应用于计算设备中,该计算设备传统上可以包括处理器和以存储器形式的计算机程序产品或者计算机可读介质。存储器可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器具有用于执行上述方法中的任何方法步骤的程序代码的存储空间。例如,用于程序代码的存储空间可以包括分别用于实现上面的方法中的各种步骤的各个程序代码。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为便携式或者固定存储单元,该存储单元可以具有与上述计算设备中的存储器类似布置的存储段、存储空间等。程序代码可以以适当形式进行压缩。通常,存储单元包括计算机可读代码,即可以由例如上述处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
图3示出了可以实现根据本发明的无线保真连接方法的计算设备。该计算设备(如智能终端、路由器等)传统上包括处理器310和以存储器320形式的程序产品或者可读介质。存储器320可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM或者ROM之类的电子存储器。存储器320具有用于执行上述方法中的任何方法步骤的程序代码331的存储空间330。例如,用于程序代码的存储空间330可以包括分别用于实现上面的方法中的各种步骤的各个程序代码331。这些程序代码可以从一个或者多个程序产品中读出或者写入到这一个或者多个程序产品中。这些程序产品包括诸如存储卡之类的程序代码载体。这样的程序产品通常为如参考图4所述的便携式或者固定存储单元。该存储单元可以具有与图3的计算设备中的存储器320类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括可读代码331’,即可以由例如诸如310之类的处理器读取的代码,这些代码当由计算设备的处理器运行时,导致该计算设备的处理器执行上面所描述的方法中的各个步骤。
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (10)

  1. 一种智能终端与路由器之间的无线保真连接方法,其特征在于,包括:
    智能终端监听到路由器发出的无线保真wifi信标帧或wifi探测响应帧,并判断所述wifi信标帧或wifi探测响应帧中是否携带标识字段;
    若存在,则所述智能终端判断所述标识字段中的内容与预置的标识内容是否相同;
    若相同,则所述智能终端使用预置在其内部的wifi密码连接所述路由器,建立所述智能终端与路由器之间的wifi连接。
  2. 根据权利要求1所述的方法,其特征在于,所述智能终端设置有wifi密码云端更改接口。
  3. 根据权利要求1所述的方法,其特征在于,所述wifi密码预置在所述智能终端的代码结构体中。
  4. 一种智能终端与路由器之间的无线保真连接方法,其特征在于,包括:
    路由器发出携带有标识字段的无线保真wifi信标帧和wifi探测响应帧;
    在智能终端接收到所述携带有标识字段的wifi信标帧和wifi探测响应帧,确定所述标识字段中的内容为预置的标识内容,并使用预置在其内部的wifi密码连接所述路由器时,所述路由器将预置在其内部的wifi密码与来自所述智能终端的wifi密码进行比较;
    若相同,则所述路由器建立与所述智能终端之间的wifi连接。
  5. 根据权利要求4所述的方法,其特征在于,在所述路由器发出携带有标识字段的wifi信标帧和wifi探测响应帧之前,还包括:
    路由器被设置为允许使用所述预置在其内部的wifi密码建立wifi连接。
  6. 根据权利要求4所述的方法,其特征在于,所述路由器设置有wifi密码云端更改接口。
  7. 一种智能终端与路由器之间的无线保真连接系统,其特征在于,包括:智能终端和路由器,其中:
    所述智能终端,包括:
    第一判断模块,用于监听到路由器发出的无线保真wifi信标帧或wifi探 测响应帧,并判断所述wifi信标帧或wifi探测响应帧中是否携带标识字段;
    第二判断模块,用于若存在,则判断所述标识字段中的内容与预置的标识内容是否相同;
    第一连接模块,用于若相同,则使用预置在所述智能终端内部的wifi密码连接所述路由器,建立所述智能终端与路由器之间的wifi连接;
    所述路由器,包括:
    帧发送模块,用于发出携带有标识字段的wifi信标帧和wifi探测响应帧;
    比较模块,用于在智能终端接收到所述携带有标识字段的wifi信标帧和wifi探测响应帧,确定所述标识字段中的内容为预置的标识内容,并使用预置在所述智能终端内部的wifi密码连接所述路由器时,将预置在所述路由器内部的wifi密码与来自所述智能终端的wifi密码进行比较;
    第二连接模块,用于若相同,则建立所述路由器与智能终端之间的wifi连接。
  8. 根据权利要求7所述的系统,其特征在于,所述智能终端和路由器均设置有wifi密码云端更改接口。
  9. 根据权利要求7所述的系统,其特征在于,所述路由器,还包括:
    设置模块,用于在所述帧发送模块发出携带有标识字段的wifi信标帧和wifi探测响应帧之前,将所述路由器设置为允许使用所述预置在其内部的wifi密码建立wifi连接。
  10. 一种在其上记录有用于执行权利要求1-6所述方法的程序的计算机可读存储介质。
PCT/CN2016/088404 2015-11-06 2016-07-04 智能终端与路由器之间的无线保真连接方法及系统 WO2017076029A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/249,118 US20170134365A1 (en) 2015-11-06 2016-08-26 Wireless fidelity connection method and system for intelligent terminal and router

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510756771.8 2015-11-06
CN201510756771.8A CN105979516A (zh) 2015-11-06 2015-11-06 智能终端与路由器之间的无线保真连接方法及系统

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/249,118 Continuation US20170134365A1 (en) 2015-11-06 2016-08-26 Wireless fidelity connection method and system for intelligent terminal and router

Publications (1)

Publication Number Publication Date
WO2017076029A1 true WO2017076029A1 (zh) 2017-05-11

Family

ID=56988175

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088404 WO2017076029A1 (zh) 2015-11-06 2016-07-04 智能终端与路由器之间的无线保真连接方法及系统

Country Status (3)

Country Link
US (1) US20170134365A1 (zh)
CN (1) CN105979516A (zh)
WO (1) WO2017076029A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106507289A (zh) * 2016-12-07 2017-03-15 广东欧珀移动通信有限公司 一种无线网络的接入方法及移动终端
CN106604363B (zh) * 2016-12-07 2019-07-30 Oppo广东移动通信有限公司 一种无线保真Wi-Fi扫描方法、移动终端及存储介质
CN108200574A (zh) * 2018-01-05 2018-06-22 北京奇虎科技有限公司 WiFi热点连接方法及装置
CN108650671B (zh) * 2018-08-02 2020-06-09 广州视源电子科技股份有限公司 建立蓝牙连接的方法、装置、移动终端、存储介质与系统
US10985978B2 (en) * 2018-11-08 2021-04-20 Arris Enterprises Llc System and method for first time automatic on-boarding of Wi-Fi access point
CN111935681A (zh) * 2019-05-13 2020-11-13 阿里巴巴集团控股有限公司 一种智能设备网络配置实现系统、方法和设备
CN114466375B (zh) * 2020-11-09 2024-01-19 深圳Tcl新技术有限公司 WiFi设备配网方法、系统、WiFi设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059351A1 (en) * 2012-08-21 2014-02-27 General Instrument Corporation Method and device for connecting to a wireless network using a visual code
CN104320408A (zh) * 2014-11-06 2015-01-28 中山大学 一种WiFi热点的登录方法
CN104735659A (zh) * 2013-12-18 2015-06-24 韩燕� 一种wifi认证接入方法及终端
CN104994501A (zh) * 2015-06-12 2015-10-21 小米科技有限责任公司 无线网络的连接方法和终端设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587760B (zh) * 2011-11-01 2021-06-08 华为技术有限公司 无线局域网的接入方法、站点和接入点
GB2496221A (en) * 2011-11-04 2013-05-08 Renesas Mobile Corp Mobile interference mitigation via autonomous denial and beacon frames
CN103442351B (zh) * 2013-08-14 2016-04-06 福州瑞芯微电子股份有限公司 一种保护无线网络的方法
CN104902500B (zh) * 2015-05-21 2019-11-22 南京创维信息技术研究院有限公司 无线网络设备与无线接入设备的自动连接方法及系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140059351A1 (en) * 2012-08-21 2014-02-27 General Instrument Corporation Method and device for connecting to a wireless network using a visual code
CN104735659A (zh) * 2013-12-18 2015-06-24 韩燕� 一种wifi认证接入方法及终端
CN104320408A (zh) * 2014-11-06 2015-01-28 中山大学 一种WiFi热点的登录方法
CN104994501A (zh) * 2015-06-12 2015-10-21 小米科技有限责任公司 无线网络的连接方法和终端设备

Also Published As

Publication number Publication date
US20170134365A1 (en) 2017-05-11
CN105979516A (zh) 2016-09-28

Similar Documents

Publication Publication Date Title
WO2017076029A1 (zh) 智能终端与路由器之间的无线保真连接方法及系统
US11310239B2 (en) Network connection method, hotspot terminal and management terminal
CN106535288B (zh) 一种发送和获取wifi联网信息的方法和对应装置
US10171997B2 (en) Method and apparatus for interconnection between terminal device and gateway device
US7974606B2 (en) System and method for configuring devices for wireless communication
EP3544336B1 (en) Information transmission
KR101885500B1 (ko) Wifi 설정 포팅
US9967099B2 (en) Method and apparatus for providing information
WO2017219673A1 (zh) VoWiFi网络接入方法和系统、终端
JP2018512660A (ja) 中継サーバを用いて電子デバイスに遠隔端末支援を提供する方法、装置およびシステム
US9198024B1 (en) Remote device activation
WO2018049823A1 (zh) 一种自动配网方法、装置及设备、中继器
JP7312226B2 (ja) ネットワーク環境におけるピア電子デバイスによるリモート電子デバイスの構成
CN104469665A (zh) 一种数据处理方法以及用户端
US10708775B2 (en) Method for establishing network connection by using WPS, and mobile Wi-Fi device
WO2016131289A1 (zh) 无线热点安全性检测方法、装置及用户设备
CN106028323B (zh) 一种接入网络的方法、终端及接入点
WO2016086588A1 (zh) 配置rru设备的方法、rru设备、中间设备及计算机存储介质
WO2019096155A1 (zh) 无线连接方法和具有存储功能的装置
EP3793164B1 (en) Configuring a remote electronic device by a peer electronic device in a networked environment

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: 16861299

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: 16861299

Country of ref document: EP

Kind code of ref document: A1