CN106304070B - A kind of network automatic connection method and device - Google Patents

A kind of network automatic connection method and device Download PDF

Info

Publication number
CN106304070B
CN106304070B CN201610644154.3A CN201610644154A CN106304070B CN 106304070 B CN106304070 B CN 106304070B CN 201610644154 A CN201610644154 A CN 201610644154A CN 106304070 B CN106304070 B CN 106304070B
Authority
CN
China
Prior art keywords
network connection
network
information
device information
connection device
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.)
Active
Application number
CN201610644154.3A
Other languages
Chinese (zh)
Other versions
CN106304070A (en
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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610644154.3A priority Critical patent/CN106304070B/en
Publication of CN106304070A publication Critical patent/CN106304070A/en
Application granted granted Critical
Publication of CN106304070B publication Critical patent/CN106304070B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a network automatic connection method and a corresponding device. The method comprises the following steps: receiving a network connection request of a network connection device, wherein the network connection request is generated after a network supply device meeting set conditions is detected; judging that the network connection equipment meets the set connection condition; and establishing network connection with the network connection equipment. The scheme realizes the function of automatically connecting to the network without manual operation or password input by people for specific network connection equipment and network supply equipment, ensures the safety of network connection by verifying and setting connection conditions, realizes the convenience of connecting the network connection equipment to the network, and provides a more simple and convenient network connection mode.

Description

一种网络自动连接方法和装置A kind of network automatic connection method and device

技术领域technical field

本发明涉及通信技术领域,具体涉及一种网络自动连接方法,以及和一种网络自动连接装置。The present invention relates to the technical field of communication, in particular to a network automatic connection method and a network automatic connection device.

背景技术Background technique

目前移动终端越来越多的需要连接无线局域网,为保障通信的安全性和防止蹭网,通常无线局域网都设置有连接密码,也因此使得移动终端的连接操作比较繁琐,给一些不会为智能终端连接网络的用户带来极大的不便。At present, more and more mobile terminals need to be connected to the wireless local area network. In order to ensure the security of communication and prevent network swiping, the wireless local area network is usually set with a connection password, which makes the connection operation of the mobile terminal more complicated. The user whose terminal is connected to the network brings great inconvenience.

发明内容SUMMARY OF THE INVENTION

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决上述问题的一种网络自动连接方法和相应的装置。In view of the above problems, the present invention is proposed to provide an automatic network connection method and a corresponding device that overcome the above problems or at least partially solve the above problems.

依据本发明的一个方面,提供了一种网络自动连接方法,其中,所述方法包括:According to an aspect of the present invention, a method for automatic network connection is provided, wherein the method includes:

接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;Receive a network connection request from a network connection device, where the network connection request is generated after detecting a network supply device that meets the set conditions;

判定所述网络连接设备符合设定连接条件;Determine that the network connection device complies with the set connection conditions;

与所述网络连接设备建立网络连接。A network connection is established with the network connection device.

可选地,所述网络连接请求在检测到满足以下至少一种设定条件的网络供应设备后生成:Optionally, the network connection request is generated after detecting a network provisioning device that satisfies at least one of the following set conditions:

在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。A network provisioning device within a set distance range, a network provisioning device on a set device provider side, a network provisioning device with a signal strength exceeding a threshold.

可选地,所述判定所述网络连接设备符合设定连接条件包括:Optionally, the determining that the network connection device meets the set connection condition includes:

一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;Obtain at least one device information of the network connection device for verifying the network connection authority once or in stages;

在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过。After each acquisition of at least one type of device information, the at least one type of device information acquired this time is verified, and it is determined that the verification is passed.

可选地,所述设备信息包括所述网络连接设备的设备供应方信息,所述对本次获取的至少一种设备信息进行验证包括:Optionally, the device information includes device provider information of the network-connected device, and the verifying at least one type of device information acquired this time includes:

将所述设备信息发送给所述设备供应方信息对应的云端服务器进行验证。Sending the device information to the cloud server corresponding to the device provider information for verification.

可选地,所述获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息包括:Optionally, the acquiring at least one device information of the network connection device for verifying the network connection authority includes:

提取所述网络连接请求携带的至少一种设备信息。At least one kind of device information carried in the network connection request is extracted.

可选地,所述获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息包括:Optionally, the acquiring at least one device information of the network connection device for verifying the network connection authority includes:

向所述网络连接设备发送对至少一种设备信息的获取请求,以获取所述至少一种设备信息,所述获取请求携带请求的设备信息的信息类别。An acquisition request for at least one type of device information is sent to the network connection device to acquire the at least one type of device information, where the acquisition request carries the information category of the requested device information.

可选地,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:Optionally, the sending an acquisition request for at least one device information to the network connection device includes:

确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别;determining the information category of at least one other device information associated with the at least one device information last fed back by the network connection device;

生成携带所确定的信息类别的获取请求,并发送至所述网络连接设备。An acquisition request carrying the determined information category is generated and sent to the network connection device.

可选地,所述上次反馈的至少一种设备信息包括设备供应方信息,所述确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别包括:Optionally, the at least one kind of device information fed back last time includes device provider information, and the information category of the at least one other kind of device information associated with the at least one kind of device information fed back last time by the network connection device is determined. include:

确定所述设备供应方信息指示的设备供应方的云端服务器;determining the cloud server of the equipment provider indicated by the equipment provider information;

向确定的云端服务器查询与上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别。The determined cloud server is inquired about the information category of the other at least one device information associated with the last fed back at least one device information.

可选地,当所述设备信息包括安全程序的运行结果时,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:Optionally, when the device information includes a running result of a security program, the sending an acquisition request for at least one device information to the network connection device includes:

向所述网络连接设备发送携带安全检测程序的获取请求,以供所述网络连接设备运行所述安全检测程序。An acquisition request carrying a security detection program is sent to the network connection device, so that the network connection device can run the security detection program.

可选地,当所述设备信息包括安全程序的运行结果时,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:Optionally, when the device information includes a running result of a security program, the sending an acquisition request for at least one device information to the network connection device includes:

向所述网络连接设备发送运行在所述网络连接设备上已存在的安全检测程序的指示。Sending to the network connected device an indication of a security detection program already running on the network connected device.

可选地,当所述设备信息包括对预设验证信息的解析结果时,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:Optionally, when the device information includes a result of parsing the preset verification information, the sending an acquisition request for at least one type of device information to the network connection device includes:

向所述网络连接设备发送携带预设验证信息的获取请求,以供所述网络连接设备解析所述预设验证信息。An acquisition request carrying preset verification information is sent to the network connection device, so that the network connection device can parse the preset verification information.

可选地,分次获取的设备信息分别包括所述网络连接设备的设备供应方信息、设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果中至少一种。Optionally, the device information obtained in stages respectively includes the device supplier information, device identification, preset verification password, analysis result of the preset verification information, and the network-connected device's information on the security detection program. At least one of the running results.

可选地,所述方法还包括:Optionally, the method further includes:

在成功建立网络连接后,向所述网络连接设备发送预设验证密码作为所述网络连接设备的一种设备信息。After the network connection is successfully established, a preset verification password is sent to the network connection device as a kind of device information of the network connection device.

依据本发明的另一个方面,提供了一种网络自动连接方法,其中,所述方法包括:According to another aspect of the present invention, an automatic network connection method is provided, wherein the method includes:

检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求;Detecting network supply devices that meet the set conditions, and sending a network connection request to the network connection device;

接收在所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件后下发的网络连接通知;Receive a network connection notification issued after the network connection device is determined by a network supply device that meets the set conditions to meet the set connection conditions;

建立与所述符合设定条件的网络供应设备的网络连接。Establish a network connection with the network supply device that meets the set condition.

可选地,所述检测符合设定条件的网络供应设备包括:Optionally, the detecting a network supply device that meets the set condition includes:

检测满足以下至少一种设定条件的网络供应设备:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。Network provisioning devices that satisfy at least one of the following set conditions are detected: network provisioning devices within a set distance range, network provisioning devices on the set device provider side, and network provisioning devices with signal strength exceeding a threshold.

根据本发明的另一方面,提供了一种网络自动连接装置,其中,所述装置包括:According to another aspect of the present invention, a network automatic connection device is provided, wherein the device includes:

请求接收模块,用于接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;a request receiving module, configured to receive a network connection request from a network connection device, the network connection request being generated after detecting a network supply device that meets a set condition;

条件判定模块,用于判定所述网络连接设备符合设定连接条件;a condition determination module, used to determine that the network connection device complies with the set connection conditions;

连接建立模块,用于与所述网络连接设备建立网络连接。A connection establishment module is used to establish a network connection with the network connection device.

可选地,所述网络连接请求在检测到满足以下至少一种设定条件的网络供应设备后生成:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。Optionally, the network connection request is generated after detecting a network supply device that satisfies at least one of the following set conditions: a network supply device within a set distance range, a network supply device of a set device supplier, a network supply device with more than Threshold signal strength for network provisioning devices.

可选地,所述条件判定模块包括:Optionally, the condition determination module includes:

信息获取子模块,用于一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;an information acquisition sub-module, used to acquire at least one device information of the network connection device for verifying the network connection authority once or in stages;

信息验证子模块,用于在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过。The information verification sub-module is used to verify the at least one type of device information acquired this time after each acquisition of at least one type of device information, and determine that the verification is passed.

可选地,所述设备信息包括所述网络连接设备的设备供应方信息,所述信息验证子模块,具体用于将所述设备信息发送给所述设备供应方信息对应的云端服务器进行验证。Optionally, the device information includes device provider information of the network-connected device, and the information verification sub-module is specifically configured to send the device information to a cloud server corresponding to the device provider information for verification.

可选地,所述信息获取子模块,具体用于提取所述网络连接请求携带的至少一种设备信息。Optionally, the information acquisition sub-module is specifically configured to extract at least one device information carried in the network connection request.

可选地,所述信息获取子模块,具体用于向所述网络连接设备发送对至少一种设备信息的获取请求,以获取所述至少一种设备信息,所述获取请求携带请求的设备信息的信息类别。Optionally, the information acquisition sub-module is specifically configured to send an acquisition request for at least one type of device information to the network connection device to acquire the at least one type of device information, and the acquisition request carries the requested device information. category of information.

可选地,所述信息获取子模块包括:Optionally, the information acquisition submodule includes:

类别确定子单元,用于确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别;a category determination subunit, configured to determine the information category of the at least one other device information associated with the at least one device information fed back last time by the network connection device;

请求发送子单元,用于生成携带所确定的信息类别的获取请求,并发送至所述网络连接设备。The request sending subunit is configured to generate an acquisition request carrying the determined information category and send it to the network connection device.

可选地,所述上次反馈的至少一种设备信息包括设备供应方信息,所述类别确定子单元,具体用于确定所述设备供应方信息指示的设备供应方的云端服务器;向确定的云端服务器查询与上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别。Optionally, the at least one type of device information fed back last time includes device provider information, and the category determination subunit is specifically configured to determine the cloud server of the device provider indicated by the device provider information; The cloud server queries the information category of the other at least one device information associated with the last fed back at least one device information.

可选地,当所述设备信息包括安全程序的运行结果时,所述信息获取子模块,具体用于向所述网络连接设备发送携带安全检测程序的获取请求,以供所述网络连接设备运行所述安全检测程序。Optionally, when the device information includes the running result of the security program, the information acquisition sub-module is specifically configured to send an acquisition request carrying the security detection program to the network connection device for the network connection device to run. the safety testing program.

可选地,当所述设备信息包括安全程序的运行结果时,所述信息获取子模块,具体用于向所述网络连接设备发送运行在所述网络连接设备上已存在的安全检测程序的指示。Optionally, when the device information includes the running result of the security program, the information acquisition sub-module is specifically configured to send to the network connection device an indication of the existing security detection program running on the network connection device. .

可选地,当所述设备信息包括对预设验证信息的解析结果时,所述信息获取子模块,具体用于向所述网络连接设备发送携带预设验证信息的获取请求,以供所述网络连接设备解析所述预设验证信息。Optionally, when the device information includes an analysis result of the preset verification information, the information acquisition sub-module is specifically configured to send an acquisition request carrying the preset verification information to the network connection device for the The network connection device parses the preset authentication information.

可选地,分次获取的设备信息分别包括所述网络连接设备的设备供应方信息、设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果中至少一种。Optionally, the device information obtained in stages respectively includes the device supplier information, device identification, preset verification password, analysis result of the preset verification information, and the network-connected device's information on the security detection program. At least one of the running results.

可选地,所述装置还包括:Optionally, the device further includes:

预设验证密码发送模块,用于在成功建立网络连接后,向所述网络连接设备发送预设验证密码作为所述网络连接设备的一种设备信息。The preset verification password sending module is configured to send the preset verification password to the network connection device as a kind of device information of the network connection device after the network connection is successfully established.

根据本发明的另一方面,提供了一种网络自动连接装置,其中,包括:According to another aspect of the present invention, a network automatic connection device is provided, which includes:

检测模块,用于检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求;a detection module, used for detecting network supply devices that meet the set conditions, and sending a network connection request to the network connection device;

通知接收模块,用于接收在所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件后下发的网络连接通知;a notification receiving module, configured to receive a network connection notification issued after the network connection device is determined by a network supply device that meets the set condition to meet the set connection condition;

连接建立模块,用于建立与所述符合设定条件的网络供应设备的网络连接。A connection establishment module is used for establishing a network connection with the network supply device that meets the set condition.

可选地,所述检测模块包括:Optionally, the detection module includes:

条件检测子模块,用于检测满足以下至少一种设定条件的网络供应设备:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。A condition detection sub-module for detecting network supply devices that meet at least one of the following set conditions: network supply devices within a set distance range, network supply devices of the set device provider, networks with signal strength exceeding a threshold supply equipment.

根据本发明的一种网络自动连接方法和相应的装置可以通过接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;判定所述网络连接设备符合设定连接条件;与所述网络连接设备建立网络连接。上述方案实现了对于特定的网络连接设备和网络供应设备,不需要人工操作,也不需要人输入密码就可以自动连接到网络的功能,而且通过验证设定连接条件还保障了网络连接的安全性,实现了网络连接设备连接网络的便捷性,从而提供了一种更为简便的网络连接方式。A network automatic connection method and corresponding device according to the present invention can receive a network connection request from a network connection device, and the network connection request is generated after detecting a network supply device that meets a set condition; determine the network connection device The set connection conditions are met; a network connection is established with the network connection device. The above solution realizes the function of automatically connecting to the network for a specific network connection device and network supply device without manual operation or input of a password, and the security of network connection is also guaranteed by setting the connection conditions through verification. , realizes the convenience of the network connection device to connect to the network, and thus provides a simpler network connection method.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific embodiments of the present invention are given.

附图说明Description of drawings

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for the purpose of illustrating preferred embodiments only and are not to be considered limiting of the invention. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:

图1示出了根据本发明的一种网络自动连接方法实施例一的步骤流程示意图;FIG. 1 shows a schematic flowchart of the steps of Embodiment 1 of a method for automatic network connection according to the present invention;

图2示出了根据本发明的一种网络自动连接方法实施例二的步骤流程示意图;FIG. 2 shows a schematic flowchart of the steps of Embodiment 2 of a method for automatic network connection according to the present invention;

图3示出了根据本发明的一种网络自动连接方法实施例三的步骤流程示意图;FIG. 3 shows a schematic flowchart of steps according to Embodiment 3 of a method for automatic network connection of the present invention;

图4示出了根据本发明的一种网络自动连接装置实施例四的结构框图;FIG. 4 shows a structural block diagram of Embodiment 4 of an apparatus for automatic network connection according to the present invention;

图5示出了根据本发明的一种网络自动连接装置实施例五的结构框图。FIG. 5 shows a structural block diagram of Embodiment 5 of an apparatus for automatic network connection according to the present invention.

具体实施方式Detailed ways

下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

实施例一Example 1

参照图1,示出了根据本发明的一种网络自动连接方法实施例一的步骤流程示意图,具体可以包括如下步骤:Referring to FIG. 1 , a schematic flowchart of the steps of Embodiment 1 of a method for automatic network connection according to the present invention is shown, which may specifically include the following steps:

步骤101,接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成。Step 101: Receive a network connection request from a network connection device, where the network connection request is generated after detecting a network supply device that meets a set condition.

在本发明实施例中,网络连接设备是指可以连接网络的终端,例如手机、平板电脑、智能机器人以及其他智能设备。网络连接设备检测到网络供应设备提供的无线网络,向符合设定条件的网络供应设备发起网络连接请求。其中符合设定条件可以是网络的信号强度达到一定的强度,和/或网络供应设备的厂商信息为特定信息,和/或网络供应设备在设定距离范围内。In this embodiment of the present invention, a network connection device refers to a terminal that can be connected to a network, such as a mobile phone, a tablet computer, a smart robot, and other smart devices. The network connection device detects the wireless network provided by the network supply device, and initiates a network connection request to the network supply device that meets the set conditions. The set conditions may be met when the signal strength of the network reaches a certain strength, and/or the manufacturer information of the network supply device is specific information, and/or the network supply device is within a set distance range.

步骤102,判定所述网络连接设备符合设定连接条件。Step 102, it is determined that the network connection device meets the set connection condition.

在本发明实施例中,网络供应设备在接收到网络连接请求后,需要验证发出网络连接请求的网络连接设备是否符合设定的连接条件。其中,设定的连接条件是网络连接设备可以自动与网络供应设备建立连接,并且网络连接设备的用户可以免输入网络供应设备的名称和连接网络的密码的条件。具体而言,网络供应设备可以获取网络连接设备的用于验证网络连接权限的设备信息,如果获取的设备信息都确定验证通过,则确定网络连接设备符合设定的连接条件。In this embodiment of the present invention, after receiving the network connection request, the network provisioning device needs to verify whether the network connection device that sends the network connection request meets the set connection conditions. The set connection condition is that the network connection device can automatically establish a connection with the network supply device, and the user of the network connection device can avoid inputting the name of the network supply device and the password for connecting to the network. Specifically, the network provisioning device may obtain device information of the network connection device for verifying the network connection authority, and if the obtained device information is determined to pass the verification, it is determined that the network connection device meets the set connection conditions.

网络供应设备可以预存符合连接条件的设备信息,在获取到网络连接设备的设备信息后,进行验证,如果验证设备信息一致,则网络连接设备符合设定连接条件。The network supply device can pre-store device information that meets the connection conditions, and after obtaining the device information of the network connection device, performs verification. If the verification device information is consistent, the network connection device meets the set connection conditions.

网络供应设备也可以不预存符合连接条件的设备信息,在获取到网络连接设备的设备信息后,可以将获取的设备信息发送到云端用于验证身份的服务器,由服务器验证设备信息是否与预存在服务器中的符合连接条件的设备信息一致,如果验证设备信息一致,服务器反馈给网络供应设备符合条件的信息,则网络连接设备符合设定连接条件。The network supply device may not pre-store the device information that meets the connection conditions. After obtaining the device information of the network-connected device, it can send the obtained device information to the server in the cloud for identity verification, and the server verifies whether the device information matches the pre-existing device information. The information of the devices that meet the connection conditions in the server is consistent. If the verification device information is consistent and the server feeds back the information that the network supply device meets the conditions, the network connection device meets the set connection conditions.

符合设定的连接条件的一种方式可以是网络连接设备的第一种设备信息与预存的符合连接条件的设备信息一致,根据第一种设备信息发送给网络供应设备的第二种设备信息也与预存的符合连接条件的设备信息一致。One way to meet the set connection conditions may be that the first type of device information of the network connection device is consistent with the pre-stored device information that meets the connection conditions, and the second type of device information sent to the network supply device according to the first type of device information is also the same. It is consistent with the pre-stored device information that meets the connection conditions.

符合设定的连接条件的另一种方式可以是网络连接设备解析网络供应设备提供的验证信息得到的解析结果与预存的符合连接条件的解析结果一致。Another way of meeting the set connection conditions may be that the parsing result obtained by the network connection device by parsing the verification information provided by the network supply device is consistent with the pre-stored parsing result that meets the connection conditions.

符合设定的连接条件的具体方式可以根据需求进行调整,本发明对此不作限制。The specific manner that meets the set connection conditions can be adjusted according to requirements, which is not limited in the present invention.

步骤103,与所述网络连接设备建立网络连接。Step 103: Establish a network connection with the network connection device.

在本发明实施例中,网络供应设备在判定网路连接设备符合设定的连接条件后,网络供应设备不需要网络连接设备提供的网络供应设备名称和连接网络的密码,网络供应设备自动地与网络连接设备建立网络连接。In this embodiment of the present invention, after the network supply device determines that the network connection device meets the set connection conditions, the network supply device does not need the network supply device name and network connection password provided by the network connection device, and the network supply device automatically communicates with the network connection device. A network connection device establishes a network connection.

综上所述,依据本发明实施例,通过接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;判定所述网络连接设备符合设定连接条件;与所述网络连接设备建立网络连接,实现了对于特定的网络连接设备和网络供应设备,不需要人工操作,也不需要人输入密码就可以自动连接到网络的功能,而且通过验证设定连接条件还保障了网络连接的安全性,实现了网络连接设备连接网络的便捷性,从而提供了一种更为简便的网络连接方式。To sum up, according to the embodiment of the present invention, by receiving a network connection request from a network connection device, the network connection request is generated after detecting a network supply device that meets the set conditions; it is determined that the network connection device meets the set connection. Conditions; establish a network connection with the network connection device, realize the function of automatically connecting to the network without manual operation or input of a password for a specific network connection device and network supply device, and through the verification setting The connection condition also guarantees the security of the network connection, realizes the convenience of the network connection device connecting to the network, and thus provides a simpler network connection method.

在本发明实施例中,优选地,所述网络连接请求在检测到满足以下至少一种设定条件的网络供应设备后生成:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。网络连接设备根据信号的到达角度确定网络供应设备的所在方向,再利用红外测距设备确定与网络供应设备的距离,在设定距离范围内的网络供应设备即满足设定条件的网络供应设备,预设距离可以根据需求进行设定,本发明不作限制。In this embodiment of the present invention, preferably, the network connection request is generated after detecting a network supply device that satisfies at least one of the following set conditions: a network supply device within a set distance range, a network supply device within a set distance A network provisioning device, a network provisioning device with a signal strength exceeding a threshold. The network connection device determines the direction of the network supply device according to the arrival angle of the signal, and then uses the infrared ranging device to determine the distance from the network supply device. The network supply device within the set distance is the network supply device that meets the set conditions. The preset distance can be set according to requirements, which is not limited in the present invention.

网络连接设备可以获取网络供应设备的供应方信息,若供应方信息为设定的供应方信息,设定设备供应方的网络供应设备即满足设定条件的网络供应设备,预设设备供应方可以根据需求进行设定,本发明不作限制。The network connection device can obtain the supplier information of the network supply device. If the supplier information is the set supplier information, the network supply device of the set device supplier is the network supply device that meets the set conditions, and the default device supplier can Set according to requirements, and the present invention is not limited.

网络连接设备获取网络供应设备的信号强度,若所述信息强度达到预设强度阈值,具有超过阈值的信号强度的网络供应设备即满足设定条件的网络供应设备,预设强度阈值可以根据需求进行设定,本发明不作限制。The network connection device obtains the signal strength of the network supply device. If the information strength reaches the preset strength threshold, the network supply device with the signal strength exceeding the threshold is the network supply device that satisfies the set condition. The preset strength threshold can be set according to the demand. It is assumed that the present invention is not limited.

网络连接设备在检测到网络供应设备符合以上至少一种设定条件时,则生成网络连接请求,以将网络连接请求发送给网络供应设备。When the network connection device detects that the network supply device meets at least one of the above set conditions, it generates a network connection request to send the network connection request to the network supply device.

实施例二Embodiment 2

参照图2,示出了根据本发明的一种网络自动连接方法实施例二的步骤流程示意图,具体可以包括如下步骤:Referring to FIG. 2 , a schematic flowchart of the steps of Embodiment 2 of a method for automatic network connection according to the present invention is shown, which may specifically include the following steps:

步骤201,接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;Step 201: Receive a network connection request from a network connection device, where the network connection request is generated after detecting a network supply device that meets a set condition;

在本发明实施例中,网络连接设备是指可以连接网络的终端,例如手机、平板电脑、智能机器人以及其他智能设备。网络连接设备检测到网络供应设备提供的无线网络,向符合设定条件的网络供应设备发起网络连接请求。其中符合设定条件可以是网络的信号强度达到一定的强度,和/或网络供应设备的厂商信息为特定信息,和/或是网络供应设备在设定距离范围内。网络供应设备接收到网络连接设备的网络连接请求。In this embodiment of the present invention, a network connection device refers to a terminal that can be connected to a network, such as a mobile phone, a tablet computer, a smart robot, and other smart devices. The network connection device detects the wireless network provided by the network supply device, and initiates a network connection request to the network supply device that meets the set conditions. The set conditions may be met when the signal strength of the network reaches a certain strength, and/or the manufacturer information of the network supply device is specific information, and/or the network supply device is within a set distance range. The network provisioning device receives a network connection request from the network connection device.

步骤202,一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过。Step 202: Acquire at least one type of device information of the network connection device for verifying the network connection authority once or in stages; after each acquisition of at least one type of device information, verify the at least one type of device information acquired this time , and confirm that the verification is passed.

在本发明实施例中,网络供应设备可以一次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息,具体而言,网络供应设备可以从网络连接请求中提取所需的至少一种设备信息,或向发送网络连接请求的网络连接设备发送获取至少一种设备信息的请求,以接收网络连接设备发送来的至少一种设备信息。网络供应设备也可以分次获取所述网路设备的用于验证网络连接权限的至少一种设备信息,具体而言,网络供应设备可以在上次接收到的网络连接设备的至少一种设备信息通过验证后,再向发送网络连接请求的网络连接设备发送获取其他的至少一种设备信息的请求,如此分多次获取用于验证网络连接权限的至少一种设备信息。In this embodiment of the present invention, the network provisioning device may obtain at least one kind of device information of the network connection device for verifying the network connection authority at one time. A kind of device information, or a request for acquiring at least one kind of device information is sent to a network connection device that sends a network connection request, so as to receive at least one kind of device information sent by the network connection device. The network provisioning device may also obtain at least one kind of device information of the network device for verifying the network connection authority in stages. After passing the verification, a request for obtaining at least one other device information is sent to the network connection device that sends the network connection request, so as to obtain at least one device information for verifying the network connection authority in multiple times.

在每次获取至少一种设备信息后,可以在网络供应设备的本地对获取的至少一种设备信息进行验证,或将至少一种设备信息发送到云端服务器,云端服务器对获取的至少一种设备信息进行验证并反馈给网络供应设备,如果至少一种设备信息和预存在本地或云端服务器中的信息一致,则确定验证通过。After each acquisition of at least one type of device information, the at least one type of acquired device information may be verified locally on the network supply device, or the at least one type of device information may be sent to the cloud server, and the cloud server may verify the acquired at least one type of device information. The information is verified and fed back to the network supply device. If at least one device information is consistent with the information pre-stored in the local or cloud server, it is determined that the verification is passed.

优选地,分次获取的设备信息分别包括所述网络连接设备的设备供应方信息、设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果中至少一种。Preferably, the device information obtained in stages includes the device supplier information, device identification, preset verification password, analysis result of the preset verification information, and operation of the security detection program by the network-connected device, respectively. at least one of the results.

设备供应方信息是指厂商名称、厂商代号等代表设备供应方的信息。设备标识是指开发者提供的用于表示设备的识别码,例如设备唯一地址、国际移动设备标识等。预设验证密码是指预存在网络连接设备中的专门用于连接特定网络供应设备的密码,或从以前连接过的网络供应设备获取的用于再次连接该网络供应设备的密码。对预设验证信息的解析结果是指网络连接设备根据网络供应设备发送来的预设验证信息,用预设解析程序对预设验证信息进行解析得到的解析结果。所述网络连接设备对安全检测程序的运行结果是指安全检测程序在网络连接设备上运行得到的运行结果,可以得到网络连接设备是否正常运行的信息。The equipment supplier information refers to the information representing the equipment supplier, such as the manufacturer name and manufacturer code. The device identifier refers to the identifier provided by the developer to represent the device, such as the unique address of the device, the International Mobile Equipment Identity, etc. The preset verification password refers to a password that is pre-stored in the network connection device and is specially used to connect to a specific network supply device, or a password obtained from a previously connected network supply device and used to connect the network supply device again. The parsing result of the preset verification information refers to the parsing result obtained by the network connection device analysing the preset verification information with a preset parsing program according to the preset verification information sent by the network supply device. The operation result of the network connection device on the security detection program refers to the operation result obtained by the security detection program running on the network connection device, and information on whether the network connection device is running normally can be obtained.

设备唯一地址是媒体访问控制地址,也称为以太网ID或物理地址,是用来定义网络设备的位置。在开放式系统互联通信参考模型中,第三层网络层负责IP地址,第二层数据链接层则负责设备唯一地址。设备唯一地址用于在网络中唯一标示一个网卡,一台电脑会有一或多个网卡,每个网卡都需要有一个唯一的设备唯一地址。A device unique address is a media access control address, also known as an Ethernet ID or physical address, which is used to define the location of a network device. In the Open Systems Interconnection Communication Reference Model, the third layer of the network layer is responsible for the IP address, and the second layer of the data link layer is responsible for the unique address of the device. The device unique address is used to uniquely identify a network card in the network. A computer will have one or more network cards, and each network card needs to have a unique device unique address.

国际移动设备标识是是区别移动设备的标识,储存在移动设备中,可用于监控被窃或无效的移动设备,并且读写存储在手机内存中。它也是该手机在厂家的“档案”和“身份证号”。The International Mobile Equipment Identification is an identification that distinguishes mobile devices. It is stored in the mobile device and can be used to monitor stolen or invalid mobile devices, and is read and written in the phone memory. It is also the "file" and "ID number" of the phone at the manufacturer.

优选地,所述设备信息包括所述网络连接设备的设备供应方信息,所述对本次获取的至少一种设备信息进行验证包括:将所述设备信息发送给所述设备供应方信息对应的云端服务器进行验证。Preferably, the device information includes device provider information of the network-connected device, and the verifying at least one type of device information acquired this time includes: sending the device information to a device corresponding to the device provider information Cloud server for verification.

具体而言,网络供应设备可以获取网络连接设备的设备供应方信息,根据设备供应方信息,确定设备供应方信息对应的云端服务器,将设备信息发送给云端服务器,云端服务器根据设定的连接条件对设备信息进行验证。Specifically, the network supply device can obtain the device provider information of the network-connected device, determine the cloud server corresponding to the device provider information according to the device provider information, and send the device information to the cloud server, and the cloud server according to the set connection conditions Verify device information.

优选地,获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息的一种实现方式为,提取所述网络连接请求携带的至少一种设备信息。Preferably, an implementation manner of acquiring at least one type of device information of the network connection device for verifying network connection authority is to extract at least one type of device information carried in the network connection request.

具体而言,网络连接设备发出的网络连接请求可以携带至少一种设备信息,网络供应设备可以网络连接请求携带的至少一种设备信息,以用于验证网络连接权限。Specifically, the network connection request sent by the network connection device can carry at least one kind of device information, and the network provisioning device can use at least one kind of device information carried in the network connection request to verify the network connection authority.

优选地,获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息的另一种实现方式为,向所述网络连接设备发送对至少一种设备信息的获取请求,以获取所述至少一种设备信息,所述获取请求携带请求的设备信息的信息类别。Preferably, another implementation manner of acquiring at least one type of device information of the network connection device for verifying the network connection authority is to send an acquisition request for at least one type of device information to the network connection device to acquire all the device information. the at least one type of device information, and the acquisition request carries the information category of the requested device information.

具体而言,网络供应设备可以根据需要向发出网络连接请求的网络连接设备发送请求,请求获取所需的至少一种设备信息,获取请求中包括所需的设备信息的信息类别。Specifically, the network provisioning device may send a request to the network connection device that sends the network connection request as needed, requesting to acquire at least one kind of required device information, and the acquisition request includes the information category of the required device information.

优选地,向所述网络连接设备发送对至少一种设备信息的获取请求的一种实现方式为,确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别;生成携带所确定的信息类别的获取请求,并发送至所述网络连接设备。Preferably, an implementation manner of sending an acquisition request for at least one type of device information to the network connection device is to determine at least one other type of device information associated with the at least one type of device information fed back last time by the network connection device The information category is generated; an acquisition request carrying the determined information category is generated, and sent to the network connection device.

网络供应设备可以多次向网络连接设备发送获取请求,请求的信息类别可以根据上次反馈的至少一种设备信息确定。例如,与网络络连接设备的设备供应方信息相关联的信息类别可以是设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果等;与设备标识相关联的信息类别可以是预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果等;与预设验证密码相关联的信息类别可以是设备标识、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果等。The network provisioning device may send an acquisition request to the network connection device multiple times, and the requested information category may be determined according to at least one kind of device information fed back last time. For example, the information category associated with the device provider information of the network connection device may be the device identification, the preset verification password, the analysis result of the preset verification information, the operation result of the security detection program by the network connection device, etc.; The information category associated with the device identification may be the preset verification password, the analysis result of the preset verification information, the running result of the security detection program by the network connection device, etc.; the information category associated with the preset verification password may be Device identification, the analysis result of the preset verification information, the running result of the security detection program by the network connection device, etc.

网络供应设备生成携带所确定的信息类别的获取请求,并发送至所述网络连接设备。这个过程可以重复多次,以渐进的方式获取所需的设备信息。The network provisioning device generates an acquisition request carrying the determined information category and sends it to the network connecting device. This process can be repeated multiple times to acquire the desired device information in a progressive manner.

优选地,所述上次反馈的至少一种设备信息包括设备供应方信息,所述确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别的一种优选实现方式可以为,确定所述设备供应方信息指示的设备供应方的云端服务器;向确定的云端服务器查询与上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别。Preferably, the at least one kind of device information fed back last time includes device provider information, and the information of the information category of the at least one other kind of device information associated with the at least one kind of device information fed back last time by the network connection device is determined. A preferred implementation manner may be as follows: determining the cloud server of the device supplier indicated by the device supplier information; querying the determined cloud server for information of at least one other device information associated with the last fed back at least one device information category.

网络供应设备获取到网络连接设备的至少一种设备信息包括设备供应方信息,根据获取的设备供应方信息,确定对应的云端服务器,将网路连接设备的至少一种设备信息发送给云端服务器。在云端服务器设定与至少一种设备信息相关联的其他至少一种设备信息的信息类别,云端服务器根据接收到的至少一种设备信息确定相关联的至少一种设备信息的信息类别,并将该信息类别发送给网络供应设备。The network supply device acquires at least one device information of the network connection device including device provider information, determines a corresponding cloud server according to the acquired device provider information, and sends the at least one device information of the network connection device to the cloud server. The cloud server sets the information category of at least one other device information associated with the at least one device information, the cloud server determines the information category of the associated at least one device information according to the received at least one device information, and assigns This information class is sent to the network provisioning device.

优选地,当所述设备信息包括安全程序的运行结果时,向所述网络连接设备发送对至少一种设备信息的获取请求的一种实现方式为,向所述网络连接设备发送携带安全检测程序的获取请求,以供所述网络连接设备运行所述安全检测程序。Preferably, when the device information includes the running result of a security program, an implementation manner of sending an acquisition request for at least one type of device information to the network connection device is to send a security detection program to the network connection device The acquisition request for the network connection device to run the security detection program.

当网络供应设备需要的网络连接设备的设备信息包括安全程序的运行结果时,网络供应设备可以在发送获取请求的同时,向网络连接设备发送一个安全检测程序,网络连接设备接收到安全检测程序,网络连接设备可以运行该安全程序并得到运行结果,以使网络连接设备可以将运行结果发送给网络供应设备,网络供应设备根据该运行结果可以确定网络连接设备是否正常运行,实现了对网络连接设备的安全性检查,提高了网络连接的安全性。When the device information of the network connection device required by the network supply device includes the running result of the security program, the network supply device can send a security detection program to the network connection device while sending the acquisition request, and the network connection device receives the security detection program. The network connection device can run the security program and obtain the operation result, so that the network connection device can send the operation result to the network supply device, and the network supply device can determine whether the network connection device is running normally according to the operation result, which realizes The security check improves the security of the network connection.

优选地,当所述设备信息包括安全程序的运行结果时,向所述网络连接设备发送对至少一种设备信息的获取请求还包括向所述网络连接设备发送运行在所述网络连接设备上已存在的安全检测程序的指示。Preferably, when the device information includes the running result of the security program, sending an acquisition request for at least one type of device information to the network connection device further includes sending a request to the network connection device that has been run on the network connection device An indication of the presence of security detection procedures.

该网络安全程序可以是预存在网络连接设备上的或上次连接时发送到网路连接设备上的。当网络供应设备需要的网络连接设备的设备信息包括安全程序的运行结果时,网络供应设备可以在发送获取请求的同时,向网络连接设备发送一个运行安全检测程序的指示。网络连接设备接收到运行安全检测程序的指示后,网络连接设备可以运行该安全程序并得到运行结果,以使网络连接设备可以将运行结果发送给网络供应设备,网络供应设备根据该运行结果可以确定网络连接设备是否正常运行,实现了对网络连接设备的安全性检查,提高了网络连接的安全性。The network security program may be pre-stored on the network-connected device or sent to the network-connected device at the last connection. When the device information of the network connection device required by the network provisioning device includes the running result of the security program, the network provisioning device can send an instruction to run the security detection program to the network connection device while sending the acquisition request. After the network connection device receives the instruction to run the safety detection program, the network connection device can run the safety program and obtain the operation result, so that the network connection device can send the operation result to the network supply device, and the network supply device can determine according to the operation result. Whether the network connection device operates normally, the security check of the network connection device is realized, and the security of the network connection is improved.

优选地,当所述设备信息包括对预设验证信息的解析结果时,向所述网络连接设备发送对至少一种设备信息的获取请求的一种实现方式为,向所述网络连接设备发送携带预设验证信息的获取请求,以供所述网络连接设备解析所述预设验证信息。Preferably, when the device information includes a result of parsing the preset verification information, an implementation manner of sending an acquisition request for at least one type of device information to the network connection device is: A request for obtaining preset verification information for the network connection device to parse the preset verification information.

当网络供应设备需要的网络连接设备的设备信息包括对预设验证信息的解析结果时,网络供应设备可以在发送获取请求的同时,向网路连接设备发送预设验证信息。网络连接设备接收到预设验证信息后,用预设的解析程序对预设验证信息进行解析并得到解析结果,以使网络连接设备可以将解析结果发送给网络供应设备,如果该解析结果与网络供应设备的预设解析结果一致,则可以确定网络连接设备的设备信息验证通过。When the device information of the network connection device required by the network supply device includes the analysis result of the preset verification information, the network supply device may send the preset verification information to the network connection device while sending the acquisition request. After receiving the preset verification information, the network connection device parses the preset verification information with a preset analysis program and obtains the analysis result, so that the network connection device can send the analysis result to the network supply device. If the preset analysis results of the supply device are consistent, it can be determined that the device information verification of the network-connected device is passed.

步骤203,与所述网络连接设备建立网络连接。Step 203: Establish a network connection with the network connection device.

在本发明实施例中,网络供应设备在判定网路连接设备符合设定的连接条件后,网络供应设备不需要网络连接设备提供的网络供应设备名称和连接网络的密码,网络供应设备自动地与网络连接设备建立网络连接。In this embodiment of the present invention, after the network supply device determines that the network connection device meets the set connection conditions, the network supply device does not need the network supply device name and network connection password provided by the network connection device, and the network supply device automatically communicates with the network connection device. A network connection device establishes a network connection.

步骤204,在成功建立网络连接后,向所述网络连接设备发送预设验证密码作为所述网络连接设备的一种设备信息。Step 204: After the network connection is successfully established, a preset verification password is sent to the network connection device as a kind of device information of the network connection device.

在本发明实施例中,网络供应设备在与网络连接设备建立网络连接后,可以网络连接设备发送一个密码作为预设验证密码,网络连接设备将接收到的预设验证密码存储起来作为一种设备信息,以供下次连接网络供应设备时使用。其中预设验证密码可以是存储的固定密码,或随机生成的密码,或按照一定规则生成的密码。网络供应设备可以在本地存储或生成密码,或从云端服务器获取在云端服务器存储或生成的密码。In the embodiment of the present invention, after establishing a network connection with the network connection device, the network supply device may send a password to the network connection device as a preset verification password, and the network connection device stores the received preset verification password as a device information for the next time the network provisioning device is connected. The preset verification password may be a stored fixed password, or a randomly generated password, or a password generated according to certain rules. The network provisioning device can store or generate the password locally, or obtain the password stored or generated on the cloud server from the cloud server.

综上所述,依据本发明实施例,通过一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过,多次的验证使得网络连接设备可以更安全的与网络供应设备进行连接,不仅使得网络连接设备连接网络更便捷,还使得网络连接设备连接网络更安全。To sum up, according to the embodiments of the present invention, at least one type of device information for verifying the network connection authority of the network connection device is acquired once or in stages; after each acquisition of at least one type of device information, the current The obtained at least one device information is verified, and it is determined that the verification is passed. Multiple verifications enable the network connection device to connect with the network supply device more securely, which not only makes the network connection device more convenient to connect to the network, but also makes the network connection device connect to the network. The network is more secure.

为使本领域技术人员更好地理解本发明实施例,以下通过一个具体的示例对本发明实施例的网络自动连接的方案进行说明。In order for those skilled in the art to better understand the embodiments of the present invention, the following describes the solution for automatic network connection in the embodiments of the present invention by using a specific example.

智能机器人检测在设定距离内和/或信号强度达到阈值和/或设定设备供应方的路由器,向路由器发送网络连接请求,路由器接到请求后,向智能机器人发送对设备标识的获取请求,路由器接收智能机器人的设备标识进行验证;验证通过后,向智能机器人发送携带有预设验证信息的对预设验证信息的解析结果的获取请求,智能机器人对预设验证信息进行解析,并将解析结果发送给路由器,路由器接收解析结果并进行验证;验证通过后,向路由器发送携带安全检测程序的对安全检测程序的运行结果的获取请求,智能机器人运行安全检测程序,并将运行结果发送给智能机器人,路由器接收运行结果进行验证,验证通过后,智能机器人与路由器自动建立网络连接。实现了无需人输入路由器名称和网络连接密码,智能机器人和路由器自动建立网络连接。The intelligent robot detects that it is within the set distance and/or the signal strength reaches the threshold and/or sets the router of the equipment supplier, and sends a network connection request to the router. After receiving the request, the router sends a request for the acquisition of the device identification to the intelligent robot. The router receives the device identification of the intelligent robot for verification; after the verification is passed, it sends the intelligent robot a request for obtaining the analysis result of the preset verification information, which carries the preset verification information, and the intelligent robot parses the preset verification information and parses it. The result is sent to the router, and the router receives the analysis result and verifies it; after the verification is passed, it sends a request to the router to obtain the running result of the security detection program, and the intelligent robot runs the security detection program and sends the running result to the intelligent robot. The robot and the router receive the operation result for verification. After the verification is passed, the intelligent robot and the router automatically establish a network connection. It realizes that the intelligent robot and the router automatically establish a network connection without the need for people to enter the router name and network connection password.

实施例三Embodiment 3

参照图3,示出了根据本发明的一种网络自动连接方法实施例三的步骤流程示意图,具体可以包括如下步骤:Referring to FIG. 3 , a schematic flowchart of steps in Embodiment 3 of a method for automatic network connection according to the present invention is shown, which may specifically include the following steps:

步骤301,检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求。Step 301: Detect network supply devices that meet the set conditions, and send a network connection request to the network connection device.

在本发明实施例中,网络连接设备是指可以连接网络的终端,例如手机、平板电脑、智能机器人以及其他智能设备。网络连接设备检测到网络供应设备提供的无线网络,向符合设定条件的网络供应设备发起网络连接请求。其中符合设定条件可以是网络的信号强度达到一定的强度,和/或网络供应设备的厂商信息为特定信息,和/或网络供应设备在设定距离范围内。In this embodiment of the present invention, a network connection device refers to a terminal that can be connected to a network, such as a mobile phone, a tablet computer, a smart robot, and other smart devices. The network connection device detects the wireless network provided by the network supply device, and initiates a network connection request to the network supply device that meets the set conditions. The set conditions may be met when the signal strength of the network reaches a certain strength, and/or the manufacturer information of the network supply device is specific information, and/or the network supply device is within a set distance range.

步骤302,接收在判定所述网络连接设备符合设定连接条件后下发的网络连接通知。Step 302: Receive a network connection notification issued after it is determined that the network connection device meets the set connection condition.

网路连接设备接收到网络供应设备下发的网络连接通知,该网络连接通知是在网络供应设备判定网络连接设备符合设定连接条件时下发的网络连接通知,以通知网络连接设备可以连接网络。The network connection device receives a network connection notification sent by the network supply device, and the network connection notification is a network connection notification issued when the network supply device determines that the network connection device meets the set connection conditions, so as to notify the network connection device that it can connect to the network.

步骤303,建立与所述符合设定条件的网络供应设备的网络连接。Step 303: Establish a network connection with the network supply device that meets the set condition.

网络连接设备不需要提供的网络供应设备名称和连接网络的密码,网络连接设备自动地与网络供应设备建立网络连接。The network connection device does not need to provide the name of the network supply device and the password for connecting to the network, and the network connection device automatically establishes a network connection with the network supply device.

优选地,检测符合设定条件的网络供应设备的一种实现方式为,检测满足以下至少一种设定条件的网络供应设备:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、存在历史连接记录。Preferably, an implementation manner of detecting a network supply device that meets a set condition is to detect a network supply device that satisfies at least one of the following set conditions: a network supply device within a set distance, a network supply device within a set distance Network provisioning equipment, there is a historical connection record.

网络连接设备根据信号的到达角度确定网络供应设备的所在方向,再利用红外测距设备确定与网络供应设备的距离,在设定距离范围内的网络供应设备即满足设定条件的网络供应设备,预设距离可以根据需求进行设定,本发明不作限制。The network connection device determines the direction of the network supply device according to the arrival angle of the signal, and then uses the infrared ranging device to determine the distance from the network supply device. The network supply device within the set distance is the network supply device that meets the set conditions. The preset distance can be set according to requirements, which is not limited in the present invention.

网络连接设备可以获取网络供应设备的供应方信息,若供应方信息为设定的供应方信息,设定设备供应方的网络供应设备即满足设定条件的网络供应设备,预设设备供应方可以根据需求进行设定,本发明不作限制。The network connection device can obtain the supplier information of the network supply device. If the supplier information is the set supplier information, the network supply device of the set device supplier is the network supply device that meets the set conditions, and the default device supplier can Set according to requirements, and the present invention is not limited.

网络连接设备获取网络供应设备的信号强度,若所述信息强度达到预设强度阈值,具有超过阈值的信号强度的网络供应设备即满足设定条件的网络供应设备,预设强度阈值可以根据需求进行设定,本发明不作限制。The network connection device obtains the signal strength of the network supply device. If the information strength reaches the preset strength threshold, the network supply device with the signal strength exceeding the threshold is the network supply device that satisfies the set condition. The preset strength threshold can be set according to the demand. It is assumed that the present invention is not limited.

网络连接设备在检测到网络供应设备符合以上至少一种设定条件时,则生成网络连接请求,以将网络连接请求发送给网络供应设备。When the network connection device detects that the network supply device meets at least one of the above set conditions, it generates a network connection request to send the network connection request to the network supply device.

综上所述,依据本发明实施例,通过检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求,接收在判定所述网络连接设备符合设定连接条件后下发的网络连接通知,实现了对于特定的网络连接设备,不需要人操作,也不需要人输入密码就可以连接到网络的功能,而且还保障了网络连接的安全性,实现了网络连接设备连接网络的便捷性,为不会为网络连接设备连接网络的人提供了更方便的联网方式。To sum up, according to the embodiments of the present invention, by detecting the network supply device that meets the set conditions, a network connection request is sent to the network connection device, and a network connection request sent after it is determined that the network connection device meets the set connection conditions is received. The network connection notification realizes the function of connecting to the network without human operation or entering a password for a specific network connection device, and also ensures the security of the network connection, and realizes the network connection device to connect to the network. Convenience provides a more convenient way of networking for people who do not connect to the Internet for network-connected devices.

本领域的技术人员应可理解,上述实施例中的方法步骤并非每一个都必不可少,在具体状况下,可以省略其中的一个或多个步骤(例如步骤204),只要能够实现网络自动连接的技术目的,本发明并不限定的实施例中步骤的数量及其顺序,本发明的保护范围当以权利要求书的限定为准。Those skilled in the art should understand that not every method step in the above embodiments is essential, and under specific circumstances, one or more of the steps (for example, step 204) may be omitted, as long as automatic network connection can be achieved The present invention does not limit the number and sequence of steps in the embodiments, and the protection scope of the present invention shall be subject to the limitations of the claims.

对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。For the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the described sequence of actions, because according to the embodiments of the present invention , certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

实施例四Embodiment 4

参照图4,示出了根据本发明的一种网络自动连接装置实施例四的结构框图,具体可以包括如下模块:Referring to FIG. 4, it shows a structural block diagram of Embodiment 4 of an apparatus for automatic network connection according to the present invention, which may specifically include the following modules:

请求接收模块401,用于接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;A request receiving module 401, configured to receive a network connection request from a network connection device, where the network connection request is generated after detecting a network supply device that meets a set condition;

条件判定模块402,用于判定所述网络连接设备符合设定连接条件;A condition determination module 402, configured to determine that the network connection device complies with a set connection condition;

连接建立模块403,用于与所述网络连接设备建立网络连接。The connection establishment module 403 is configured to establish a network connection with the network connection device.

本发明实施例中,优选地,所述网络连接请求在检测到满足以下至少一种设定条件的网络供应设备后生成:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。In this embodiment of the present invention, preferably, the network connection request is generated after detecting a network supply device that satisfies at least one of the following set conditions: a network supply device within a set distance range, a network supply device of a set device provider Provisioning devices, network provisioning devices with signal strengths exceeding a threshold.

本发明实施例中,优选地,所述条件判定模块包括:In the embodiment of the present invention, preferably, the condition determination module includes:

信息获取子模块,用于一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;an information acquisition sub-module, used to acquire at least one device information of the network connection device for verifying the network connection authority once or in stages;

信息验证子模块,用于在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过。The information verification sub-module is used to verify the at least one type of device information acquired this time after each acquisition of at least one type of device information, and determine that the verification is passed.

本发明实施例中,优选地,所述设备信息包括所述网络连接设备的设备供应方信息,所述信息验证子模块,具体用于将所述设备信息发送给所述设备供应方信息对应的云端服务器进行验证。In the embodiment of the present invention, preferably, the device information includes device provider information of the network-connected device, and the information verification sub-module is specifically configured to send the device information to the device corresponding to the device provider information. Cloud server for verification.

本发明实施例中,优选地,所述信息获取子模块,具体用于提取所述网络连接请求携带的至少一种设备信息。In the embodiment of the present invention, preferably, the information acquisition sub-module is specifically configured to extract at least one device information carried in the network connection request.

本发明实施例中,优选地,所述信息获取子模块,具体用于向所述网络连接设备发送对至少一种设备信息的获取请求,以获取所述至少一种设备信息,所述获取请求携带请求的设备信息的信息类别。In this embodiment of the present invention, preferably, the information acquisition sub-module is specifically configured to send an acquisition request for at least one type of device information to the network connection device, so as to acquire the at least one type of device information, and the acquisition request The information category that carries the requested device information.

本发明实施例中,优选地,所述信息获取子模块包括:In the embodiment of the present invention, preferably, the information acquisition sub-module includes:

类别确定子单元,用于确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别;a category determination subunit, configured to determine the information category of the at least one other device information associated with the at least one device information fed back last time by the network connection device;

请求发送子单元,用于生成携带所确定的信息类别的获取请求,并发送至所述网络连接设备。The request sending subunit is configured to generate an acquisition request carrying the determined information category and send it to the network connection device.

本发明实施例中,优选地,所述上次反馈的至少一种设备信息包括设备供应方信息,所述类别确定子单元,具体用于确定所述设备供应方信息指示的设备供应方的云端服务器;向确定的云端服务器查询与上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别。In this embodiment of the present invention, preferably, the at least one type of device information fed back last time includes device provider information, and the category determination subunit is specifically configured to determine the cloud platform of the device provider indicated by the device provider information server; query the determined cloud server for the information category of the other at least one device information associated with the last fed back at least one device information.

本发明实施例中,优选地,当所述设备信息包括安全程序的运行结果时,所述信息获取子模块,具体用于向所述网络连接设备发送携带安全检测程序的获取请求,以供所述网络连接设备运行所述安全检测程序。In the embodiment of the present invention, preferably, when the device information includes the running result of the security program, the information acquisition sub-module is specifically configured to send an acquisition request carrying the security detection program to the network connection device for all The network connection device runs the security detection program.

本发明实施例中,优选地,当所述设备信息包括安全程序的运行结果时,所述信息获取子模块,具体用于向所述网络连接设备发送运行在所述网络连接设备上已存在的安全检测程序的指示。In the embodiment of the present invention, preferably, when the device information includes the running result of the security program, the information acquisition sub-module is specifically configured to send to the network connection device the existing data running on the network connection device. Instructions for safety testing procedures.

本发明实施例中,优选地,当所述设备信息包括对预设验证信息的解析结果时,所述信息获取子模块,具体用于向所述网络连接设备发送携带预设验证信息的获取请求,以供所述网络连接设备解析所述预设验证信息。In the embodiment of the present invention, preferably, when the device information includes an analysis result of the preset verification information, the information acquisition sub-module is specifically configured to send an acquisition request carrying the preset verification information to the network connection device , for the network connection device to parse the preset verification information.

本发明实施例中,优选地,分次获取的设备信息分别包括所述网络连接设备的设备供应方信息、设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果中至少一种。In the embodiment of the present invention, preferably, the device information obtained in stages respectively includes the device supplier information, the device identification, the preset verification password, the analysis result of the preset verification information, the network-connected device, and the network-connected device. At least one of the running results of the security detection program.

本发明实施例中,优选地,所述装置还包括:In the embodiment of the present invention, preferably, the device further includes:

预设验证密码发送模块,用于在成功建立网络连接后,向所述网络连接设备发送预设验证密码作为所述网络连接设备的一种设备信息。The preset verification password sending module is configured to send the preset verification password to the network connection device as a kind of device information of the network connection device after the network connection is successfully established.

综上所述,依据本发明实施例,通过接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;判定所述网络连接设备符合设定连接条件;与所述网络连接设备建立网络连接,实现了对于特定的网络连接设备和网络供应设备,不需要人操作,也不需要人输入密码就可以自动连接到网络的功能,而且通过验证设定连接条件还保障了网络连接的安全性,实现了网络连接设备连接网络的便捷性,为不会为网络连接设备连接网络的人提供了更方便的联网方式。To sum up, according to the embodiment of the present invention, by receiving a network connection request from a network connection device, the network connection request is generated after detecting a network supply device that meets the set conditions; it is determined that the network connection device meets the set connection. Conditions; establish a network connection with the network connection device, realize the function of automatically connecting to the network without human operation or input of a password for a specific network connection device and network supply device, and through the verification setting The connection conditions also ensure the security of the network connection, realize the convenience of the network connection device connecting to the network, and provide a more convenient networking method for those who cannot connect the network connection device to the network.

实施例五Embodiment 5

参照图5,示出了根据本发明的一种网络自动连接装置实施例五的结构框图,具体可以包括如下模块:Referring to FIG. 5 , a structural block diagram of Embodiment 5 of an apparatus for automatic network connection according to the present invention is shown, which may specifically include the following modules:

检测模块501,用于检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求;A detection module 501, configured to detect network supply devices that meet the set conditions, and send a network connection request to the network connection device;

通知接收模块502,用于接收在所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件后下发的网络连接通知;a notification receiving module 502, configured to receive a network connection notification issued after the network connection device is determined by a network supply device that meets the set condition as meeting the set connection condition;

连接建立模块503,用于建立与所述符合设定条件的网络供应设备的网络连接。The connection establishment module 503 is configured to establish a network connection with the network supply device that meets the set condition.

本发明实施例中,优选地,所述检测模块包括:In the embodiment of the present invention, preferably, the detection module includes:

条件检测子模块,用于检测满足以下至少一种设定条件的网络供应设备:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。A condition detection sub-module for detecting network supply devices that meet at least one of the following set conditions: network supply devices within a set distance range, network supply devices of the set device provider, networks with signal strength exceeding a threshold supply equipment.

综上所述,依据本发明实施例,通过检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求,接收在判定所述网络连接设备符合设定连接条件后下发的网络连接通知,实现了对于特定的网络连接设备,不需要人操作,也不需要人输入密码就可以连接到网络的功能,而且还保障了网络连接的安全性,实现了网络连接设备连接网络的便捷性,为不会为网络连接设备连接网络的人提供了更方便的联网方式。To sum up, according to the embodiments of the present invention, by detecting the network supply device that meets the set conditions, a network connection request is sent to the network connection device, and a network connection request sent after it is determined that the network connection device meets the set connection conditions is received. The network connection notification realizes the function of connecting to the network without human operation or entering a password for a specific network connection device, and also ensures the security of the network connection, and realizes the network connection device to connect to the network. Convenience provides a more convenient way of networking for people who do not connect to the Internet for network-connected devices.

本领域的技术人员应可理解,上述实施例中的装置模块并非每一个都必不可少,在具体状况下,可以省略其中的一个或多个模块(例如预设验证密码发送模块),只要能够实现网络自动连接的技术目的,本发明并不限定的实施例中模块的数量及其顺序,本发明的保护范围当以权利要求书的限定为准。Those skilled in the art should understand that not every device module in the above-mentioned embodiments is essential, and under specific circumstances, one or more modules (such as a preset verification password sending module) may be omitted, as long as it can To achieve the technical purpose of automatic network connection, the present invention does not limit the number and sequence of modules in the embodiments, and the protection scope of the present invention shall be subject to the limitations of the claims.

在此提供的算法和显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本发明也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本发明的内容,并且上面对特定语言所做的描述是为了披露本发明的最佳实施方式。The algorithms and displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, the present invention is not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the inventions described herein, and that the descriptions of specific languages above are intended to disclose the best mode for carrying out the invention.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, it is to be understood that in the above description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together into a single embodiment, figure, or its description. This disclosure, however, should not be construed as reflecting an intention that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of this invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, those skilled in the art will appreciate that although some of the embodiments described herein include certain features, but not others, included in other embodiments, that combinations of features of different embodiments are intended to be within the scope of the invention within and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的一种网络自动连接方法和装置中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art should understand that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of some or all of some or all of the components in a method and apparatus for automatic network connection according to the embodiments of the present invention Function. The present invention can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing part or all of the methods described herein. Such a program implementing the present invention may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It should be noted that the above-described embodiments illustrate rather than limit the invention, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention can be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names.

Claims (24)

1.一种网络自动连接方法,其中,包括:1. A network automatic connection method, comprising: 接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;Receive a network connection request from a network connection device, where the network connection request is generated after detecting a network supply device that meets the set conditions; 判定所述网络连接设备符合设定连接条件;Determine that the network connection device complies with the set connection conditions; 与所述网络连接设备建立网络连接;establishing a network connection with the network connection device; 其中,所述判定所述网络连接设备符合设定连接条件包括:Wherein, the determining that the network connection device meets the set connection conditions includes: 一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;Obtain at least one device information of the network connection device for verifying the network connection authority once or in stages; 在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过;After each acquisition of at least one type of device information, verify the at least one type of device information acquired this time, and determine that the verification is passed; 所述获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息包括:The acquiring at least one device information of the network connection device for verifying the network connection authority includes: 确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别,生成携带所确定的信息类别的获取请求;并发送至所述网络连接设备,以获取所述至少一种设备信息,所述获取请求携带请求的设备信息的信息类别。determining the information category of at least one other device information associated with the at least one device information last fed back by the network connection device, and generating an acquisition request carrying the determined information category; and sending it to the network connection device to acquire For the at least one type of device information, the acquisition request carries the information category of the requested device information. 2.根据权利要求1所述的方法,其中,所述网络连接请求在检测到满足以下至少一种设定条件的网络供应设备后生成:2. The method according to claim 1, wherein the network connection request is generated after detecting a network provisioning device that satisfies at least one of the following set conditions: 在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。A network provisioning device within a set distance range, a network provisioning device on a set device provider side, a network provisioning device with a signal strength exceeding a threshold. 3.根据权利要求1所述的方法,其中,所述设备信息包括所述网络连接设备的设备供应方信息,所述对本次获取的至少一种设备信息进行验证包括:3. The method according to claim 1, wherein the device information comprises device provider information of the network-connected device, and the verifying at least one type of device information acquired this time comprises: 将所述设备信息发送给所述设备供应方信息对应的云端服务器进行验证。Sending the device information to the cloud server corresponding to the device provider information for verification. 4.根据权利要求1所述的方法,其中,所述获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息包括:4. The method according to claim 1, wherein the acquiring at least one device information of the network connection device for verifying network connection authority comprises: 提取所述网络连接请求携带的至少一种设备信息。At least one kind of device information carried in the network connection request is extracted. 5.根据权利要求1所述的方法,其中,所述上次反馈的至少一种设备信息包括设备供应方信息,所述确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别包括:5 . The method of claim 1 , wherein the at least one kind of device information fed back last time comprises device provider information, and the determining is associated with the at least one kind of device information last fed back by the network connection device. 6 . Information categories for at least one other device information include: 确定所述设备供应方信息指示的设备供应方的云端服务器;determining the cloud server of the equipment provider indicated by the equipment provider information; 向确定的云端服务器查询与上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别。The determined cloud server is inquired about the information category of the other at least one device information associated with the last fed back at least one device information. 6.根据权利要求1所述的方法,其中,当所述设备信息包括安全程序的运行结果时,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:6. The method according to claim 1, wherein, when the device information includes a running result of a security program, the sending an acquisition request for at least one type of device information to the network-connected device comprises: 向所述网络连接设备发送携带安全检测程序的获取请求,以供所述网络连接设备运行所述安全检测程序。An acquisition request carrying a security detection program is sent to the network connection device, so that the network connection device can run the security detection program. 7.根据权利要求1所述的方法,其中,当所述设备信息包括安全程序的运行结果时,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:7. The method according to claim 1, wherein, when the device information includes a running result of a security program, the sending an acquisition request for at least one type of device information to the network-connected device comprises: 向所述网络连接设备发送运行在所述网络连接设备上已存在的安全检测程序的指示。Sending to the network connected device an indication of a security detection program already running on the network connected device. 8.根据权利要求1所述的方法,其中,当所述设备信息包括对预设验证信息的解析结果时,所述向所述网络连接设备发送对至少一种设备信息的获取请求包括:8. The method according to claim 1, wherein, when the device information includes a parsing result of preset verification information, the sending an acquisition request for at least one type of device information to the network-connected device comprises: 向所述网络连接设备发送携带预设验证信息的获取请求,以供所述网络连接设备解析所述预设验证信息。An acquisition request carrying preset verification information is sent to the network connection device, so that the network connection device can parse the preset verification information. 9.根据权利要求1所述的方法,其中,分次获取的设备信息分别包括所述网络连接设备的设备供应方信息、设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果中至少一种。9 . The method according to claim 1 , wherein the device information obtained in stages respectively includes device supplier information, device identification, preset verification password, analysis result of preset verification information, at least one of the results of running the security detection program by the network connection device. 10.根据权利要求1所述的方法,其中,所述方法还包括:10. The method of claim 1, wherein the method further comprises: 在成功建立网络连接后,向所述网络连接设备发送预设验证密码作为所述网络连接设备的一种设备信息。After the network connection is successfully established, a preset verification password is sent to the network connection device as a kind of device information of the network connection device. 11.一种网络自动连接方法,其中,包括:11. A network automatic connection method, comprising: 检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求;Detecting network supply devices that meet the set conditions, and sending a network connection request to the network connection device; 接收在所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件后下发的网络连接通知;Receive a network connection notification issued after the network connection device is determined by a network supply device that meets the set conditions to meet the set connection conditions; 建立与所述符合设定条件的网络供应设备的网络连接;establishing a network connection with the network supply device that meets the set conditions; 其中,所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件包括:所述网络供应设备一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过。Wherein, determining that the network connection device is determined by a network supply device that meets the set condition to meet the set connection condition includes: the network supply device obtains at least one of the network connection devices used for verifying the network connection authority once or in batches. After each acquisition of at least one type of device information, the at least one type of device information acquired this time is verified, and it is determined that the verification is passed. 12.根据权利要求11所述的方法,其中,所述检测符合设定条件的网络供应设备包括:12. The method according to claim 11, wherein the detecting a network provisioning device that meets a set condition comprises: 检测满足以下至少一种设定条件的网络供应设备:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。Network provisioning devices that satisfy at least one of the following set conditions are detected: network provisioning devices within a set distance range, network provisioning devices on the set device provider side, and network provisioning devices with signal strength exceeding a threshold. 13.一种网络自动连接装置,其中,包括:13. A network automatic connection device, comprising: 请求接收模块,用于接收网络连接设备的网络连接请求,所述网络连接请求在检测到符合设定条件的网络供应设备后生成;a request receiving module, configured to receive a network connection request from a network connection device, the network connection request being generated after detecting a network supply device that meets a set condition; 条件判定模块,用于判定所述网络连接设备符合设定连接条件;a condition determination module, used to determine that the network connection device complies with the set connection conditions; 连接建立模块,用于与所述网络连接设备建立网络连接;a connection establishment module for establishing a network connection with the network connection device; 其中,所述条件判定模块包括:Wherein, the condition determination module includes: 信息获取子模块,用于一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;an information acquisition sub-module, used to acquire at least one device information of the network connection device for verifying the network connection authority once or in stages; 信息验证子模块,用于在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过;an information verification sub-module, configured to verify the at least one type of device information acquired this time after each acquisition of at least one type of device information, and determine that the verification is passed; 所述信息获取子模块,具体用于向所述网络连接设备发送对至少一种设备信息的获取请求,以获取所述至少一种设备信息,所述获取请求携带请求的设备信息的信息类别;The information acquisition sub-module is specifically configured to send an acquisition request for at least one type of device information to the network connection device to acquire the at least one type of device information, where the acquisition request carries the information category of the requested device information; 所述信息获取子模块包括:The information acquisition sub-module includes: 类别确定子单元,用于确定与所述网络连接设备上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别;a category determination subunit, configured to determine the information category of at least one other device information associated with the at least one device information fed back last time by the network connection device; 请求发送子单元,用于生成携带所确定的信息类别的获取请求,并发送至所述网络连接设备。The request sending subunit is configured to generate an acquisition request carrying the determined information category, and send it to the network connection device. 14.根据权利要求13所述的装置,其中,所述网络连接请求在检测到满足以下至少一种设定条件的网络供应设备后生成:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。14. The apparatus according to claim 13, wherein the network connection request is generated after detecting a network provisioning device that satisfies at least one of the following set conditions: a network provisioning device within a set distance range, a set device A provider's network provider, a network provider with a signal strength that exceeds a threshold. 15.根据权利要求13所述的装置,其中,所述设备信息包括所述网络连接设备的设备供应方信息,所述信息验证子模块,具体用于将所述设备信息发送给所述设备供应方信息对应的云端服务器进行验证。15. The apparatus according to claim 13, wherein the device information comprises device provider information of the network-connected device, and the information verification sub-module is specifically configured to send the device information to the device provider The cloud server corresponding to the party information is verified. 16.根据权利要求13所述的装置,其中,所述信息获取子模块,具体用于提取所述网络连接请求携带的至少一种设备信息。16. The apparatus according to claim 13, wherein the information acquisition sub-module is specifically configured to extract at least one type of device information carried in the network connection request. 17.根据权利要求13所述的装置,其中,所述上次反馈的至少一种设备信息包括设备供应方信息,所述类别确定子单元,具体用于确定所述设备供应方信息指示的设备供应方的云端服务器;向确定的云端服务器查询与上次反馈的至少一种设备信息关联的其他至少一种设备信息的信息类别。17. The apparatus according to claim 13, wherein the at least one type of device information fed back last time comprises device provider information, and the category determination subunit is specifically configured to determine the device indicated by the device provider information The cloud server of the supplier; query the determined cloud server for the information category of the other at least one kind of device information associated with the at least one kind of device information fed back last time. 18.根据权利要求13所述的装置,其中,当所述设备信息包括安全程序的运行结果时,所述信息获取子模块,具体用于向所述网络连接设备发送携带安全检测程序的获取请求,以供所述网络连接设备运行所述安全检测程序。18. The apparatus according to claim 13, wherein, when the device information includes a running result of a security program, the information acquisition sub-module is specifically configured to send an acquisition request carrying a security detection program to the network connection device , for the network connection device to run the security detection program. 19.根据权利要求13所述的装置,其中,当所述设备信息包括安全程序的运行结果时,所述信息获取子模块,具体用于向所述网络连接设备发送运行在所述网络连接设备上已存在的安全检测程序的指示。19. The apparatus according to claim 13, wherein, when the device information includes a running result of a security program, the information acquisition submodule is specifically configured to send the network connection device running on the network connection device to the network connection device. Indication of existing security testing procedures. 20.根据权利要求13所述的装置,其中,当所述设备信息包括对预设验证信息的解析结果时,所述信息获取子模块,具体用于向所述网络连接设备发送携带预设验证信息的获取请求,以供所述网络连接设备解析所述预设验证信息。20 . The apparatus according to claim 13 , wherein, when the device information includes a parsing result of the preset verification information, the information acquisition sub-module is specifically configured to send the network connection device carrying the preset verification information. 21 . an information acquisition request for the network connection device to parse the preset verification information. 21.根据权利要求13所述的装置,其中,分次获取的设备信息分别包括所述网络连接设备的设备供应方信息、设备标识、预设验证密码、对预设验证信息的解析结果、所述网络连接设备对安全检测程序的运行结果中至少一种。21. The apparatus according to claim 13, wherein the equipment information obtained in stages respectively comprises equipment supplier information, equipment identification, preset verification password, analysis result of preset verification information, at least one of the results of running the security detection program by the network connection device. 22.根据权利要求13所述的装置,其中,所述装置还包括:22. The apparatus of claim 13, wherein the apparatus further comprises: 预设验证密码发送模块,用于在成功建立网络连接后,向所述网络连接设备发送预设验证密码作为所述网络连接设备的一种设备信息。The preset verification password sending module is configured to send the preset verification password to the network connection device as a kind of device information of the network connection device after the network connection is successfully established. 23.一种网络自动连接装置,其中,包括:23. A network automatic connection device, comprising: 检测模块,用于检测符合设定条件的网络供应设备,向所述网络连接设备发送网络连接请求;a detection module, configured to detect network supply devices that meet the set conditions, and send a network connection request to the network connection device; 通知接收模块,用于接收在所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件后下发的网络连接通知;a notification receiving module, configured to receive a network connection notification issued after the network connection device is determined by a network supply device that meets the set condition as meeting the set connection condition; 连接建立模块,用于建立与所述符合设定条件的网络供应设备的网络连接;a connection establishment module for establishing a network connection with the network supply device that meets the set conditions; 其中,所述网络连接设备被符合设定条件的网络供应设备判定为符合设定连接条件包括:所述网络供应设备一次或分次获取所述网络连接设备的用于验证网络连接权限的至少一种设备信息;在每次获取至少一种设备信息后,对本次获取的至少一种设备信息进行验证,并确定验证通过。Wherein, determining that the network connection device is determined by a network supply device that meets the set condition to meet the set connection condition includes: the network supply device obtains at least one of the network connection devices used for verifying the network connection authority once or in batches. After each acquisition of at least one type of device information, the at least one type of device information acquired this time is verified, and it is determined that the verification is passed. 24.根据权利要求23所述的装置,其中,所述检测模块包括:24. The apparatus of claim 23, wherein the detection module comprises: 条件检测子模块,用于检测满足以下至少一种设定条件的网络供应设备:在设定距离范围内的网络供应设备、设定设备供应方的网络供应设备、具有超过阈值的信号强度的网络供应设备。A condition detection sub-module for detecting network supply devices that meet at least one of the following set conditions: network supply devices within a set distance range, network supply devices of the set device provider, networks with signal strength exceeding a threshold supply equipment.
CN201610644154.3A 2016-08-08 2016-08-08 A kind of network automatic connection method and device Active CN106304070B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610644154.3A CN106304070B (en) 2016-08-08 2016-08-08 A kind of network automatic connection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610644154.3A CN106304070B (en) 2016-08-08 2016-08-08 A kind of network automatic connection method and device

Publications (2)

Publication Number Publication Date
CN106304070A CN106304070A (en) 2017-01-04
CN106304070B true CN106304070B (en) 2020-06-16

Family

ID=57666481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610644154.3A Active CN106304070B (en) 2016-08-08 2016-08-08 A kind of network automatic connection method and device

Country Status (1)

Country Link
CN (1) CN106304070B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107197536A (en) * 2017-05-10 2017-09-22 成都优威骐翼教育科技有限公司 Robot and internet automatic connecting system
CN107071776A (en) * 2017-05-23 2017-08-18 上海斐讯数据通信技术有限公司 It is a kind of to match somebody with somebody network method and its system, a kind of server automatically
JP2020005024A (en) * 2018-06-25 2020-01-09 ルネサスエレクトロニクス株式会社 Terminal authentication device, terminal authentication system and terminal authentication method
CN109286997A (en) * 2018-10-22 2019-01-29 宁波工程学院 A device that automatically connects or disconnects from Wi-Fi
CN110505272B (en) * 2019-07-12 2022-04-29 杭州海康威视数字技术股份有限公司 Network connection establishing method and device, receiver equipment and sender equipment
CN114126080B (en) * 2021-10-22 2024-02-09 深圳中科德能科技有限公司 Automatic network connection method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932731A (en) * 2011-08-12 2013-02-13 李世镛 Automatic position information transmission system and method using wireless data network
CN105338529A (en) * 2015-11-18 2016-02-17 Tcl集团股份有限公司 Wireless network connecting method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932731A (en) * 2011-08-12 2013-02-13 李世镛 Automatic position information transmission system and method using wireless data network
CN105338529A (en) * 2015-11-18 2016-02-17 Tcl集团股份有限公司 Wireless network connecting method and system

Also Published As

Publication number Publication date
CN106304070A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106304070B (en) A kind of network automatic connection method and device
CN106161392B (en) A kind of auth method and equipment
US10171997B2 (en) Method and apparatus for interconnection between terminal device and gateway device
JP6622316B2 (en) System and method for user attribute information confirmation, and client and server using the same
CN104348802B (en) Fast registration method, apparatus, system and mobile phone, registrar
US10231124B2 (en) Anti-theft method and client for a mobile terminal
EP3905671B1 (en) Method and device for processing request
CN107770226B (en) Control method and device for smart home, home gateway and mobile terminal
CN109982322B (en) A screen projection method, device, system and storage medium
CN106790267A (en) A kind of method and apparatus of access server operating system
TW201631510A (en) Methods, apparatus, and systems for identity authentication
CN105656850B (en) Data processing method, related device and system
CN103634935B (en) WPS (Wi-Fi protected setup) or QSS (quick secure setup)-based network accessing method and device
CN105207985A (en) Application program login method and mobile terminal
TWI734385B (en) Identity recognition preprocessing, identity recognition method and system
CN105392137A (en) Household WIFI embezzlement preventing method, wireless router and terminal equipment
CN105163317A (en) Network access method, server, terminal and system
CN103916400A (en) User account management method and system
CN104284334A (en) A control method and device for WiFi protection settings
CN111385272A (en) Method and device for detecting weak password
CN107135506B (en) A kind of portal authentication method, apparatus and system
WO2017054307A1 (en) Recognition method and apparatus for user information
CN106357684B (en) Game application login method and device
CN107294981B (en) Authentication method and equipment
CN113657884B (en) Account login method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220706

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right