The invention discloses a network connection method for an intelligent device, which comprises the following steps: S1: judging whether there is a private protocol with the intelligent device; S2: sending service set identification and encrypted characters to the intelligent device if there is a private protocol, so that the intelligent device can obtain a special password by decrypting the encrypted characters; S3: receiving; Smart devices send special passwords and verify that the special password is correct; S4: If the special password is validated correctly, then establish a network connection with the smart device. The network connection method and system of the intelligent device disclosed in the invention is based on the private agreement between the system and the intelligent device, and sends the SSID and the encrypted characters to the intelligent device to achieve the exclusive connection between the same brand devices, and the intelligent device of the same brand can be made without manual input of the password. Establish a network connection between the smart devices and the system; also by judging whether there is a private protocol between the smart devices and the system to achieve the purpose of restricting the connection network of the smart devices without private protocol.
【技术实现步骤摘要】
一种智能设备的网络连接方法及网络连接系统
本专利技术涉及通信
,尤其涉及一种智能设备的网络连接方法及网络连接系统。
技术介绍
随着通信技术的发展,智能设备在人们的生活中扮演着越来越重要的角色。智能设备可以通过连接路由器等具有无线接入功能的装置,实现智能设备的联网。目前,智能设备通常采用如下方式连接到路由器:路由器广播服务集标识(ServiceSetIdentifier,SSID),当智能设备检测到存在多个SSID时,用户手动选择连接那个SSID,选择一个SSID后,如果该SSID需要验证,由用户手动输入密码,完成连接路由器的操作。但是,每次连接路由器都需要手动选择连接SSID及手动输入密码等操作较为繁琐。申请号为201710601977.2的中国专利技术专利公开了一种智能设备的连接方法及系统,智能设备在移动终端开启热点并设置热点的SSID设置为连接态后,通过SSID连接移动终端的热点;智能设备接收移动终端发送的广播消息,广播消息包括移动终端的MAC地址、需要登录的无线路由器的名称和登录密码;智能设备根据广播消息携带的无线路由器的名称和登录密码连接无线路由器,并断开与移动终端的热点的连接;智能设备通过无线路由器向云端服务器发送智能设备的设备信息和移动终端的MAC地址;云端服务器将智能设备的设备信息发送给MAC地址匹配的移动终端进行绑定。上述现有技术仅涉及在智能设备连接上移动终端热点的条件下接收广播信息,从而智能设备可根据广播信息内的登录密码连接路由器。但是,该现有技术中并未涉及如何实现相同品牌设备之间的专有连接,且其无法避免各类智能设备均可通过接收广播 ...
【技术保护点】
1.一种智能设备的网络连接方法,其特征在于,包括步骤:S1:判断是否与智能设备之间存在私有协议;S2:若存在私有协议,则发送服务集标识与加密字符至所述智能设备以使所述智能设备通过解密所述加密字符获得专用密码;S3:接收所述智能设备发送的专用密码并验证所述专用密码是否正确;S4:若所述专用密码验证正确,则与所述智能设备建立网络连接。
【技术特征摘要】
1.一种智能设备的网络连接方法,其特征在于,包括步骤:S1:判断是否与智能设备之间存在私有协议;S2:若存在私有协议,则发送服务集标识与加密字符至所述智能设备以使所述智能设备通过解密所述加密字符获得专用密码;S3:接收所述智能设备发送的专用密码并验证所述专用密码是否正确;S4:若所述专用密码验证正确,则与所述智能设备建立网络连接。2.如权利要求1所述的一种智能设备的网络连接方法,其特征在于,所述步骤S1包括:S11:判断是否接收到智能设备发送的连接请求;S12:若是,则判断是否与所述智能设备之间存在私有协议。3.如权利要求2所述的一种智能设备的网络连接方法,其特征在于,所述步骤S3之后还包括:S5:获取并发送所述智能设备的第一配置信息;S6:接收所述智能设备的第一配置信息并判断所述第一配置信息是否与预置信息相匹配;S7:若是,则推送绑定信息至APP终端以使所述APP终端选择是否拒绝与所述智能设备进行绑定;S8:若接收到所述APP终端发送的拒绝绑定信息,则发送控制指令以断开所述网络连接。4.如权利要求2或3所述的一种智能设备的网络连接方法,其特征在于,所述步骤S2包括:S21:若存在私有协议,则生成专用密码;S22:加密所述专用密码以获取得到所述加密字符;S23:发送服务集标识与所述加密字符至所述智能设备以使所述智能设备通过解密所述加密字符获得专用密码。5.如权利要求4所述的一种智能设备的网络连接方法,其特征在于,所述步骤S6包括:S61:匹配连接所述APP终端;S62:获取所述APP终端的第二配置信息;S63:设置所述第二配置...
【专利技术属性】
技术研发人员:孙中飞,
申请(专利权)人:四川斐讯信息技术有限公司,
类型:发明
国别省市:四川,51
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。