CN106102061A - Method for connecting network and device - Google Patents

Method for connecting network and device Download PDF

Info

Publication number
CN106102061A
CN106102061A CN201610403641.0A CN201610403641A CN106102061A CN 106102061 A CN106102061 A CN 106102061A CN 201610403641 A CN201610403641 A CN 201610403641A CN 106102061 A CN106102061 A CN 106102061A
Authority
CN
China
Prior art keywords
router
identity information
authentication
user
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610403641.0A
Other languages
Chinese (zh)
Inventor
王福业
刘健全
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610403641.0A priority Critical patent/CN106102061A/en
Publication of CN106102061A publication Critical patent/CN106102061A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

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

Abstract

本公开是关于一种网络连接方法及装置。其中,该方法包括:获取用户身份信息,并利用所述用户身份信息生成连接请求;向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。如此,便可简单便捷的将智能设备接入到无线网络中。

The disclosure relates to a network connection method and device. Wherein, the method includes: obtaining user identity information, and using the user identity information to generate a connection request; sending the connection request to a router, and the connection request is forwarded to the server by the router, so that the server can The user identity information is used for identity authentication; the connection response forwarded by the router is received, and the connection response includes the result of the identity authentication; when the result of the identity authentication indicates that the authentication is passed, access to the network through the router. In this way, the smart device can be easily and conveniently connected to the wireless network.

Description

网络连接方法及装置Network connection method and device

技术领域technical field

本公开涉及通信技术领域,尤其涉及一种网络连接方法及装置。The present disclosure relates to the technical field of communications, and in particular to a network connection method and device.

背景技术Background technique

Wi-Fi(英文:Wireless-Fidelity,中文:无线保真)是一种可以将智能设备以无线方式互相连接的技术。Wi-Fi (English: Wireless-Fidelity, Chinese: Wireless Fidelity) is a technology that can connect smart devices to each other wirelessly.

在相关技术中,智能设备可以搜索附近无线网络,并在搜索到Wi-Fi信号后,通过智能设备的显示屏向用户展示Wi-Fi账号,供用户选择。如果Wi-Fi账号设置有访问密码,则可在用户输入正确密码后,连接到无线网络中。In related technologies, the smart device can search for nearby wireless networks, and after searching for a Wi-Fi signal, display the Wi-Fi account to the user through the display screen of the smart device for the user to choose. If the Wi-Fi account is set with an access password, the user can connect to the wireless network after entering the correct password.

发明内容Contents of the invention

本公开提供一种网络连接方法及装置。The disclosure provides a network connection method and device.

根据本公开实施例的第一方面,提供一种网络连接方法,包括:获取用户身份信息,并利用所述用户身份信息生成连接请求;向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。According to the first aspect of an embodiment of the present disclosure, a network connection method is provided, including: obtaining user identity information, and using the user identity information to generate a connection request; sending the connection request to a router, and the connection request is determined by the The router forwards it to the server, so that the server performs identity authentication on the user identity information; receives the connection response forwarded by the router, and the connection response includes the result of the identity authentication; when the result of the identity authentication indicates that the authentication is passed , access the network through the router.

本公开的实施例提供的技术方案可以包括以下有益效果:智能设备利用接入无线网络时,向路由器发送的连接请求中包括的是用户身份信息。对应于此,用户无需知晓路由器的访问密码,智能设备的本地缓存亦无需保存多个路由器的访问密码。如此,不仅可以简单便捷的将智能设备接入到无线网络,还不会出现因访问密码变更,导致智能设备无法接入无线网络的情况。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: when a smart device accesses a wireless network, the connection request sent to the router includes user identity information. Correspondingly, the user does not need to know the access password of the router, and the local cache of the smart device does not need to store the access passwords of multiple routers. In this way, not only can the smart device be connected to the wireless network simply and conveniently, but also the situation that the smart device cannot be connected to the wireless network due to the change of the access password will not occur.

在本公开实施例第一方面的第一种可能的实施方式中,所述获取用户身份信息,包括:从智能设备的本地缓存中读取所述用户身份信息。In a first possible implementation manner of the first aspect of the embodiments of the present disclosure, the acquiring the user identity information includes: reading the user identity information from a local cache of the smart device.

本实施例提供的技术方案可以包括以下有益效果:为了进一步简化网络连接的过程,可以在智能设备的本地缓存中保存用户身份信息,如此,便可在请求接入网络时,自动从本地缓存中读取用户身份信息,生成连接请求。The technical solution provided by this embodiment can include the following beneficial effects: In order to further simplify the process of network connection, user identity information can be stored in the local cache of the smart device, so that when requesting to access the network, the user identity information can be automatically retrieved from the local cache Read user identity information and generate a connection request.

结合本公开实施例的第一方面或者第一方面的第一种可能的实施方式,在第二种可能的实施方式中,所述用户身份信息包括用户身份标识和登录密码。With reference to the first aspect of the embodiments of the present disclosure or the first possible implementation manner of the first aspect, in a second possible implementation manner, the user identity information includes a user identity identifier and a login password.

本实施例提供的技术方案可以包括以下有益效果:为了简化网络连接的过程,避免如相关技术需要获得每个路由器的访问密码之后,才可接入路由器提供的无线网络,通过用户身份信息进行身份认证,以此判断是否允许智能设备接入网络。为了保证使用安全性,可以将用户身份标识和登录密码作为用户身份信息。The technical solution provided by this embodiment may include the following beneficial effects: In order to simplify the process of network connection, avoid access to the wireless network provided by the router after obtaining the access password of each router as in the related technology, and use user identity information to identify Authentication, in order to determine whether to allow smart devices to access the network. In order to ensure the security of use, the user identity and login password can be used as user identity information.

根据本公开实施例的第二方面,提供一种网络连接方法,包括:接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。According to the second aspect of the embodiments of the present disclosure, there is provided a network connection method, including: receiving a connection request sent by a smart device, the connection request including user identity information; forwarding the connection request to a server, and the connection request triggering The server performs identity authentication on the user identity information; receives a connection response returned by the server, and the connection response includes a result of identity authentication; forwards the connection response to the smart device, and the smart device is used for When the result of the identity authentication indicates that the authentication is passed, access to the network.

本公开的实施例提供的技术方案可以包括以下有益效果:智能设备利用接入无线网络时,路由器接收到包括用户身份信息的连接请求后,可以将连接请求转发至安全性高的服务器处,进行身份认证。如此,不仅可以简单便捷的将智能设备接入到无线网络中,还可有效保证网络连接的安全性。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: when a smart device accesses a wireless network, after the router receives a connection request including user identity information, it can forward the connection request to a server with high security for Authentication. In this way, not only can the smart device be easily and conveniently connected to the wireless network, but also effectively ensure the security of the network connection.

在本公开实施例第二方面的第一种可能的实施方式中,在所述接收所述服务器返回的连接响应之前,所述方法还包括:向服务器发送认证请求,所述认证请求中包括路由器的身份信息,以使所述服务器在确定所述路由器的身份信息认证通过时,再对所述用户身份信息进行身份认证。In the first possible implementation manner of the second aspect of the embodiments of the present disclosure, before receiving the connection response returned by the server, the method further includes: sending an authentication request to the server, and the authentication request includes a router The identity information of the user, so that the server performs identity authentication on the user identity information when it determines that the authentication of the identity information of the router is passed.

本公开的实施例提供的技术方案可以包括以下有益效果:可以结合实际应用,在需要时由服务器对路由器进行身份认证,保证路由器提供的无线网络的安全性,便可进一步提高网络连接的安全性。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: in combination with practical applications, the server can perform identity authentication on the router when needed, so as to ensure the security of the wireless network provided by the router, and further improve the security of the network connection .

根据本公开实施例的第三方面,提供一种网络连接方法,包括:接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。According to a third aspect of the embodiments of the present disclosure, there is provided a network connection method, including: receiving a connection request sent by a router, the connection request is sent to the router by a smart device, and the connection request includes user identity information; using Save the identity information of the legitimate user, perform identity authentication on the user identity information, and obtain the result of the identity authentication; send a connection response to the router, the connection response includes the result of the identity authentication, and the router is used to Forwarding the connection response to the smart device, so that the smart device accesses the network when the identity authentication result indicates that the authentication is passed.

本公开的实施例提供的技术方案可以包括以下有益效果:智能设备利用接入无线网络时,由安全性高的服务器进行身份认证,也即由服务器判断是否允许智能设备接入无线网络,便可在简单便捷的将智能设备接入到无线网络的同时,有效保证网络连接的安全性。The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects: when a smart device accesses a wireless network, a server with high security performs identity authentication, that is, the server judges whether to allow the smart device to access the wireless network, and then While connecting smart devices to the wireless network simply and conveniently, it effectively ensures the security of the network connection.

在本公开实施例第三方面的第一种可能的实施方式中,获得所述合法用户的身份信息的方式为:在进行用户注册时,抓取用户输入的用户身份信息,并将抓取到的用户身份信息确定为所述合法用户的身份信息。In the first possible implementation manner of the third aspect of the embodiments of the present disclosure, the method of obtaining the identity information of the legitimate user is: when performing user registration, capture the user identity information input by the user, and capture the The user identity information is determined as the identity information of the legal user.

结合本公开实施例的第三方面或者第三方面的第一种可能的实施方式,在第二种可能的实施方式中,在所述利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果之前,所述方法还包括:接收所述路由器发送的认证请求,所述认证请求中包括路由器的身份信息;利用保存的合法路由器的身份信息,对所述路由器的身份信息进行身份认证;当所述路由器的身份信息认证通过时,执行所述利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果。With reference to the third aspect of the embodiments of the present disclosure or the first possible implementation manner of the third aspect, in the second possible implementation manner, in the use of the saved identity information of the legal user, the user identity information Perform identity authentication, before obtaining the result of identity authentication, the method further includes: receiving an authentication request sent by the router, the authentication request including the identity information of the router; identity information of the router for identity authentication; when the identity information of the router passes the authentication, execute the use of the stored legal user identity information, perform identity authentication for the user identity information, and obtain an identity authentication result.

本实施例提供的技术方案可以包括以下有益效果:可以结合实际应用,在需要时由服务器对路由器进行身份认证,保证路由器提供的无线网络的安全性,便可进一步提高网络连接的安全性。The technical solution provided by this embodiment may include the following beneficial effects: in combination with practical applications, the server may perform identity authentication on the router when necessary, to ensure the security of the wireless network provided by the router, and further improve the security of network connections.

结合本公开实施例第三方面的第二种可能的实施方式,在第三种可能的实施方式中,获得所述合法路由器的身份信息的方式为:在进行路由器注册时,为请求注册的路由器生成随机秘钥,并将所述随机秘钥确定为所述合法路由器的身份信息。With reference to the second possible implementation manner of the third aspect of the embodiments of the present disclosure, in the third possible implementation manner, the manner of obtaining the identity information of the legal router is: when performing router registration, the router requesting registration A random secret key is generated, and the random secret key is determined as the identity information of the legal router.

本实施例提供的技术方案可以包括以下有益效果:服务器可以为每个注册路由器生成一个随机秘钥,并将该随机秘钥确定为路由器的身份信息,如此,还有助于提高网络连接的安全性。The technical solution provided by this embodiment can include the following beneficial effects: the server can generate a random secret key for each registered router, and determine the random secret key as the identity information of the router, thus helping to improve the security of the network connection sex.

根据本公开实施例的第四方面,提供一种网络连接装置,包括:获取模块,被配置为获取用户身份信息,并利用所述用户身份信息生成连接请求;发送模块,被配置为向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;接收模块,被配置为接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;接入模块,被配置为当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。According to a fourth aspect of the embodiments of the present disclosure, there is provided a network connection device, including: an acquisition module configured to acquire user identity information, and use the user identity information to generate a connection request; a sending module configured to send the The connection request, the connection request is forwarded by the router to the server, so that the server performs identity authentication on the user identity information; the receiving module is configured to receive the connection response forwarded by the router, the connection The response includes the result of the identity authentication; the access module is configured to access the network through the router when the result of the identity authentication indicates that the authentication is passed.

在本公开实施例第四方面的第一种可能的实施方式中,所述获取模块,被配置为从智能设备的本地缓存中读取所述用户身份信息。In a first possible implementation manner of the fourth aspect of the embodiments of the present disclosure, the obtaining module is configured to read the user identity information from a local cache of the smart device.

根据本公开实施例的第五方面,提供一种网络连接装置,包括:第一接收模块,被配置为接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;第一发送模块,被配置为向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;第二接收模块,被配置为接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;第二发送模块,被配置为向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。According to a fifth aspect of an embodiment of the present disclosure, there is provided a network connection device, including: a first receiving module configured to receive a connection request sent by a smart device, where the connection request includes user identity information; a first sending module, It is configured to forward the connection request to the server, and the connection request triggers the server to authenticate the user identity information; the second receiving module is configured to receive the connection response returned by the server, and the connection response Include the result of the identity authentication; the second sending module is configured to forward the connection response to the smart device, and the smart device is used to access the network when the result of the identity authentication indicates that the authentication is passed.

在本公开实施例第五方面的第一种可能的实施方式中,所述装置还包括:In the first possible implementation manner of the fifth aspect of the embodiments of the present disclosure, the device further includes:

第三发送模块,被配置为在所述连接响应接收模块接收所述连接响应之前,向服务器发送认证请求,所述认证请求中包括路由器的身份信息,以使所述服务器在确定所述路由器的身份信息认证通过时,对所述用户身份信息进行身份认证。The third sending module is configured to send an authentication request to the server before the connection response receiving module receives the connection response, the authentication request includes the identity information of the router, so that the server determines the identity information of the router When the identity information authentication passes, identity authentication is performed on the user identity information.

根据本公开实施例的第六方面,提供一种网络连接装置,包括:第一接收模块,被配置为接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;第一认证模块,被配置为利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;发送模块,被配置为向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。According to a sixth aspect of the embodiments of the present disclosure, there is provided a network connection device, including: a first receiving module configured to receive a connection request sent by a router, the connection request is sent to the router by a smart device, and the connection The request includes user identity information; the first authentication module is configured to use the saved identity information of the legal user to perform identity authentication on the user identity information to obtain the result of the identity authentication; the sending module is configured to send to the router Send a connection response, the connection response includes the result of the identity authentication, and the router is used to forward the connection response to the smart device, so that the smart device indicates that the authentication is passed in the result of the identity authentication , access the network.

在本公开实施例第六方面的第一种可能的实施方式中,所述装置还包括:第一获得模块,被配置为在进行用户注册时,抓取用户输入的用户身份信息,并将抓取到的用户身份信息确定为所述合法用户的身份信息。In the first possible implementation manner of the sixth aspect of the embodiments of the present disclosure, the device further includes: a first obtaining module configured to capture the user identity information input by the user during user registration, and capture the The obtained user identity information is determined as the legal user's identity information.

结合本公开实施例的第六方面或者第六方面的第一种可能的实施方式,在第二种可能的实施方式中,所述装置还包括:第二接收模块,被配置为在所述第一认证模块获得身份认证的结果之前,接收所述路由器发送的认证请求,所述认证请求中包括路由器的身份信息;第二认证模块,被配置为利用保存的合法路由器的身份信息,对所述路由器的身份信息进行身份认证,并在所述路由器的身份信息认证通过时,再由所述用户身份认证模块获得身份认证的结果。With reference to the sixth aspect of the embodiments of the present disclosure or the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the device further includes: a second receiving module configured to Before an authentication module obtains the result of identity authentication, it receives an authentication request sent by the router, and the authentication request includes the identity information of the router; the second authentication module is configured to use the stored identity information of the legitimate router to The router's identity information is authenticated, and when the router's identity information is authenticated, the user identity authentication module obtains an identity authentication result.

结合本公开实施例第六方面的第二种可能的实施方式,在第三种可能的实施方式中,所述装置还包括:第二获得模块,被配置为在进行路由器注册时,为请求注册的路由器生成随机秘钥,并将所述随机秘钥确定为所述合法路由器的身份信息。With reference to the second possible implementation manner of the sixth aspect of the embodiments of the present disclosure, in a third possible implementation manner, the device further includes: a second obtaining module configured to request registration The router generates a random secret key, and determines the random secret key as the identity information of the legitimate router.

根据本公开实施例的第七方面,提供一种网络连接装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:获取用户身份信息,并利用所述用户身份信息生成连接请求;向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。According to a seventh aspect of the embodiments of the present disclosure, there is provided a network connection device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: obtain user identity information, and use The user identity information generates a connection request; sends the connection request to a router, and the connection request is forwarded to a server by the router, so that the server performs identity authentication on the user identity information; receives the connection request forwarded by the router A connection response, where the connection response includes the result of the identity authentication; when the result of the identity authentication indicates that the authentication is passed, access to the network through the router.

根据本公开实施例的第八方面,提供一种网络连接装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。According to an eighth aspect of an embodiment of the present disclosure, there is provided a network connection device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: receive a connection request sent by a smart device , the connection request includes user identity information; forwards the connection request to a server, and the connection request triggers the server to authenticate the user identity information; receives a connection response returned by the server, and the connection response Include the result of the identity authentication; forward the connection response to the smart device, and the smart device is used to access the network when the result of the identity authentication indicates that the authentication is passed.

根据本公开实施例的第九方面,提供一种网络连接装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。According to a ninth aspect of an embodiment of the present disclosure, there is provided a network connection device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to: receive a connection request sent by a router, The connection request is sent to the router by the smart device, and the connection request includes user identity information; using the saved identity information of the legal user to perform identity authentication on the user identity information to obtain an identity authentication result; The router sends a connection response, the connection response includes the result of the identity authentication, and the router is used to forward the connection response to the smart device, so that the smart device can indicate in the result of the identity authentication When the authentication is passed, access to the network.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是根据一示例性实施例示出的一种网络连接方法的流程图。Fig. 1 is a flowchart showing a network connection method according to an exemplary embodiment.

图2是根据另一示例性实施例示出的一种网络连接方法的流程图。Fig. 2 is a flowchart showing a network connection method according to another exemplary embodiment.

图3是根据再一示例性实施例示出的一种网络连接方法的流程图。Fig. 3 is a flow chart of a network connection method according to yet another exemplary embodiment.

图4是根据一示例性实施例示出的实施环境的结构示意图。Fig. 4 is a schematic structural diagram of an implementation environment according to an exemplary embodiment.

图5是根据一示例性实施例示出的提示用户输入身份信息的示意图。Fig. 5 is a schematic diagram showing prompting a user to input identity information according to an exemplary embodiment.

图6是根据一示例性实施例示出的提示用户网络连接失败的示意图。Fig. 6 is a schematic diagram of prompting a user that the network connection fails according to an exemplary embodiment.

图7是根据一示例性实施例示出的一种网络连接装置的示意图。Fig. 7 is a schematic diagram of a network connection device according to an exemplary embodiment.

图8是根据另一示例性实施例示出的一种网络连接装置的示意图。Fig. 8 is a schematic diagram of a network connection device according to another exemplary embodiment.

图9是根据再一示例性实施例示出的一种网络连接装置的示意图。Fig. 9 is a schematic diagram of a network connection device according to yet another exemplary embodiment.

图10是根据一示例性实施例示出的一种网络连接装置的框图。Fig. 10 is a block diagram showing a network connection device according to an exemplary embodiment.

图11是根据另一示例性实施例示出的一种网络连接装置的框图。Fig. 11 is a block diagram of a network connection device according to another exemplary embodiment.

图12是根据再一示例性实施例示出的一种网络连接装置的框图。Fig. 12 is a block diagram of a network connection device according to yet another exemplary embodiment.

具体实施方式detailed description

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.

图1是根据一示例性实施例示出的一种网络连接方法的流程图。该网络连接方法可以应用于智能设备。举例来说,智能设备可以为智能手机、平板电脑、PC机、笔记本电脑等具有无线连网功能的终端。该网络连接方法可以包括以下步骤:Fig. 1 is a flowchart showing a network connection method according to an exemplary embodiment. The network connection method can be applied to smart devices. For example, the smart device may be a terminal with a wireless networking function such as a smart phone, a tablet computer, a PC, and a notebook computer. The network connection method may include the following steps:

在步骤101中,获取用户身份信息,并利用所述用户身份信息生成连接请求。In step 101, user identity information is obtained, and a connection request is generated using the user identity information.

示例地,在需要连接无线网络时,智能设备可以获取用户身份信息,并生成包括该用户身份信息的连接请求,经由路由器发送至服务器,进行身份认证。For example, when a wireless network needs to be connected, the smart device can obtain user identity information, generate a connection request including the user identity information, and send it to the server via the router for identity authentication.

举例来说,智能设备可以提示用户输入用户身份信息,以此获取用户身份信息;或者,在用户首次输入用户身份信息时,智能设备可以将用户身份信息保存在本地缓存中,如此,可以通过读取本地缓存的方式,获取用户身份信息;或者,还可综合上述两种方式,先判断能否从本地缓存中读取到用户身份信息,如果从本地缓存中读取不到用户身份信息,则提示用户输入用户身份信息。本公开实施例对获取用户身份信息的方式可不做限定。For example, the smart device can prompt the user to enter the user identity information to obtain the user identity information; or, when the user enters the user identity information for the first time, the smart device can save the user identity information in a local cache, so that it can be read by The local cache method is used to obtain the user identity information; or, the above two methods can also be combined to determine whether the user identity information can be read from the local cache. If the user identity information cannot be read from the local cache, then Prompt the user for user identity information. The embodiment of the present disclosure may not limit the manner of acquiring user identity information.

本公开实施例中,可以在智能设备搜索到Wi-Fi信号时,即被触发获取用户身份信息;或者,也可以在用户查看了智能设备展示的搜索到的Wi-Fi账号,并从中选取了一个账号时,例如用户点击了智能设备上展示的某个Wi-Fi账号,即可被触发获取用户身份信息;或者,也可以是智能设备搜索到Wi-Fi信号,且检测到用户需要使用无线网络时,例如用户在网页上进行信息检索时,即可被触发获取用户身份信息。本公开实施例对触发获取用户身份信息的方式可不做限定。In the embodiment of the present disclosure, when the smart device searches for a Wi-Fi signal, it may be triggered to obtain user identity information; or, the user may view the searched Wi-Fi accounts displayed on the smart device and select a For example, when the user clicks on a certain Wi-Fi account displayed on the smart device, it can be triggered to obtain user identity information; or, the smart device can search for a Wi-Fi signal and detect that the user needs to use the Wi-Fi When the network is connected, for example, when a user searches for information on a web page, it can be triggered to obtain user identity information. The embodiment of the present disclosure may not limit the manner of triggering the acquisition of user identity information.

本公开实施例中,用户身份信息可以为用户身份标识;或者,用户身份信息可以为用户身份标识和登录密码,本公开实施例对此可不做限定。举例来说,用户身份标识可以是智能设备的MAC地址等可以对设备进行唯一标识的信息,或者,用户身份标识可以是用户名、手机号码等可以对用户进行唯一标识的信息,本公开实施例对此可不做限定。In the embodiments of the present disclosure, the user identity information may be a user identity; or, the user identity information may be a user identity and a login password, which is not limited in this embodiment of the present disclosure. For example, the user ID can be information that can uniquely identify the device, such as the MAC address of the smart device, or the user ID can be information that can uniquely identify the user, such as a user name and a mobile phone number. There is no limit to this.

作为一种示例,用户可以通过智能设备访问服务器,并在进行用户注册时设置用户身份标识和登录密码。举例来说,用户通过智能设备A访问服务器并完成注册,获得用户身份信息A以后,可以在需要时,在智能设备A中输入用户身份信息A,以便于利用本公开实施例将智能设备A连接到无线网络;或者,还可以在其他智能设备中输入用户身份信息A,例如在智能设备B中输入用户身份信息A,如此便可将智能设备B连接到无线网络。As an example, a user may access the server through a smart device, and set a user identity and a login password during user registration. For example, the user accesses the server through the smart device A and completes the registration. After obtaining the user identity information A, the user can input the user identity information A in the smart device A when necessary, so as to use the embodiment of the present disclosure to connect the smart device A to Or, you can also input user identity information A in other smart devices, for example, input user identity information A in smart device B, so that smart device B can be connected to the wireless network.

在步骤102中,向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证。In step 102, the connection request is sent to a router, and the connection request is forwarded to a server by the router, so that the server performs identity authentication on the user identity information.

在步骤103中,接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果。In step 103, a connection response forwarded by the router is received, and the connection response includes an identity authentication result.

在步骤104中,当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。In step 104, when the result of the identity authentication indicates that the authentication is passed, access to the network through the router.

本公开实施例中,在智能设备请求接入路由器提供的无线网络时,可以将生成的连接请求发送至路由器,进而由路由器将连接请求转发至服务器,进行身份认证,对此可参见下文图3所示实施例处所做介绍,此处暂不详述。在服务器获得身份认证的结果后,可生成包括身份认证的结果的连接响应,经由路由器,将连接响应发送至智能设备。In the embodiment of the present disclosure, when the smart device requests to access the wireless network provided by the router, the generated connection request can be sent to the router, and then the router forwards the connection request to the server for identity authentication. For this, please refer to Figure 3 below It is introduced in the illustrated embodiment, and will not be described in detail here. After the server obtains the result of the identity authentication, it can generate a connection response including the result of the identity authentication, and send the connection response to the smart device via the router.

举例来说,身份认证的结果可以是用户身份信息认证通过,对应于此,智能设备可以连接到路由器提供的无线网络中,作为一种示例,智能设备还可以向用户提示网络连接成功。For example, the result of identity authentication may be that the user's identity information is authenticated. Correspondingly, the smart device may connect to the wireless network provided by the router. As an example, the smart device may also prompt the user that the network connection is successful.

举例来说,身份认证的结果可以是用户身份信息认证未通过,对应于此,智能设备无法连接到路由器提供的无线网络中,作为一种示例,智能设备还可以向用户提示网络连接失败。在一种可能的实施方式中,如果服务器返回的连接响应中还包括验证未通过的原因,则智能设备还可以向用户提示网络连接失败的原因,例如用户身份信息错误,或者用户未完成注册,等等,本公开实施例对此可不做限定。For example, the result of the identity authentication may be that the authentication of the user's identity information fails. Correspondingly, the smart device cannot connect to the wireless network provided by the router. As an example, the smart device may also prompt the user that the network connection fails. In a possible implementation, if the connection response returned by the server also includes the reason why the verification fails, the smart device can also prompt the user for the reason for the network connection failure, such as wrong user identity information, or the user has not completed the registration, Etc., the embodiments of the present disclosure may not limit this.

下面结合相关技术中的网络连接方案,对本公开实施例的技术效果做如下说明:The following describes the technical effects of the embodiments of the present disclosure in combination with the network connection solutions in related technologies:

智能设备利用相关技术接入无线网络时,向路由器发送的连接请求中包括的是路由器的访问密码。对应于此,每当智能设备请求接入一个无线网络时,用户都需要先知晓提供该无线网络的路由器的访问密码;或者,需要在智能设备的本地缓存中保存提供该无线网络的路由器的访问密码。此外,当路由器的访问密码发生变更时,本地缓存中保存的访问密码即会失效,致使智能设备无法再接入无线网络。When a smart device uses related technologies to access a wireless network, the connection request sent to the router includes the access password of the router. Correspondingly, whenever a smart device requests to access a wireless network, the user needs to first know the access password of the router that provides the wireless network; or, the access password of the router that provides the wireless network needs to be saved in the local cache of the smart device. password. In addition, when the access password of the router is changed, the access password saved in the local cache will become invalid, so that the smart device can no longer access the wireless network.

智能设备利用本公开实施例接入无线网络时,向路由器发送的连接请求中包括的是用户身份信息。对应于此,用户无需知晓路由器的访问密码,智能设备的本地缓存亦无需保存多个路由器的访问密码。如此,不仅简化了网络连接过程,还不会出现因访问密码变更,导致智能设备无法接入无线网络的情况。When the smart device accesses the wireless network by using the embodiments of the present disclosure, the connection request sent to the router includes user identity information. Correspondingly, the user does not need to know the access password of the router, and the local cache of the smart device does not need to store the access passwords of multiple routers. In this way, the network connection process is not only simplified, but also the situation that the smart device cannot access the wireless network due to the change of the access password will not occur.

综上,本公开实施例便可简单便捷的将智能设备接入到无线网络中。To sum up, the embodiment of the present disclosure can simply and conveniently connect the smart device to the wireless network.

图2是根据另一示例性实施例示出的一种网络连接方法的流程图。该网络连接方法可以应用于路由器。该网络连接方法可以包括以下步骤:Fig. 2 is a flowchart showing a network connection method according to another exemplary embodiment. The network connection method can be applied to routers. The network connection method may include the following steps:

在步骤201中,接收智能设备发送的连接请求,所述连接请求中包括用户身份信息。In step 201, a connection request sent by a smart device is received, and the connection request includes user identity information.

在步骤202中,向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证。In step 202, the connection request is forwarded to a server, and the connection request triggers the server to authenticate the user identity information.

在步骤203中,接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果。In step 203, a connection response returned by the server is received, and the connection response includes an identity authentication result.

在步骤204中,向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。In step 204, the connection response is forwarded to the smart device, and the smart device is used to access the network when the result of the identity authentication indicates that the authentication is passed.

本公开实施例,路由器可以作为智能设备与服务器之间的通信媒介。在智能设备请求接入路由器提供的无线网络时,路由器可以接收该智能设备发送的连接请求,并将连接请求转发至安全性较高的服务器,由服务器进行身份认证。相应地,在服务器完成身份认证,并生成包括身份认证的结果的连接响应后,路由器还可以接收服务器发送的连接响应,并将连接响应转发至智能设备,由智能设备根据身份认证的结果,确定是否接入网络中,具体可参见上文图1所示实施例处所做介绍,此处不再赘述。In the embodiment of the present disclosure, the router may serve as a communication medium between the smart device and the server. When a smart device requests to access the wireless network provided by the router, the router can receive the connection request sent by the smart device, and forward the connection request to a server with higher security, and the server performs identity authentication. Correspondingly, after the server completes the identity authentication and generates a connection response including the result of the identity authentication, the router can also receive the connection response sent by the server, and forward the connection response to the smart device, and the smart device determines the For details on whether to access the network, refer to the introduction in the embodiment shown in FIG. 1 above, and details will not be repeated here.

在一种可能的实施方式中,路由器还可以向服务器发送认证请求,所述认证请求中包括路由器的身份信息,以使所述服务器在确定所述路由器的身份信息认证通过时,再对所述用户身份信息进行身份认证。In a possible implementation manner, the router may also send an authentication request to the server, where the authentication request includes the identity information of the router, so that the server can further verify the User identity information for identity authentication.

也就是说,为了提高本公开实施例实现的网络连接的安全性,路由器可以在需要时,向服务器发送包括路由器的身份信息的认证请求,以使服务器据此对路由器进行身份认证,并在确定路由器身份认证通过时,再对该路由器转发的连接请求中包括的用户身份信息,进行身份认证。也即,既要确保用户身份的合法性,又要确保路由器身份的合法性。That is to say, in order to improve the security of the network connection realized by the embodiments of the present disclosure, the router may send an authentication request including the identity information of the router to the server when necessary, so that the server can perform identity authentication on the router accordingly, and determine When the router identity authentication is passed, identity authentication is performed on the user identity information included in the connection request forwarded by the router. That is, it is necessary to ensure the legitimacy of the identity of the user and the legitimacy of the identity of the router.

举例来说,路由器可以在接收到智能设备发送的连接请求后,被触发向服务器发送认证请求;或者,路由器可以在断电重启后,被触发向服务器发送认证请求,本公开实施例对此可不做限定。For example, the router may be triggered to send an authentication request to the server after receiving the connection request sent by the smart device; or, the router may be triggered to send the authentication request to the server after being powered off and restarted. Do limited.

本公开实施例中,路由器在接收到智能设备发送的连接请求后,被触发向服务器发送认证请求,可以体现为:路由器可以在步骤201接收到智能设备发送的连接请求后,即向服务器发送认证请求,对应于此,路由器可以在接收到服务器返回的表示路由器认证通过的认证响应后,再执行步骤202向服务器转发连接请求。或者,路由器可以在步骤202向服务器转发连接请求后,根据服务器的需要,向服务器发送认证请求,例如,服务器接收到连接请求,并判定需要对路由器进行身份认证时,可以触发路由器向服务器发送认证请求。或者,路由器可以改造向服务器转发的连接请求,使改造后的连接请求中包括用户身份信息和路由器的身份信息。本公开实施例对此可不做限定。In the embodiment of the present disclosure, after the router receives the connection request sent by the smart device, it is triggered to send an authentication request to the server. Correspondingly, the router may perform step 202 to forward the connection request to the server after receiving the authentication response returned by the server indicating that the router has passed the authentication. Or, after the router forwards the connection request to the server in step 202, it can send an authentication request to the server according to the needs of the server. ask. Alternatively, the router may modify the connection request forwarded to the server, so that the modified connection request includes user identity information and router identity information. The embodiments of the present disclosure may not limit this.

在一种可能的实施方式中,路由器接收到本公开实施例中的连接请求后,可以通过能否识别连接请求数据格式的方式,确定路由器的类型。如果路由器可以识别连接请求的数据格式,则可判定为本公开实施例中的路由器,可以按照本公开实施例进行网络连接;如果路由器无法识别连接请求的数据格式,则可判定为相关技术中的路由器,对应于此,可以向用户提示网络连接失败;或者,也可以提示用户输入路由器的访问密码,并利用相关技术进行网络连接。本公开实施例对此可不做限定。In a possible implementation manner, after the router receives the connection request in the embodiment of the present disclosure, it can determine the type of the router by whether it can identify the data format of the connection request. If the router can identify the data format of the connection request, it can be determined as the router in the embodiment of the present disclosure, and can perform network connection according to the embodiment of the present disclosure; if the router cannot recognize the data format of the connection request, it can be determined as the router in the related art Corresponding to this, the router may prompt the user that the network connection fails; or, may also prompt the user to input the access password of the router, and use related technologies to connect to the network. The embodiments of the present disclosure may not limit this.

下面结合相关技术中的网络连接方案,对本公开实施例的技术效果做如下说明:The following describes the technical effects of the embodiments of the present disclosure in combination with the network connection solutions in related technologies:

智能设备利用相关技术接入无线网络时,如果路由器未设置访问密码,智能设备则可直接连接到该路由器提供的无线网络,这种无线网络的安全性很低,甚至无线网络本身可能就是虚假钓鱼Wi-Fi,无法保证网络连接的安全性。如果路由器设置了访问密码,智能设备则可向路由器发送包括访问密码的连接请求,对应于此,只要路由器判定访问密码正确,便可使智能设备接入该路由器提供的无线网络,考虑到目前搭建Wi-Fi的成本很低,Wi-Fi的安全性也很难保证,访问密码也可能极易被破解,即使设置了访问密码,仍无法有效保证网络连接的安全性。When a smart device uses related technologies to access a wireless network, if the router does not set an access password, the smart device can directly connect to the wireless network provided by the router. The security of this wireless network is very low, and even the wireless network itself may be a fake phishing Wi-Fi, the security of the network connection cannot be guaranteed. If the router has set an access password, the smart device can send a connection request including the access password to the router. Correspondingly, as long as the router determines that the access password is correct, the smart device can be connected to the wireless network provided by the router. The cost of Wi-Fi is very low, the security of Wi-Fi is difficult to guarantee, and the access password may be easily cracked. Even if the access password is set, the security of the network connection cannot be effectively guaranteed.

智能设备利用本公开实施例接入无线网络时,在路由器接收到包括用户身份信息的连接请求后,转发至安全性高的服务器处进行身份认证,可有效保证本公开实施例网络连接的安全性。此外,还可在需要时,触发路由器向服务器发送包括路由器的身份信息的认证请求,由服务器对路由器进行身份认证,以此保证路由器提供的无线网络的安全性,进一步提高本公开实施例网络连接的安全性。When a smart device uses this embodiment of the disclosure to access a wireless network, after the router receives a connection request including user identity information, it forwards it to a server with high security for identity authentication, which can effectively ensure the security of the network connection in this embodiment of the disclosure. . In addition, when necessary, the router can also be triggered to send an authentication request including the identity information of the router to the server, and the server can perform identity authentication on the router, so as to ensure the security of the wireless network provided by the router, and further improve the network connection of the embodiments of the present disclosure. security.

综上,本公开实施例便可简单便捷的将智能设备接入到无线网络中,同时还可有效保证网络连接的安全性。To sum up, the embodiments of the present disclosure can simply and conveniently connect the smart device to the wireless network, and at the same time can effectively ensure the security of the network connection.

图3是根据再一示例性实施例示出的一种网络连接方法的流程图。该网络连接方法可以应用于服务器。该网络连接方法可以包括以下步骤:Fig. 3 is a flow chart of a network connection method according to yet another exemplary embodiment. The network connection method can be applied to a server. The network connection method may include the following steps:

在步骤301中,接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息。In step 301, a connection request sent by a router is received, the connection request is sent to the router by a smart device, and the connection request includes user identity information.

在步骤302中,利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果。In step 302, use the saved identity information of the legitimate user to perform identity authentication on the user identity information, and obtain an identity authentication result.

作为一种示例,服务器本地可以保存合法用户的身份信息,并通过查找比对的方式,对连接请求中的用户身份信息进行身份认证。例如,如果从合法用户的身份信息中,查找到连接请求中的用户身份信息,则可获得表示认证通过的身份认证的结果。如果从合法用户的身份信息中,未查找到连接请求中的用户身份信息,则可获得表示认证未通过的身份认证的结果。可以理解地,本公开实施例中的合法用户,指的是已在服务器上完成注册的用户,合法用户可以利用本公开实施例进行网络连接。As an example, the server may store the identity information of the legitimate user locally, and perform identity authentication on the user identity information in the connection request by means of a lookup and comparison. For example, if the user identity information in the connection request is found from the identity information of the legitimate user, an identity authentication result indicating that the authentication is passed can be obtained. If the identity information of the user in the connection request is not found from the identity information of the legitimate user, an identity authentication result indicating that the authentication fails can be obtained. It can be understood that the legal user in the embodiment of the present disclosure refers to the user who has completed registration on the server, and the legal user can use the embodiment of the present disclosure to connect to the network.

作为一种示例,服务器可以在进行用户注册时,抓取用户输入的用户身份信息,并将抓取到的用户身份信息确定为合法用户的身份信息。As an example, the server may capture user identity information input by the user during user registration, and determine the captured user identity information as identity information of a legitimate user.

在步骤303中,向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。In step 303, a connection response is sent to the router, the connection response includes the result of the identity authentication, and the router is used to forward the connection response to the smart device, so that the smart device can The result of the identity authentication indicates access to the network when the authentication is passed.

在一种可能的实施方式中,服务器还可以对路由器进行身份认证,确保用户身份以及路由器身份的双重合法性。例如,服务器可以接收所述路由器发送的认证请求,所述认证请求中包括路由器的身份信息;利用保存的合法路由器的身份信息,对所述路由器的身份信息进行身份认证;当所述路由器的身份信息认证通过时,执行所述利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果。In a possible implementation manner, the server may also perform identity authentication on the router to ensure the double legitimacy of the identity of the user and the identity of the router. For example, the server may receive the authentication request sent by the router, and the authentication request includes the identity information of the router; use the saved identity information of the legal router to perform identity authentication on the identity information of the router; when the identity information of the router When the information authentication is passed, execute the use of the saved identity information of the legitimate user, perform identity authentication on the user identity information, and obtain an identity authentication result.

作为一种示例,服务器本地可以保存合法路由器的身份信息,并通过查找比对的方式,对认证请求中的路由器身份信息进行身份认证。例如,如果从合法路由器的身份信息中,查找到认证请求中的路由器身份信息,则表示路由器的身份信息认证通过。如果从合法路由器的身份信息中,未查找到认证请求中的路由器身份信息,则表示路由器的身份信息认证未通过。可以理解地,本公开实施例中的合法路由器,指的是已在服务器上完成注册的路由器,合法路由器可以利用本公开实施例使智能设备接入无线网络。As an example, the server may store the identity information of the legal router locally, and perform identity authentication on the router identity information in the authentication request by means of searching and comparing. For example, if the identity information of the router in the authentication request is found from the identity information of the legitimate router, it means that the authentication of the identity information of the router is passed. If the identity information of the router in the authentication request is not found from the identity information of the legitimate router, it means that the authentication of the identity information of the router fails. It can be understood that the legitimate router in the embodiment of the present disclosure refers to the router that has been registered on the server, and the legitimate router can use the embodiment of the present disclosure to enable the smart device to access the wireless network.

作为一种示例,服务器可以在进行路由器注册时,获取路由器的身份标识,并将所述身份标识确定为合法路由器的身份信息。例如,路由器的身份标识可以是MAC地址等可以对路由器进行唯一标识的信息。举例来说,路由器可以向服务器发送注册请求,注册请求中包括路由器的MAC地址;对应于此,服务器接收到注册请求,并利用MAC地址判定该路由器未注册过,则可将MAC地址作为该路由器的身份信息,保存在服务器本地。As an example, when registering the router, the server may obtain the identity of the router, and determine the identity as the identity information of the legal router. For example, the identifier of the router may be information such as a MAC address that can uniquely identify the router. For example, the router can send a registration request to the server, and the registration request includes the MAC address of the router; correspondingly, the server receives the registration request, and uses the MAC address to determine that the router has not been registered, then the MAC address can be used as the The identity information is stored locally on the server.

作为一种示例,为了提高本公开实施例网络连接的安全性,服务器可以在进行路由器注册时,为请求注册的路由器生成随机秘钥,并将所述随机秘钥确定为所述合法路由器的身份信息。举例来说,路由器可以向服务器发送注册请求,注册请求中包括路由器的MAC地址;对应于此,服务器接收到注册请求,并利用MAC地址判定该路由器未注册过,则可生成一个随机秘钥作为该路由器的身份信息,保存在服务器本地。相应地,为了便于后续服务器对路由器进行身份认证,服务器还可通过注册响应将随机秘钥发送至路由器保存,本公开实施例对此可不做限定。As an example, in order to improve the security of the network connection in the embodiment of the present disclosure, the server may generate a random key for the router requesting registration when registering the router, and determine the random key as the identity of the legitimate router information. For example, the router can send a registration request to the server, and the registration request includes the MAC address of the router; correspondingly, the server receives the registration request, and uses the MAC address to determine that the router has not been registered, and then generates a random secret key as The identity information of the router is stored locally on the server. Correspondingly, in order to facilitate subsequent server authentication of the router, the server may also send a random secret key to the router for storage through a registration response, which is not limited in this embodiment of the present disclosure.

或者,还可结合上述两种示例,将路由器的身份标识和随机秘钥确定为合法路由器的身份信息,本公开实施例对此可不做限定。Alternatively, the above two examples may also be combined to determine the identity of the router and the random secret key as the identity information of the legal router, which is not limited in this embodiment of the present disclosure.

另外,为了进一步提高本公开实施例网络连接的安全性,可以对合法用户的身份标识和/或合法路由器的身份标识,通过一定的加密算法进行加密处理后,再保存于服务器中。In addition, in order to further improve the security of the network connection in the embodiment of the present disclosure, the identity of the legal user and/or the identity of the router may be encrypted by a certain encryption algorithm, and then stored in the server.

下面结合相关技术中的网络连接方案,对本公开实施例的技术效果做如下说明:The following describes the technical effects of the embodiments of the present disclosure in combination with the network connection solutions in related technologies:

智能设备利用相关技术接入无线网络时,智能设备直接与安全性很低的路由器交互,由路由器判断是否允许智能设备接入无线网络,网络连接的安全性很低。When a smart device uses related technologies to access a wireless network, the smart device directly interacts with a router with low security, and the router judges whether to allow the smart device to access the wireless network, and the security of the network connection is very low.

智能设备利用本公开实施例接入无线网络时,将路由器作为智能设备与服务器之间的通信媒介,用于向服务器转发智能设备发送的连接请求,以及向智能设备转发服务器发送的连接响应,也就是说,由安全性高的服务器来保存合法用户身份信息,并由服务器判断是否允许智能设备接入无线网络,提高了网络连接的安全级别,增大了破译难度,可以有效保证本公开实施例网络连接的安全性。When a smart device accesses a wireless network using the embodiments of the present disclosure, the router is used as a communication medium between the smart device and the server to forward the connection request sent by the smart device to the server and forward the connection response sent by the server to the smart device. That is to say, the server with high security saves the legal user identity information, and the server judges whether to allow the smart device to access the wireless network, which improves the security level of the network connection, increases the difficulty of deciphering, and can effectively guarantee the security of the embodiments of the present disclosure. Security of network connections.

综上,本公开实施例便可简单便捷的将智能设备接入到无线网络中,同时还可有效保证网络连接的安全性。To sum up, the embodiments of the present disclosure can simply and conveniently connect the smart device to the wireless network, and at the same time can effectively ensure the security of the network connection.

图4是根据一示例性实施例示出的实施环境的结构示意图,可涉及智能设备401、路由器402和服务器403。下面在结合一示例性实施例,对本公开实施例的网络连接过程进行解释说明。本实施例中,服务器保存了合法用户U1、U2、U3、U4的身份信息,同时,还保存了合法路由器A、B、C的身份信息。举例来说,路由器A布设在商场中,且该路由器提供的无线网络的Wi-Fi账号为shangchang。Fig. 4 is a schematic structural diagram of an implementation environment according to an exemplary embodiment, which may involve a smart device 401, a router 402, and a server 403. The network connection process of the embodiment of the present disclosure will be explained below in conjunction with an exemplary embodiment. In this embodiment, the server stores the identity information of legal users U 1 , U 2 , U 3 , and U 4 , and also stores the identity information of legal routers A, B, and C. For example, router A is deployed in a shopping mall, and the Wi-Fi account of the wireless network provided by the router is shangchang.

1.用户U1在商场时,通过手机搜索附近网络,此时,可以通过手机显示屏向U1展示搜索到的Wi-Fi账号。例如搜索到的Wi-Fi账号为shangchang。若U1点击选中了shangchang,且判定手机的本地缓存中保存了U1的身份信息,则可生成连接请求,发送至路由器A。1. When the user U 1 is in the shopping mall, he searches for nearby networks through his mobile phone. At this time, he can display the searched Wi-Fi account to U 1 through the display screen of the mobile phone. For example, the searched Wi-Fi account is shangchang. If U 1 clicks to select shangchang, and it is determined that the identity information of U 1 is saved in the local cache of the mobile phone, a connection request can be generated and sent to router A.

2.路由器A接收到手机发送的连接请求后,可以将连接请求转发至服务器,如此,服务器便可利用U1的身份信息,在本地保存的合法用户身份信息中进行匹配。本实施例中,服务器会在匹配成功时,生成表示认证通过的连接响应,发送至路由器A。如此,路由器A便可将连接响应转发至手机,使手机接入路由器A提供的无线网络中。2. After router A receives the connection request sent by the mobile phone, it can forward the connection request to the server. In this way, the server can use the identity information of U 1 to match with the legal user identity information stored locally. In this embodiment, when the matching is successful, the server generates a connection response indicating that the authentication is passed, and sends it to router A. In this way, router A can forward the connection response to the mobile phone, so that the mobile phone can access the wireless network provided by router A.

3.如果黑客在商场中利用路由器D布设了一个虚假钓鱼Wi-Fi,并将Wi-Fi账号命名为shangchang1,则在U1通过手机搜索附近网络时,向U1展示的Wi-Fi账号可以为:shangchang和shangchang1。若U1点击选中了shangchang1,同样可以从手机本地缓存中读取U1的身份信息,生成连接请求后,发送至路由器D。3. If a hacker uses router D to set up a fake phishing Wi-Fi in the shopping mall, and names the Wi-Fi account shangchang1, then when U 1 searches for nearby networks on the mobile phone, the Wi-Fi account shown to U 1 can be For: shangchang and shangchang1. If U 1 clicks and selects shangchang1, the identity information of U 1 can also be read from the local cache of the mobile phone, and a connection request is generated and sent to router D.

4.路由器D接收到手机发送的连接请求后,可以将连接请求转发至服务器。本实施例中,服务器可以在接收到连接请求后,触发路由器D向服务器发送认证请求,以对路由器D进行身份认证。举例来说,若路由器的身份信息为MAC地址,路由D器则可以利用其MAC地址生成认证请求,发送至服务器,如此,服务器便可利用本地保存的合法路由器的身份信息,对路由器D进行身份认证。本实施例中,路由器D的身份认证结果为未通过,服务器可以停止针对路由器D发送的连接请求的认证过程,向路由器D返回用户身份认证未通过的连接响应,禁止将手机接入路由器D提供的虚假钓鱼Wi-Fi,保证网络连接的安全性。4. After router D receives the connection request sent by the mobile phone, it can forward the connection request to the server. In this embodiment, after receiving the connection request, the server may trigger router D to send an authentication request to the server, so as to authenticate router D. For example, if the identity information of the router is a MAC address, the router D can use its MAC address to generate an authentication request and send it to the server. In this way, the server can use the identity information of the legal router stored locally to identify the router D. certified. In this embodiment, the identity authentication result of router D is not passed, the server can stop the authentication process for the connection request sent by router D, return the connection response that the user identity authentication has not passed to router D, and prohibit the mobile phone from being connected to router D to provide fake phishing Wi-Fi to ensure the security of network connections.

5.用户U5在商场时,通过pad搜索附近网络时,搜索到Wi-Fi账号为shangchang的无线网络。若U5点击选中了shangchang,且判定pad本地缓存中未保存U5的身份信息,则可通过pad的显示屏提示用户输入身份信息。参见图5所示示例性实施例,还可以同时提示用户进行注册。本实施例中,若用户U5为未注册用户,则可在U5点击注册之后,引导U5完成注册,于此同时,服务器便可抓取U5在注册时填写的用户身份信息,并将合法用户的身份信息更新为U1、U2、U3、U4、U5的身份信息。5. When the user U 5 is in the shopping mall, when searching for nearby networks through the pad, the wireless network whose Wi-Fi account is shangchang is found. If U 5 clicks to select shangchang, and it is determined that the identity information of U 5 is not saved in the local buffer of the pad, the user may be prompted to input the identity information through the display screen of the pad. Referring to the exemplary embodiment shown in FIG. 5, the user may also be prompted to register at the same time. In this embodiment, if user U 5 is an unregistered user, U 5 can be guided to complete the registration after U 5 clicks on register, and at the same time, the server can capture the user identity information filled in by U 5 when registering, and The identity information of legal users is updated to the identity information of U 1 , U 2 , U 3 , U 4 , and U 5 .

如此,在U5完成注册后,便可利用本公开实施例将pad接入路由器A提供的无线网络中。In this way, after the U 5 completes the registration, the pad can be connected to the wireless network provided by the router A by using the embodiments of the present disclosure.

6.用户U6在商场时,通过笔记本电脑搜索附近网络时,搜索到Wi-Fi账号为shangchang的无线网络。若U6点击选中了shangchang,且判定笔记本电脑本地缓存中未保存U6的身份信息,则可按照图5所示,提示U6输入身份信息。本实施例中,若用户U6为未注册用户,但却在用户身份信息栏中输入了用户身份标识和登录密码。6. When the user U 6 is in the shopping mall, when he searches for nearby networks through his laptop, he finds the wireless network whose Wi-Fi account is shangchang. If U 6 clicks to select shangchang, and it is determined that the identity information of U 6 is not saved in the local cache of the laptop computer, U 6 can be prompted to input the identity information as shown in Figure 5 . In this embodiment, if the user U6 is an unregistered user, but has entered the user identity and login password in the user identity information column.

对应于此,首先,笔记本电脑会利用U6输入的用户身份信息生成连接请求,并通过路由器A将连接请求发送至服务器;其次,服务器会生成表示认证未通过的连接响应,并通过路由器A将连接响应发送至笔记本电脑,禁止笔记本电脑接入路由器A提供的无线网络;最后,笔记本电脑可以通过显示屏向用户提示网络连接失败。参见图6所示示例性实施例,还可以同时提示用户进行注册。这样,服务器便可在引导U6进行用户注册时,抓取U6填写的用户身份信息,并将合法用户的身份信息更新为U1、U2、U3、U4、U5、U6的身份信息。Corresponding to this, first, the notebook computer will use the user identity information input by U 6 to generate a connection request, and send the connection request to the server through router A; secondly, the server will generate a connection response indicating that the authentication fails, and send the connection request to the server through router A. The connection response is sent to the laptop, and the laptop is prohibited from accessing the wireless network provided by router A; finally, the laptop can prompt the user that the network connection fails through the display screen. Referring to the exemplary embodiment shown in FIG. 6, the user may also be prompted to register at the same time. In this way, the server can capture the user identity information filled in by U 6 when guiding U 6 to register as a user, and update the identity information of legitimate users to U 1 , U 2 , U 3 , U 4 , U 5 , and U 6 identity information.

如此,在U6完成注册后,便可利用本公开实施例将笔记本电脑接入路由器A提供的无线网络中。In this way, after U 6 completes the registration, the embodiment of the present disclosure can be used to connect the notebook computer to the wireless network provided by the router A.

图7是根据一示例性实施例示出的一种网络连接装置的示意图。该装置可以属于智能设备。参照图7,该装置700可以包括获取模块701、发送模块702、接收模块703和接入模块704。Fig. 7 is a schematic diagram of a network connection device according to an exemplary embodiment. The device may belong to a smart device. Referring to FIG. 7 , the apparatus 700 may include an acquiring module 701 , a sending module 702 , a receiving module 703 and an accessing module 704 .

该获取模块701,可以被配置为获取用户身份信息,并利用所述用户身份信息生成连接请求;The acquiring module 701 may be configured to acquire user identity information, and use the user identity information to generate a connection request;

该发送模块702,可以被配置为向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;The sending module 702 may be configured to send the connection request to a router, and the connection request is forwarded by the router to a server, so that the server performs identity authentication on the user identity information;

该接收模块703,可以被配置为接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;The receiving module 703 may be configured to receive a connection response forwarded by the router, where the connection response includes an identity authentication result;

该接入模块704,可以被配置为当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。The access module 704 may be configured to access the network through the router when the result of the identity authentication indicates that the authentication is passed.

综上所述,利用本公开实施例接入无线网络时,获取模块701利用用户身份标识生成连接请求,也即发送模块702向路由器发送的连接请求中包括的是用户身份信息。对应于此,用户无需知晓路由器的访问密码,智能设备的本地缓存亦无需保存多个路由器的访问密码。如此,不仅可以简单便捷的将智能设备接入到无线网络,还不会出现因访问密码变更,导致智能设备无法接入无线网络的情况。To sum up, when using the embodiment of the present disclosure to access a wireless network, the obtaining module 701 uses the user identity to generate a connection request, that is, the connection request sent by the sending module 702 to the router includes user identity information. Correspondingly, the user does not need to know the access password of the router, and the local cache of the smart device does not need to store the access passwords of multiple routers. In this way, not only can the smart device be connected to the wireless network simply and conveniently, but also the situation that the smart device cannot be connected to the wireless network due to the change of the access password will not occur.

一种可能的实施方式中,该获取模块701,可以被配置为从智能设备的本地缓存中读取所述用户身份信息。In a possible implementation manner, the obtaining module 701 may be configured to read the user identity information from a local cache of the smart device.

图8是根据另一示例性实施例示出的一种网络连接装置的示意图。该装置可以属于路由器。参照图8,该装置800可以包括第一接收模块801、第一发送模块802、第二接收模块803和第二发送模块804。Fig. 8 is a schematic diagram of a network connection device according to another exemplary embodiment. The device may belong to a router. Referring to FIG. 8 , the apparatus 800 may include a first receiving module 801 , a first sending module 802 , a second receiving module 803 and a second sending module 804 .

该第一接收模块801,可以被配置为接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;The first receiving module 801 may be configured to receive a connection request sent by a smart device, and the connection request includes user identity information;

该第一发送模块802,可以被配置为向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;The first sending module 802 may be configured to forward the connection request to a server, and the connection request triggers the server to perform identity authentication on the user identity information;

该第二接收模块803,可以被配置为接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;The second receiving module 803 may be configured to receive a connection response returned by the server, where the connection response includes an identity authentication result;

该第二发送模块804,可以被配置为向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。The second sending module 804 may be configured to forward the connection response to the smart device, and the smart device is configured to access the network when the identity authentication result indicates that the authentication is passed.

综上所述,利用本公开实施例接入无线网络时,第一发送模块802会将智能设备发送的连接请求转发至安全性高的服务器处,进行身份认证。如此,不仅可以简单便捷的将智能设备接入到无线网络中,还可有效保证网络连接的安全性。To sum up, when using the embodiment of the present disclosure to access a wireless network, the first sending module 802 will forward the connection request sent by the smart device to a server with high security for identity authentication. In this way, not only can the smart device be easily and conveniently connected to the wireless network, but also effectively ensure the security of the network connection.

一种可能的实施方式中,该装置还包括:第三发送模块,可以被配置为在所述连接响应接收模块接收所述连接响应之前,向服务器发送认证请求,所述认证请求中包括路由器的身份信息,以使所述服务器在确定所述路由器的身份信息认证通过时,对所述用户身份信息进行身份认证。In a possible implementation manner, the device further includes: a third sending module, configured to send an authentication request to the server before the connection response receiving module receives the connection response, and the authentication request includes the router's identity information, so that the server performs identity authentication on the user identity information when determining that the identity information authentication of the router passes.

图9是根据再一示例性实施例示出的一种网络连接装置的示意图。该装置可以属于服务器。参照图9,该装置900可以包括第一接收模块901、第一认证模块902和发送模块903。Fig. 9 is a schematic diagram of a network connection device according to yet another exemplary embodiment. The device may belong to a server. Referring to FIG. 9 , the device 900 may include a first receiving module 901 , a first authentication module 902 and a sending module 903 .

该第一接收模块901,可以被配置为接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;The first receiving module 901 may be configured to receive a connection request sent by a router, the connection request is sent to the router by a smart device, and the connection request includes user identity information;

该第一认证模块902,可以被配置为利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;The first authentication module 902 may be configured to perform identity authentication on the user identity information by using the saved identity information of the legitimate user, and obtain an identity authentication result;

该发送模块903,可以被配置为向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。The sending module 903 may be configured to send a connection response to the router, the connection response includes the result of the identity authentication, and the router is used to forward the connection response to the smart device, so that all The smart device accesses the network when the result of the identity authentication indicates that the authentication is passed.

综上所述,利用本公开实施例接入无线网络时,由安全性高的服务器中的第一认证模块902,对用户身份信息进行身份认证,如此,便可在简单便捷的将智能设备接入到无线网络的同时,有效保证网络连接的安全性。To sum up, when using the embodiment of the present disclosure to access the wireless network, the first authentication module 902 in the server with high security performs identity authentication on the user identity information, so that the smart device can be easily and conveniently connected to While accessing the wireless network, it can effectively ensure the security of the network connection.

一种可能的实施方式中,该装置还包括:第一获得模块,可以被配置为在进行用户注册时,抓取用户输入的用户身份信息,并将抓取到的用户身份信息确定为所述合法用户的身份信息。In a possible implementation manner, the device further includes: a first obtaining module, which may be configured to capture user identity information input by the user during user registration, and determine the captured user identity information as the Identity information of legitimate users.

一种可能的实施方式中,该装置还包括:第二接收模块,可以被配置为在所述第一认证模块902获得身份认证的结果之前,接收所述路由器发送的认证请求,所述认证请求中包括路由器的身份信息;第二认证模块,可以被配置为利用保存的合法路由器的身份信息,对所述路由器的身份信息进行身份认证,并在所述路由器的身份信息认证通过时,再由所述用户身份认证模块获得身份认证的结果。In a possible implementation manner, the device further includes: a second receiving module, configured to receive an authentication request sent by the router before the first authentication module 902 obtains an identity authentication result, and the authentication request Including the identity information of the router; the second authentication module can be configured to use the saved identity information of the legal router to perform identity authentication on the identity information of the router, and when the authentication of the identity information of the router passes, then by The user identity authentication module obtains the result of identity authentication.

一种可能的实施方式中,该装置还包括:第二获得模块,可以被配置为在进行路由器注册时,为请求注册的路由器生成随机秘钥,并将所述随机秘钥确定为所述合法路由器的身份信息。In a possible implementation manner, the device further includes: a second obtaining module, which may be configured to generate a random key for a router requesting registration when performing router registration, and determine the random key as the legitimate Identity information of the router.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.

图10是根据一示例性实施例示出的一种网络连接装置1000的框图。例如,装置1000可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 10 is a block diagram of a network connection device 1000 according to an exemplary embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.

参照图10,装置1000可以包括以下一个或多个组件:处理组件1002,存储器1004,电力组件1006,多媒体组件1008,音频组件1010,输入/输出(I/O)的接口1012,传感器组件1014,以及通信组件1016。10, device 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communication component 1016.

处理组件1002通常控制装置1000的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件1002可以包括一个或多个处理器1020来执行指令,以完成上述网络连接方法的全部或部分步骤。此外,处理组件1002可以包括一个或多个模块,便于处理组件1002和其他组件之间的交互。例如,处理组件1002可以包括多媒体模块,以方便多媒体组件1008和处理组件1002之间的交互。The processing component 1002 generally controls the overall operations of the device 1000, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions to complete all or part of the steps of the above network connection method. Additionally, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, processing component 1002 may include a multimedia module to facilitate interaction between multimedia component 1008 and processing component 1002 .

存储器1004被配置为存储各种类型的数据以支持在装置1000的操作。这些数据的示例包括用于在装置1000上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器1004可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 1004 is configured to store various types of data to support operations at the device 1000 . Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 can be implemented by any type of volatile or non-volatile memory device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件1006为装置1000的各种组件提供电力。电力组件1006可以包括电源管理系统,一个或多个电源,及其他与为装置1000生成、管理和分配电力相关联的组件。Power component 1006 provides power to various components of device 1000 . Power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for device 1000 .

多媒体组件1008包括在所述装置1000和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件1008包括一个前置摄像头和/或后置摄像头。当装置1000处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 1008 includes a front camera and/or a rear camera. When the device 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件1010被配置为输出和/或输入音频信号。例如,音频组件1010包括一个麦克风(MIC),当装置1000处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器1004或经由通信组件1016发送。在一些实施例中,音频组件1010还包括一个扬声器,用于输出音频信号。The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a microphone (MIC), which is configured to receive external audio signals when the device 1000 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 1004 or sent via communication component 1016 . In some embodiments, the audio component 1010 also includes a speaker for outputting audio signals.

I/O接口1012为处理组件1002和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 1012 provides an interface between the processing component 1002 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件1014包括一个或多个传感器,用于为装置1000提供各个方面的状态评估。例如,传感器组件1014可以检测到装置1000的打开/关闭状态,组件的相对定位,例如所述组件为装置1000的显示器和小键盘,传感器组件1014还可以检测装置1000或装置1000一个组件的位置改变,用户与装置1000接触的存在或不存在,装置1000方位或加速/减速和装置1000的温度变化。传感器组件1014可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件1014还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件1014还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 1014 includes one or more sensors for providing status assessments of various aspects of device 1000 . For example, the sensor component 1014 can detect the open/closed state of the device 1000, the relative positioning of components, such as the display and keypad of the device 1000, and the sensor component 1014 can also detect a change in the position of the device 1000 or a component of the device 1000 , the presence or absence of user contact with the device 1000 , the device 1000 orientation or acceleration/deceleration and the temperature change of the device 1000 . The sensor assembly 1014 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 1014 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件1016被配置为便于装置1000和其他设备之间有线或无线方式的通信。装置1000可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件1016经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件1016还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 1016 is configured to facilitate wired or wireless communication between the apparatus 1000 and other devices. The device 1000 can access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置1000可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述网络连接方法。In an exemplary embodiment, apparatus 1000 may be programmed by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the network connection method described above.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器1004,上述指令可由装置1000的处理器1020执行以完成上述网络连接方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 1004 including instructions, which can be executed by the processor 1020 of the device 1000 to implement the above-mentioned network connection method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

图11是根据另一示例性实施例示出的一种网络连接装置1100的框图。例如,装置1100可以被提供为一路由器。参照图11,装置1100包括处理组件1122,其进一步包括一个或多个处理器,以及由存储器1132所代表的存储器资源,用于存储可由处理组件1122的执行的指令,例如应用程序。存储器1132中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1122被配置为执行指令,以执行上述网络连接方法。Fig. 11 is a block diagram of a network connection device 1100 according to another exemplary embodiment. For example, apparatus 1100 may be provided as a router. Referring to FIG. 11 , apparatus 1100 includes processing component 1122 , which further includes one or more processors, and a memory resource represented by memory 1132 for storing instructions executable by processing component 1122 , such as application programs. The application program stored in memory 1132 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1122 is configured to execute instructions to perform the above-mentioned network connection method.

装置1100还可以包括一个电源组件1126被配置为执行装置1100的电源管理,一个有线或无线网络接口1150被配置为将装置1100连接到网络,和一个输入输出(I/O)接口1158。Device 1100 may also include a power component 1126 configured to perform power management of device 1100 , a wired or wireless network interface 1150 configured to connect device 1100 to a network, and an input-output (I/O) interface 1158 .

图12是根据另一示例性实施例示出的一种网络连接装置1200的框图。例如,装置1200可以被提供为一服务器。参照图12,装置1200包括处理组件1222,其进一步包括一个或多个处理器,以及由存储器1232所代表的存储器资源,用于存储可由处理组件1222的执行的指令,例如应用程序。存储器1232中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1222被配置为执行指令,以执行上述网络连接方法。Fig. 12 is a block diagram of a network connection device 1200 according to another exemplary embodiment. For example, the apparatus 1200 may be provided as a server. 12, apparatus 1200 includes processing component 1222, which further includes one or more processors, and a memory resource represented by memory 1232 for storing instructions executable by processing component 1222, such as application programs. The application program stored in memory 1232 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1222 is configured to execute instructions to perform the above-mentioned network connection method.

装置1200还可以包括一个电源组件1226被配置为执行装置1200的电源管理,一个有线或无线网络接口1250被配置为将装置1200连接到网络,和一个输入输出(I/O)接口1258。装置1200可以操作基于存储在存储器1232的操作系统,例如Windows ServerTM,MacOS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 1200 may also include a power component 1226 configured to perform power management of device 1200 , a wired or wireless network interface 1250 configured to connect device 1200 to a network, and an input-output (I/O) interface 1258 . The apparatus 1200 can operate based on an operating system stored in the memory 1232, such as Windows Server™, MacOS X™, Unix™, Linux™, FreeBSD™ or the like.

本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (20)

1.一种网络连接方法,其特征在于,包括:1. A network connection method, characterized in that, comprising: 获取用户身份信息,并利用所述用户身份信息生成连接请求;Obtain user identity information, and use the user identity information to generate a connection request; 向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;sending the connection request to a router, and the connection request is forwarded by the router to a server, so that the server performs identity authentication on the user identity information; 接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;receiving a connection response forwarded by the router, where the connection response includes an identity authentication result; 当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。When the result of the identity authentication indicates that the authentication is passed, access to the network through the router. 2.根据权利要求1所述的方法,其特征在于,所述获取用户身份信息,包括:2. The method according to claim 1, wherein said acquiring user identity information comprises: 从智能设备的本地缓存中读取所述用户身份信息。The user identity information is read from the local cache of the smart device. 3.根据权利要求1或2所述的方法,其特征在于,所述用户身份信息包括用户身份标识和登录密码。3. The method according to claim 1 or 2, wherein the user identity information includes a user identity and a login password. 4.一种网络连接方法,其特征在于,包括:4. A network connection method, characterized in that, comprising: 接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;Receive a connection request sent by the smart device, where the connection request includes user identity information; 向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;Forwarding the connection request to a server, the connection request triggering the server to perform identity authentication on the user identity information; 接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;receiving a connection response returned by the server, where the connection response includes an identity authentication result; 向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。Forwarding the connection response to the smart device, where the smart device is configured to access the network when the identity authentication result indicates that the authentication is passed. 5.根据权利要求4所述的方法,其特征在于,在所述接收所述服务器返回的连接响应之前,所述方法还包括:5. The method according to claim 4, wherein before receiving the connection response returned by the server, the method further comprises: 向服务器发送认证请求,所述认证请求中包括路由器的身份信息,以使所述服务器在确定所述路由器的身份信息认证通过时,再对所述用户身份信息进行身份认证。Sending an authentication request to the server, where the authentication request includes the identity information of the router, so that the server performs identity authentication on the user identity information after determining that the identity information of the router passes the authentication. 6.一种网络连接方法,其特征在于,包括:6. A network connection method, characterized in that, comprising: 接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;Receive a connection request sent by a router, the connection request is sent to the router by the smart device, and the connection request includes user identity information; 利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;Perform identity authentication on the user identity information by using the saved identity information of the legitimate user, and obtain an identity authentication result; 向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。sending a connection response to the router, where the connection response includes the result of the identity authentication, and the router is configured to forward the connection response to the smart device, so that the smart device The result indicates that when the authentication is passed, it is connected to the network. 7.根据权利要求6所述的方法,其特征在于,获得所述合法用户的身份信息的方式为:7. The method according to claim 6, wherein the method of obtaining the identity information of the legal user is: 在进行用户注册时,抓取用户输入的用户身份信息,并将抓取到的用户身份信息确定为所述合法用户的身份信息。During user registration, the user identity information input by the user is captured, and the captured user identity information is determined as the legal user's identity information. 8.根据权利要求6或7所述的方法,其特征在于,在所述利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果之前,所述方法还包括:8. The method according to claim 6 or 7, characterized in that, before said user identity information is authenticated using the saved identity information of the legitimate user, and before the result of identity authentication is obtained, said method further include: 接收所述路由器发送的认证请求,所述认证请求中包括路由器的身份信息;receiving an authentication request sent by the router, where the authentication request includes the identity information of the router; 利用保存的合法路由器的身份信息,对所述路由器的身份信息进行身份认证;performing identity authentication on the identity information of the router by using the saved identity information of the legal router; 当所述路由器的身份信息认证通过时,执行所述利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果。When the authentication of the identity information of the router is passed, execute the use of the saved identity information of the legitimate user, perform identity authentication on the user identity information, and obtain an identity authentication result. 9.根据权利要求8所述的方法,其特征在于,获得所述合法路由器的身份信息的方式为:9. The method according to claim 8, wherein the method of obtaining the identity information of the legal router is: 在进行路由器注册时,为请求注册的路由器生成随机秘钥,并将所述随机秘钥确定为所述合法路由器的身份信息。During router registration, a random secret key is generated for the router requesting registration, and the random secret key is determined as the identity information of the legitimate router. 10.一种网络连接装置,其特征在于,包括:10. A network connection device, comprising: 获取模块,被配置为获取用户身份信息,并利用所述用户身份信息生成连接请求;An acquisition module configured to acquire user identity information, and use the user identity information to generate a connection request; 发送模块,被配置为向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;A sending module configured to send the connection request to a router, and the connection request is forwarded by the router to a server, so that the server performs identity authentication on the user identity information; 接收模块,被配置为接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;A receiving module configured to receive a connection response forwarded by the router, where the connection response includes an identity authentication result; 接入模块,被配置为当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。The access module is configured to access the network through the router when the result of the identity authentication indicates that the authentication is passed. 11.根据权利要求10所述的装置,其特征在于,11. The apparatus of claim 10, wherein: 所述获取模块,被配置为从智能设备的本地缓存中读取所述用户身份信息。The obtaining module is configured to read the user identity information from the local cache of the smart device. 12.一种网络连接装置,其特征在于,包括:12. A network connection device, comprising: 第一接收模块,被配置为接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;The first receiving module is configured to receive a connection request sent by the smart device, and the connection request includes user identity information; 第一发送模块,被配置为向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;The first sending module is configured to forward the connection request to a server, and the connection request triggers the server to authenticate the user identity information; 第二接收模块,被配置为接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;The second receiving module is configured to receive a connection response returned by the server, where the connection response includes an identity authentication result; 第二发送模块,被配置为向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。The second sending module is configured to forward the connection response to the smart device, and the smart device is configured to access the network when the result of the identity authentication indicates that the authentication is passed. 13.根据权利要求12所述的装置,其特征在于,所述装置还包括:13. The device according to claim 12, further comprising: 第三发送模块,被配置为在所述连接响应接收模块接收所述连接响应之前,向服务器发送认证请求,所述认证请求中包括路由器的身份信息,以使所述服务器在确定所述路由器的身份信息认证通过时,对所述用户身份信息进行身份认证。The third sending module is configured to send an authentication request to the server before the connection response receiving module receives the connection response, the authentication request includes the identity information of the router, so that the server determines the identity information of the router When the identity information authentication passes, identity authentication is performed on the user identity information. 14.一种网络连接装置,其特征在于,包括:14. A network connection device, comprising: 第一接收模块,被配置为接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;The first receiving module is configured to receive a connection request sent by a router, the connection request is sent to the router by a smart device, and the connection request includes user identity information; 第一认证模块,被配置为利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;The first authentication module is configured to use the saved identity information of the legal user to perform identity authentication on the user identity information, and obtain an identity authentication result; 发送模块,被配置为向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。The sending module is configured to send a connection response to the router, the connection response includes the result of the identity authentication, and the router is configured to forward the connection response to the smart device, so that the smart device When the result of the identity authentication indicates that the authentication is passed, access to the network. 15.根据权利要求14所述的装置,其特征在于,所述装置还包括:15. The device according to claim 14, further comprising: 第一获得模块,被配置为在进行用户注册时,抓取用户输入的用户身份信息,并将抓取到的用户身份信息确定为所述合法用户的身份信息。The first obtaining module is configured to capture user identity information input by the user during user registration, and determine the captured user identity information as the legal user's identity information. 16.根据权利要求14或15所述的装置,其特征在于,所述装置还包括:16. The device according to claim 14 or 15, wherein the device further comprises: 第二接收模块,被配置为在所述第一认证模块获得身份认证的结果之前,接收所述路由器发送的认证请求,所述认证请求中包括路由器的身份信息;The second receiving module is configured to receive an authentication request sent by the router before the first authentication module obtains an identity authentication result, and the authentication request includes the identity information of the router; 第二认证模块,被配置为利用保存的合法路由器的身份信息,对所述路由器的身份信息进行身份认证,并在所述路由器的身份信息认证通过时,再由所述用户身份认证模块获得身份认证的结果。The second authentication module is configured to use the saved identity information of the legal router to perform identity authentication on the identity information of the router, and when the authentication of the identity information of the router passes, the user identity authentication module obtains the identity Result of certification. 17.根据权利要求16所述的装置,其特征在于,所述装置还包括:17. The device according to claim 16, further comprising: 第二获得模块,被配置为在进行路由器注册时,为请求注册的路由器生成随机秘钥,并将所述随机秘钥确定为所述合法路由器的身份信息。The second obtaining module is configured to generate a random secret key for a router requesting registration when performing router registration, and determine the random secret key as the identity information of the legal router. 18.一种网络连接装置,其特征在于,包括:18. A network connection device, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 获取用户身份信息,并利用所述用户身份信息生成连接请求;Obtain user identity information, and use the user identity information to generate a connection request; 向路由器发送所述连接请求,所述连接请求由所述路由器转发至服务器,以使所述服务器对所述用户身份信息进行身份认证;sending the connection request to a router, and the connection request is forwarded by the router to a server, so that the server performs identity authentication on the user identity information; 接收所述路由器转发的连接响应,所述连接响应中包括身份认证的结果;receiving a connection response forwarded by the router, where the connection response includes an identity authentication result; 当所述身份认证的结果表示认证通过时,通过所述路由器接入网络中。When the result of the identity authentication indicates that the authentication is passed, access to the network through the router. 19.一种网络连接装置,其特征在于,包括:19. A network connection device, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 接收智能设备发送的连接请求,所述连接请求中包括用户身份信息;Receive a connection request sent by the smart device, where the connection request includes user identity information; 向服务器转发所述连接请求,所述连接请求触发所述服务器对所述用户身份信息进行身份认证;Forwarding the connection request to a server, the connection request triggering the server to perform identity authentication on the user identity information; 接收所述服务器返回的连接响应,所述连接响应中包括身份认证的结果;receiving a connection response returned by the server, where the connection response includes an identity authentication result; 向所述智能设备转发所述连接响应,所述智能设备用于在所述身份认证的结果表示认证通过时,接入网络中。Forwarding the connection response to the smart device, where the smart device is configured to access the network when the identity authentication result indicates that the authentication is passed. 20.一种网络连接装置,其特征在于,包括:20. A network connection device, comprising: 处理器;processor; 用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions; 其中,所述处理器被配置为:Wherein, the processor is configured as: 接收路由器发送的连接请求,所述连接请求由智能设备发送至所述路由器,所述连接请求中包括用户身份信息;Receive a connection request sent by a router, the connection request is sent to the router by the smart device, and the connection request includes user identity information; 利用保存的合法用户的身份信息,对所述用户身份信息进行身份认证,获得身份认证的结果;Perform identity authentication on the user identity information by using the saved identity information of the legitimate user, and obtain an identity authentication result; 向所述路由器发送连接响应,所述连接响应中包括所述身份认证的结果,所述路由器用于将所述连接响应转发至所述智能设备,以使所述智能设备在所述身份认证的结果表示认证通过时,接入网络中。Send a connection response to the router, the connection response includes the result of the identity authentication, and the router is used to forward the connection response to the smart device, so that the smart device The result indicates that when the authentication is passed, it is connected to the network.
CN201610403641.0A 2016-06-07 2016-06-07 Method for connecting network and device Pending CN106102061A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610403641.0A CN106102061A (en) 2016-06-07 2016-06-07 Method for connecting network and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610403641.0A CN106102061A (en) 2016-06-07 2016-06-07 Method for connecting network and device

Publications (1)

Publication Number Publication Date
CN106102061A true CN106102061A (en) 2016-11-09

Family

ID=57228845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610403641.0A Pending CN106102061A (en) 2016-06-07 2016-06-07 Method for connecting network and device

Country Status (1)

Country Link
CN (1) CN106102061A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107148019A (en) * 2017-05-12 2017-09-08 上海掌门科技有限公司 A kind of method and apparatus for being used to connect WAP
CN107222466A (en) * 2017-05-15 2017-09-29 上海与德科技有限公司 A kind of method, router, smart machine and system for connecting WLAN
CN107517461A (en) * 2017-08-21 2017-12-26 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN107708176A (en) * 2017-11-27 2018-02-16 广东欧珀移动通信有限公司 A network connection method, network connection device and mobile terminal
CN111328076A (en) * 2020-02-25 2020-06-23 北京小米移动软件有限公司 A device distribution network method, device and medium
CN112910978A (en) * 2021-01-26 2021-06-04 杭州迪普科技股份有限公司 Method and system for synchronizing network configuration data
TWI817336B (en) * 2022-01-25 2023-10-01 智易科技股份有限公司 Network connection system and network connection method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203416426U (en) * 2013-07-31 2014-01-29 深圳辉烨通讯技术有限公司 Communication system based on WIFI wireless network
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN105101209A (en) * 2015-08-24 2015-11-25 山西朗众信息技术有限公司 Wireless router access method and wireless router access system
CN105430649A (en) * 2015-12-30 2016-03-23 迈普通信技术股份有限公司 Wifi access method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203416426U (en) * 2013-07-31 2014-01-29 深圳辉烨通讯技术有限公司 Communication system based on WIFI wireless network
CN104363631A (en) * 2014-10-24 2015-02-18 小米科技有限责任公司 Connection method, device and system of wireless router
CN105101209A (en) * 2015-08-24 2015-11-25 山西朗众信息技术有限公司 Wireless router access method and wireless router access system
CN105430649A (en) * 2015-12-30 2016-03-23 迈普通信技术股份有限公司 Wifi access method and apparatus

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11129020B2 (en) 2017-05-12 2021-09-21 Shanghai Shangwang Network Technology Co., Ltd. Method and device for establishing connection to wireless access point
CN107148019A (en) * 2017-05-12 2017-09-08 上海掌门科技有限公司 A kind of method and apparatus for being used to connect WAP
WO2018205997A1 (en) * 2017-05-12 2018-11-15 上海连尚网络科技有限公司 Method and device for connecting wireless access point
CN107148019B (en) * 2017-05-12 2019-06-21 上海连尚网络科技有限公司 It is a kind of for connecting the method and apparatus of wireless access point
CN107222466A (en) * 2017-05-15 2017-09-29 上海与德科技有限公司 A kind of method, router, smart machine and system for connecting WLAN
CN107517461A (en) * 2017-08-21 2017-12-26 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN107708176A (en) * 2017-11-27 2018-02-16 广东欧珀移动通信有限公司 A network connection method, network connection device and mobile terminal
CN107708176B (en) * 2017-11-27 2020-03-20 Oppo广东移动通信有限公司 Network connection method, network connection device and mobile terminal
CN111328076A (en) * 2020-02-25 2020-06-23 北京小米移动软件有限公司 A device distribution network method, device and medium
CN111328076B (en) * 2020-02-25 2023-07-18 北京小米移动软件有限公司 A device distribution network method, device and medium
CN112910978A (en) * 2021-01-26 2021-06-04 杭州迪普科技股份有限公司 Method and system for synchronizing network configuration data
CN112910978B (en) * 2021-01-26 2022-07-01 杭州迪普科技股份有限公司 Method and system for synchronizing network configuration data
TWI817336B (en) * 2022-01-25 2023-10-01 智易科技股份有限公司 Network connection system and network connection method thereof

Similar Documents

Publication Publication Date Title
CN106709399B (en) Fingerprint identification method and device
CN104125067B (en) Account and token secret key binding method and device
CN106102061A (en) Method for connecting network and device
CN105656948A (en) Account login method and device
CN106488450B (en) Connect the method and device of wireless network
CN106453052B (en) Message interaction method and device
WO2017092417A1 (en) Intelligent terminal equipment-based network access method and device
WO2017035988A1 (en) Method and device for determining user equipment control permission and terminal device
WO2016023367A1 (en) Method, apparatus and system for access verification
CN105847243A (en) Method and device for accessing smart camera
CN106210238B (en) Short message storage method and device
CN104639533B (en) Method of controlling security based on terminal and device
CN106097494A (en) The method for unlocking of smart lock and device
CN108811179B (en) Wireless network connection method, device and storage medium
WO2016127669A1 (en) Method and apparatus for accessing wireless network by terminal device
WO2017071074A1 (en) Method and apparatus for establishing connection
CN109039860B (en) Method and device for sending and displaying messages, and method and device for identity authentication
CN105678549A (en) Payment method and device
CN106535191A (en) Network connection establishing method and device
CN106302528B (en) Short message processing method and device
CN106446653A (en) Application authority management method and device and electronic equipment
CN106126986B (en) Unlocking processing method and device for locked data partition
CN107733872A (en) Information Method of printing and device
CN106600768A (en) Intelligent door lock authentication method, device and terminal
CN105912922A (en) Information management method and device, and terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161109