WO2020007158A1 - Network access method and apparatus - Google Patents

Network access method and apparatus Download PDF

Info

Publication number
WO2020007158A1
WO2020007158A1 PCT/CN2019/090106 CN2019090106W WO2020007158A1 WO 2020007158 A1 WO2020007158 A1 WO 2020007158A1 CN 2019090106 W CN2019090106 W CN 2019090106W WO 2020007158 A1 WO2020007158 A1 WO 2020007158A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal device
connection request
connection
user
configuration interface
Prior art date
Application number
PCT/CN2019/090106
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 WO2020007158A1 publication Critical patent/WO2020007158A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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

Definitions

  • the embodiments of the present specification relate to the field of Internet application technology, and in particular, to a network access method and device.
  • a user After a user obtains an unconfigured IoT device, he first needs to configure the IoT device to make the device access the wireless network, and then realize the IoT device through the interaction between the user terminal, the IoT device, and the server. Authentication and connection server.
  • the embodiments of the present specification provide a network access method and device.
  • the technical solution is as follows:
  • a network access method is applied to an IoT device.
  • the IoT device supports a terminal STA mode and a wireless access point AP mode.
  • the method includes:
  • the configuration interface includes: detection To the Wi-Fi name and password input area;
  • Obtain network configuration information input through the configuration interface where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
  • a network access device is applied to an IoT device.
  • the IoT device supports a terminal STA mode and a wireless access point AP mode.
  • the device includes:
  • a signal detection module configured to detect a Wi-Fi signal in the STA mode and obtain a name of the detected Wi-Fi
  • An information push module configured to switch to the AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user;
  • the configuration interface contains: the detected Wi-Fi name and password input area;
  • An information acquisition module is configured to obtain network configuration information input through the configuration interface, where the network configuration information includes a Wi-Fi name selected by the user and a password entered by the user to access the Wi-Fi network.
  • the IoT device supports STA (Station, terminal) mode and AP (Access Point, access point) mode.
  • STA Selection, terminal
  • AP Access Point, access point
  • the user Before entering the AP mode for the user's terminal device to connect, first, use STA Mode to search the surrounding Wi-Fi signals, and then, when the terminal device accesses the IoT device, the user can directly select the Wi-Fi name that the IoT device needs to access and enter the password, without requiring the user to connect to the IoT device Manually open the browser and configure the webpage, and manually enter the Wi-Fi name, so that the process of configuring the network for IoT devices is more convenient and enhances the user experience.
  • STA Selection, terminal
  • AP Access Point, access point
  • FIG. 1 is a schematic flowchart of a network access method according to an embodiment of the present specification
  • FIG. 2 is a schematic diagram of an interaction process of a network access method according to an embodiment of the present specification
  • FIG. 3 is a schematic structural diagram of a network access device according to an embodiment of the present specification.
  • FIG. 4 is a schematic structural diagram of a device for configuring a device according to an embodiment of the present specification.
  • This specification provides a network access method applied to IoT devices. By pushing the configuration interface information to the user's terminal device, it simplifies the process of configuring the network for IoT devices and improves the user experience.
  • the IoT device in this manual supports STA (Station, Terminal) mode and AP (Access Point) mode. Among them, STA mode can be used to search for surrounding Wi-Fi signals and access the network.
  • AP mode can be used For establishing a wireless connection with a user's terminal device.
  • the method provided in the embodiment of the present specification may include the following steps:
  • the IoT device first enters the STA mode and detects the surrounding Wi-Fi signals to obtain the name of the surrounding Wi-Fi network, which is generally SSID (Service Set Identifier , Service set identification), so that when a subsequent connection is established with the user ’s terminal device and the user configures the network, the user can be provided with a list of Wi-Fi names so that the user can directly select the Wi-Fi network that the device needs to access. It does not require the user to manually enter the Wi-Fi name, which makes the process of configuring the network for the device more convenient.
  • SSID Service Set Identifier , Service set identification
  • S102 Switch to AP mode and wait for a connection request.
  • a connection request When a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user.
  • the configuration interface includes : Detected Wi-Fi name and password input area;
  • the device After completing the detection of the surrounding Wi-Fi signals in STA mode, it switches to AP mode to send Wi-Fi signals to the outside, so that users can use their terminal devices to access the Wi-Fi network of the device, thereby realizing the device and the terminal
  • the device establishes a wireless connection.
  • the user's terminal device can be a mobile device such as a mobile phone, a tablet computer, or a common terminal device such as a desktop computer. As long as it has the function of connecting to a Wi-Fi network and establishing a wireless connection with the Internet of Things device, The embodiment of the specification does not limit the specific terminal device.
  • the following description uses the user's terminal device as a mobile phone as an example:
  • the user can directly see the Wi-Fi network name of the IoT device in the list of Wi-Fi networks detected by the mobile phone, and further, the general Wi-Fi network connection method can be directly used to select the IoT device's Wi-Fi network and initiate a connection.
  • the Wi-Fi network of the IoT device can also be a network encrypted by WPA / WPA2 and other means, and the name and password of the Wi-Fi network can be set in advance by the manufacturer and provided to the user.
  • the manner of the lower surface of the device is not limited in the embodiments of the present specification. If the Wi-Fi network of the IoT device uses encryption, users will also need to enter a connection authentication password when initiating a connection.
  • a user may load a client corresponding to an IoT device in a mobile phone, such as a smart bracelet, a smart speaker, and the like, which may be matched with a corresponding client for research and development, so that the user can use the IoT device. If the user has a client loaded in the phone, a connection can be initiated through the client.
  • a mobile phone such as a smart bracelet, a smart speaker, and the like
  • the user can view the monitored Wi-Fi network through the client and select the Wi-Fi of the IoT device to initiate the connection in a similar manner as described above; for another example, the client can identify the IoT based on hardware information such as MAC address The Wi-Fi network of the device is presented to the user to choose whether to initiate a connection; for another example, the client recognizes that the Wi-Fi network of the IoT device can automatically initiate a connection; and so on.
  • the specific manner in which the user-side terminal device initiates a connection request to the IoT device is not limited in this specification.
  • the IoT device After the IoT device receives the connection request, in order to ensure that the connection request is indeed initiated by the user in order to configure the network, and not the wrong connection of other terminal devices, before pushing the configuration interface information to the terminal device that initiated the connection request, the IoT device The device can further perform connection authentication.
  • the IoT device may first detect whether the terminal device that initiates the connection request meets the preset connection conditions; if so, execute the pushing of the configuration interface information to the terminal device that initiated the connection request. Step; if not, the connection request may be rejected, or a corresponding prompt may be returned, which is not limited in the embodiment of this specification.
  • the number of times that the terminal device that initiated the connection request initiates a connection request is greater than a preset number of times threshold.
  • the device will not establish a wireless connection with the terminal device. Accordingly, the user side may initiate a connection request through the terminal device again.
  • a terminal device repeatedly initiates connection requests to the IoT device. It can be considered that these connection requests were intentionally and repeatedly initiated by the user for the purpose of configuring the network, rather than connection requests initiated by other terminal devices by mistake. .
  • the connection request sent by the terminal device that initiated the connection request may be detected that the connection request sent by the terminal device that initiated the connection request carries a preset identifier, and / or the sent connection request carries a correct connection authentication password.
  • the IoT device can detect whether the request carries the correct connection authentication password. If the password is incorrect or does not carry the password, it is determined that the preset connection conditions are not met.
  • the request may carry an identifier that can be recognized by the IoT device, thereby determining that the source of the request is the corresponding client.
  • the IoT device may push the connection authentication interface information to the terminal device that initiated the connection request, so that the terminal device presents the connection authentication interface to the user; the connection authentication The interface is used for the purpose of inputting the connection authentication password by the user and / or confirming the establishment of a connection; obtaining the connection authentication information input through the connection authentication interface, and executing the connection to the case where the connection authentication information meets the preset connection conditions
  • the terminal device that initiates the connection request pushes configuration interface information.
  • connection can be further established.
  • the specific process can refer to the related technology, which is not described in this specification.
  • the configuration interface information can be pushed to the terminal device so that the user can directly select the Wi-Fi network and enter the connection password through the configuration page. Push the configuration interface information to the terminal device that initiated the connection request, and specifically make the terminal device present the configuration interface to the user in multiple ways.
  • Captive Portal technology can be used. Captive Portal technology is often used in scenarios such as commercial Wi-Fi connection.
  • the network operator or gateway Before the user's request and present a mandatory login or authentication page (usually through a browser) to the user. This page may require the user to enter authentication information, pay, accept certain terms, or other user authorizations before the user can be authorized to access the Internet.
  • the browser of the terminal device can be invoked to present the configuration interface to the user through the browser page.
  • the browser of the terminal device can be invoked to include the detected Wi-Fi A list of networks, and a page for entering a connection password field.
  • the browser of the terminal device can be called directly, or the browser of the terminal device can be called through the pre-loaded client in the terminal device.
  • the configuration interface may be presented to the user through the client.
  • the IoT device can establish a wireless connection with the user terminal device, it will actively push the configuration interface including the Wi-Fi network list to the user terminal device, so that the user can directly select the Wi-Fi network that the IoT device needs to access without having to manually Enter the Wi-Fi network name to make the network configuration process more convenient.
  • This manual does not limit the specific configuration interface push and presentation methods.
  • the user can enter the network configuration information in the configuration page. If you select a Wi-Fi network that requires IoT devices to access and enter the connection password, the IoT device can obtain the user's input through the configuration page. Network configuration information, so as to achieve the purpose of sending the network configuration information to the IoT device through the wireless connection between the terminal device and the IoT device.
  • the IoT device After the IoT device obtains the network configuration information, it can disconnect the connection with the user terminal device, switch to the STA mode, and access the corresponding Wi-Fi network according to the network configuration information.
  • the specific process can refer to related technologies, and is not repeated here.
  • FIG. 2 is a schematic diagram illustrating an interaction flow between an IoT device, a user terminal device (a mobile phone is taken as an example), and a router to be connected to a Wi-Fi network.
  • the IoT device After the IoT device is connected to the power supply, it first enters the STA mode, searches for surrounding Wi-Fi signals, and obtains a list of surrounding Wi-Fi networks.
  • the IoT device switches to AP mode, and sends out Wi-Fi signals as a hotspot, and the Wi-Fi network has Captive Portal function.
  • the user turns on the WLAN function of the mobile phone and obtains a list of surrounding Wi-Fi networks.
  • the IoT device switches to AP mode, the user can see the name of the IoT device in the list, which is shared by the manufacturer with the network access password. Pre-set and printed on the lower surface of the IoT device.
  • the user chooses to connect to the Wi-Fi network and enters a connection password.
  • the user's mobile phone will send the connection request of the connection password entered by the user to the IoT device.
  • the IoT device After the IoT device receives the connection request, it can respond to the connection request to establish a wireless connection with the user's mobile phone, further push the interface configuration information to the user's mobile phone through the Captive Portal function, and call the browser to make the user's mobile phone pop up Captive
  • the portal page includes a list of surrounding Wi-Fis searched by the aforementioned IoT device in STA mode, and an area for entering a password for accessing the Wi-Fi network.
  • the user uses the Captive Portal page that pops up on the mobile phone to select the Wi-Fi network that the IoT device needs to access from the Wi-Fi list and enter the password for accessing the Wi-Fi network. After completing the input, they can also click " The "OK" button triggers the transmission of network configuration information, and the IoT device can obtain the network configuration information entered by the user through the Captive Portal page, that is, the Wi-Fi network name and password to be accessed.
  • the IoT device After the IoT device obtains the Wi-Fi network name and password that it needs to access, it can disconnect the wireless connection with the user's mobile phone and switch to STA mode to access the Wi-Fi network and complete network access.
  • the user needs to connect to the Wi-Fi hotspot of the IoT device during the entire process of connecting the IoT device to the network, select the Wi-Fi network name that the IoT device needs to access, and enter the connection password Without further action. Therefore, the network access scheme provided in this specification can simplify the operation of the user and improve the user experience.
  • the embodiment of the present specification also provides a network access device, which is applied to an IoT device.
  • the IoT device supports a terminal STA mode and a wireless access point AP mode.
  • the The device may include:
  • a signal detection module 110 configured to detect a Wi-Fi signal in the STA mode, and obtain a name of the detected Wi-Fi;
  • the information pushing module 120 is configured to switch to the AP mode and wait for a connection request, and when receiving the connection request, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user;
  • the configuration interface includes: the detected Wi-Fi name and password input area;
  • the information obtaining module 130 is configured to obtain network configuration information input through the configuration interface, where the network configuration information includes a Wi-Fi name selected by the user and a password entered by the user to access the Wi-Fi network.
  • the information push module 120 before receiving the connection request, is further configured to: before pushing the configuration interface information to the terminal device that initiated the connection request:
  • the preset connection conditions include:
  • the signal strength is greater than the preset strength threshold, the number of connection request initiations is greater than the preset number of thresholds, the sent connection request carries a preset identifier, and / or the sent connection request carries the correct connection authentication password.
  • the signal pushing module 120 before receiving the connection request, is further configured to: before pushing the configuration interface information to the terminal device that initiated the connection request:
  • connection authentication interface is used for: the user to enter a connection authentication password and / or confirm the purpose of establishing a connection
  • connection authentication information input through the connection authentication interface, and performing the step of pushing the configuration interface information to a terminal device that initiates the connection request if the connection authentication information meets a preset connection condition.
  • the information push module 120 pushes configuration interface information to the terminal device that initiated the connection request, and specifically causes the terminal device to present the configuration interface to the user in the following ways:
  • the browser of the terminal device is called by a pre-loaded client in the terminal device to present the configuration interface to the user through the browser page.
  • An embodiment of the present specification further provides a computer device including at least a memory, a processor, and a computer program stored on the memory and executable on the processor.
  • the processor implements the foregoing network access method when the program is executed. .
  • the method includes at least:
  • a network access method is applied to an IoT device.
  • the IoT device supports a terminal STA mode and a wireless access point AP mode.
  • the method includes:
  • the configuration interface includes: detection To the Wi-Fi name and password input area;
  • Obtain network configuration information input through the configuration interface where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
  • FIG. 4 shows a more specific schematic diagram of a hardware structure of a computing device provided by an embodiment of the present specification.
  • the device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050.
  • the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 implement a communication connection within the device through a bus 1050.
  • the processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is used to execute related Program to implement the technical solution provided by the embodiment of the present specification.
  • a general-purpose CPU Central Processing Unit
  • ASIC Application Specific Integrated Circuit
  • the memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, and the like.
  • the memory 1020 may store an operating system and other application programs.
  • related program codes are stored in the memory 1020 and are called and executed by the processor 1010.
  • the input / output interface 1030 is used to connect an input / output module to implement information input and output.
  • the input / output / module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions.
  • the input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc.
  • the output device may include a display, a speaker, a vibrator, and an indicator light.
  • the communication interface 1040 is used to connect a communication module (not shown in the figure) to implement communication interaction between the device and other devices.
  • the communication module can implement communication through a wired method (for example, USB, network cable, etc.), and can also implement communication through a wireless method (for example, mobile network, WIFI, Bluetooth, etc.).
  • the bus 1050 includes a path for transmitting information between various components of the device (for example, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
  • the device may also include necessary for achieving normal operation Other components.
  • the foregoing device may also include only components necessary to implement the solutions of the embodiments of the present specification, and does not necessarily include all the components shown in the drawings.
  • An embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the foregoing network access method is implemented.
  • the method includes at least:
  • a network access method is applied to an IoT device.
  • the IoT device supports a terminal STA mode and a wireless access point AP mode.
  • the method includes:
  • the configuration interface includes: detection To the Wi-Fi name and password input area;
  • Obtain network configuration information input through the configuration interface where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
  • Computer-readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information can be stored by any method or technology.
  • Information may be computer-readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmitting medium may be used to store information that can be accessed by a computing device.
  • computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
  • the embodiments of the present specification can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solution of the embodiments of the present specification may be embodied in the form of a software product that is essentially or contributes to the existing technology.
  • the computer software product may be stored in a storage medium such as ROM / RAM, Magnetic disks, optical disks, and the like include a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or portions of the embodiments of this specification.
  • the system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or a product with a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or a combination of any of these devices.
  • each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments.
  • the device embodiment since it is basically similar to the method embodiment, it is described relatively simply, and the relevant part may refer to the description of the method embodiment.
  • the device embodiments described above are only schematic, and the modules described as separate components may or may not be physically separated. When implementing the solutions of the embodiments of this specification, the functions of each module may be the same. Or multiple software and / or hardware. Some or all of the modules may also be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative efforts.

Landscapes

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

Abstract

Disclosed are a network access method and apparatus. A network access method is applied to an Internet of Things device, and the Internet of Things device supports a terminal STA mode and a wireless Access Point (AP) mode. The method comprises: detecting a WiFi signal in the STA mode, and obtaining the name of the detected WiFi; switching to the AP mode to wait for a connection request, and in the case of receiving the connection request, pushing configuration interface information to a terminal device that initiates the connection request so that the terminal device presents a configuration interface to a user, the configuration interface comprising the name of the detected WiFi and a password input area; obtaining network configuration information inputted by means of the configuration interface, the network configuration information comprising: the name of the WiFi selected by the user, and a password input by the user to access a WiFi network.

Description

一种网络接入方法及装置Network access method and device 技术领域Technical field
本说明书实施例涉及互联网应用技术领域,尤其涉及一种网络接入方法及装置。The embodiments of the present specification relate to the field of Internet application technology, and in particular, to a network access method and device.
背景技术Background technique
随着技术发展,物联网设备的种类和应用场景越来越多。With the development of technology, there are more and more types and application scenarios of IoT devices.
用户在获得未经配置的物联网设备后,首先需要对物联网设备进行网络配置,使设备接入无线网络,而后通过用户终端、物联网设备、及服务端之间的交互,实现物联网设备的认证与连接服务端。After a user obtains an unconfigured IoT device, he first needs to configure the IoT device to make the device access the wireless network, and then realize the IoT device through the interaction between the user terminal, the IoT device, and the server. Authentication and connection server.
基于现有技术,需要更便利的将物联网设备接入网络的方案。Based on the existing technology, there is a need for a more convenient solution for connecting IoT devices to the network.
发明内容Summary of the invention
针对上述技术问题,本说明书实施例提供一种网络接入方法及装置,技术方案如下:In view of the above technical problems, the embodiments of the present specification provide a network access method and device. The technical solution is as follows:
一种网络接入方法,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,该方法包括:A network access method is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. The method includes:
以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;Detect Wi-Fi signals in STA mode and obtain the name of the detected Wi-Fi;
切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;Switch to AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; the configuration interface includes: detection To the Wi-Fi name and password input area;
获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。Obtain network configuration information input through the configuration interface, where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
一种网络接入装置,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,该装置包括:A network access device is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. The device includes:
信号检测模块,用于以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;A signal detection module, configured to detect a Wi-Fi signal in the STA mode and obtain a name of the detected Wi-Fi;
信息推送模块,用于切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;An information push module, configured to switch to the AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; The configuration interface contains: the detected Wi-Fi name and password input area;
信息获取模块,用于获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。An information acquisition module is configured to obtain network configuration information input through the configuration interface, where the network configuration information includes a Wi-Fi name selected by the user and a password entered by the user to access the Wi-Fi network.
本说明书实施例所提供的技术方案,物联网设备支持STA(Station,终端)模式及AP(Access Point,接入点)模式,在进入供用户的终端设备连接的AP模式之前,首先,以STA模式搜索周围的Wi-Fi信号,然后,在终端设备接入本物联网设备时,使用户可以直接选择需要物联网设备接入的Wi-Fi名称并输入密码,而不需要用户在连接物联网设备时手动打开浏览器及配置网页、并手动输入Wi-Fi名称,从而使用户为物联网设备配置网络的过程更加便捷,提升体验感。In the technical solution provided in the embodiments of the present specification, the IoT device supports STA (Station, terminal) mode and AP (Access Point, access point) mode. Before entering the AP mode for the user's terminal device to connect, first, use STA Mode to search the surrounding Wi-Fi signals, and then, when the terminal device accesses the IoT device, the user can directly select the Wi-Fi name that the IoT device needs to access and enter the password, without requiring the user to connect to the IoT device Manually open the browser and configure the webpage, and manually enter the Wi-Fi name, so that the process of configuring the network for IoT devices is more convenient and enhances the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本说明书实施例。It should be understood that the above general description and the following detailed description are merely exemplary and explanatory, and should not limit the embodiments of the present specification.
此外,本说明书实施例中的任一实施例并不需要达到上述的全部效果。In addition, any one of the embodiments in this specification does not need to achieve all the effects described above.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书实施例中记载的一些实施例,对于本领域普通技术人员来讲,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present specification or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some of the embodiments described in the embodiments of this specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings.
图1是本说明书实施例的网络接入方法的流程示意图;FIG. 1 is a schematic flowchart of a network access method according to an embodiment of the present specification;
图2是本说明书实施例的网络接入方法的一种交互流程示意图;FIG. 2 is a schematic diagram of an interaction process of a network access method according to an embodiment of the present specification; FIG.
图3是本说明书实施例的网络接入装置的结构示意图;3 is a schematic structural diagram of a network access device according to an embodiment of the present specification;
图4是用于配置本说明书实施例装置的一种设备的结构示意图。FIG. 4 is a schematic structural diagram of a device for configuring a device according to an embodiment of the present specification.
具体实施方式detailed description
为了使本领域技术人员更好地理解本说明书实施例中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行详细地描述,显然,所描述的实施例仅仅是本说明书的一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员所获得的所有其他实施例,都应当属于保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present specification, the technical solutions in the embodiments of the present specification will be described in detail below with reference to the drawings in the embodiments of the present specification. Obviously, the described implementations The examples are only a part of the embodiments of this specification, but not all the examples. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art should fall within the protection scope.
本说明书提供一种应用于物联网设备的网络接入方法,通过向用户的终端设备推送 配置界面信息的方式,简化用户为物联网设备配置网络的过程,提升用户体验。本说明书中的物联网设备支持STA(Station,终端)模式及AP(Access Point,接入点)模式,其中,STA模式可以用于搜索周围的Wi-Fi信号及接入网络,AP模式可以用于与用户的终端设备建立无线连接。This specification provides a network access method applied to IoT devices. By pushing the configuration interface information to the user's terminal device, it simplifies the process of configuring the network for IoT devices and improves the user experience. The IoT device in this manual supports STA (Station, Terminal) mode and AP (Access Point) mode. Among them, STA mode can be used to search for surrounding Wi-Fi signals and access the network. AP mode can be used For establishing a wireless connection with a user's terminal device.
参见图1所示,本说明书实施例提供的方法可以包括以下步骤:As shown in FIG. 1, the method provided in the embodiment of the present specification may include the following steps:
S101,以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;S101. Detect a Wi-Fi signal in the STA mode and obtain a name of the detected Wi-Fi.
在本说明书实施例提供的物联网设备的网络接入方案中,物联网设备首先进入STA模式,并检测周围的Wi-Fi信号,获得周围Wi-Fi网络的名称,一般为SSID(Service Set Identifier,服务集标识),以便后续与用户的终端设备建立连接、并由用户进行网络配置时,可以向用户提供Wi-Fi名称列表,使用户可以直接选择需要本设备接入的Wi-Fi网络,而不需要用户手动输入Wi-Fi名称,从而可以使用户为本设备配置网络的过程更加便捷。In the network access solution of the IoT device provided by the embodiment of this specification, the IoT device first enters the STA mode and detects the surrounding Wi-Fi signals to obtain the name of the surrounding Wi-Fi network, which is generally SSID (Service Set Identifier , Service set identification), so that when a subsequent connection is established with the user ’s terminal device and the user configures the network, the user can be provided with a list of Wi-Fi names so that the user can directly select the Wi-Fi network that the device needs to access. It does not require the user to manually enter the Wi-Fi name, which makes the process of configuring the network for the device more convenient.
S102,切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;S102. Switch to AP mode and wait for a connection request. When a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user. The configuration interface includes : Detected Wi-Fi name and password input area;
以STA模式完成周围Wi-Fi信号的检测后,则切换为AP模式向外部发出Wi-Fi信号,以便用户可以使用其终端设备接入本设备的Wi-Fi网络,从而实现本设备与该终端设备建立无线连接。After completing the detection of the surrounding Wi-Fi signals in STA mode, it switches to AP mode to send Wi-Fi signals to the outside, so that users can use their terminal devices to access the Wi-Fi network of the device, thereby realizing the device and the terminal The device establishes a wireless connection.
对于用户侧,可以通过多种方式,向进入AP模式的物联网设备发起连接请求。可以理解的是,用户的终端设备可以是手机、平板电脑等移动设备,也可以是台式电脑等常用终端设备,只要具备可以接入Wi-Fi网络从而与物联网设备建立无线连接的功能,本说明书实施例对具体的终端设备不做限定。下面以用户的终端设备为手机为例进行说明:For the user side, there can be multiple ways to initiate a connection request to the IoT device entering the AP mode. It can be understood that the user's terminal device can be a mobile device such as a mobile phone, a tablet computer, or a common terminal device such as a desktop computer. As long as it has the function of connecting to a Wi-Fi network and establishing a wireless connection with the Internet of Things device, The embodiment of the specification does not limit the specific terminal device. The following description uses the user's terminal device as a mobile phone as an example:
例如,用户可以直接在手机检测到的Wi-Fi网络列表中,看到物联网设备的Wi-Fi网络名称,并且进一步地,可以直接采用一般的Wi-Fi网络连接方式,选择物联网设备的Wi-Fi网络并发起连接。此外,物联网设备的Wi-Fi网络还可以是采用WPA/WPA2等手段加密的网络,而Wi-Fi网络的名称和密码均可以由厂商预先设定并向用户提供,提供方式可以为印刷在设备下表面等方式,本说明书实施例对此不做限定。如果物联网设备的Wi-Fi网络采用了加密手段,用户发起连接时还需要输入连接认证密码。For example, the user can directly see the Wi-Fi network name of the IoT device in the list of Wi-Fi networks detected by the mobile phone, and further, the general Wi-Fi network connection method can be directly used to select the IoT device's Wi-Fi network and initiate a connection. In addition, the Wi-Fi network of the IoT device can also be a network encrypted by WPA / WPA2 and other means, and the name and password of the Wi-Fi network can be set in advance by the manufacturer and provided to the user. The manner of the lower surface of the device is not limited in the embodiments of the present specification. If the Wi-Fi network of the IoT device uses encryption, users will also need to enter a connection authentication password when initiating a connection.
又例如,用户可以在手机中装载物联网设备对应的客户端,如智能手环、智能音箱等均可以搭配研发对应的客户端,以便于用户使用物联网设备。如果用户在手机中装载了客户端,则可以通过客户端发起连接。如,用户可以通过客户端查看监测到的Wi-Fi网络,并通过前述类似的方式选择物联网设备的Wi-Fi发起连接;又如,客户端可以根据MAC地址等硬件信息,识别该物联网设备的Wi-Fi网络,呈现给用户选择是否发起连接;又如,客户端识别该物联网设备的Wi-Fi网络可以自动发起连接;等等。As another example, a user may load a client corresponding to an IoT device in a mobile phone, such as a smart bracelet, a smart speaker, and the like, which may be matched with a corresponding client for research and development, so that the user can use the IoT device. If the user has a client loaded in the phone, a connection can be initiated through the client. For example, the user can view the monitored Wi-Fi network through the client and select the Wi-Fi of the IoT device to initiate the connection in a similar manner as described above; for another example, the client can identify the IoT based on hardware information such as MAC address The Wi-Fi network of the device is presented to the user to choose whether to initiate a connection; for another example, the client recognizes that the Wi-Fi network of the IoT device can automatically initiate a connection; and so on.
对于用户侧终端设备向物联网设备发起连接请求的具体方式,本说明书不做限定。The specific manner in which the user-side terminal device initiates a connection request to the IoT device is not limited in this specification.
物联网设备接收到连接请求后,为了确保该连接请求确实由用户为了配置网络而发起的,而非其他终端设备的误连接,在向发起该连接请求的终端设备推送配置界面信息前,物联网设备还可以进一步地进行连接认证。After the IoT device receives the connection request, in order to ensure that the connection request is indeed initiated by the user in order to configure the network, and not the wrong connection of other terminal devices, before pushing the configuration interface information to the terminal device that initiated the connection request, the IoT device The device can further perform connection authentication.
在本说明书实施例中,物联网设备接收到连接请求后,可以首先检测发起该连接请求的终端设备是否符合预设连接条件;若是,则执行向发起该连接请求的终端设备推送配置界面信息的步骤;若否,则可以拒绝该连接请求、或返回相应的提示等,本说明书实施例对此不做限定。In the embodiment of the present specification, after receiving a connection request, the IoT device may first detect whether the terminal device that initiates the connection request meets the preset connection conditions; if so, execute the pushing of the configuration interface information to the terminal device that initiated the connection request. Step; if not, the connection request may be rejected, or a corresponding prompt may be returned, which is not limited in the embodiment of this specification.
例如,可以检测发起该连接请求的终端设备的信号强度大于预设强度阈值,从而确定该终端设备与本设备的距离是否足够近,如属于用户手持手机面对物联网设备进行配置时的距离范围。For example, you can detect that the signal strength of the terminal device that initiated the connection request is greater than a preset strength threshold, so as to determine whether the distance between the terminal device and the device is close enough, such as the distance range when a user holds a mobile phone to configure the IoT device .
又如,可以检测发起该连接请求的终端设备的发起连接请求的次数大于预设次数阈值。如前面所述,如果经检测确定该终端设备不符合预设连接条件,则本设备将不会与该终端设备建立无线连接,对应地,用户侧可能会再次通过该终端设备发起连接请求,当某一终端设备重复多次向本物联网设备发起连接请求,可以认为这些连接请求是由用户出于配置网络的目的,而刻意反复通过该终端设备发起的,而非其他终端设备错误发起的连接请求。As another example, it can be detected that the number of times that the terminal device that initiated the connection request initiates a connection request is greater than a preset number of times threshold. As mentioned above, if it is determined that the terminal device does not meet the preset connection conditions, the device will not establish a wireless connection with the terminal device. Accordingly, the user side may initiate a connection request through the terminal device again. A terminal device repeatedly initiates connection requests to the IoT device. It can be considered that these connection requests were intentionally and repeatedly initiated by the user for the purpose of configuring the network, rather than connection requests initiated by other terminal devices by mistake. .
再例如,可以检测发起该连接请求的终端设备所发送的连接请求中携带预设标识、和/或所发送的连接请求中携带正确的连接认证密码。如前面所述,无论用户是通过手机自身检测到的Wi-Fi列表、客户端提供的Wi-Fi列表或网络、或者其他方式,选择向物联网设备的Wi-Fi网络发起连接,均可以在连接时输入对应的连接认证密码,因此,物联网设备接收到连接请求后,可以检测请求中是否携带正确的连接认证密码,若密码不正确或未携带密码,则确定不符合预设连接条件。此外,如果用户是通过客户端发起的 连接请求,则该请求中可以携带物联网设备可以识别的标识,从而确定该请求的来源为对应客户端。For another example, it may be detected that the connection request sent by the terminal device that initiated the connection request carries a preset identifier, and / or the sent connection request carries a correct connection authentication password. As mentioned above, whether the user chooses to initiate a connection to the Wi-Fi network of the IoT device, whether the user has selected the Wi-Fi list detected by the mobile phone itself, the Wi-Fi list or network provided by the client, or other methods, Enter the corresponding connection authentication password when connecting. Therefore, after receiving the connection request, the IoT device can detect whether the request carries the correct connection authentication password. If the password is incorrect or does not carry the password, it is determined that the preset connection conditions are not met. In addition, if the user initiates a connection request through a client, the request may carry an identifier that can be recognized by the IoT device, thereby determining that the source of the request is the corresponding client.
在本说明书的另一个实施例中,物联网设备接收到连接请求后,可以向发起该连接请求的终端设备推送连接认证界面信息,以使该终端设备向用户呈现连接认证界面;所述连接认证界面用于:供用户输入连接认证密码、和/或确认建立连接的目的;获得通过所述连接认证界面输入的连接认证信息,并在该连接认证信息符合预设连接条件的情况下,执行向发起该连接请求的终端设备推送配置界面信息的步骤。In another embodiment of the present specification, after the IoT device receives the connection request, it may push the connection authentication interface information to the terminal device that initiated the connection request, so that the terminal device presents the connection authentication interface to the user; the connection authentication The interface is used for the purpose of inputting the connection authentication password by the user and / or confirming the establishment of a connection; obtaining the connection authentication information input through the connection authentication interface, and executing the connection to the case where the connection authentication information meets the preset connection conditions The terminal device that initiates the connection request pushes configuration interface information.
如果通过检测确定可以与发起该连接请求的终端设备建立连接,则可以进一步地建立连接,具体的过程可以参考相关技术,本说明书在此不做赘述。建立连接后,便可以向该终端设备推送配置界面信息,以便用户通过配置页面直接选择Wi-Fi网络并输入连接密码。向发起该连接请求的终端设备推送配置界面信息,具体通过多种方式使该终端设备向用户呈现配置界面。If it is determined through detection that a connection can be established with the terminal device that initiated the connection request, the connection can be further established. The specific process can refer to the related technology, which is not described in this specification. After the connection is established, the configuration interface information can be pushed to the terminal device so that the user can directly select the Wi-Fi network and enter the connection password through the configuration page. Push the configuration interface information to the terminal device that initiated the connection request, and specifically make the terminal device present the configuration interface to the user in multiple ways.
在本说明书实施例中,可以利用Captive Portal(强制登录门户)技术,Captive Portal技术常应用于商业Wi-Fi连接等场景,在用户的手机等设备向发起网络连接时,由网络运营商或网关在用户能够正常访问互联网之前,拦截用户的请求并将一个强制登录或认证页面呈现(通常是通过浏览器)给用户。该页面可能要求用户输入认证信息、支付、接受某些条款或者其他用户授权等,随后用户才能被授权访问互联网。In the embodiments of this specification, Captive Portal technology can be used. Captive Portal technology is often used in scenarios such as commercial Wi-Fi connection. When a user's mobile phone or other device initiates a network connection, the network operator or gateway Before the user can access the Internet normally, intercept the user's request and present a mandatory login or authentication page (usually through a browser) to the user. This page may require the user to enter authentication information, pay, accept certain terms, or other user authorizations before the user can be authorized to access the Internet.
因此,在本说明书实施例的方案中,可以调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面,例如,可以调用该终端设备的浏览器,弹出包括检测到的Wi-Fi网络的列表、以及输入连接密码区域的页面。Therefore, in the solution of the embodiment of the present specification, the browser of the terminal device can be invoked to present the configuration interface to the user through the browser page. For example, the browser of the terminal device can be invoked to include the detected Wi-Fi A list of networks, and a page for entering a connection password field.
当然,弹出Captive Portal时,可以直接调用终端设备的浏览器,也可以通过该终端设备中预先装载的客户端调用该终端设备的浏览器。Of course, when the Captive Portal is popped up, the browser of the terminal device can be called directly, or the browser of the terminal device can be called through the pre-loaded client in the terminal device.
在本说明书的另一个实施例中,如果用户的终端设备中预先装载了客户端,则可以通过该客户端向用户呈现配置界面。In another embodiment of the present specification, if a client terminal is pre-loaded in the terminal device of the user, the configuration interface may be presented to the user through the client.
只要能够实现物联网设备与用户终端设备建立无线连接后,主动向用户终端设备推送包括Wi-Fi网络列表的配置界面,以便用户直接选择需要物联网设备接入的Wi-Fi网络,而不必手动输入Wi-Fi网络名称,从而使网络配置过程更便捷,本说明书对具体的配置界面推送及呈现方式不做限定。As long as the IoT device can establish a wireless connection with the user terminal device, it will actively push the configuration interface including the Wi-Fi network list to the user terminal device, so that the user can directly select the Wi-Fi network that the IoT device needs to access without having to manually Enter the Wi-Fi network name to make the network configuration process more convenient. This manual does not limit the specific configuration interface push and presentation methods.
S103,获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户 选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。S103. Obtain network configuration information input through the configuration interface, where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
终端设备向用户呈现配置页面后,用户便可以在配置页面中输入网络配置信息,如选择需要物联网设备接入的Wi-Fi网络并输入连接密码,则物联网设备可获得用户通过配置页面输入的网络配置信息,从而实现用户通过终端设备与物联网设备的无线连接,将网络配置信息发送至物联网设备的目的。After the terminal device presents the configuration page to the user, the user can enter the network configuration information in the configuration page. If you select a Wi-Fi network that requires IoT devices to access and enter the connection password, the IoT device can obtain the user's input through the configuration page. Network configuration information, so as to achieve the purpose of sending the network configuration information to the IoT device through the wireless connection between the terminal device and the IoT device.
物联网设备获得网络配置信息后,可以断开与用户终端设备的连接,切换到STA模式,根据网络配置信息接入对应的Wi-Fi网络,具体过程可以参考相关技术,在此不再赘述。After the IoT device obtains the network configuration information, it can disconnect the connection with the user terminal device, switch to the STA mode, and access the corresponding Wi-Fi network according to the network configuration information. The specific process can refer to related technologies, and is not repeated here.
下面结合一个更为具体的实例,对本说明书提供的网络接入方法进行说明。The following describes a network access method provided in this specification with a more specific example.
图2所示为物联网设备、用户终端设备(以手机为例)及待接入Wi-Fi网络的路由器间的交互流程示意图。FIG. 2 is a schematic diagram illustrating an interaction flow between an IoT device, a user terminal device (a mobile phone is taken as an example), and a router to be connected to a Wi-Fi network.
物联网设备接入电源后,首先进入STA模式,搜索周边的Wi-Fi信号,获取周边Wi-Fi网络列表。After the IoT device is connected to the power supply, it first enters the STA mode, searches for surrounding Wi-Fi signals, and obtains a list of surrounding Wi-Fi networks.
然后物联网设备切换到AP模式,作为热点向外发出Wi-Fi信号,并且该Wi-Fi网络具有Captive Portal功能。Then the IoT device switches to AP mode, and sends out Wi-Fi signals as a hotspot, and the Wi-Fi network has Captive Portal function.
用户打开手机的WLAN功能,并获得周围Wi-Fi网络列表,在物联网设备切换到AP模式后,便可以在列表中看到该物联网设备的名称,该名称与网络接入密码一同由厂商预先设定,并印刷于物联网设备下表面。用户选择连接该Wi-Fi网络,并输入连接密码,用户手机将携带用户输入的连接密码的连接请求,发送至物联网设备。The user turns on the WLAN function of the mobile phone and obtains a list of surrounding Wi-Fi networks. After the IoT device switches to AP mode, the user can see the name of the IoT device in the list, which is shared by the manufacturer with the network access password. Pre-set and printed on the lower surface of the IoT device. The user chooses to connect to the Wi-Fi network and enters a connection password. The user's mobile phone will send the connection request of the connection password entered by the user to the IoT device.
物联网设备接收到该连接请求后,便可以响应该连接请求,从而与用户手机建立无线连接,从而进一步地通过Captive Portal功能,向用户手机推送界面配置信息,通过调用浏览器使用户手机弹出Captive Portal页面,页面中包括前述物联网设备以STA模式搜索到的周边Wi-Fi列表,以及输入接入该Wi-Fi网络的密码的区域。After the IoT device receives the connection request, it can respond to the connection request to establish a wireless connection with the user's mobile phone, further push the interface configuration information to the user's mobile phone through the Captive Portal function, and call the browser to make the user's mobile phone pop up Captive The portal page includes a list of surrounding Wi-Fis searched by the aforementioned IoT device in STA mode, and an area for entering a password for accessing the Wi-Fi network.
用户通过手机弹出的Captive Portal页面,在Wi-Fi列表中选择需要物联网设备接入的Wi-Fi网络,并输入接入该Wi-Fi网络的密码,还可以在完成输入后,通过点击“确定”按键触发网路配置信息传输,则物联网设备可以通过该Captive Portal页面获得用户输入的网络配置信息,即需要接入的Wi-Fi网络名称及密码。The user uses the Captive Portal page that pops up on the mobile phone to select the Wi-Fi network that the IoT device needs to access from the Wi-Fi list and enter the password for accessing the Wi-Fi network. After completing the input, they can also click " The "OK" button triggers the transmission of network configuration information, and the IoT device can obtain the network configuration information entered by the user through the Captive Portal page, that is, the Wi-Fi network name and password to be accessed.
物联网设备获得需要接入的Wi-Fi网络名称、密码后,可以断开与用户手机的无线 连接,切换到STA模式,从而接入该Wi-Fi网络,完成网络接入。After the IoT device obtains the Wi-Fi network name and password that it needs to access, it can disconnect the wireless connection with the user's mobile phone and switch to STA mode to access the Wi-Fi network and complete network access.
可见,应用上述方案,用户将物联网设备接入网络的整个过程,只需要连接到物联网设备的Wi-Fi热点,选择需要物联网设备接入的Wi-Fi网络名称,并输入连接的密码,而无需其他操作。因此,本说明书所提供的网络接入方案,可以简化用户的操作,提升用户的使用体验。It can be seen that with the above solution, the user needs to connect to the Wi-Fi hotspot of the IoT device during the entire process of connecting the IoT device to the network, select the Wi-Fi network name that the IoT device needs to access, and enter the connection password Without further action. Therefore, the network access scheme provided in this specification can simplify the operation of the user and improve the user experience.
相应于上述方法实施例,本说明书实施例还提供一种网络接入装置,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,参见图3所示,该装置可以包括:Corresponding to the foregoing method embodiment, the embodiment of the present specification also provides a network access device, which is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. As shown in FIG. 3, the The device may include:
信号检测模块110,用于以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;A signal detection module 110, configured to detect a Wi-Fi signal in the STA mode, and obtain a name of the detected Wi-Fi;
信息推送模块120,用于切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;The information pushing module 120 is configured to switch to the AP mode and wait for a connection request, and when receiving the connection request, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; The configuration interface includes: the detected Wi-Fi name and password input area;
信息获取模块130,用于获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。The information obtaining module 130 is configured to obtain network configuration information input through the configuration interface, where the network configuration information includes a Wi-Fi name selected by the user and a password entered by the user to access the Wi-Fi network.
在本说明书提供的一种具体实施方式中,所述信息推送模块120在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息前,还用于:In a specific implementation manner provided in this specification, before receiving the connection request, the information push module 120 is further configured to: before pushing the configuration interface information to the terminal device that initiated the connection request:
检测发起该连接请求的终端设备是否符合预设连接条件;若是,则执行向发起该连接请求的终端设备推送配置界面信息的步骤。Detect whether the terminal device that initiated the connection request meets a preset connection condition; if so, perform the step of pushing configuration interface information to the terminal device that initiated the connection request.
在本说明书提供的一种具体实施方式中,所述预设连接条件包括:In a specific implementation manner provided in this specification, the preset connection conditions include:
信号强度大于预设强度阈值、发起连接请求的次数大于预设次数阈值、所发送的连接请求中携带预设标识、和/或所发送的连接请求中携带正确的连接认证密码。The signal strength is greater than the preset strength threshold, the number of connection request initiations is greater than the preset number of thresholds, the sent connection request carries a preset identifier, and / or the sent connection request carries the correct connection authentication password.
在本说明书提供的一种具体实施方式中,所述信号推送模块120在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息前,还用于:In a specific implementation manner provided in this specification, before receiving the connection request, the signal pushing module 120 is further configured to: before pushing the configuration interface information to the terminal device that initiated the connection request:
向发起该连接请求的终端设备推送连接认证界面信息,以使该终端设备向用户呈现连接认证界面;所述连接认证界面用于:供用户输入连接认证密码、和/或确认建立连接的目的;Push the connection authentication interface information to the terminal device that initiated the connection request, so that the terminal device presents the connection authentication interface to the user; the connection authentication interface is used for: the user to enter a connection authentication password and / or confirm the purpose of establishing a connection;
获得通过所述连接认证界面输入的连接认证信息,并在该连接认证信息符合预设连接条件的情况下,执行向发起该连接请求的终端设备推送配置界面信息的步骤。Obtaining the connection authentication information input through the connection authentication interface, and performing the step of pushing the configuration interface information to a terminal device that initiates the connection request if the connection authentication information meets a preset connection condition.
在本说明书提供的一种具体实施方式中,所述信息推送模块120向发起该连接请求的终端设备推送配置界面信息,具体通过以下方式使该终端设备向用户呈现配置界面:In a specific implementation provided in this specification, the information push module 120 pushes configuration interface information to the terminal device that initiated the connection request, and specifically causes the terminal device to present the configuration interface to the user in the following ways:
调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面;Invoke the browser of the terminal device to present the configuration interface to the user through the browser page;
或者or
通过该终端设备中预先装载的客户端向用户呈现配置界面;Presenting a configuration interface to a user through a pre-loaded client in the terminal device;
或者or
通过该终端设备中预先装载的客户端调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面。The browser of the terminal device is called by a pre-loaded client in the terminal device to present the configuration interface to the user through the browser page.
上述装置中各个模块的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。The implementation process of the functions and functions of each module in the above device is described in detail in the implementation process of the corresponding steps in the above method, and is not repeated here.
本说明书实施例还提供一种计算机设备,其至少包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,处理器执行所述程序时实现前述的网络接入方法。该方法至少包括:An embodiment of the present specification further provides a computer device including at least a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor implements the foregoing network access method when the program is executed. . The method includes at least:
一种网络接入方法,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,该方法包括:A network access method is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. The method includes:
以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;Detect Wi-Fi signals in STA mode and obtain the name of the detected Wi-Fi;
切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;Switch to AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; the configuration interface includes: detection To the Wi-Fi name and password input area;
获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。Obtain network configuration information input through the configuration interface, where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
图4示出了本说明书实施例所提供的一种更为具体的计算设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。FIG. 4 shows a more specific schematic diagram of a hardware structure of a computing device provided by an embodiment of the present specification. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 implement a communication connection within the device through a bus 1050.
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits, and is used to execute related Program to implement the technical solution provided by the embodiment of the present specification.
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random Access Memory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作***和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage devices, dynamic storage devices, and the like. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of the present specification are implemented by software or firmware, related program codes are stored in the memory 1020 and are called and executed by the processor 1010.
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input / output interface 1030 is used to connect an input / output module to implement information input and output. The input / output / module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, and an indicator light.
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The communication interface 1040 is used to connect a communication module (not shown in the figure) to implement communication interaction between the device and other devices. The communication module can implement communication through a wired method (for example, USB, network cable, etc.), and can also implement communication through a wireless method (for example, mobile network, WIFI, Bluetooth, etc.).
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。The bus 1050 includes a path for transmitting information between various components of the device (for example, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include necessary for achieving normal operation Other components. In addition, those skilled in the art can understand that the foregoing device may also include only components necessary to implement the solutions of the embodiments of the present specification, and does not necessarily include all the components shown in the drawings.
本说明书实施例还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现前述的网络接入方法。该方法至少包括:An embodiment of the present specification also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the foregoing network access method is implemented. The method includes at least:
一种网络接入方法,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,该方法包括:A network access method is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. The method includes:
以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;Detect Wi-Fi signals in STA mode and obtain the name of the detected Wi-Fi;
切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;Switch to AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; the configuration interface includes: detection To the Wi-Fi name and password input area;
获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。Obtain network configuration information input through the configuration interface, where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或 技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both permanent and non-persistent, removable and non-removable media. Information can be stored by any method or technology. Information may be computer-readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), and read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmitting medium may be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include temporary computer-readable media, such as modulated data signals and carrier waves.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本说明书实施例可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本说明书实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本说明书实施例各个实施例或者实施例的某些部分所述的方法。It can be known from the description of the foregoing embodiments that those skilled in the art can clearly understand that the embodiments of the present specification can be implemented by means of software plus a necessary universal hardware platform. Based on such an understanding, the technical solution of the embodiments of the present specification may be embodied in the form of a software product that is essentially or contributes to the existing technology. The computer software product may be stored in a storage medium such as ROM / RAM, Magnetic disks, optical disks, and the like include a number of instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the various embodiments or portions of the embodiments of this specification.
上述实施例阐明的***、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The system, device, module, or unit described in the foregoing embodiments may be specifically implemented by a computer chip or entity, or a product with a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or a combination of any of these devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,在实施本说明书实施例方案时可以把各模块的功能在同一个或多个软件和/或硬件中实现。也可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, as for the device embodiment, since it is basically similar to the method embodiment, it is described relatively simply, and the relevant part may refer to the description of the method embodiment. The device embodiments described above are only schematic, and the modules described as separate components may or may not be physically separated. When implementing the solutions of the embodiments of this specification, the functions of each module may be the same. Or multiple software and / or hardware. Some or all of the modules may also be selected according to actual needs to achieve the objective of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without creative efforts.
以上所述仅是本说明书实施例的具体实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本说明书实施例原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本说明书实施例的保护范围。The above are only specific implementations of the embodiments of the present specification. It should be noted that for those of ordinary skill in the art, without departing from the principles of the embodiments of the present specification, several improvements and retouches can be made. These Improvement and retouching should also be regarded as the protection scope of the embodiments of the present specification.

Claims (11)

  1. 一种网络接入方法,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,该方法包括:A network access method is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. The method includes:
    以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;Detect Wi-Fi signals in STA mode and obtain the name of the detected Wi-Fi;
    切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;Switch to AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; the configuration interface includes: detection To the Wi-Fi name and password input area;
    获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。Obtain network configuration information input through the configuration interface, where the network configuration information includes: a Wi-Fi name selected by the user, and a password entered by the user to access the Wi-Fi network.
  2. 根据权利要求1所述的方法,在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息前,进一步包括:The method according to claim 1, before receiving the connection request, before pushing the configuration interface information to the terminal device that initiated the connection request, further comprising:
    检测发起该连接请求的终端设备是否符合预设连接条件;若是,则执行向发起该连接请求的终端设备推送配置界面信息的步骤。Detect whether the terminal device that initiated the connection request meets a preset connection condition; if so, perform the step of pushing configuration interface information to the terminal device that initiated the connection request.
  3. 根据权利要求2所述的方法,所述预设连接条件包括:The method according to claim 2, wherein the preset connection conditions include:
    信号强度大于预设强度阈值、发起连接请求的次数大于预设次数阈值、所发送的连接请求中携带预设标识、和/或所发送的连接请求中携带正确的连接认证密码。The signal strength is greater than the preset strength threshold, the number of connection request initiations is greater than the preset number of thresholds, the sent connection request carries a preset identifier, and / or the sent connection request carries the correct connection authentication password.
  4. 根据权利要求1所述的方法,在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息前,进一步包括:The method according to claim 1, before receiving the connection request, before pushing the configuration interface information to the terminal device that initiated the connection request, further comprising:
    向发起该连接请求的终端设备推送连接认证界面信息,以使该终端设备向用户呈现连接认证界面;所述连接认证界面用于:供用户输入连接认证密码、和/或确认建立连接的目的;Push the connection authentication interface information to the terminal device that initiated the connection request, so that the terminal device presents the connection authentication interface to the user; the connection authentication interface is used for: the user to enter a connection authentication password and / or confirm the purpose of establishing a connection;
    获得通过所述连接认证界面输入的连接认证信息,并在该连接认证信息符合预设连接条件的情况下,执行向发起该连接请求的终端设备推送配置界面信息的步骤。Obtaining the connection authentication information input through the connection authentication interface, and performing the step of pushing the configuration interface information to a terminal device that initiates the connection request if the connection authentication information meets a preset connection condition.
  5. 根据权利要求1所述的方法,向发起该连接请求的终端设备推送配置界面信息,具体通过以下方式使该终端设备向用户呈现配置界面:The method according to claim 1, pushing the configuration interface information to the terminal device initiating the connection request, and specifically causing the terminal device to present the configuration interface to the user by:
    调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面;Invoke the browser of the terminal device to present the configuration interface to the user through the browser page;
    或者or
    通过该终端设备中预先装载的客户端向用户呈现配置界面;Presenting a configuration interface to a user through a pre-loaded client in the terminal device;
    或者or
    通过该终端设备中预先装载的客户端调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面。The browser of the terminal device is called by a pre-loaded client in the terminal device to present the configuration interface to the user through the browser page.
  6. 一种网络接入装置,应用于物联网设备,所述物联网设备支持终端STA模式与无线接入点AP模式,该装置包括:A network access device is applied to an IoT device. The IoT device supports a terminal STA mode and a wireless access point AP mode. The device includes:
    信号检测模块,用于以STA模式检测Wi-Fi信号,获得检测到的Wi-Fi的名称;A signal detection module, configured to detect a Wi-Fi signal in the STA mode and obtain a name of the detected Wi-Fi;
    信息推送模块,用于切换到AP模式等待连接请求,并在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息,以使该终端设备向用户呈现配置界面;所述配置界面中包含:检测到的Wi-Fi名称及密码输入区域;An information push module, configured to switch to the AP mode and wait for a connection request, and if a connection request is received, push the configuration interface information to the terminal device that initiated the connection request, so that the terminal device presents the configuration interface to the user; The configuration interface contains: the detected Wi-Fi name and password input area;
    信息获取模块,用于获得通过所述配置界面输入的网络配置信息,所述网络配置信息包括:用户选择的Wi-Fi名称、及用户输入的接入该Wi-Fi网络的密码。An information acquisition module is configured to obtain network configuration information input through the configuration interface, where the network configuration information includes a Wi-Fi name selected by the user and a password entered by the user to access the Wi-Fi network.
  7. 根据权利要求6所述的装置,所述信息推送模块在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息前,还用于:The device according to claim 6, before receiving the connection request, the information pushing module is further configured to: before pushing the configuration interface information to the terminal device that initiated the connection request:
    检测发起该连接请求的终端设备是否符合预设连接条件;若是,则执行向发起该连接请求的终端设备推送配置界面信息的步骤。Detect whether the terminal device that initiated the connection request meets a preset connection condition; if so, perform the step of pushing configuration interface information to the terminal device that initiated the connection request.
  8. 根据权利要求7所述的装置,所述预设连接条件包括:The apparatus according to claim 7, wherein the preset connection conditions include:
    信号强度大于预设强度阈值、发起连接请求的次数大于预设次数阈值、所发送的连接请求中携带预设标识、和/或所发送的连接请求中携带正确的连接认证密码。The signal strength is greater than the preset strength threshold, the number of connection request initiations is greater than the preset number of thresholds, the sent connection request carries a preset identifier, and / or the sent connection request carries the correct connection authentication password.
  9. 根据权利要求6所述的装置,所述信号推送模块在接收到连接请求的情况下,向发起该连接请求的终端设备推送配置界面信息前,还用于:The apparatus according to claim 6, wherein the signal push module is further configured to: before receiving the connection request, push the configuration interface information to the terminal device that initiated the connection request:
    向发起该连接请求的终端设备推送连接认证界面信息,以使该终端设备向用户呈现连接认证界面;所述连接认证界面用于:供用户输入连接认证密码、和/或确认建立连接的目的;Push the connection authentication interface information to the terminal device that initiated the connection request, so that the terminal device presents the connection authentication interface to the user; the connection authentication interface is used for: the user to enter a connection authentication password and / or confirm the purpose of establishing a connection;
    获得通过所述连接认证界面输入的连接认证信息,并在该连接认证信息符合预设连接条件的情况下,执行向发起该连接请求的终端设备推送配置界面信息的步骤。Obtaining the connection authentication information input through the connection authentication interface, and performing the step of pushing the configuration interface information to a terminal device that initiates the connection request if the connection authentication information meets a preset connection condition.
  10. 根据权利要求6所述的装置,所述信息推送模块向发起该连接请求的终端设备推送配置界面信息,具体通过以下方式使该终端设备向用户呈现配置界面:The apparatus according to claim 6, wherein the information pushing module pushes configuration interface information to a terminal device that initiates the connection request, and specifically causes the terminal device to present a configuration interface to a user by:
    调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面;Invoke the browser of the terminal device to present the configuration interface to the user through the browser page;
    或者or
    通过该终端设备中预先装载的客户端向用户呈现配置界面;Presenting a configuration interface to a user through a pre-loaded client in the terminal device;
    或者or
    通过该终端设备中预先装载的客户端调用该终端设备的浏览器,以通过浏览器页面向用户呈现配置界面。The browser of the terminal device is called by a pre-loaded client in the terminal device to present the configuration interface to the user through the browser page.
  11. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行 的计算机程序,其中,所述处理器执行所述程序时实现如权利要求1至5任一项所述的方法。A computer device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the program according to any one of claims 1 to 5 when executing the program. method.
PCT/CN2019/090106 2018-07-03 2019-06-05 Network access method and apparatus WO2020007158A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810714868.6A CN109041062A (en) 2018-07-03 2018-07-03 A kind of method for network access and device
CN201810714868.6 2018-07-03

Publications (1)

Publication Number Publication Date
WO2020007158A1 true WO2020007158A1 (en) 2020-01-09

Family

ID=65521359

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/090106 WO2020007158A1 (en) 2018-07-03 2019-06-05 Network access method and apparatus

Country Status (3)

Country Link
CN (1) CN109041062A (en)
TW (1) TWI699138B (en)
WO (1) WO2020007158A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584957A (en) * 2021-03-16 2022-06-03 浙江绍兴苏泊尔生活电器有限公司 Data writing method, device and equipment

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109041062A (en) * 2018-07-03 2018-12-18 阿里巴巴集团控股有限公司 A kind of method for network access and device
CN109831800A (en) * 2019-03-21 2019-05-31 浪潮商用机器有限公司 A kind of server connection method and device based on USB WiFi
CN111836339B (en) * 2019-04-15 2023-04-07 杭州海康威视数字技术股份有限公司 Network equipment
CN110392412B (en) * 2019-07-23 2022-05-13 歌尔科技有限公司 Network distribution method, device, equipment and medium for Internet of things equipment
CN112351446A (en) * 2020-09-30 2021-02-09 宇龙计算机通信科技(深圳)有限公司 Loading method and device of WiFi (Wireless Fidelity) drive configuration file, storage medium and electronic equipment
CN112383919A (en) * 2020-11-13 2021-02-19 歌尔科技有限公司 Information processing method and device, intelligent doorbell and storage medium
CN112486595A (en) * 2020-12-04 2021-03-12 苏州浪潮智能科技有限公司 Storage device initialization method, storage device and server
CN112702328B (en) * 2020-12-18 2022-05-17 迈普通信技术股份有限公司 Network access method, system and electronic equipment
CN113706718A (en) * 2021-07-21 2021-11-26 广州中智达信科技有限公司 Augmented reality collaboration method, system and application
CN113645301A (en) * 2021-08-10 2021-11-12 生迪智慧科技有限公司 Communication method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014137819A2 (en) * 2013-03-08 2014-09-12 Microchip Technology Incorporated Method for wireless easy connect
CN104469981A (en) * 2014-11-21 2015-03-25 广东瑞德智能科技股份有限公司 Method and system for connecting intelligent household appliance into router
CN105228264A (en) * 2015-07-01 2016-01-06 利尔达科技集团股份有限公司 A kind of quick WI-FI network matching method being applicable to Internet of Things
CN105338527A (en) * 2014-08-06 2016-02-17 深圳中电国际信息科技有限公司 Network access configuration method and system for Internet of Things module
CN109041062A (en) * 2018-07-03 2018-12-18 阿里巴巴集团控股有限公司 A kind of method for network access and device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104375497B (en) * 2014-12-15 2017-09-29 广东美的厨房电器制造有限公司 Smart home and its control method, control system and electronic equipment
BR112017013125A2 (en) * 2014-12-19 2017-12-26 Thomson Licensing method and device for device configuration
CN104486762A (en) * 2014-12-22 2015-04-01 广东美的厨房电器制造有限公司 Access control method of intelligent home appliance and intelligent home appliance system
CN105163372A (en) * 2015-09-18 2015-12-16 普联技术有限公司 Network access method and network access device of intelligent household appliance
CN105554754A (en) * 2015-12-16 2016-05-04 Tcl集团股份有限公司 Method and system for accessing WIFI module of the internet of things to network
CN107466055A (en) * 2016-06-06 2017-12-12 美的集团股份有限公司 Household electrical appliance match somebody with somebody network method, mobile terminal and household electrical appliance
CN106211208A (en) * 2016-06-24 2016-12-07 美的集团股份有限公司 A kind of intelligent appliance accesses the methods, devices and systems of wireless network
CN106332143A (en) * 2016-09-28 2017-01-11 四川长虹电器股份有限公司 Method for rapidly configuring a network for smart device
CN106413037A (en) * 2016-10-31 2017-02-15 青岛海尔科技有限公司 Network access method and device for interment-of-things equipment, equipment and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014137819A2 (en) * 2013-03-08 2014-09-12 Microchip Technology Incorporated Method for wireless easy connect
CN105338527A (en) * 2014-08-06 2016-02-17 深圳中电国际信息科技有限公司 Network access configuration method and system for Internet of Things module
CN104469981A (en) * 2014-11-21 2015-03-25 广东瑞德智能科技股份有限公司 Method and system for connecting intelligent household appliance into router
CN105228264A (en) * 2015-07-01 2016-01-06 利尔达科技集团股份有限公司 A kind of quick WI-FI network matching method being applicable to Internet of Things
CN109041062A (en) * 2018-07-03 2018-12-18 阿里巴巴集团控股有限公司 A kind of method for network access and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584957A (en) * 2021-03-16 2022-06-03 浙江绍兴苏泊尔生活电器有限公司 Data writing method, device and equipment

Also Published As

Publication number Publication date
TW202007221A (en) 2020-02-01
TWI699138B (en) 2020-07-11
CN109041062A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
WO2020007158A1 (en) Network access method and apparatus
US11310239B2 (en) Network connection method, hotspot terminal and management terminal
US11093598B2 (en) Identity authentication method and apparatus
US10660024B2 (en) Wireless network access method and apparatus
EP2838309B1 (en) Method, device and system for establishing data connection
JP6603726B2 (en) Method, apparatus and system for identity authentication
US11818619B2 (en) Electronic device for providing call continuity in weak electric field environment and control method
US20210136577A1 (en) Method and a device for wireless connection
CN110740460A (en) device network access method, device, network device and storage medium
US9544762B2 (en) Method and system for configuring a device for use over a communication network
US11451539B2 (en) Identity identification and preprocessing
WO2018010397A1 (en) Method and equipment for establishing wireless connection through first application on user equipment
US11974351B2 (en) Device for wireless communication with other devices
US11201849B2 (en) Natural language connectivity
KR102310027B1 (en) Determination method and corresponding terminal, computer program product and storage medium
CN114745324A (en) Equipment identification method, device, storage medium and routing equipment
US10454897B1 (en) Proxy captive portal traffic for input-limited devices
CN105873180B (en) Method and apparatus for setting up wireless connection
WO2015192598A1 (en) Wireless network access point connection method and terminal
WO2016165674A1 (en) Trusted environment operating method and device for terminal
KR20130123149A (en) Method for data network access authentication and an electronic device thereof
US20130252555A1 (en) Apparatus and method for link setup using electric field
WO2022037619A1 (en) Method and apparatus for processing authentication failure, terminal and network side device
WO2014194521A1 (en) Application framework for multiple device interactions
TWM549499U (en) Network system and mobile device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19830306

Country of ref document: EP

Kind code of ref document: A1