WO2018090829A1 - Method and apparatus for allowing intelligent terminal device to access internet - Google Patents

Method and apparatus for allowing intelligent terminal device to access internet Download PDF

Info

Publication number
WO2018090829A1
WO2018090829A1 PCT/CN2017/109036 CN2017109036W WO2018090829A1 WO 2018090829 A1 WO2018090829 A1 WO 2018090829A1 CN 2017109036 W CN2017109036 W CN 2017109036W WO 2018090829 A1 WO2018090829 A1 WO 2018090829A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
router
internet
accessed
module
Prior art date
Application number
PCT/CN2017/109036
Other languages
French (fr)
Chinese (zh)
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 深圳市阿凡达智控有限公司
Publication of WO2018090829A1 publication Critical patent/WO2018090829A1/en

Links

Images

Classifications

    • 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
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • 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 present invention relates to the field of communications technologies, and in particular, to a method and apparatus for accessing an Internet by an intelligent terminal device.
  • WiFi Wireless-Fidelity
  • the data transmission method of WiFi technology is through electromagnetic waves. Due to the unbounded nature of electromagnetic waves, any wireless terminal device can receive signals from each other within a certain range. In order to solve the security problem of the data transmission method of the WiFi technology, it is usually necessary to encrypt the data transmission mode. Common encryption methods are WEP, WPA, WPA2, and the difficulty of cracking increases step by step. At present, the security protection capability of the WPA2 encryption method is excellent, and the wireless access point (AP) of the general household and public places is encrypted. When a wireless device connects to a specified hotspot, it needs to know the service set identifier (SSID), encryption mode, and secret key of the hotspot.
  • SSID service set identifier
  • the SSID and password of the router cannot be directly added.
  • the existing access scheme cannot remotely control the terminal device to access the Internet.
  • the main object of the present invention is to provide a solution to solve the problem that the terminal device cannot be remotely controlled to access the Internet in the prior art solution.
  • a first aspect of the embodiments of the present invention provides a method for an intelligent terminal device to access an Internet, which is used for an intelligent terminal device that has access to the Internet, and the method includes the following steps:
  • S4 Send the service set identifier and password of the router to the to-be-accessed smart terminal device;
  • the step S2 includes the step S2: receiving the quantity information of the smart terminal device to be accessed sent by the mobile terminal;
  • Step S2 is followed by step S2.1: starting timer t0 to start timing;
  • step S4.1 If the timer t0 is set to the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed. Go to step S5; or
  • step S5 If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and step S5 is performed; or
  • the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed, then the steps are performed. S4.
  • the second aspect of the embodiments of the present invention provides an intelligent terminal device accessing each other.
  • the device is connected to the smart terminal device that has access to the Internet, and the device includes: a first receiving module, a starting module, an establishing module, a sending module, and a shutdown processing module;
  • the first receiving module is configured to receive the startup wireless connection mode command information sent by the mobile terminal;
  • the startup module is configured to disconnect the router according to the instruction information received by the first receiving module, and initiate a wireless connection mode
  • the establishing module is configured to establish a wireless network connection with the smart terminal device to be accessed by using a wireless connection mode initiated by the startup module;
  • the sending module is configured to send a service set identifier and a password of the router to the to-be-accessed smart terminal device;
  • the shutdown processing module is configured to turn off the wireless connection mode and reconnect to the router.
  • the apparatus further includes a second receiving module, a timer starting module, and a selecting processing module;
  • the second receiving module is configured to receive quantity information of the smart terminal device to be accessed sent by the mobile terminal;
  • the timer starting module is configured to start a timer t0 to start timing when the startup module starts the wireless connection mode;
  • the selection processing module is configured to send the service set identifier and password of the router to a predetermined number of intelligent terminal devices to be accessed if the timer t0 is a preset time T, wherein the predetermined number is less than the to-be-accessed smart
  • the number of terminal devices generates an enable signal to the shutdown processing module;
  • the service set identifier and password of the router are sent to all the smart terminal devices to be accessed. Generating an enable signal to the shutdown processing module; or
  • the service set identifier and password of the router are sent to a predetermined number of intelligent terminal devices to be accessed, wherein the predetermined number is smaller than the number of the smart terminal devices to be accessed,
  • the signal can be signaled to the transmitting module.
  • a third aspect of the embodiments of the present invention provides a method for an intelligent terminal device to access the Internet, which is used to access the smart terminal device, and the method includes the following steps:
  • S10 Establish a wireless network connection with the smart terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the startup wireless connection mode sent by the mobile terminal Command information, disconnect the router, and initiate the wireless connection mode;
  • S20 Receive a service set identifier and a password of a router sent by an intelligent terminal device that has access to the Internet;
  • the step S20 further includes the following steps:
  • step S21 Confirm whether the service set identifier and password of the router sent by the smart terminal device that has access to the Internet are received; if yes, go to step S30; otherwise, go to step S22;
  • S22 Start a wireless connection mode, and obtain a service set identifier and password of the router;
  • step S23 Determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, execute step S30; otherwise, turn off the wireless connection mode and perform step S10.
  • the step S30 includes:
  • a fourth aspect of the embodiments of the present invention provides a device for accessing an Internet by an intelligent terminal device, which is used to access an intelligent terminal device, where the device includes: a network establishing module, a receiving module, and a connection processing module. ;
  • the network establishing module is configured to establish a wireless network connection with an intelligent terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the mobile terminal Send the start wireless connection mode command information, disconnect the router, and start the wireless connection mode;
  • the receiving module is configured to receive a service set identifier and a password of a router that is sent by an intelligent terminal device that has accessed the Internet;
  • the connection processing module is configured to connect to the router according to the service set identifier and password of the router received by the receiving module.
  • the device further includes a confirmation module, a startup processing module, and a determination module;
  • the confirmation module is configured to confirm whether a service set identifier and a password of the router sent by the smart terminal device that has accessed the Internet are received; if received, generate an enable signal to the connection processing module; otherwise, generate an enable signal Giving the startup processing module;
  • the startup processing module is configured to start a wireless connection mode, and obtain a service set identifier and a password of the router;
  • the determining module is configured to determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, generate an enable signal to the connection processing module; otherwise, the wireless connection mode is closed and generated A signal can be generated to the network building module.
  • connection processing module includes a startup unit, a connection unit, and an acquisition unit.
  • the startup unit is configured to start a WPA_Supplicant process
  • the connecting unit is configured to connect to the router according to the service set identifier and password of the received router;
  • the acquiring unit is configured to acquire an IP address dynamically assigned by the router and access the Internet.
  • the method and device for accessing the Internet by the smart terminal device provided by the embodiment of the present invention, by receiving the instruction information sent by the mobile terminal, starting the wireless connection mode, and transmitting the service set identifier and password of the router to the intelligent terminal device to be accessed, Thereby, the smart terminal device to be accessed is connected to the Internet.
  • the solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized.
  • the process of accessing the Internet by the smart terminal device to be accessed is safe, stable, and efficient, and simplifies the installation steps of the user.
  • FIG. 1 is a schematic flowchart of a method for an intelligent terminal device to access an Internet according to a first embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of an apparatus for accessing an Internet by a smart terminal device according to a second embodiment of the present invention
  • FIG. 3 is another schematic structural diagram of an apparatus for accessing an Internet by a smart terminal device according to a second embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for accessing an Internet by an intelligent terminal device according to a third embodiment of the present invention.
  • FIG. 5 is another schematic flowchart of a method for an intelligent terminal device to access the Internet according to a third embodiment of the present invention.
  • FIG. 6 is still another flow of a method for a smart terminal device to access the Internet according to a third embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of an apparatus for accessing an Internet by an intelligent terminal device according to a fourth embodiment of the present invention.
  • FIG. 8 is another schematic structural diagram of an apparatus for accessing an Internet by a smart terminal device according to a fourth embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a connection processing module in an apparatus for accessing an Internet by an intelligent terminal device according to a fourth embodiment of the present invention.
  • the embodiments described below in the present invention mainly include a mobile terminal, a smart terminal device, and a router in an implementation environment thereof.
  • the smart terminal device includes an intelligent terminal device that has access to the Internet and a smart terminal device to be accessed.
  • Intelligent terminal devices are those with multimedia functions. These devices support functions such as audio, video, and data, such as videophones, conference terminals, computers with built-in multimedia functions, and so on.
  • the mobile terminal includes, but is not limited to, a smart phone, a tablet, a personal digital assistant (PDA), and the like having an input means.
  • a smart phone a tablet
  • PDA personal digital assistant
  • a router is a device that connects to various LANs and WANs in the Internet. It will be based on the channel. Automatically select and set the route, in the best path, send signals in order.
  • the intelligent terminal device, the mobile terminal, the intelligent terminal to be accessed, and the router are connected through a wireless network.
  • the smart terminal device, the mobile terminal, the smart terminal to be accessed, and the router are connected by Wi-Fi.
  • a first embodiment of the present invention provides a method for an intelligent terminal device to access an Internet, which is used for an intelligent terminal device that has access to the Internet.
  • the method includes the following steps:
  • the mobile terminal includes but is not limited to a smart phone, a tablet computer, a personal digital assistant (PDA), and the like.
  • PDA personal digital assistant
  • the smart terminal device that has access to the Internet and the mobile terminal can pass through an external network, for example, third-generation mobile communication technology (3rd-Generation, 3G), fourth-generation mobile communication technology (the 4th Generation) Mobile communication, 4G) or WiFi, for communication.
  • third-generation mobile communication technology 3rd-Generation, 3G
  • fourth-generation mobile communication technology the 4th Generation Mobile communication, 4G
  • WiFi Wireless Fidelity
  • the wireless connection mode includes a soft wireless access point mode, a Bluetooth mode, an infrared mode, a WiFi mode, and the like, which is not limited in this embodiment.
  • the smart terminal device that has access to the Internet can establish a wireless connection with the mobile phone and the intelligent terminal device to be accessed for data transmission by turning on the wireless connection mode.
  • the smart terminal device to be accessed can also establish a wireless connection with the mobile phone and the intelligent terminal device that has been counted in the Internet by turning on the wireless connection mode, thereby performing data transmission.
  • the smart terminal device after receiving the instruction information sent by the mobile terminal, the smart terminal device that has accessed the Internet disconnects the router according to the instruction information, and starts the wireless connection mode.
  • the step may further include the step S2.0: receiving the quantity information of the smart terminal device to be accessed sent by the mobile terminal;
  • the step may further include step S2.1: starting the timer T0 starts timing;
  • the timer t0 is used to count the time when the smart terminal device that has access to the Internet continuously activates the wireless connection mode.
  • the smart terminal device to be accessed can establish a wireless network through the hot spot name of the soft wireless access access point and the smart terminal device that has accessed the Internet. connection.
  • S4 Send the service set identifier and password of the router to the to-be-accessed smart terminal device;
  • the number of the smart terminal devices to be accessed is not limited to one, and may be multiple.
  • the service set identifier and password of the router can be sent to the smart terminal device to be accessed through the wireless network.
  • the smart terminal device to be connected can connect to the router through the obtained service set identifier and password of the router.
  • the step includes the following steps:
  • step S4.1 If the timer t0 is the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the smart terminal device to be accessed. Quantity, proceed to step S5; or,
  • step S5 If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and step S5 is performed; or
  • the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed, then the steps are performed. S4.
  • the smart terminal device to be accessed has obtained the service set identifier and password of the router, and connected to the router, the smart terminal device that has accessed the Internet can turn off the wireless connection mode and reconnect to the router.
  • the method for accessing the Internet by the smart terminal device provided by the embodiment of the present invention, by receiving the instruction information sent by the mobile terminal, starting the wireless connection mode, and transmitting the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet.
  • the solution of the prior art solution can only be completed in the local area network, and the problem of remote access to the Internet cannot be realized, so that the process of accessing the smart terminal device to access the Internet is safe, stable, and efficient, and the installation steps of the user are simplified. .
  • a second embodiment of the present invention provides an apparatus for accessing the Internet by an intelligent terminal device, which is used for an intelligent terminal device that has access to the Internet.
  • the device 10 includes: a first receiving module 11 and a startup module 12, Establishing module 13, sending module 14 and closing processing module 15;
  • the first receiving module 11 is configured to receive the startup wireless connection mode command information sent by the mobile terminal;
  • the startup module 12 is configured to disconnect the router according to the instruction information received by the first receiving module 11, and initiate a wireless connection mode;
  • the establishing module 13 is configured to establish a wireless network connection with the smart terminal device to be accessed by using the wireless connection mode initiated by the startup module 12;
  • the sending module 14 is configured to send the service set identifier and password of the router to the smart terminal device to be accessed;
  • the processing module 15 is turned off to turn off the wireless connection mode and reconnect to the router.
  • the device 10 may further include a second receiving module 18, a timer starting module 16, and a selection processing module 17;
  • the second receiving module 18 is configured to receive, by the mobile terminal, quantity information of the smart terminal device to be accessed;
  • the timer starting module 16 is configured to start the timer t0 to start timing when the startup module 12 starts the wireless connection mode;
  • the processing module 17 is configured to: if the timer t0 is timed to be the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the smart terminal to be accessed. The number of devices generates an enable signal to the shutdown processing module 15; or,
  • the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and an enable signal is generated to be turned off.
  • Processing module 15 or,
  • the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed,
  • the enable signal is sent to the transmitting module 14.
  • the device for accessing the Internet by the smart terminal device starts the wireless connection mode by receiving the instruction information sent by the mobile terminal, and sends the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet.
  • the solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized.
  • the process of accessing the Internet by the smart terminal device to be accessed is safe, stable, and efficient, and simplifies the installation steps of the user.
  • FIG. 4 is a method for accessing an Internet by an intelligent terminal device according to a third embodiment of the present invention, which is used to access a smart terminal device, and the method includes the following steps:
  • S10 Connected to the connected network through the wireless connection mode of the smart terminal device that has access to the Internet
  • the smart terminal device of the network establishes a wireless network connection; wherein the smart terminal device that has accessed the Internet receives the start wireless connection mode command information sent by the mobile terminal, disconnects the router, and starts the wireless connection mode;
  • the mobile terminal includes, but is not limited to, a smartphone, a tablet, a PDA, and the like.
  • the smart terminal device that has access to the Internet and the mobile terminal can communicate via an external network, such as 3G, 4G, or wifi.
  • the smart terminal device after receiving the instruction information sent by the mobile terminal, the smart terminal device that has accessed the Internet disconnects the router according to the instruction information, and starts the wireless connection mode.
  • S20 Receive a service set identifier and a password of a router sent by an intelligent terminal device that has access to the Internet;
  • the step may further include the following steps:
  • step S21 Confirm whether the service set identifier and password of the router sent by the smart terminal device that has access to the Internet are received; if yes, go to step S30; otherwise, go to step S22;
  • the device after the device to be accessed is powered on, the device automatically scans the default soft AP hotspot (that is, the soft AP hotspot that the smart terminal device that has accessed the Internet is released in the AP mode), and the number of scans can be set by the user. .
  • the factory default soft AP hotspot that is, the soft AP hotspot that the Internet-connected smart terminal device is released in the AP mode
  • step 22 is performed.
  • the service set identifier and password of the router may not be received even if the device to be accessed scans to the factory default soft AP hotspot. If not, step S22 is performed.
  • S22 Start a wireless connection mode, and obtain a service set identifier and password of the router;
  • the scanning of the soft AP hotspot after the smart terminal device is powered on may not be scanned.
  • the service set identifier and password of the router may not be resolved.
  • the connection is pending.
  • the smart terminal device initiates the wireless connection mode, establishes a wireless connection with the mobile terminal or the connected smart terminal device, to obtain the service set identifier and password sent by the mobile terminal or the accessed smart terminal device.
  • step S23 Determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, execute step S30; otherwise, turn off the wireless connection mode and perform step S10.
  • the switching mode is the wireless connection mode, so that the smart to be accessed is enabled.
  • the terminal device can obtain the service set identifier and password of the router in the wireless connection mode or the non-wireless connection mode (Station mode), and is connected to the router.
  • the step specifically includes:
  • the number of the smart terminal devices to be accessed is not limited to one, and may be multiple.
  • the method for accessing the Internet by the smart terminal device provided by the embodiment of the present invention, by receiving the instruction information sent by the mobile terminal, starting the wireless connection mode, and transmitting the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet.
  • the solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized.
  • the process of accessing the smart terminal device to access the Internet is safe, stable, efficient, and simplified. User installation steps.
  • FIG. 7 is a device for accessing an Internet of an intelligent terminal device according to a fourth embodiment of the present invention, which is used to access an intelligent terminal device, and the device 100 includes: a network establishing module 101, a receiving module 102, and a connection processing. Module 103;
  • the network establishing module 101 is configured to establish a wireless network connection with the smart terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the mobile terminal to send Start the wireless connection mode command information, disconnect the router, and start the wireless connection mode;
  • the receiving module 102 is configured to receive a service set identifier and a password of a router that is sent by the smart terminal device that has accessed the Internet;
  • the connection processing module 103 is configured to connect to the router according to the service set identifier and password of the router received by the receiving module 102.
  • the apparatus 100 may further include a confirmation module 104, a startup processing module 105, and a determination module 106;
  • the confirmation module 104 is configured to confirm whether the service set identifier and password of the router sent by the smart terminal device that has accessed the Internet are received; if received, generate an enable signal to the connection processing module 103; otherwise, generate an enable signal to start Processing module 105;
  • the device after the device to be accessed is powered on, the device automatically scans the default soft AP hotspot (that is, the soft AP hotspot that the smart terminal device that has accessed the Internet is released in the AP mode), and the number of scans can be set by the user. .
  • the default soft AP hotspot that is, the soft AP hotspot that the smart terminal device that has accessed the Internet is released in the AP mode
  • Initiating a processing module 105 configured to initiate a wireless connection mode
  • the determining module 106 is configured to determine whether the service set identifier and the password of the router are obtained within the preset time t; if yes, generate an enable signal to the connection processing module 103; otherwise, the wireless connection is closed.
  • the mode is connected and an enable signal is generated to the network establishment module 101.
  • connection processing module 103 includes a boot unit 1031, a connection unit 1032, and an acquisition unit 1033;
  • a starting unit 1031 configured to start a WPA_Supplicant process
  • the connecting unit 1032 is configured to connect to the router according to the service set identifier and password of the received router.
  • the obtaining unit 1033 is configured to obtain an IP address dynamically allocated by the router.
  • the device for accessing the Internet by the smart terminal device starts the wireless connection mode by receiving the instruction information sent by the mobile terminal, and sends the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet.
  • the solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized.
  • the process of accessing the Internet by the smart terminal device to be accessed is safe, stable, and efficient, and simplifies the installation steps of the user.

Landscapes

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

Abstract

Disclosed are a method and apparatus for allowing an intelligent terminal device to access the Internet. The method comprises: receiving instruction information, sent by a mobile terminal, about enabling a wireless connection mode; disconnecting a router connection, and enabling the wireless connection mode; by means of the wireless connection mode, establishing a wireless network connection with an intelligent terminal device to be accessed; sending a service set identifier and a password of a router to the intelligent terminal device to be accessed; and disabling the wireless connection mode, and reconnecting to the router. By means of the method and apparatus for allowing an intelligent terminal device to access the Internet disclosed in the present invention, the process of allowing an intelligent terminal device to be accessed access to the Internet is secure, stable and efficient, and the user installation operation steps are simplified.

Description

一种智能终端设备接入互联网的方法及装置Method and device for connecting intelligent terminal device to internet 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种智能终端设备接入互联网的方法及装置。The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for accessing an Internet by an intelligent terminal device.
背景技术Background technique
随着物联网产业的快速发展,无线传输技术应用越来越广泛,常见的无线技术有紫蜂协议(Zigbee)、Z-Wave,蓝牙及无线保真(Wireless-Fidelity,WiFi)等技术。基于WiFi技术的智能家居产品最为常见,其优势在于传输速度快,可直接连接路由器上网,而且成本较低,生活中也最为普及。With the rapid development of the Internet of Things industry, wireless transmission technology is becoming more and more widely used. Common wireless technologies include Zigbee, Z-Wave, Bluetooth and Wireless-Fidelity (WiFi). The smart home products based on WiFi technology are the most common, and the advantage is that the transmission speed is fast, the router can be directly connected to the Internet, and the cost is low, and the life is also the most popular.
WiFi技术的数据传输方式是通过电磁波,由于电磁波的无界性,任意无线终端设备在一定范围内都能接收彼此发出的信号。为了解决WiFi技术的数据传输方式的安全性问题,通常需要对数据传输方式进行加密。常见的加密方式有WEP,WPA,WPA2,破解难度逐级增加。目前WPA2加密方式的安全防护能力非常出色,一般家用以及公共场合的无线访问接入点(Wireless Access Point,AP)都会进行加密。无线设备连接指定的热点时,需要知道该热点的服务集标识(Service Set Identifier,SSID),加密方式,秘钥等信息。The data transmission method of WiFi technology is through electromagnetic waves. Due to the unbounded nature of electromagnetic waves, any wireless terminal device can receive signals from each other within a certain range. In order to solve the security problem of the data transmission method of the WiFi technology, it is usually necessary to encrypt the data transmission mode. Common encryption methods are WEP, WPA, WPA2, and the difficulty of cracking increases step by step. At present, the security protection capability of the WPA2 encryption method is excellent, and the wireless access point (AP) of the general household and public places is encrypted. When a wireless device connects to a specified hotspot, it needs to know the service set identifier (SSID), encryption mode, and secret key of the hotspot.
对于没有输入手段的终端设备,无法直接添加路由器的SSID和密码。而且现有的接入方案,无法远程控制终端设备接入互联网。For terminal devices that do not have input means, the SSID and password of the router cannot be directly added. Moreover, the existing access scheme cannot remotely control the terminal device to access the Internet.
发明内容Summary of the invention
本发明的主要目的在于提出一种,旨在解决现有技术方案中,无法远程控制终端设备接入互联网的问题。 The main object of the present invention is to provide a solution to solve the problem that the terminal device cannot be remotely controlled to access the Internet in the prior art solution.
为实现上述目的,本发明实施例第一方面提供一种智能终端设备接入互联网的方法,用于已接入互联网的智能终端设备,所述方法包括步骤:To achieve the above objective, a first aspect of the embodiments of the present invention provides a method for an intelligent terminal device to access an Internet, which is used for an intelligent terminal device that has access to the Internet, and the method includes the following steps:
S1:接收移动终端发送的启动无线连接模式指令信息;S1: receiving the startup wireless connection mode command information sent by the mobile terminal;
S2:断开路由器连接,并启动无线连接模式;S2: disconnect the router and start the wireless connection mode;
S3:通过无线连接模式,与待接入智能终端设备建立无线网络连接;S3: establishing a wireless network connection with the smart terminal device to be accessed through the wireless connection mode;
S4:将路由器的服务集标识和密码,发送给所述待接入智能终端设备;S4: Send the service set identifier and password of the router to the to-be-accessed smart terminal device;
S5:关闭无线连接模式,并重新连接到路由器。S5: Turn off the wireless connection mode and reconnect to the router.
结合本发明实施例的第一方面,本发明实施例的第一方面的第一种实现方式中,With reference to the first aspect of the embodiments of the present invention, in a first implementation manner of the first aspect of the embodiments of the present invention,
所述步骤S2之前包括步骤S2.0:接收移动终端发送的待接入智能终端设备的数量信息;The step S2 includes the step S2: receiving the quantity information of the smart terminal device to be accessed sent by the mobile terminal;
所述步骤S2之后包括步骤S2.1:启动计时器t0开始计时;Step S2 is followed by step S2.1: starting timer t0 to start timing;
所述步骤S4之后包括步骤:After the step S4, the steps are included:
S4.1:若计时器t0计时时间为预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则执行步骤S5;或者S4.1: If the timer t0 is set to the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed. Go to step S5; or
若计时器t0计时时间为预设时间T或者计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给所有待接入智能终端设备,则执行步骤S5;或者If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and step S5 is performed; or
若计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则执行步骤S4。If the timer t0 is less than the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed, then the steps are performed. S4.
为实现上述目的,本发明实施例第二方面提供一种智能终端设备接入互 联网的装置,用于已接入互联网的智能终端设备,所述装置包括:第一接收模块、启动模块、建立模块、发送模块及关闭处理模块;To achieve the above objective, the second aspect of the embodiments of the present invention provides an intelligent terminal device accessing each other. The device is connected to the smart terminal device that has access to the Internet, and the device includes: a first receiving module, a starting module, an establishing module, a sending module, and a shutdown processing module;
所述第一接收模块,用于接收移动终端发送的启动无线连接模式指令信息;The first receiving module is configured to receive the startup wireless connection mode command information sent by the mobile terminal;
所述启动模块,用于根据所述第一接收模块接收到的指令信息,断开路由器连接,并启动无线连接模式;The startup module is configured to disconnect the router according to the instruction information received by the first receiving module, and initiate a wireless connection mode;
所述建立模块,用于通过所述启动模块启动的无线连接模式,与待接入智能终端设备建立无线网络连接;The establishing module is configured to establish a wireless network connection with the smart terminal device to be accessed by using a wireless connection mode initiated by the startup module;
所述发送模块,用于将路由器的服务集标识和密码,发送给所述待接入智能终端设备;The sending module is configured to send a service set identifier and a password of the router to the to-be-accessed smart terminal device;
所述关闭处理模块,用于关闭无线连接模式,并重新连接到路由器。The shutdown processing module is configured to turn off the wireless connection mode and reconnect to the router.
结合本发明实施例的第二方面,本发明实施例的第二方面的第一种实现方式中,所述装置还包括第二接收模块、计时器启动模块、选择处理模块;With reference to the second aspect of the embodiments of the present invention, in a first implementation manner of the second aspect of the embodiments, the apparatus further includes a second receiving module, a timer starting module, and a selecting processing module;
所述第二接收模块,用于接收移动终端发送的待接入智能终端设备的数量信息;The second receiving module is configured to receive quantity information of the smart terminal device to be accessed sent by the mobile terminal;
所述计时器启动模块,用于当所述启动模块启动无线连接模式时,启动计时器t0开始计时;The timer starting module is configured to start a timer t0 to start timing when the startup module starts the wireless connection mode;
所述选择处理模块,用于若计时器t0计时时间为预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则生成使能信号给所述关闭处理模块;或者The selection processing module is configured to send the service set identifier and password of the router to a predetermined number of intelligent terminal devices to be accessed if the timer t0 is a preset time T, wherein the predetermined number is less than the to-be-accessed smart The number of terminal devices generates an enable signal to the shutdown processing module; or
若计时器t0计时时间为预设时间T或者计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给所有待接入智能终端设备,则生 成使能信号给所述关闭处理模块;或者If the timer t0 is timed for the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed. Generating an enable signal to the shutdown processing module; or
若计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则生成使能信号给所述发送模块。If the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to a predetermined number of intelligent terminal devices to be accessed, wherein the predetermined number is smaller than the number of the smart terminal devices to be accessed, The signal can be signaled to the transmitting module.
为实现上述目的,本发明实施例第三方面提供一种智能终端设备接入互联网的方法,用于待接入智能终端设备,所述方法包括步骤:To achieve the above objective, a third aspect of the embodiments of the present invention provides a method for an intelligent terminal device to access the Internet, which is used to access the smart terminal device, and the method includes the following steps:
S10:通过已接入互联网的智能终端设备的无线连接模式,与已接入互联网的智能终端设备建立无线网络连接;其中所述已接入互联网的智能终端设备接收移动终端发送的启动无线连接模式指令信息,断开路由器连接,并启动无线连接模式;S10: Establish a wireless network connection with the smart terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the startup wireless connection mode sent by the mobile terminal Command information, disconnect the router, and initiate the wireless connection mode;
S20:接收已接入互联网的智能终端设备发送的路由器的服务集标识和密码;S20: Receive a service set identifier and a password of a router sent by an intelligent terminal device that has access to the Internet;
S30:根据接收到的路由器的服务集标识和密码,连接到路由器。S30: Connect to the router according to the service set identifier and password of the received router.
结合本发明实施例的第三方面,本发明实施例的第三方面的第一种实现方式中,所述步骤S20之后还包括步骤:With reference to the third aspect of the embodiments of the present invention, in the first implementation manner of the third aspect of the embodiment, the step S20 further includes the following steps:
S21:确认是否接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码;若接收到,则执行步骤S30;否则执行步骤S22;S21: Confirm whether the service set identifier and password of the router sent by the smart terminal device that has access to the Internet are received; if yes, go to step S30; otherwise, go to step S22;
S22:启动无线连接模式,并获取路由器的服务集标识和密码;S22: Start a wireless connection mode, and obtain a service set identifier and password of the router;
S23:判断在预设时间t内,是否获取到路由器的服务集标识和密码;若获取到,则执行步骤S30;否则关闭无线连接模式并执行步骤S10。S23: Determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, execute step S30; otherwise, turn off the wireless connection mode and perform step S10.
本发明实施例的第三方面的第二种实现方式中,结合本发明实施例的第三方面或者第三方面的第一种实现方式,所述步骤S30包括:In a second implementation manner of the third aspect of the embodiment of the present invention, in combination with the third aspect of the embodiment of the present invention or the first implementation manner of the third aspect, the step S30 includes:
S31:启动WPA_Supplicant进程; S31: Start the WPA_Supplicant process;
S32:根据接收到的路由器的服务集标识和密码,与路由器进行连接;S32: Connect to the router according to the service set identifier and password of the received router;
S33:获取路由器动态分配的IP地址,并接入互联网。S33: Obtain the dynamically assigned IP address of the router and access the Internet.
此外,为实现上述目的,本发明实施例第四方面提供一种智能终端设备接入互联网的装置,用于待接入智能终端设备,所述装置包括:网络建立模块、接收模块及连接处理模块;In addition, in order to achieve the above object, a fourth aspect of the embodiments of the present invention provides a device for accessing an Internet by an intelligent terminal device, which is used to access an intelligent terminal device, where the device includes: a network establishing module, a receiving module, and a connection processing module. ;
所述网络建立模块,用于通过已接入互联网的智能终端设备的无线连接模式,与已接入互联网的智能终端设备建立无线网络连接;其中所述已接入互联网的智能终端设备接收移动终端发送的启动无线连接模式指令信息,断开路由器连接,并启动无线连接模式;The network establishing module is configured to establish a wireless network connection with an intelligent terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the mobile terminal Send the start wireless connection mode command information, disconnect the router, and start the wireless connection mode;
所述接收模块,用于接收已接入互联网的智能终端设备发送的路由器的服务集标识和密码;The receiving module is configured to receive a service set identifier and a password of a router that is sent by an intelligent terminal device that has accessed the Internet;
所述连接处理模块,用于根据所述接收模块接收到的路由器的服务集标识和密码,连接到路由器。The connection processing module is configured to connect to the router according to the service set identifier and password of the router received by the receiving module.
结合本发明实施例的第四方面,本发明实施例的第四方面的第一种实现方式中,所述装置还包括确认模块、启动处理模块及判断模块;With reference to the fourth aspect of the embodiments of the present invention, in a first implementation manner of the fourth aspect of the embodiments, the device further includes a confirmation module, a startup processing module, and a determination module;
所述确认模块,用于确认是否接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码;若接收到,则生成使能信号给所述连接处理模块;否则生成使能信号给所述启动处理模块;The confirmation module is configured to confirm whether a service set identifier and a password of the router sent by the smart terminal device that has accessed the Internet are received; if received, generate an enable signal to the connection processing module; otherwise, generate an enable signal Giving the startup processing module;
所述启动处理模块,用于启动无线连接模式,并获取路由器的服务集标识和密码;The startup processing module is configured to start a wireless connection mode, and obtain a service set identifier and a password of the router;
所述判断模块,用于判断在预设时间t内,是否获取到路由器的服务集标识和密码;若获取到,则生成使能信号给所述连接处理模块;否则关闭无线连接模式并生成使能信号给所述网络建立模块。 The determining module is configured to determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, generate an enable signal to the connection processing module; otherwise, the wireless connection mode is closed and generated A signal can be generated to the network building module.
本发明实施例的第四方面的第二种实现方式中,结合本发明实施例的第四方面或者第四方面的第一种实现方式,所述连接处理模块包括启动单元、连接单元及获取单元;In a second implementation manner of the fourth aspect of the embodiment of the present invention, in combination with the fourth aspect of the embodiment of the present invention or the first implementation manner of the fourth aspect, the connection processing module includes a startup unit, a connection unit, and an acquisition unit. ;
所述启动单元,用于启动WPA_Supplicant进程;The startup unit is configured to start a WPA_Supplicant process;
所述连接单元,用于根据接收到的路由器的服务集标识和密码,与路由器进行连接;The connecting unit is configured to connect to the router according to the service set identifier and password of the received router;
所述获取单元,用于获取路由器动态分配的IP地址,并接入互联网。The acquiring unit is configured to acquire an IP address dynamically assigned by the router and access the Internet.
本发明实施例提供的智能终端设备接入互联网的方法及装置,通过接收移动终端发送的指令信息,启动无线连接模式,并将路由器的服务集标识和密码,发送给待接入智能终端设备,从而实现了待接入智能终端设备接入互联网。解决了现有技术方案中,只能在局域网内完成,无法实现远程接入互联网的问题。待接入智能终端设备接入互联网过程安全、稳定、高效,并且简化了用户的安装操作步骤。The method and device for accessing the Internet by the smart terminal device provided by the embodiment of the present invention, by receiving the instruction information sent by the mobile terminal, starting the wireless connection mode, and transmitting the service set identifier and password of the router to the intelligent terminal device to be accessed, Thereby, the smart terminal device to be accessed is connected to the Internet. The solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized. The process of accessing the Internet by the smart terminal device to be accessed is safe, stable, and efficient, and simplifies the installation steps of the user.
附图说明DRAWINGS
图1为本发明第一实施例的智能终端设备接入互联网的方法流程示意图;1 is a schematic flowchart of a method for an intelligent terminal device to access an Internet according to a first embodiment of the present invention;
图2为本发明第二实施例的智能终端设备接入互联网的装置结构示意图;2 is a schematic structural diagram of an apparatus for accessing an Internet by a smart terminal device according to a second embodiment of the present invention;
图3为本发明第二实施例的智能终端设备接入互联网的装置另一结构示意图;3 is another schematic structural diagram of an apparatus for accessing an Internet by a smart terminal device according to a second embodiment of the present invention;
图4为本发明第三实施例的智能终端设备接入互联网的方法流程示意图;4 is a schematic flowchart of a method for accessing an Internet by an intelligent terminal device according to a third embodiment of the present invention;
图5为本发明第三实施例的智能终端设备接入互联网的方法的另一流程示意图;FIG. 5 is another schematic flowchart of a method for an intelligent terminal device to access the Internet according to a third embodiment of the present invention; FIG.
图6为本发明第三实施例的智能终端设备接入互联网的方法的又一流程 示意图;FIG. 6 is still another flow of a method for a smart terminal device to access the Internet according to a third embodiment of the present invention; schematic diagram;
图7为本发明第四实施例的智能终端设备接入互联网的装置结构示意图;FIG. 7 is a schematic structural diagram of an apparatus for accessing an Internet by an intelligent terminal device according to a fourth embodiment of the present invention; FIG.
图8为本发明第四实施例的智能终端设备接入互联网的装置另一结构示意图;FIG. 8 is another schematic structural diagram of an apparatus for accessing an Internet by a smart terminal device according to a fourth embodiment of the present invention; FIG.
图9为本发明第四实施例的智能终端设备接入互联网的装置中连接处理模块的结构示意图。FIG. 9 is a schematic structural diagram of a connection processing module in an apparatus for accessing an Internet by an intelligent terminal device according to a fourth embodiment of the present invention.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
现在将参考附图描述实现本发明各个实施例的。在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身并没有特定的意义。Various embodiments of the present invention will now be described with reference to the drawings. In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and does not have a specific meaning per se.
本发明以下所描述的实施例,在其实施环境中,主要包括移动终端、智能终端设备和路由器。The embodiments described below in the present invention mainly include a mobile terminal, a smart terminal device, and a router in an implementation environment thereof.
其中,智能终端设备包括已接入互联网的智能终端设备和待接入智能终端设备。智能终端设备是指那些具有多媒体功能的智能设备这些设备支持音频、视频、数据等方面的功能,如:可视电话、会议终端、内置多媒体功能的计算机等等。The smart terminal device includes an intelligent terminal device that has access to the Internet and a smart terminal device to be accessed. Intelligent terminal devices are those with multimedia functions. These devices support functions such as audio, video, and data, such as videophones, conference terminals, computers with built-in multimedia functions, and so on.
移动终端包括但不限于智能手机、平板电脑、掌上电脑(Personal Digital Assistant,PDA)等等具有输入手段的电子设备。The mobile terminal includes, but is not limited to, a smart phone, a tablet, a personal digital assistant (PDA), and the like having an input means.
路由器,是连接因特网中各局域网、广域网的设备,它会根据信道的情 况自动选择和设定路由,以最佳路径,按前后顺序发送信号。A router is a device that connects to various LANs and WANs in the Internet. It will be based on the channel. Automatically select and set the route, in the best path, send signals in order.
智能终端设备、移动终端、待接入智能终端和路由器通过无线网络进行连接。在一种可能的实施方式中,智能终端设备、移动终端、待接入智能终端和路由器之间通过Wi-Fi进行连接。The intelligent terminal device, the mobile terminal, the intelligent terminal to be accessed, and the router are connected through a wireless network. In a possible implementation manner, the smart terminal device, the mobile terminal, the smart terminal to be accessed, and the router are connected by Wi-Fi.
如图1所示,本发明第一实施例提出一种智能终端设备接入互联网的方法,用于已接入互联网的智能终端设备,该方法包括步骤:As shown in FIG. 1 , a first embodiment of the present invention provides a method for an intelligent terminal device to access an Internet, which is used for an intelligent terminal device that has access to the Internet. The method includes the following steps:
S1:接收移动终端发送的启动无线连接模式指令信息;S1: receiving the startup wireless connection mode command information sent by the mobile terminal;
在本实施例中,移动终端包括但不限于智能手机、平板电脑、掌上电脑(Personal Digital Assistant,PDA)等等。In this embodiment, the mobile terminal includes but is not limited to a smart phone, a tablet computer, a personal digital assistant (PDA), and the like.
在本实施例中,已接入互联网的智能终端设备与移动终端之间可以通过外网,例如:第三代移动通信技术(3rd-Generation,3G)、第四代移动通信技术(the 4th Generation mobile communication,4G)或者WiFi,进行通信。In this embodiment, the smart terminal device that has access to the Internet and the mobile terminal can pass through an external network, for example, third-generation mobile communication technology (3rd-Generation, 3G), fourth-generation mobile communication technology (the 4th Generation) Mobile communication, 4G) or WiFi, for communication.
在本实施例中,无线连接模式包括软无线访问接入点模式、蓝牙模式、红外模式、WiFi模式等等,本实施例对此不作限定。已接入互联网的智能终端设备可通过开启无线连接模式与手机和待接入智能终端设备建立无线连接进行数据传输。待接入智能终端设备也可通过开启无线连接模式与手机和已计入互联网的智能终端设备建立无线连接,从而进行数据传输。In this embodiment, the wireless connection mode includes a soft wireless access point mode, a Bluetooth mode, an infrared mode, a WiFi mode, and the like, which is not limited in this embodiment. The smart terminal device that has access to the Internet can establish a wireless connection with the mobile phone and the intelligent terminal device to be accessed for data transmission by turning on the wireless connection mode. The smart terminal device to be accessed can also establish a wireless connection with the mobile phone and the intelligent terminal device that has been counted in the Internet by turning on the wireless connection mode, thereby performing data transmission.
S2:断开路由器连接,并启动无线连接模式;S2: disconnect the router and start the wireless connection mode;
在本实施例中,已接入互联网的智能终端设备接收到移动终端发送的指令信息之后,根据该指令信息断开路由器连接,并启动无线连接模式。In this embodiment, after receiving the instruction information sent by the mobile terminal, the smart terminal device that has accessed the Internet disconnects the router according to the instruction information, and starts the wireless connection mode.
进一步的,在本实施例中,该步骤之前还可包括步骤S2.0:接收移动终端发送的待接入智能终端设备的数量信息;Further, in this embodiment, the step may further include the step S2.0: receiving the quantity information of the smart terminal device to be accessed sent by the mobile terminal;
进一步的,在本实施例中,该步骤之后还可包括步骤S2.1:启动计时器 t0开始计时;Further, in this embodiment, the step may further include step S2.1: starting the timer T0 starts timing;
计时器t0用于计时已接入互联网的智能终端设备持续启动无线连接模式的时间。The timer t0 is used to count the time when the smart terminal device that has access to the Internet continuously activates the wireless connection mode.
S3:通过无线连接模式,与待接入智能终端设备建立无线网络连接;S3: establishing a wireless network connection with the smart terminal device to be accessed through the wireless connection mode;
在本实施例中,当已接入互联网的智能终端设备启动无线连接模式时,待接入智能终端设备可通过软无线访问接入点的热点名称与已接入互联网的智能终端设备建立无线网络连接。In this embodiment, when the smart terminal device that has accessed the Internet initiates the wireless connection mode, the smart terminal device to be accessed can establish a wireless network through the hot spot name of the soft wireless access access point and the smart terminal device that has accessed the Internet. connection.
S4:将路由器的服务集标识和密码,发送给所述待接入智能终端设备;S4: Send the service set identifier and password of the router to the to-be-accessed smart terminal device;
在本实施例中,待接入智能终端设备的数量不限定为一个,可以为多个。In this embodiment, the number of the smart terminal devices to be accessed is not limited to one, and may be multiple.
在本实施例中,已接入互联网的智能终端设备与待接入智能终端设备建立无线网络连接之后,即可通过该无线网络将路由器的服务集标识和密码,发送给待接入智能终端设备。待接入智能终端设备可通过获取的路由器的服务集标识和密码,连接到路由器。In this embodiment, after the smart terminal device that has accessed the Internet establishes a wireless network connection with the smart terminal device to be accessed, the service set identifier and password of the router can be sent to the smart terminal device to be accessed through the wireless network. . The smart terminal device to be connected can connect to the router through the obtained service set identifier and password of the router.
进一步的,在本实施例中,该步骤之后包括步骤:Further, in this embodiment, the step includes the following steps:
S4.1:若计时器t0计时时间为预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中,预定数量小于待接入智能终端设备的数量,则执行步骤S5;或者,S4.1: If the timer t0 is the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the smart terminal device to be accessed. Quantity, proceed to step S5; or,
若计时器t0计时时间为预设时间T或者计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给所有待接入智能终端设备,则执行步骤S5;或者,If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and step S5 is performed; or
若计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则执行步骤S4。 If the timer t0 is less than the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed, then the steps are performed. S4.
S5:关闭无线连接模式,并重新连接到路由器。S5: Turn off the wireless connection mode and reconnect to the router.
在本实施例中,若待接入智能终端设备已获取到路由器的服务集标识和密码,连接到路由器,已接入互联网的智能终端设备即可关闭无线连接模式,并重新连接到路由器。In this embodiment, if the smart terminal device to be accessed has obtained the service set identifier and password of the router, and connected to the router, the smart terminal device that has accessed the Internet can turn off the wireless connection mode and reconnect to the router.
本发明实施例提供的智能终端设备接入互联网的方法,通过接收移动终端发送的指令信息,启动无线连接模式,并将路由器的服务集标识和密码,发送给待接入智能终端设备,从而实现了待接入智能终端设备接入互联网。解决了现有技术方案中,只能在局域网内完成,无法实现远程接入互联网的问题,使得待接入智能终端设备接入互联网的过程安全、稳定、高效,并且简化了用户的安装操作步骤。The method for accessing the Internet by the smart terminal device provided by the embodiment of the present invention, by receiving the instruction information sent by the mobile terminal, starting the wireless connection mode, and transmitting the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet. The solution of the prior art solution can only be completed in the local area network, and the problem of remote access to the Internet cannot be realized, so that the process of accessing the smart terminal device to access the Internet is safe, stable, and efficient, and the installation steps of the user are simplified. .
如图2所示,本发明第二实施例提出一种智能终端设备接入互联网的装置,用于已接入互联网的智能终端设备,该装置10包括:第一接收模块11、启动模块12、建立模块13、发送模块14及关闭处理模块15;As shown in FIG. 2, a second embodiment of the present invention provides an apparatus for accessing the Internet by an intelligent terminal device, which is used for an intelligent terminal device that has access to the Internet. The device 10 includes: a first receiving module 11 and a startup module 12, Establishing module 13, sending module 14 and closing processing module 15;
第一接收模块11,用于接收移动终端发送的启动无线连接模式指令信息;The first receiving module 11 is configured to receive the startup wireless connection mode command information sent by the mobile terminal;
启动模块12,用于根据第一接收模块11接收到的指令信息,断开路由器连接,并启动无线连接模式;The startup module 12 is configured to disconnect the router according to the instruction information received by the first receiving module 11, and initiate a wireless connection mode;
建立模块13,用于通过启动模块12启动的无线连接模式,与待接入智能终端设备建立无线网络连接;The establishing module 13 is configured to establish a wireless network connection with the smart terminal device to be accessed by using the wireless connection mode initiated by the startup module 12;
发送模块14,用于将路由器的服务集标识和密码,发送给所述待接入智能终端设备;The sending module 14 is configured to send the service set identifier and password of the router to the smart terminal device to be accessed;
关闭处理模块15,用于关闭无线连接模式,并重新连接到路由器。The processing module 15 is turned off to turn off the wireless connection mode and reconnect to the router.
请参考图3所示,在本实施例中,装置10还可包括第二接收模块18、计时器启动模块16、选择处理模块17; Referring to FIG. 3, in this embodiment, the device 10 may further include a second receiving module 18, a timer starting module 16, and a selection processing module 17;
第二接收模块18,用于接收移动终端发送的待接入智能终端设备的数量信息;The second receiving module 18 is configured to receive, by the mobile terminal, quantity information of the smart terminal device to be accessed;
计时器启动模块16,用于当启动模块12启动无线连接模式时,启动计时器t0开始计时;The timer starting module 16 is configured to start the timer t0 to start timing when the startup module 12 starts the wireless connection mode;
选择处理模块17,用于若计时器t0计时时间为预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则生成使能信号给关闭处理模块15;或者,The processing module 17 is configured to: if the timer t0 is timed to be the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the smart terminal to be accessed. The number of devices generates an enable signal to the shutdown processing module 15; or,
若计时器t0计时时间为预设时间T或者计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给所有待接入智能终端设备,则生成使能信号给关闭处理模块15;或者,If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and an enable signal is generated to be turned off. Processing module 15; or,
若计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中,预定数量小于待接入智能终端设备的数量,则生成使能信号给发送模块14。If the timer t0 is less than the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed, The enable signal is sent to the transmitting module 14.
本发明实施例提供的智能终端设备接入互联网的装置,通过接收移动终端发送的指令信息,启动无线连接模式,并将路由器的服务集标识和密码,发送给待接入智能终端设备,从而实现了待接入智能终端设备接入互联网。解决了现有技术方案中,只能在局域网内完成,无法实现远程接入互联网的问题。待接入智能终端设备接入互联网过程安全、稳定、高效,并且简化了用户的安装操作步骤。The device for accessing the Internet by the smart terminal device according to the embodiment of the present invention starts the wireless connection mode by receiving the instruction information sent by the mobile terminal, and sends the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet. The solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized. The process of accessing the Internet by the smart terminal device to be accessed is safe, stable, and efficient, and simplifies the installation steps of the user.
参照图4,图4为本发明第三实施例提出的一种智能终端设备接入互联网的方法,用于待接入智能终端设备,该方法包括步骤:Referring to FIG. 4, FIG. 4 is a method for accessing an Internet by an intelligent terminal device according to a third embodiment of the present invention, which is used to access a smart terminal device, and the method includes the following steps:
S10:通过已接入互联网的智能终端设备的无线连接模式,与已接入互联 网的智能终端设备建立无线网络连接;其中,所述已接入互联网的智能终端设备接收移动终端发送的启动无线连接模式指令信息,断开路由器连接,并启动无线连接模式;S10: Connected to the connected network through the wireless connection mode of the smart terminal device that has access to the Internet The smart terminal device of the network establishes a wireless network connection; wherein the smart terminal device that has accessed the Internet receives the start wireless connection mode command information sent by the mobile terminal, disconnects the router, and starts the wireless connection mode;
在本实施例中,移动终端包括但不限于智能手机、平板电脑、PDA等等。In this embodiment, the mobile terminal includes, but is not limited to, a smartphone, a tablet, a PDA, and the like.
在本实施例中,已接入互联网的智能终端设备与移动终端之间可以通过外网,例如:3G、4G或者wifi,进行通信。In this embodiment, the smart terminal device that has access to the Internet and the mobile terminal can communicate via an external network, such as 3G, 4G, or wifi.
在本实施例中,已接入互联网的智能终端设备接收到移动终端发送的指令信息之后,根据该指令信息断开路由器连接,并启动无线连接模式。In this embodiment, after receiving the instruction information sent by the mobile terminal, the smart terminal device that has accessed the Internet disconnects the router according to the instruction information, and starts the wireless connection mode.
S20:接收已接入互联网的智能终端设备发送的路由器的服务集标识和密码;S20: Receive a service set identifier and a password of a router sent by an intelligent terminal device that has access to the Internet;
请参考图5所示,在本实施例中,该步骤之后还可包括步骤:Referring to FIG. 5, in this embodiment, the step may further include the following steps:
S21:确认是否接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码;若接收到,则执行步骤S30;否则执行步骤S22;S21: Confirm whether the service set identifier and password of the router sent by the smart terminal device that has access to the Internet are received; if yes, go to step S30; otherwise, go to step S22;
在本实施例中,待接入设备上电后,开始扫描出厂默认的软AP热点(即已接入互联网的智能终端设备在AP模式释放出来的软AP热点),扫描次数可由用户自行进行设置。在一种可能的实施方式中,当在预定次数内扫描不到出厂默认的软AP热点(即已接入互联网的智能终端设备在AP模式释放出来的软AP热点)时,执行步骤22。在另一种可能的方式中,即使待接入设备扫描到出厂默认的软AP热点,也可能接收不到路由器的服务集标识和密码。若未接收到,则执行步骤S22。In this embodiment, after the device to be accessed is powered on, the device automatically scans the default soft AP hotspot (that is, the soft AP hotspot that the smart terminal device that has accessed the Internet is released in the AP mode), and the number of scans can be set by the user. . In a possible implementation manner, when the factory default soft AP hotspot (that is, the soft AP hotspot that the Internet-connected smart terminal device is released in the AP mode) is not scanned within a predetermined number of times, step 22 is performed. In another possible manner, the service set identifier and password of the router may not be received even if the device to be accessed scans to the factory default soft AP hotspot. If not, step S22 is performed.
S22:启动无线连接模式,并获取路由器的服务集标识和密码;S22: Start a wireless connection mode, and obtain a service set identifier and password of the router;
在本实施例中,待接入智能终端设备上电后扫描软AP热点(即已接入互联网的智能终端设备在AP模式释放出来的软AP热点)时可能出现无法扫描 到的情况,以及即使待接入智能终端设备扫描到已接入互联网的智能终端设备在AP模式释放出来的软AP热点也有可能无法解析路由器的服务集标识和密码,在此情况下,待接入智能终端设备启动无线连接模式,与移动终端或者已接入智能终端设备建立无线连接,以获取移动终端或者已接入智能终端设备发送的服务集标识和密码。In this embodiment, the scanning of the soft AP hotspot after the smart terminal device is powered on (that is, the soft AP hotspot that is released when the smart terminal device connected to the Internet is released in the AP mode) may not be scanned. In the case of the arrival, and even if the smart terminal device that is to be accessed by the smart terminal device scans the soft AP hotspot released by the AP in the AP mode, the service set identifier and password of the router may not be resolved. In this case, the connection is pending. The smart terminal device initiates the wireless connection mode, establishes a wireless connection with the mobile terminal or the connected smart terminal device, to obtain the service set identifier and password sent by the mobile terminal or the accessed smart terminal device.
S23:判断在预设时间t内,是否获取到路由器的服务集标识和密码;若获取到,则执行步骤S30;否则关闭无线连接模式并执行步骤S10。S23: Determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, execute step S30; otherwise, turn off the wireless connection mode and perform step S10.
在本实施例中,若待接入智能终端设备没有接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码,则切换工作模式为无线连接模式,这样可使得待接入智能终端设备在无线连接模式或者非无线连接模式(Station模式)都可以获取到路由器的服务集标识和密码,连接到路由器。In this embodiment, if the to-be-accessed smart terminal device does not receive the service set identifier and password of the router sent by the smart terminal device that has accessed the Internet, the switching mode is the wireless connection mode, so that the smart to be accessed is enabled. The terminal device can obtain the service set identifier and password of the router in the wireless connection mode or the non-wireless connection mode (Station mode), and is connected to the router.
S30:根据接收到的路由器的服务集标识和密码,连接到路由器。S30: Connect to the router according to the service set identifier and password of the received router.
如图6所示,在本实施例中,该步骤具体包括:As shown in FIG. 6, in this embodiment, the step specifically includes:
S31:启动WPA_Supplicant进程;S31: Start the WPA_Supplicant process;
S32:根据接收到的路由器的服务集标识和密码,与路由器进行连接;S32: Connect to the router according to the service set identifier and password of the received router;
S33:获取路由器动态分配的IP地址。S33: Obtain an IP address dynamically assigned by the router.
需要说明的是,在本实施例中,待接入智能终端设备的数量不限定为一个,可以为多个。It should be noted that, in this embodiment, the number of the smart terminal devices to be accessed is not limited to one, and may be multiple.
本发明实施例提供的智能终端设备接入互联网的方法,通过接收移动终端发送的指令信息,启动无线连接模式,并将路由器的服务集标识和密码,发送给待接入智能终端设备,从而实现了待接入智能终端设备接入互联网。解决了现有技术方案中,只能在局域网内完成,无法实现远程接入互联网的问题。待接入智能终端设备接入互联网过程安全、稳定、高效,并且简化了 用户的安装操作步骤。The method for accessing the Internet by the smart terminal device provided by the embodiment of the present invention, by receiving the instruction information sent by the mobile terminal, starting the wireless connection mode, and transmitting the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet. The solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized. The process of accessing the smart terminal device to access the Internet is safe, stable, efficient, and simplified. User installation steps.
参照图7,图7为本发明第四实施例提出的一种智能终端设备接入互联网的装置,用于待接入智能终端设备,装置100包括:网络建立模块101、接收模块102及连接处理模块103;Referring to FIG. 7, FIG. 7 is a device for accessing an Internet of an intelligent terminal device according to a fourth embodiment of the present invention, which is used to access an intelligent terminal device, and the device 100 includes: a network establishing module 101, a receiving module 102, and a connection processing. Module 103;
网络建立模块101,用于通过已接入互联网的智能终端设备的无线连接模式,与已接入互联网的智能终端设备建立无线网络连接;其中所述已接入互联网的智能终端设备接收移动终端发送的启动无线连接模式指令信息,断开路由器连接,并启动无线连接模式;The network establishing module 101 is configured to establish a wireless network connection with the smart terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the mobile terminal to send Start the wireless connection mode command information, disconnect the router, and start the wireless connection mode;
接收模块102,用于接收已接入互联网的智能终端设备发送的路由器的服务集标识和密码;The receiving module 102 is configured to receive a service set identifier and a password of a router that is sent by the smart terminal device that has accessed the Internet;
连接处理模块103,用于根据接收模块102接收到的路由器的服务集标识和密码,连接到路由器。The connection processing module 103 is configured to connect to the router according to the service set identifier and password of the router received by the receiving module 102.
请参考图8所示,在本实施例中,装置100还可包括确认模块104、启动处理模块105及判断模块106;Please refer to FIG. 8 , in this embodiment, the apparatus 100 may further include a confirmation module 104, a startup processing module 105, and a determination module 106;
确认模块104,用于确认是否接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码;若接收到,则生成使能信号给连接处理模块103;否则生成使能信号给启动处理模块105;The confirmation module 104 is configured to confirm whether the service set identifier and password of the router sent by the smart terminal device that has accessed the Internet are received; if received, generate an enable signal to the connection processing module 103; otherwise, generate an enable signal to start Processing module 105;
在本实施例中,待接入设备上电后,开始扫描出厂默认的软AP热点(即已接入互联网的智能终端设备在AP模式释放出来的软AP热点),扫描次数可由用户自行进行设置。In this embodiment, after the device to be accessed is powered on, the device automatically scans the default soft AP hotspot (that is, the soft AP hotspot that the smart terminal device that has accessed the Internet is released in the AP mode), and the number of scans can be set by the user. .
启动处理模块105,用于启动无线连接模式;Initiating a processing module 105, configured to initiate a wireless connection mode;
判断模块106,用于判断在预设时间t内,是否获取到路由器的服务集标识和密码;若获取到,则生成使能信号给连接处理模块103;否则关闭无线连 接模式并生成使能信号给网络建立模块101。The determining module 106 is configured to determine whether the service set identifier and the password of the router are obtained within the preset time t; if yes, generate an enable signal to the connection processing module 103; otherwise, the wireless connection is closed. The mode is connected and an enable signal is generated to the network establishment module 101.
请参考图9所示,在本实施例中,连接处理模块103包括启动单元1031、连接单元1032及获取单元1033;Please refer to FIG. 9, in this embodiment, the connection processing module 103 includes a boot unit 1031, a connection unit 1032, and an acquisition unit 1033;
启动单元1031,用于启动WPA_Supplicant进程;a starting unit 1031, configured to start a WPA_Supplicant process;
连接单元1032,用于根据接收到的路由器的服务集标识和密码,与路由器进行连接;The connecting unit 1032 is configured to connect to the router according to the service set identifier and password of the received router.
获取单元1033,用于获取路由器动态分配的IP地址。The obtaining unit 1033 is configured to obtain an IP address dynamically allocated by the router.
本发明实施例提供的智能终端设备接入互联网的装置,通过接收移动终端发送的指令信息,启动无线连接模式,并将路由器的服务集标识和密码,发送给待接入智能终端设备,从而实现了待接入智能终端设备接入互联网。解决了现有技术方案中,只能在局域网内完成,无法实现远程接入互联网的问题。待接入智能终端设备接入互联网过程安全、稳定、高效,并且简化了用户的安装操作步骤。The device for accessing the Internet by the smart terminal device according to the embodiment of the present invention starts the wireless connection mode by receiving the instruction information sent by the mobile terminal, and sends the service set identifier and password of the router to the intelligent terminal device to be accessed, thereby realizing The smart terminal device to be accessed is connected to the Internet. The solution to the prior art solution can only be completed in a local area network, and the problem of remote access to the Internet cannot be realized. The process of accessing the Internet by the smart terminal device to be accessed is safe, stable, and efficient, and simplifies the installation steps of the user.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the present invention and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (10)

  1. 一种智能终端设备接入互联网的方法,用于已接入互联网的智能终端设备,其特征在于,所述方法包括步骤:A method for accessing an Internet by an intelligent terminal device for an intelligent terminal device that has access to the Internet, characterized in that the method comprises the steps of:
    S1:接收移动终端发送的启动无线连接模式指令信息;S1: receiving the startup wireless connection mode command information sent by the mobile terminal;
    S2:断开路由器连接,并启动无线连接模式;S2: disconnect the router and start the wireless connection mode;
    S3:通过无线连接模式,与待接入智能终端设备建立无线网络连接;S3: establishing a wireless network connection with the smart terminal device to be accessed through the wireless connection mode;
    S4:将路由器的服务集标识和密码,发送给所述待接入智能终端设备;S4: Send the service set identifier and password of the router to the to-be-accessed smart terminal device;
    S5:关闭无线连接模式,并重新连接到路由器。S5: Turn off the wireless connection mode and reconnect to the router.
  2. 根据权利要求1所述的一种智能终端设备接入互联网的方法,其特征在于,The method for accessing the Internet by an intelligent terminal device according to claim 1, wherein
    所述步骤S2之前包括步骤S2.0:接收移动终端发送的待接入智能终端设备的数量信息;The step S2 includes the step S2: receiving the quantity information of the smart terminal device to be accessed sent by the mobile terminal;
    所述步骤S2之后包括步骤S2.1:启动计时器t0开始计时;Step S2 is followed by step S2.1: starting timer t0 to start timing;
    所述步骤S4之后包括步骤:After the step S4, the steps are included:
    S4.1:若计时器t0计时时间为预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则执行步骤S5;或者,S4.1: If the timer t0 is set to the preset time T, the service set identifier and the password of the router are sent to the predetermined number of the smart terminal devices to be accessed, where the predetermined number is smaller than the number of the smart terminal devices to be accessed. Go to step S5; or,
    若计时器t0计时时间为预设时间T或者计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给所有待接入智能终端设备,则执行步骤S5;或者,If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and step S5 is performed; or
    若计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终 端设备的数量,则执行步骤S4。If the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to a predetermined number of intelligent terminal devices to be accessed, where the predetermined number is less than the smart terminal to be accessed. For the number of end devices, step S4 is performed.
  3. 一种智能终端设备接入互联网的装置,用于已接入互联网的智能终端设备,其特征在于,所述装置包括:第一接收模块、启动模块、建立模块、发送模块及关闭处理模块;The device for accessing the Internet by the smart terminal device is used for the smart terminal device that has access to the Internet, and the device includes: a first receiving module, a starting module, an establishing module, a sending module, and a closing processing module;
    所述第一接收模块,用于接收移动终端发送的启动无线连接模式指令信息;The first receiving module is configured to receive the startup wireless connection mode command information sent by the mobile terminal;
    所述启动模块,用于根据所述第一接收模块接收到的指令信息,断开路由器连接,并启动无线连接模式;The startup module is configured to disconnect the router according to the instruction information received by the first receiving module, and initiate a wireless connection mode;
    所述建立模块,用于通过所述启动模块启动的无线连接模式,与待接入智能终端设备建立无线网络连接;The establishing module is configured to establish a wireless network connection with the smart terminal device to be accessed by using a wireless connection mode initiated by the startup module;
    所述发送模块,用于将路由器的服务集标识和密码,发送给所述待接入智能终端设备;The sending module is configured to send a service set identifier and a password of the router to the to-be-accessed smart terminal device;
    所述关闭处理模块,用于关闭无线连接模式,并重新连接到路由器。The shutdown processing module is configured to turn off the wireless connection mode and reconnect to the router.
  4. 根据权利要求3所述的一种智能终端设备接入互联网的装置,其特征在于,所述装置还包括第二接收模块、计时器启动模块、选择处理模块;The device for accessing the Internet by the smart terminal device according to claim 3, wherein the device further comprises a second receiving module, a timer starting module, and a selection processing module;
    所述第二接收模块,用于接收移动终端发送的待接入智能终端设备的数量信息;The second receiving module is configured to receive quantity information of the smart terminal device to be accessed sent by the mobile terminal;
    所述计时器启动模块,用于当所述启动模块启动无线连接模式时,启动计时器t0开始计时;The timer starting module is configured to start a timer t0 to start timing when the startup module starts the wireless connection mode;
    所述选择处理模块,用于若计时器t0计时时间为预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则生成使能信号给所述关闭处理模块;或者 The selection processing module is configured to send the service set identifier and password of the router to a predetermined number of intelligent terminal devices to be accessed if the timer t0 is a preset time T, wherein the predetermined number is less than the to-be-accessed smart The number of terminal devices generates an enable signal to the shutdown processing module; or
    若计时器t0计时时间为预设时间T或者计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给所有待接入智能终端设备,则生成使能信号给所述关闭处理模块;或者If the timer t0 is the preset time T or the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to all the smart terminal devices to be accessed, and an enable signal is generated. Describe the processing module; or
    若计时器t0计时时间小于预设时间T时,已将路由器的服务集标识和密码发送给预定数量的待接入智能终端设备,其中预定数量小于待接入智能终端设备的数量,则生成使能信号给所述发送模块。If the timer t0 is less than the preset time T, the service set identifier and password of the router are sent to a predetermined number of intelligent terminal devices to be accessed, wherein the predetermined number is smaller than the number of the smart terminal devices to be accessed, The signal can be signaled to the transmitting module.
  5. 一种智能终端设备接入互联网的方法,用于待接入智能终端设备,其特征在于,所述方法包括步骤:A method for accessing an Internet by an intelligent terminal device, which is used for a smart terminal device to be accessed, wherein the method includes the following steps:
    S10:通过已接入互联网的智能终端设备的无线连接模式,与已接入互联网的智能终端设备建立无线网络连接;其中所述已接入互联网的智能终端设备接收移动终端发送的启动无线连接模式指令信息,断开路由器连接,并启动无线连接模式;S10: Establish a wireless network connection with the smart terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the startup wireless connection mode sent by the mobile terminal Command information, disconnect the router, and initiate the wireless connection mode;
    S20:接收已接入互联网的智能终端设备发送的路由器的服务集标识和密码;S20: Receive a service set identifier and a password of a router sent by an intelligent terminal device that has access to the Internet;
    S30:根据接收到的路由器的服务集标识和密码,连接到路由器。S30: Connect to the router according to the service set identifier and password of the received router.
  6. 根据权利要求5所述的一种智能终端设备接入互联网的方法,其特征在于,所述步骤S20之后还包括步骤:The method for accessing the Internet by the smart terminal device according to claim 5, wherein the step S20 further comprises the following steps:
    S21:确认是否接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码;若接收到,则执行步骤S30;否则执行步骤S22;S21: Confirm whether the service set identifier and password of the router sent by the smart terminal device that has access to the Internet are received; if yes, go to step S30; otherwise, go to step S22;
    S22:启动无线连接模式,并获取路由器的服务集标识和密码;S22: Start a wireless connection mode, and obtain a service set identifier and password of the router;
    S23:判断在预设时间t内,是否获取到路由器的服务集标识和密码;若获取到,则执行步骤S30;否则关闭无线连接模式并执行步骤S10。S23: Determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, execute step S30; otherwise, turn off the wireless connection mode and perform step S10.
  7. 根据权利要求5或6所述的一种智能终端设备接入互联网的方法,其 特征在于,所述步骤S30包括:A method for accessing the Internet by an intelligent terminal device according to claim 5 or 6, The feature is that the step S30 includes:
    S31:启动WPA_Supplicant进程;S31: Start the WPA_Supplicant process;
    S32:根据接收到的路由器的服务集标识和密码,与路由器进行连接;S32: Connect to the router according to the service set identifier and password of the received router;
    S33:获取路由器动态分配的IP地址,并接入互联网。S33: Obtain the dynamically assigned IP address of the router and access the Internet.
  8. 一种智能终端设备接入互联网的装置,用于待接入智能终端设备,其特征在于,所述装置包括:网络建立模块、接收模块及连接处理模块;An apparatus for accessing an Internet by an intelligent terminal device, configured to be used for accessing an intelligent terminal device, wherein the device comprises: a network establishment module, a receiving module, and a connection processing module;
    所述网络建立模块,用于通过已接入互联网的智能终端设备的无线连接模式,与已接入互联网的智能终端设备建立无线网络连接;其中所述已接入互联网的智能终端设备接收移动终端发送的启动无线连接模式指令信息,断开路由器连接,并启动无线连接模式;The network establishing module is configured to establish a wireless network connection with an intelligent terminal device that has access to the Internet through a wireless connection mode of the smart terminal device that has access to the Internet; wherein the smart terminal device that has accessed the Internet receives the mobile terminal Send the start wireless connection mode command information, disconnect the router, and start the wireless connection mode;
    所述接收模块,用于接收已接入互联网的智能终端设备发送的路由器的服务集标识和密码;The receiving module is configured to receive a service set identifier and a password of a router that is sent by an intelligent terminal device that has accessed the Internet;
    所述连接处理模块,用于根据所述接收模块接收到的路由器的服务集标识和密码,连接到路由器。The connection processing module is configured to connect to the router according to the service set identifier and password of the router received by the receiving module.
  9. 根据权利要求8所述的一种智能终端设备接入互联网的装置,其特征在于,所述装置还包括确认模块、启动处理模块及判断模块;The device for accessing the Internet by the smart terminal device according to claim 8, wherein the device further comprises a confirmation module, a startup processing module and a determination module;
    所述确认模块,用于确认是否接收到已接入互联网的智能终端设备发送的路由器的服务集标识和密码;若接收到,则生成使能信号给所述连接处理模块;否则生成使能信号给所述启动处理模块;The confirmation module is configured to confirm whether a service set identifier and a password of the router sent by the smart terminal device that has accessed the Internet are received; if received, generate an enable signal to the connection processing module; otherwise, generate an enable signal Giving the startup processing module;
    所述启动处理模块,用于启动无线连接模式,并获取路由器的服务集标识和密码;The startup processing module is configured to start a wireless connection mode, and obtain a service set identifier and a password of the router;
    所述判断模块,用于判断在预设时间t内,是否获取到路由器的服务集标识和密码;若获取到,则生成使能信号给所述连接处理模块;否则关闭无线 连接模式并生成使能信号给所述网络建立模块。The determining module is configured to determine whether the service set identifier and password of the router are obtained within the preset time t; if yes, generate an enable signal to the connection processing module; otherwise, turn off the wireless The mode is connected and an enable signal is generated to the network setup module.
  10. 根据权利要求8或9所述的一种智能终端设备接入互联网的装置,其特征在于,所述连接处理模块包括启动单元、连接单元及获取单元;The device for accessing the Internet by the smart terminal device according to claim 8 or 9, wherein the connection processing module comprises a startup unit, a connection unit, and an acquisition unit;
    所述启动单元,用于启动WPA_Supplicant进程;The startup unit is configured to start a WPA_Supplicant process;
    所述连接单元,用于根据接收到的路由器的服务集标识和密码,与路由器进行连接;The connecting unit is configured to connect to the router according to the service set identifier and password of the received router;
    所述获取单元,用于获取路由器动态分配的IP地址,并接入互联网。 The acquiring unit is configured to acquire an IP address dynamically assigned by the router and access the Internet.
PCT/CN2017/109036 2016-11-15 2017-11-02 Method and apparatus for allowing intelligent terminal device to access internet WO2018090829A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611020903.1A CN106358265B (en) 2016-11-15 2016-11-15 Method and device for accessing intelligent terminal equipment to Internet
CN201611020903.1 2016-11-15

Publications (1)

Publication Number Publication Date
WO2018090829A1 true WO2018090829A1 (en) 2018-05-24

Family

ID=57862177

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/109036 WO2018090829A1 (en) 2016-11-15 2017-11-02 Method and apparatus for allowing intelligent terminal device to access internet

Country Status (2)

Country Link
CN (1) CN106358265B (en)
WO (1) WO2018090829A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113735A (en) * 2019-04-17 2019-08-09 广东电网有限责任公司信息中心 A kind of mobile network's safe encryption method based on near-field communication
CN111201832A (en) * 2018-09-18 2020-05-26 松下知识产权经营株式会社 Control method
CN111885218A (en) * 2020-07-22 2020-11-03 海尔优家智能科技(北京)有限公司 Method and device for managing intelligent equipment and binding equipment
CN112929942A (en) * 2021-02-09 2021-06-08 惠州Tcl移动通信有限公司 Intelligent routing method, system, storage medium and terminal equipment
CN114095531A (en) * 2021-10-21 2022-02-25 深圳市有方科技股份有限公司 Cloud management method of smart city Internet of things equipment and Internet of things cloud platform system
CN114286319A (en) * 2021-12-02 2022-04-05 深圳助你科技有限公司 Cloud-based WiFi configuration method and system

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106358265B (en) * 2016-11-15 2020-06-09 贝斯拓欧洲控股有限公司 Method and device for accessing intelligent terminal equipment to Internet
CN106899995B (en) * 2017-03-13 2020-12-22 宇龙计算机通信科技(深圳)有限公司 Data access method and device
CN111756561A (en) * 2019-03-28 2020-10-09 上海寰泰电子有限公司 Clock initialization configuration method and device
CN110784867B (en) * 2019-09-27 2023-04-25 浙江大华技术股份有限公司 Network configuration method, terminal and system
CN111163463B (en) * 2019-12-27 2023-09-19 深圳市宏电技术股份有限公司 Method, device, equipment and storage medium for wireless equipment to access router
CN111565384B (en) * 2020-05-20 2022-12-02 江苏联宏智慧能源股份有限公司 Intelligent home gateway capable of preventing network from being disconnected and implementation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202831A (en) * 2014-08-26 2014-12-10 南京熊猫电子股份有限公司 System and method for connecting devices with wireless AP
CN105101465A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Wireless network configuration method and wireless network configuration system
CN105101464A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Wireless network configuration method and wireless network configuration system
CN105636041A (en) * 2015-12-29 2016-06-01 广东欧珀移动通信有限公司 Networking method and apparatus for intelligent device
CN106358265A (en) * 2016-11-15 2017-01-25 贝斯拓欧洲控股有限公司 Internet access method and device for intelligent terminal equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168625B (en) * 2014-08-20 2018-01-16 普联技术有限公司 Smart machine and its method and wireless routing device for being connected to wireless routing device
CN104812020B (en) * 2015-03-25 2018-10-26 小米科技有限责任公司 Control the method, apparatus and system of smart machine access network
CN104703295A (en) * 2015-03-30 2015-06-10 小米科技有限责任公司 Network access method and network access device
CN104768150B (en) * 2015-03-31 2018-07-03 深圳市江波龙电子有限公司 WiFi equipment connects the method and system of hotspot
CN105451230B (en) * 2015-11-12 2019-03-05 深圳市江波龙科技有限公司 The configuration method and system of internet of things equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104202831A (en) * 2014-08-26 2014-12-10 南京熊猫电子股份有限公司 System and method for connecting devices with wireless AP
CN105101465A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Wireless network configuration method and wireless network configuration system
CN105101464A (en) * 2015-06-30 2015-11-25 广东美的制冷设备有限公司 Wireless network configuration method and wireless network configuration system
CN105636041A (en) * 2015-12-29 2016-06-01 广东欧珀移动通信有限公司 Networking method and apparatus for intelligent device
CN106358265A (en) * 2016-11-15 2017-01-25 贝斯拓欧洲控股有限公司 Internet access method and device for intelligent terminal equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111201832A (en) * 2018-09-18 2020-05-26 松下知识产权经营株式会社 Control method
CN110113735A (en) * 2019-04-17 2019-08-09 广东电网有限责任公司信息中心 A kind of mobile network's safe encryption method based on near-field communication
CN110113735B (en) * 2019-04-17 2023-03-24 广东电网有限责任公司信息中心 Mobile network security encryption method based on near field communication
CN111885218A (en) * 2020-07-22 2020-11-03 海尔优家智能科技(北京)有限公司 Method and device for managing intelligent equipment and binding equipment
CN112929942A (en) * 2021-02-09 2021-06-08 惠州Tcl移动通信有限公司 Intelligent routing method, system, storage medium and terminal equipment
CN112929942B (en) * 2021-02-09 2022-08-30 惠州Tcl移动通信有限公司 Intelligent routing method, system, storage medium and terminal equipment
CN114095531A (en) * 2021-10-21 2022-02-25 深圳市有方科技股份有限公司 Cloud management method of smart city Internet of things equipment and Internet of things cloud platform system
CN114095531B (en) * 2021-10-21 2024-05-14 深圳市有方科技股份有限公司 Cloud management method of intelligent city Internet of things equipment and Internet of things cloud platform system
CN114286319A (en) * 2021-12-02 2022-04-05 深圳助你科技有限公司 Cloud-based WiFi configuration method and system
CN114286319B (en) * 2021-12-02 2023-11-28 深圳助你科技有限公司 WiFi configuration method and system based on cloud

Also Published As

Publication number Publication date
CN106358265B (en) 2020-06-09
CN106358265A (en) 2017-01-25

Similar Documents

Publication Publication Date Title
WO2018090829A1 (en) Method and apparatus for allowing intelligent terminal device to access internet
WO2018090830A1 (en) Method and apparatus allowing smart terminal device to access internet
US10091047B2 (en) Connecting devices to networks
EP3151628B1 (en) Method, device and system for accessing a wireless network
KR102238407B1 (en) Scheme for supportig initial setup of enrollee apparatus and enroller appratus
US20110188657A1 (en) Method for connecting wireless communications, wireless communications terminal and wireless communications system
CN108882337B (en) Method for network configuration
US20160242033A1 (en) Communication service using method and electronic device supporting the same
CN104735813B (en) Internetwork connection establishing method and device
KR20160112560A (en) Method and apparatus for configuring device in a communication system
WO2014029100A1 (en) Wireless local area network device configuration method, corresponding device and system
KR20140144880A (en) Method and apparatus for registering wireless device in wireless communication system
US9510130B2 (en) Provisioning of multiple wireless devices by an access point
JP2001345819A (en) Access point device and method of authentication processing therefor
US8862096B1 (en) Provisioning of multiple wireless devices by an access point
WO2018049823A1 (en) Automatic network distribution method, apparatus and device, and repeater
CN109313679B (en) Challenge-response proximity verification for user devices based on token-to-symbol mapping definition
CN112188488A (en) Network distribution method, device and system
WO2014169641A1 (en) Method and device for establishing convenient wireless connection
US10673611B2 (en) Data transmission method, device, and system
WO2014161277A1 (en) Method and system for connecting portable wlan hotspot
WO2013181941A1 (en) Method and device for accessing internet
KR102214940B1 (en) Method and apparatus for registering wireless device in wireless communication system
CN103582165B (en) Connection method for building up, equipment and system, data transmission method, equipment and system
KR102074760B1 (en) Image display apparatus for conducting auto wireless communication among devices and image displaying method thereof

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 15/10/2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17871426

Country of ref document: EP

Kind code of ref document: A1