CN111818609A - A method, device, communication device and storage medium for connecting to a wireless network - Google Patents
A method, device, communication device and storage medium for connecting to a wireless network Download PDFInfo
- Publication number
- CN111818609A CN111818609A CN202010343679.XA CN202010343679A CN111818609A CN 111818609 A CN111818609 A CN 111818609A CN 202010343679 A CN202010343679 A CN 202010343679A CN 111818609 A CN111818609 A CN 111818609A
- Authority
- CN
- China
- Prior art keywords
- site
- signal
- access point
- network
- information
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/309—Measuring or estimating channel quality parameters
- H04B17/318—Received signal strength
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本公开涉及无线通信技术领域但不限于无线通信技术领域,尤其涉及一种连接无线网 络的方法、装置、通信设备及存储介质。The present disclosure relates to the technical field of wireless communication, but is not limited to the technical field of wireless communication, and in particular, relates to a method, apparatus, communication device and storage medium for connecting to a wireless network.
背景技术Background technique
家庭智能设备的通信,是基于路由器和设备之间的通信协议实现的。在连接到网络之 前,家庭智能设备会向基于无线保真(Wifi,Wireless Fidelity)技术的接入点或者基于蓝 牙技术的接入点(AP,Access Point)发送信号。接入点(AP)接收到信号后确定周围存 在需要连接到网络的家庭智能设备,会向服务器发送请求,以请求该家庭智能设备加入网 络。服务器会通过接入点(AP)向家庭智能设备上的应用推送提示消息,请求用户确认。用户确授权确认后,接入点(AP)将用户名密码发给家庭智能设备,完成家庭智能设备 与接入点(AP)的无线连接。如果在长期使用过程中,家庭智能设备出现断网,家庭智 能设备会发起重新连接,连接过程与上述无线连接过程类似,在家庭智能设备的授权甚至 不用授权的情况下完成重新连接。The communication of home smart devices is realized based on the communication protocol between the router and the device. Before connecting to the network, the home smart device will send a signal to a wireless fidelity (Wifi, Wireless Fidelity) technology-based access point or a Bluetooth technology-based access point (AP, Access Point). After receiving the signal, the access point (AP) determines that there is a home smart device that needs to be connected to the network, and sends a request to the server to request the home smart device to join the network. The server will push a prompt message to the application on the home smart device through the access point (AP), requesting the user to confirm. After the user confirms the authorization, the access point (AP) sends the user name and password to the home smart device to complete the wireless connection between the home smart device and the access point (AP). If the home smart device is disconnected from the network during long-term use, the home smart device will initiate a reconnection. The connection process is similar to the above wireless connection process, and the reconnection is completed without the authorization of the home smart device or even without authorization.
但是,在上述无线连接方式中,在A家庭设置有接入点(AP)时,如果邻居B家庭 也有基于同样协议的接入点(AP),那么服务器可能会将发送给与A家庭接入点连接的 手机a的确认是否授权家庭智能设备接入无线网络的提示消息,发送给B家庭与接入点 (AP)连接的手机b,B家庭的手机b就可以取得对A家庭家庭智能设备的控制权,会 带来网络安全和用户投诉隐患。However, in the above wireless connection method, when the A family is set with an access point (AP), if the neighbor B family also has an access point (AP) based on the same protocol, the server may send a message to the A family to access the The prompt message that confirms whether the mobile phone a connected to the home is authorized to access the wireless network is sent to the mobile phone b connected to the access point (AP) of the B family. It will bring hidden dangers to network security and user complaints.
发明内容SUMMARY OF THE INVENTION
根据本公开实施例的第一方面,提供一种连接无线网络的方法,其中,应用于接入点 中,所述方法包括:According to a first aspect of the embodiments of the present disclosure, a method for connecting to a wireless network is provided, wherein, when applied to an access point, the method includes:
接收第一站点发送的连网信号,并接收与所述接入点连接的第二站点的发送信号;Receive the networking signal sent by the first station, and receive the signal sent by the second station connected to the access point;
根据所述连网信号,向服务器发送所述第一站点的配网请求;According to the networking signal, send the network configuration request of the first site to the server;
向所述服务器发送信号接收状态信息;其中,所述信号接收状态信息包括:所述连网 信号的第一信号强度与所述发送信号的第二信号强度之间的差值信息;Sending signal reception status information to the server; wherein the signal reception status information includes: difference information between the first signal strength of the networking signal and the second signal strength of the transmitted signal;
接收所述服务器根据所述差值信息发送的配网提示信息;receiving the network configuration prompt information sent by the server according to the difference information;
将所述配网提示信息发送给所述第二站点;其中,所述配网提示信息,用于提示对第 一站点进行连接到接入点的配网。Send the network distribution prompt information to the second site; wherein, the network distribution prompt information is used to prompt the first site to be connected to the access point for network distribution.
在一个实施例中,所述配网提示信息为自动配网提示信息,其中,所述自动配网提示 信息,用于触发所述第二站点将连接到所述接入点的鉴权信息发送给第一站点。In one embodiment, the network configuration prompt information is automatic network configuration prompt information, wherein the automatic network configuration prompt information is used to trigger the second site to send authentication information for connecting to the access point to the first site.
在一个实施例中,在所述第一信号强度与所述第二信号强度之间的差值在阈值范围 内,所述配网提示信息为所述自动配网提示信息。In one embodiment, when the difference between the first signal strength and the second signal strength is within a threshold range, the network configuration prompt information is the automatic network configuration prompt information.
在一个实施例中,所述配网提示信息为手动配网提示信息,其中,所述手动配网提示 信息,用于触发所述第二站点输出提示手动配网。In one embodiment, the network distribution prompt information is manual network distribution prompt information, wherein the manual network distribution prompt information is used to trigger the second site to output a prompt for manual network distribution.
在一个实施例中,在所述第一信号强度与所述第二信号强度之间的差值在阈值范围 外,所述配网提示信息为所述手动配网提示信息。In one embodiment, when the difference between the first signal strength and the second signal strength is outside a threshold range, the network configuration prompt information is the manual network configuration prompt information.
在一个实施例中,所述根据所述连网信号,向所述服务器发送所述第一站点的配网请 求,还包括:In one embodiment, the sending, according to the networking signal, the network configuration request of the first site to the server further includes:
响应于所述第一信号强度大于信号阈值,向所述服务器发送所述第一站点的配网请 求。In response to the first signal strength being greater than a signal threshold, a network configuration request for the first site is sent to the server.
在一个实施例中,所述方法,还包括:In one embodiment, the method further includes:
接收信息获取请求;receive information acquisition requests;
所述向所述服务器发送信号接收状态信息,包括:The sending a signal to the server to receive status information includes:
基于所述信息获取请求,向所述服务器发送所述信号接收状态信息。Based on the information acquisition request, the signal reception status information is sent to the server.
根据本公开实施例的第二方面,提供一种连接无线网络的方法,其中,应用于服务器 中,所述方法包括:According to a second aspect of the embodiments of the present disclosure, a method for connecting to a wireless network is provided, wherein, when applied to a server, the method includes:
接收接入点发送的第一站点的配网请求;Receive the network configuration request of the first site sent by the access point;
接收所述接入点发送的信号接收状态信息;其中,所述信号接收状态信息包括:所述 第一站点发送的连网信号的第一信号强度,和与所述接入点连接的第二站点发送的信号的 第二信号强度之间的差值信息;Receive signal reception status information sent by the access point; wherein the signal reception status information includes: a first signal strength of a networking signal sent by the first station, and a second signal strength connected to the access point. difference information between the second signal strengths of the signals sent by the stations;
根据所述差值信息向所述接入点发送配网提示信息;其中,所述配网提示信息,用于 提示对第一站点进行连接到接入点的配网。Sending network distribution prompt information to the access point according to the difference information; wherein, the network distribution prompt information is used to prompt the first site to perform network distribution connected to the access point.
在一个实施例中,所述配网提示信息为自动配网提示信息,其中,所述自动配网提示 信息,用于触发所述第二站点将连接到所述接入点的鉴权信息发送给第一站点。In one embodiment, the network configuration prompt information is automatic network configuration prompt information, wherein the automatic network configuration prompt information is used to trigger the second site to send authentication information for connecting to the access point to the first site.
在一个实施例中,所述根据所述差值信息向所述接入点发送配网提示信息,包括:In an embodiment, the sending the network configuration prompt information to the access point according to the difference information includes:
响应于所述第一信号强度与所述第二信号强度之间的差值在阈值范围内,向所述接入 点发送所述自动配网提示信息。In response to the difference between the first signal strength and the second signal strength being within a threshold range, the automatic network configuration prompt information is sent to the access point.
在一个实施例中,所述配网提示信息为手动配网提示信息,其中,所述手动配网提示 信息,用于触发所述第二站点输出提示手动配网。In one embodiment, the network distribution prompt information is manual network distribution prompt information, wherein the manual network distribution prompt information is used to trigger the second site to output a prompt for manual network distribution.
在一个实施例中,所述根据所述差值信息向所述接入点发送配网提示信息,包括:In an embodiment, the sending the network configuration prompt information to the access point according to the difference information includes:
响应于所述第一信号强度与所述第二信号强度之间的差值在阈值范围外,向所述接入 点发送所述手动配网提示信息。In response to the difference between the first signal strength and the second signal strength being outside a threshold range, the manual network configuration prompt information is sent to the access point.
在一个实施例中,所述配网请求为:所述接入点在接收到第一站点的连网信号的第一 信号强度大于信号阈值时发送的。In one embodiment, the network configuration request is sent by the access point when the first signal strength of the network connection signal received by the first site is greater than a signal threshold.
在一个实施例中,所述方法,还包括:In one embodiment, the method further includes:
向所述接入点发送请求获取所述信号接收状态信息的信息获取请求。An information acquisition request for acquiring the signal reception status information is sent to the access point.
根据本公开实施例的第三方面,提供一种连接无线网络的装置,其中,应用于接入点 中,所述装置包括第一接收模块和第一发送模块,其中,According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for connecting to a wireless network, wherein, when applied to an access point, the apparatus includes a first receiving module and a first sending module, wherein,
所述第一接收模块,用于:接收第一站点发送的连网信号,并接收与所述接入点连接 的第二站点的发送信号;The first receiving module is used for: receiving the networking signal sent by the first site, and receiving the sending signal of the second site connected with the access point;
所述第一发送模块,用于:根据所述连网信号,向服务器发送所述第一站点的配网请 求;The first sending module is used for: sending the network distribution request of the first site to the server according to the networking signal;
所述第一发送模块,还用于向所述服务器发送信号接收状态信息;其中,所述信号接 收状态信息包括:所述连网信号的第一信号强度与所述发送信号的第二信号强度之间的差 值信息;The first sending module is further configured to send signal receiving state information to the server; wherein the signal receiving state information includes: the first signal strength of the networking signal and the second signal strength of the sending signal difference information between;
所述第一接收模块,还用于接收所述服务器根据所述差值信息发送的配网提示信息;The first receiving module is further configured to receive the network distribution prompt information sent by the server according to the difference information;
所述第一发送模块,还用于将所述配网提示信息发送给所述第二站点;其中,所述配 网提示信息,用于提示对第一站点进行连接到接入点的配网。The first sending module is further configured to send the network distribution prompt information to the second site; wherein the network distribution prompt information is used to prompt the first site to be connected to the access point for network distribution .
根据本公开实施例的第四方面,提供一种连接无线网络的装置,其中,应用于服务器 中,所述装置包括第二接收模块和第二发送模块,其中,According to a fourth aspect of the embodiments of the present disclosure, there is provided an apparatus for connecting to a wireless network, wherein, when applied to a server, the apparatus includes a second receiving module and a second sending module, wherein,
所述第二接收模块,用于接收接入点发送的第一站点的配网请求;还用于接收所述接 入点发送的信号接收状态信息;其中,所述信号接收状态信息包括:所述第一站点发送的 连网信号的第一信号强度,和与所述接入点连接的第二站点发送的信号的第二信号强度之 间的差值信息;The second receiving module is configured to receive the network allocation request of the first site sent by the access point; and is further configured to receive the signal receiving state information sent by the access point; wherein the signal receiving state information includes: difference information between the first signal strength of the networking signal sent by the first station and the second signal strength of the signal sent by the second station connected to the access point;
所述第二发送模块,用于根据所述差值信息向所述接入点发送配网提示信息;其中, 所述配网提示信息,用于提示对第一站点进行连接到接入点的配网。The second sending module is configured to send the network allocation prompt information to the access point according to the difference information; wherein, the network allocation prompt information is used to prompt the first site to connect to the access point. distribution network.
根据本公开实施例的第五方面,提供一种移动终端,包括:According to a fifth aspect of the embodiments of the present disclosure, a mobile terminal is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行可执行指令时,实现上述任一项所述的方法步骤。Wherein, when the processor is configured to execute the executable instructions, any of the method steps described above are implemented.
根据本公开实施例的第六方面,提供一种非临时性计算机可读存储介质,其上存储有 计算机程序,所述程序被处理器执行实现上述任一项所述的方法步骤。According to a sixth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium on which a computer program is stored, the program being executed by a processor to implement any of the method steps described above.
本公开的实施例中,接收第一站点发送的连网信号,并接收与所述接入点连接的第二 站点的发送信号,这样,当接入点接收到所述连网信号和所述发送信号时,可以获知所述 连网信号和所述发送信号的信号强度。向服务器发送所述第一站点的配网请求,这样,当 接入点接收到连网信号时,可以确定所述第一站点有配网的需求,能及时向服务器发送所 述配网请求。向所述服务器发送信号接收状态信息;其中,所述信号接收状态信息包括: 所述连网信号的第一信号强度与所述发送信号的第二信号强度之间的差值信息,这样,所 述服务器在接收到所述信号接收状态信息后,能够根据所述第一信号强度与所述第二信号 强度之间的差值确定所述第一站点和所述第二站点之间的距离,从而确定所述第二站点是 否与所述第一站点在同一区域的站点。接收所述服务器根据所述差值信息发送的配网提示 信息,这样,接入点可以接收到用于提示将所述第一站点连接到所述接入点的配网提示信 息。将所述配网提示信息发送给所述第二站点,这样,第二站点可以根据所述配网提示信 息确定如何配网以将所述第一站点连接到所述接入点。本公开实施例中,根据已经连接至 所述接入点的所述第二站点与所述第一站点之间的信号强度的差值信息生成所述配网提 示信息,相较于基于单一的所述第一站点发送的连网信号的信号强度信息生成配网提示信 息,可以减少与所述第一站点邻近的其它设备自动控制所述第一站点接入所述接入点,提 升了对所述第一站点进行配网的安全性。且相较于单一的手动配网操作,简化了配网的操 作流程,能够带给用户好的体验。In the embodiment of the present disclosure, a networking signal sent by a first station is received, and a signal sent by a second station connected to the access point is received. In this way, when the access point receives the networking signal and the When a signal is sent, the network signal and the signal strength of the sent signal can be obtained. The network distribution request of the first site is sent to the server, so that when the access point receives the networking signal, it can be determined that the first site has a network distribution requirement, and the network distribution request can be sent to the server in time. Sending signal reception status information to the server; wherein the signal reception status information includes: difference information between the first signal strength of the networking signal and the second signal strength of the transmitted signal, so that all After receiving the signal reception status information, the server can determine the distance between the first site and the second site according to the difference between the first signal strength and the second signal strength, Thereby, it is determined whether the second site is a site in the same area as the first site. The network configuration prompt information sent by the server according to the difference value information is received, so that the access point can receive the network configuration prompt information for prompting to connect the first station to the access point. Sending the network distribution prompt information to the second site, so that the second site can determine how to configure the network according to the network distribution prompt information to connect the first site to the access point. In this embodiment of the present disclosure, the network configuration prompt information is generated according to the difference information between the signal strengths of the second station that has been connected to the access point and the first station. The signal strength information of the networking signal sent by the first site generates network distribution prompt information, which can reduce the automatic control of other devices adjacent to the first site to access the access point from the first site, and improve the reliability of the network. The first site performs network distribution security. Compared with a single manual network distribution operation, it simplifies the operation process of network distribution and can bring users a good experience.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例, 并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1a是根据一示例性实施例示出的一种连接无线网络的方法的流程图。Fig. 1a is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图1b是根据一示例性实施例示出的一种连接无线网络的方法的流程图。Fig. 1b is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种连接无线网络的方法的流程图。Fig. 2 is a flow chart of a method for connecting to a wireless network according to an exemplary embodiment.
图3是根据一示例性实施例示出的种连接无线网络的方法的流程图。Fig. 3 is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图4是根据一示例性实施例示出的种连接无线网络的方法的流程图。Fig. 4 is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图5a是根据一示例性实施例示出的种连接无线网络的方法的流程图。Fig. 5a is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图5b是根据一示例性实施例示出的种连接无线网络的方法的流程图。Fig. 5b is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图6是根据一示例性实施例示出的种连接无线网络的方法的流程图。Fig. 6 is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment.
图7是根据一示例性实施例示出的一种增强现实AR信息或虚拟现实VR信息的获取装置框图。Fig. 7 is a block diagram of an apparatus for acquiring augmented reality AR information or virtual reality VR information according to an exemplary embodiment.
图8是根据一示例性实施例示出的一种增强现实AR信息或虚拟现实VR信息的获取装置框图。Fig. 8 is a block diagram of an apparatus for acquiring augmented reality AR information or virtual reality VR information according to an exemplary embodiment.
图9是根据一示例性实施例示出的一种移动终端的框图。Fig. 9 is a block diagram of a mobile terminal according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图 时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中 所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权 利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with some aspects of the invention as recited in the appended claims.
为了更加清楚地理解本公开任一实施例的技术方案,首先通过一种连接无线网络方法 的应用场景进行说明。In order to understand the technical solutions of any embodiment of the present disclosure more clearly, firstly, an application scenario of a method for connecting to a wireless network is described.
图1a是根据一示例性实施例示出的一种连接无线网络的方法的示意图。无线网络包 括服务器、A家的家庭网络和A家邻居B家的家庭网络。在一个实施例中,A家和B家 的地理位置距离小于设置距离阈值。在另一个实施例中,A家位于B家楼上,需要说明 的是,在本申请中,A家指A家庭,B家指B家庭。A家的家庭网络包括路由器1、家庭 智能设备和手机1,B家的家庭网络包括路由器2和手机2。当A家的家庭智能设备需要 连接到A家的网络时,需要执行如下步骤:Fig. 1a is a schematic diagram showing a method for connecting to a wireless network according to an exemplary embodiment. The wireless network includes the server, the home network of A's home, and the home network of A's neighbor B's home. In one embodiment, the geographic location distance of home A and home B is less than a set distance threshold. In another embodiment, the A family is located above the B family. It should be noted that, in this application, the A family refers to the A family, and the B family refers to the B family. Home A's home network includes router 1, home smart devices, and mobile phone 1, and home B's home network includes router 2 and mobile phone 2. When the home smart device of home A needs to connect to the network of home A, the following steps need to be performed:
步骤1,家庭智能设备向路由器1发送导频信号;Step 1, the home smart device sends a pilot signal to router 1;
步骤2,路由器1在接收到导频信号后向服务器发送家庭智能设备的配网请求;Step 2, after receiving the pilot signal, the router 1 sends a network distribution request of the home smart device to the server;
步骤3,服务器向路由器1发送配网的提示信息;Step 3, the server sends the prompt information of the network configuration to the router 1;
步骤4,路由器1将提示信息发送给手机1;Step 4, the router 1 sends the prompt information to the mobile phone 1;
步骤5,手机1在收到提示信息后确认配网授权,将家庭智能设备连接到路由器1的密码信息发送给家庭智能设备。Step 5: After receiving the prompt message, the mobile phone 1 confirms the authorization of the distribution network, and sends the password information for connecting the home smart device to the router 1 to the home smart device.
但是,在上述方法中,B家的手机2可能通过路由器2接收到服务器发送的提示信息, 手机2在收到提示信息后确认配网授权,将家庭智能设备连接到路由器2的密码信息发送 给家庭智能设备,使得家庭智能设备连接至路由器2,并对家庭智能设备进行控制,取得对家庭智能设备的控制权,给家庭智能设备的运行带来了安全隐患。However, in the above method, the mobile phone 2 of home B may receive the prompt information sent by the server through the router 2. After receiving the prompt information, the mobile phone 2 confirms the network distribution authorization, and sends the password information for connecting the home smart device to the router 2 to The home smart device enables the home smart device to be connected to the router 2, controls the home smart device, and obtains the right to control the home smart device, which brings security risks to the operation of the home smart device.
图1b是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图1b所示, 应用于接入点中,方法包括如下步骤:Fig. 1b is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment. As shown in Fig. 1b, when applied to an access point, the method includes the following steps:
步骤11,接收第一站点发送的连网信号,并接收与接入点连接的第二站点的发送信 号;Step 11, receiving the networking signal sent by the first site, and receiving the sending signal of the second site connected with the access point;
在一个实施例中,接入点可以是基于无线保真(Wifi,Wireless Fidelity)无线通信技 术或者蓝牙(Bluetooth)无线通信技术进行通信的路由器。In one embodiment, the access point may be a router that communicates based on a Wireless Fidelity (Wireless Fidelity) wireless communication technology or a Bluetooth (Bluetooth) wireless communication technology.
在一个实施例中,第一站点可以是但不限于是家庭智能设备、智能办公设备和手机等。 家庭智能设备可以包括智能家居设备或物联网设备(IoT,Internet of Things)。在一个实 施例中,智能家居设备可以包括扫地机器人、智能门锁、智能电饭煲和智能监控摄像头等。In one embodiment, the first site may be, but is not limited to, home smart devices, smart office devices, mobile phones, and the like. Home smart devices may include smart home devices or Internet of Things (IoT, Internet of Things). In one embodiment, smart home devices may include sweeping robots, smart door locks, smart rice cookers, and smart surveillance cameras, among others.
在一个实施例中,第二站点可以是并不限于是用户可随身携带的便携式移动通信设 备、智能办公设备和家庭智能设备等。例如,手机、平板电脑、智能可穿戴设备等。In one embodiment, the second site may be, but is not limited to, a portable mobile communication device, a smart office device, a home smart device, etc. that the user can carry around. For example, mobile phones, tablets, smart wearable devices, etc.
在一个实施例中,第一站点、第二站点、接入点可以是基于私有协议与接入点进行无 线通信。In one embodiment, the first station, the second station, and the access point may wirelessly communicate with the access point based on a proprietary protocol.
在一个实施例中,连网信号可以是第一站点在导频载波上发送的导频信号。In one embodiment, the networking signal may be a pilot signal sent by the first station on a pilot carrier.
在一个实施例中,导频载波可以是如下之一:46.6MHz的载波、109.9MHz的 载波、229.5MHz的载波。In one embodiment, the pilot carrier may be one of the following: a 46.6MHz carrier, a 109.9MHz carrier, a 229.5MHz carrier.
在一个实施例中,响应于第一站点进入接入点的信号覆盖区域,接入点能够接收到第 一站点发送的连网信号。In one embodiment, in response to the first station entering the signal coverage area of the access point, the access point can receive the networking signal sent by the first station.
在一个实施例中,响应于第一站点开机启动,接入点能够接收到第一站点发送的连网 信号。In one embodiment, in response to the first station being powered on, the access point can receive the networking signal sent by the first station.
在一个实施例中,响应于第一站点设置的定时时间超时,接入点能够接收到第一站点 发送的连网信号。In one embodiment, in response to the time-out set by the first station, the access point can receive the networking signal sent by the first station.
在一个实施例中,响应于接入点向第二站点发送测试信号,接入点能够接收到第二站 点的发送信号。In one embodiment, in response to the access point sending the test signal to the second station, the access point is able to receive the second station's transmitted signal.
步骤12,根据连网信号,向服务器发送第一站点的配网请求;Step 12, sending the network distribution request of the first site to the server according to the networking signal;
在一个实施例中,向服务器发送第一站点的配网请求可以是请求服务器进行配网,将 第一站点连接至接入点。In one embodiment, sending the network configuration request of the first site to the server may be to request the server to perform network configuration to connect the first site to the access point.
在一个实施例中,只有当连网信号的信号强度值大于信号阈值时,才向服务器发送第 一站点的配网请求。这样,能够减少接入点频繁向服务器发送第一站点的配网请求。例如, 不同区域部署有A接入点和B接入点,A接入点的信号覆盖区域为a区域,B接入点的信号覆盖区域为b区域,扫地机器人位于b区域中,如果扫地机器人在b区域中发送连网 信号以连入B接入点时,A接入点可能会接收到微弱的连网信号,可能会触发接入点A 向服务器发送配网请求。这里,只有当连网信号的信号强度值大于信号阈值时,才向服务 器发送连网请求,就能减少接入点频繁向服务器发送扫地机器人的配网请求。In one embodiment, the network configuration request of the first site is sent to the server only when the signal strength value of the networking signal is greater than the signal threshold. In this way, it can be reduced that the access point frequently sends the network configuration request of the first site to the server. For example, access point A and access point B are deployed in different areas, the signal coverage area of access point A is area a, the signal coverage area of access point B is area b, and the cleaning robot is located in area b. When a network connection signal is sent in the b area to connect to the B access point, the A access point may receive a weak network connection signal, which may trigger the access point A to send a network configuration request to the server. Here, the network connection request is sent to the server only when the signal strength value of the network connection signal is greater than the signal threshold, which can reduce the frequent sending of network configuration requests for the cleaning robot by the access point to the server.
步骤13,向服务器发送信号接收状态信息;其中,信号接收状态信息包括:连网信号的第一信号强度与发送信号的第二信号强度之间的差值信息;Step 13: Send signal reception status information to the server; wherein the signal reception status information includes: difference information between the first signal strength of the networking signal and the second signal strength of the sent signal;
在一个实施例中,接入点接收到连网信号和发送信号,就可以检测连网信号和发送信 号的信号强度值。In one embodiment, the access point can detect the signal strength values of the networking signal and the transmitted signal upon receipt of the networking signal and the transmitted signal.
在一个实施例中,接入点多次测量连网信号的第一信号强度值,将多次测量的连网信 号的第一信号强度的平均值确定为连网信号的第一信号强度值;接入点多次测量发送信号 的第二信号强度值,将多次测量的发送信号的第二信号强度值确定为发送信号的第二信号 强度值。这样,测得的连网信号和发送信号的信号强度值更加准确。In one embodiment, the access point measures the first signal strength value of the networking signal multiple times, and determines the average value of the first signal strength of the networking signal measured multiple times as the first signal strength value of the networking signal; The access point measures the second signal strength value of the transmitted signal multiple times, and determines the second signal strength value of the transmitted signal measured multiple times as the second signal strength value of the transmitted signal. In this way, the measured signal strength values of the networked signal and the transmitted signal are more accurate.
在一个实施例中,第一信号强度与第二信号强度之间的差值越小,第一站点与第二站 点之间的距离越小。这里,第一站点与第二站点之间的距离越小,可以确认第一站点与第 二站点的关系越密切。这里,第一站点与第二站点关系密切可以是但不限于是:第一站点 和第二站点同为同一个家庭网络中家庭成员使用的移动通信设备或家里的智能家居设备, 或者第一站点和第二站点同为位于同一个办公场所中的设备,或者第一站点和第二站点同 为位于同一个公共区域中的设备。In one embodiment, the smaller the difference between the first signal strength and the second signal strength, the smaller the distance between the first station and the second station. Here, the smaller the distance between the first site and the second site, the closer the relationship between the first site and the second site can be confirmed. Here, the close relationship between the first site and the second site may be, but not limited to, that the first site and the second site are both mobile communication devices or smart home devices used by family members in the same home network, or the first site The same equipment as the second site is located in the same office, or the first site and the second site are equipment located in the same common area.
在一个实施例中,第一站点与第二站点关系密切可以是第二站点具有对第一站点进行 控制的控制权。这里,对第一站点进行控制的控制权包括控制第一站点连接至接入点。In one embodiment, the close relationship between the first site and the second site may be that the second site has the control right to control the first site. Here, the control right to control the first station includes controlling the first station to connect to the access point.
在一个实施例中,第一信号强度与第二信号强度之间的差值越大,第一站点与第二站 点之间的距离越大。这里,第一站点与第二站点之间的距离越大,可以确认第一站点与第 二站点的关系越疏远。第二站点很可能没有对第一站点进行控制的控制权。In one embodiment, the greater the difference between the first signal strength and the second signal strength, the greater the distance between the first station and the second station. Here, the larger the distance between the first site and the second site, the more distant the relationship between the first site and the second site can be confirmed. It is likely that the second site does not have control over the first site.
例如,在家庭网络A中,包括路由器A1、第一站点A2、第二站点A3。在家庭网络 B中,包括路由器B1、第一站点B2、第二站点B3。这里,家庭网络A与家庭网络B分 别属于不同的地理区域。第一站点A2与第二站点A3距离较近,具有密切的关系,同属 于家庭网络A。第一站点B2与第二站点B3距离较近,具有密切的关系,同属于家庭网 络B。第一站点A2与第二站点B3距离较远,不属于同一个家庭网络,不具有密切的关 系。For example, the home network A includes a router A1, a first site A2, and a second site A3. The home network B includes a router B1, a first site B2, and a second site B3. Here, the home network A and the home network B belong to different geographic areas, respectively. The first site A2 is relatively close to the second site A3, has a close relationship, and both belong to the home network A. The first site B2 is relatively close to the second site B3, has a close relationship, and both belong to the home network B. The first site A2 and the second site B3 are far away, do not belong to the same home network, and do not have a close relationship.
在一个实施例中,具有密切关系的站点之间可以共享接入所在家庭网络的鉴权信息。In one embodiment, the authentication information for accessing the home network where the stations are located may be shared among the stations with close relationship.
在一个实施例中,鉴权信息可以是第一站点连接至接入点的登陆密码。这里,第一站 点可以基于登陆密码进行身份认证后通过接入点接入无线网络。In one embodiment, the authentication information may be a login password for the first station to connect to the access point. Here, the first station can access the wireless network through the access point after performing identity authentication based on the login password.
步骤14,接收服务器根据差值信息发送的配网提示信息;Step 14, receiving the network distribution prompt information sent by the server according to the difference information;
在一个实施例中,配网提示信息可以是提示第二站点采用何种方式对第一站点进行配 网。In one embodiment, the network configuration prompt information may be a method to prompt the second site to configure the network for the first site.
在一个实施例中,根据差值信息的不同,可以发送不同种类的配网提示信息。In one embodiment, different types of network distribution prompt information can be sent according to the difference information.
在一个实施例中,当差值大于信号阈值时,可以发送手动配网的提示信息。这里,手 动配网的提示信息可以包含:提示第二站点通过扫描位于第一站点上的二维码才能使第一 站点连接至接入点的信息。在接收到该手动配网的提示信息后,第二站点需要靠近第一站 点并扫描第一站点的二维码才能完成配网。这样,可以减少与第一站点距离较远的第二站 点(可能没有对第一站点进行控制的控制权)在不进行扫描第一站点的二维码的情形下, 将第一站点连接至第二站点所在的接入点,减少第一站点被第二站点控制的网络安全隐 患。In one embodiment, when the difference is greater than the signal threshold, prompt information for manual network configuration can be sent. Here, the prompt information for manual network configuration may include: information prompting the second site to connect the first site to the access point by scanning the two-dimensional code located on the first site. After receiving the prompt information for manual network distribution, the second site needs to approach the first site and scan the QR code of the first site to complete the network distribution. In this way, it can be reduced that the second station that is far away from the first station (may not have the right to control the first station) connects the first station to the second station without scanning the QR code of the first station. The access point where the second site is located reduces the potential network security risks that the first site is controlled by the second site.
在一个实施例中,只有对第一站点具有控制权限的第二站点才能通过扫描二维码将第 一站点连接到接入点。In one embodiment, only the second site that has control authority over the first site can connect the first site to the access point by scanning the QR code.
在一个实施例中,当差值小于信号阈值时,可以发送自动配网的提示信息,第二站点 可以直接将连接至第二站点所在接入点的鉴权信息发送给第一站点,控制第一站点连接至 第二站点所在接入点,完成配网。由于第一站点和第二站点距离较近,具有密切的关系, 不会带来网络安全隐患。这里,具有密切的关系可以是第二站点具有对第一站点进行控制 的控制权。这里,控制权包括控制第一站点连接至接入点的控制权。In one embodiment, when the difference is less than the signal threshold, prompt information for automatic network configuration can be sent, and the second site can directly send the authentication information connected to the access point where the second site is located to the first site, and control the One site is connected to the access point where the second site is located to complete the network distribution. Since the first site and the second site are close to each other and have a close relationship, there will be no potential network security risks. Here, having a close relationship may be that the second site has control over the first site. Here, the control right includes the control right to control the connection of the first station to the access point.
步骤15,将配网提示信息发送给第二站点;其中,配网提示信息,用于提示对第一站点进行连接到接入点的配网。Step 15: Send the network distribution prompt information to the second site; wherein, the network distribution prompt information is used to prompt the first site to be connected to the access point for network distribution.
在一个实施例中,配网提示信息可以是提示第二站点将第一站点连接到接入点的鉴权 信息发送给第一站点。In one embodiment, the network configuration prompt information may be to prompt the second station to send authentication information to the first station to connect the first station to the access point.
在另一个实施例中,配网提示信息可以是提示第二站点采用扫描二维码的方式将第一 站点连接到接入点。这里,二维码设置在第一站点上。In another embodiment, the network configuration prompt information may be to prompt the second site to connect the first site to the access point by scanning a two-dimensional code. Here, the two-dimensional code is set on the first site.
在一个实施例中,只有对第一站点具有控制权限的第二站点才能通过扫描二维码将第 一站点连接到接入点。In one embodiment, only the second site that has control authority over the first site can connect the first site to the access point by scanning the QR code.
本公开的实施例中,接收第一站点发送的连网信号,并接收与所述接入点连接的第二 站点的发送信号,这样,当接入点接收到所述连网信号和所述发送信号时,可以获知所述 连网信号和所述发送信号的信号强度。向服务器发送所述第一站点的配网请求,这样,当 接入点接收到连网信号时,可以确定所述第一站点有配网的需求,能及时向服务器发送所 述配网请求。向所述服务器发送信号接收状态信息;其中,所述信号接收状态信息包括: 所述连网信号的第一信号强度与所述发送信号的第二信号强度之间的差值信息,这样,所 述服务器在接收到所述信号接收状态信息后,能够根据所述第一信号强度与所述第二信号 强度之间的差值确定所述第一站点和所述第二站点之间的距离,从而确定所述第二站点是 否与所述第一站点在同一区域的站点。接收所述服务器根据所述差值信息发送的配网提示 信息,这样,接入点可以接收到用于提示将所述第一站点连接到所述接入点的配网提示信 息。将所述配网提示信息发送给所述第二站点,这样,第二站点可以根据所述配网提示信 息确定如何配网以将所述第一站点连接到所述接入点。本公开实施例中,根据已经连接至 所述接入点的所述第二站点与所述第一站点之间的信号强度的差值信息生成所述配网提 示信息,相较于基于单一的所述第一站点发送的连网信号的信号强度信息生成配网提示信 息,可以减少与所述第一站点邻近的其它设备自动控制所述第一站点接入所述接入点,提 升了对所述第一站点进行配网的安全性,且相较于单一的手动的配网操作,简化了配网的 操作流程,能够带给用户好的体验。In the embodiment of the present disclosure, a networking signal sent by a first station is received, and a signal sent by a second station connected to the access point is received. In this way, when the access point receives the networking signal and the When a signal is sent, the network signal and the signal strength of the sent signal can be obtained. The network distribution request of the first site is sent to the server, so that when the access point receives the networking signal, it can be determined that the first site has a network distribution requirement, and the network distribution request can be sent to the server in time. Sending signal reception status information to the server; wherein the signal reception status information includes: difference information between the first signal strength of the networking signal and the second signal strength of the transmitted signal, so that all After receiving the signal reception status information, the server can determine the distance between the first site and the second site according to the difference between the first signal strength and the second signal strength, Thereby, it is determined whether the second site is a site in the same area as the first site. The network configuration prompt information sent by the server according to the difference value information is received, so that the access point can receive the network configuration prompt information for prompting to connect the first station to the access point. Sending the network distribution prompt information to the second site, so that the second site can determine how to configure the network according to the network distribution prompt information to connect the first site to the access point. In this embodiment of the present disclosure, the network configuration prompt information is generated according to the difference information between the signal strengths of the second station that has been connected to the access point and the first station. The signal strength information of the networking signal sent by the first site generates network distribution prompt information, which can reduce the automatic control of other devices adjacent to the first site to access the access point from the first site, and improve the reliability of the network. The first site performs network distribution security, and compared with a single manual network distribution operation, it simplifies the network distribution operation process and can bring users a good experience.
在一个实施例中,配网提示信息为自动配网提示信息,其中,自动配网提示信息,用 于触发第二站点将连接到接入点的鉴权信息发送给第一站点。In one embodiment, the network configuration prompt information is automatic network configuration prompt information, wherein the automatic network configuration prompt information is used to trigger the second site to send the authentication information connected to the access point to the first site.
在一个实施例中,鉴权信息可以是第一站点连接到接入点的登陆密码。In one embodiment, the authentication information may be a login password for the first station to connect to the access point.
在一个实施例中,第二站点在接收到自动配网提示信息后,并不会将自动提示信息显 示在屏幕上,第二站点会根据接收到的自动配网提示信息,直接将鉴权信息发送给第一站 点供第一站点连接至接入点。这样,可以在用户无感知的情况下进行配网,提升用户体验。In one embodiment, after receiving the automatic network configuration prompt information, the second site does not display the automatic network configuration prompt information on the screen, and the second site directly displays the authentication information according to the received automatic network configuration prompt information. Sent to the first station for the first station to connect to the access point. In this way, the network can be configured without the user's perception, and the user experience can be improved.
在一个实施例中,自动配网提示信息可以用于触发第二站点将允许授权配网和禁止授 权配网的信息显示在屏幕上,并基于接收到的针对自动配网提示信息的用户操作,确定允 许授权配网或者禁止授权配网。这里,允许授权配网可以是允许第二站点向第一站点发送 鉴权信息。禁止授权配网可以是禁止第二站点向第一站点发送鉴权信息。In one embodiment, the automatic network configuration prompt information can be used to trigger the second site to display on the screen information about allowing authorized network configuration and prohibiting authorized network configuration, and based on the received user operation for the automatic network configuration prompt information, Determine whether authorized distribution network is allowed or prohibited. Here, allowing the authorized distribution network may be allowing the second site to send authentication information to the first site. Forbidding the authorized distribution network may be prohibiting the second site from sending authentication information to the first site.
在一个实施例中,自动配网提示信息通过提示窗口显示在第二站点的屏幕上,提示窗 口显示有授权和不授权的触摸按键,响应于触摸按键接收到用户授权的操作,将鉴权信息 发送给第一站点。响应于触摸按键接收到用户不授权的操作,不将鉴权信息发送给第一站 点。In one embodiment, the automatic network configuration prompt information is displayed on the screen of the second site through a prompt window, and the prompt window displays authorized and unauthorized touch buttons, and in response to the touch button receiving an operation authorized by the user, the authentication information Sent to the first site. In response to the touch key receiving an operation not authorized by the user, the authentication information is not sent to the first site.
在一个实施例中,在第一信号强度与第二信号强度之间的差值在阈值范围内,配网提 示信息为自动配网提示信息。In one embodiment, when the difference between the first signal strength and the second signal strength is within a threshold range, the network distribution prompt information is automatic network distribution prompt information.
在一个实施例中,第一信号强度与第二信号强度的差值在阈值范围内,可以确定第一 站点与第二站点之间的距离较近,第一站点与第二站点具有密切的关系,第二站点具有对 第一站点进行控制的权限。此时,可以向第二站点发送自动配网提示信息,提示第二站点 对第一站点连入接入点的配网。In one embodiment, if the difference between the first signal strength and the second signal strength is within a threshold range, it can be determined that the distance between the first station and the second station is relatively close, and the first station and the second station have a close relationship , the second site has the authority to control the first site. At this time, the automatic network configuration prompt information may be sent to the second site, prompting the second site to connect the first site to the network distribution of the access point.
在一个实施例中,配网提示信息为手动配网提示信息,其中,手动配网提示信息,用 于触发第二站点输出提示手动配网。In one embodiment, the network configuration prompt information is manual network configuration prompt information, wherein the manual network configuration prompt information is used to trigger the second site to output a prompt to manually configure the network.
在一个实施例中,手动配网提示信息通过提示窗口显示在第二站点的屏幕上,提示窗 口显示“请通过二维码扫描的方式配置第一站点连如接入点”。当用户看到提示窗口上显 示的信息,如果第二站点具有控制第一站点的权限,用户就可以通过第二站点扫描第一站 点二维码的方式使第一站点连接到接入点。In one embodiment, the manual network configuration prompt information is displayed on the screen of the second site through a prompt window, and the prompt window displays "Please configure the first site to connect as an access point by scanning a QR code". When the user sees the information displayed on the prompt window, if the second site has the authority to control the first site, the user can connect the first site to the access point by scanning the QR code of the first site through the second site.
在一个实施例中,在第一信号强度与第二信号强度之间的差值在阈值范围外,配网提 示信息为手动配网提示信息。In one embodiment, when the difference between the first signal strength and the second signal strength is outside the threshold range, the network configuration prompt information is manual network configuration prompt information.
在一个实施例中,第二信号强度与第二信号强度的差值在阈值范围外,可以确定第一 站点与第二站点之间的距离较远,第一站点与第二站点可能不具有密切的关系,第二站点 可能不具有对第一站点进行控制的权限。此时,可以向第二站点发送手动配网提示信息, 提示第二站点通过手动配网的方式使第一站点连入接入点。如果第二站点没有对第一站点 的控制权限,就不能通过手动配网(例如,扫描第一站点的二维码)的方式让第一站点连 如接入点。这样,使得第一站点的配网控制更加安全,减少了第一站点被非法设备控制的 风险。这里,需要说明的是,第一站点与第二站点不具有密切的关系可以是但不限于是:第一站点和第二站点不是同一个家庭网络中家庭成员使用的移动通信设备或家里的智能家居设备,或者第一站点和第二站点不是位于同一个办公场所中的设备,或者第一站点和第二站点不是位于同一个公共区域中的设备,或者第二站点不具有对第一站点进行控制的控制权。In one embodiment, when the difference between the second signal strength and the second signal strength is outside the threshold range, it can be determined that the distance between the first station and the second station is relatively far, and the first station and the second station may not have a close relationship. relationship, the second site may not have the authority to control the first site. At this time, manual network configuration prompt information may be sent to the second site, prompting the second site to connect the first site to the access point by manually configuring the network. If the second site does not have control authority over the first site, the first site cannot be connected to an access point by manually configuring the network (for example, scanning the QR code of the first site). In this way, the distribution network control of the first site is made more secure, and the risk of the first site being controlled by illegal devices is reduced. Here, it should be noted that the fact that the first site does not have a close relationship with the second site may be, but is not limited to: the first site and the second site are not mobile communication devices or home smart devices used by family members in the same home network Home equipment, or the first site and the second site are not equipment located in the same office, or the first site and the second site are not located in the same common area, or the second site control of control.
图2是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图2所示, 步骤12中,根据连网信号,向服务器发送第一站点的配网请求,还包括:Fig. 2 is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment. As shown in Fig. 2, in step 12, according to the network connection signal, a network configuration request of the first site is sent to the server, and the method further includes: :
步骤21,响应于第一信号强度大于信号阈值,向服务器发送第一站点的配网请求。Step 21, in response to the first signal strength being greater than the signal threshold, sending a network configuration request of the first site to the server.
在一个实施例中,当接入点的信号覆盖范围大于第一阈值时,可以设置信号阈值小于 第二阈值。当接入点的信号覆盖范围小于第一阈值时,可以设置信号阈值大于第三阈值。 这里,第二阈值小于第三阈值。这里,接入点的信号覆盖范围越大,当第一站点位于信号 覆盖范围边缘时,第一信号强度可能比较小。这样设置信号阈值小于第二阈值可以使得第 一站点能够触发接入点向服务器发送第一站点的配网请求,减少了因为第一站点位于信号 覆盖范围的边缘位置,由于连网信号太弱,而不能触发服务器发送配网请求的情况。In one embodiment, when the signal coverage of the access point is greater than the first threshold, the signal threshold may be set to be less than the second threshold. When the signal coverage of the access point is smaller than the first threshold, the signal threshold may be set to be greater than the third threshold. Here, the second threshold is smaller than the third threshold. Here, the larger the signal coverage of the access point is, when the first station is located at the edge of the signal coverage, the first signal strength may be relatively small. Setting the signal threshold smaller than the second threshold in this way enables the first site to trigger the access point to send the first site's network configuration request to the server, reducing the need for the first site to be located at the edge of the signal coverage area and due to the weak networking signal. Instead of triggering the server to send a network configuration request.
在一个实施例中,只有当连网信号的信号强度值大于信号阈值时,才向服务器发送第 一站点的配网请求。这样,能够减少接入点频繁向服务器发送第一站点的配网请求。例如, 部署有A接入点和B接入点,A接入点的信号覆盖区域为a区域,B接入点的信号覆盖区域为b区域,扫地机器人位于b区域中,如果扫地机器人在b区域中发送连网信号以连 入B接入点时,A接入点可能会接收到微弱的连网信号,可能会触发接入点A向服务器 发送配网请求。这里,只有当连网信号的信号强度值大于信号阈值时,才向服务器发送连 网请求,就能减少接入点频繁向服务器发送扫地机器人的配网请求。In one embodiment, the network configuration request of the first site is sent to the server only when the signal strength value of the networking signal is greater than the signal threshold. In this way, it can be reduced that the access point frequently sends the network configuration request of the first site to the server. For example, if access point A and access point B are deployed, the signal coverage area of access point A is area a, the signal coverage area of access point B is area b, and the cleaning robot is located in area b. When a network connection signal is sent in the area to connect to the B access point, the A access point may receive a weak network connection signal, which may trigger the access point A to send a network configuration request to the server. Here, the network connection request is sent to the server only when the signal strength value of the network connection signal is greater than the signal threshold, which can reduce the frequent sending of the sweeping robot network configuration request by the access point to the server.
图3是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图3所示, 方法,还包括:Fig. 3 is a flowchart showing a method for connecting to a wireless network according to an exemplary embodiment. As shown in Fig. 3, the method further includes:
步骤31,接收信息获取请求;Step 31, receiving an information acquisition request;
在一个实施例中,信息获取请求可以是请求接入点向服务器发送信号接收状态信息。 其中,信号接收状态信息包括:连网信号的第一信号强度与发送信号的第二信号强度之间 的差值信息。In one embodiment, the information acquisition request may be a request for the access point to send a signal to the server to receive status information. Wherein, the signal receiving state information includes: difference information between the first signal strength of the networking signal and the second signal strength of the transmitted signal.
在一个实施例中,接入点在发送配网请求后,接入点接收服务器基于配网请求发送的 信息获取请求。In one embodiment, after the access point sends the network configuration request, the access point receives the information acquisition request sent by the server based on the network configuration request.
在一个实施例中,服务器会将信息获取请求发送至给服务器发送配网请求的接入点。In one embodiment, the server sends the information acquisition request to the access point that sends the network configuration request to the server.
步骤13中,向服务器发送信号接收状态信息,包括:In step 13, send a signal to the server to receive status information, including:
步骤32,基于信息获取请求,向服务器发送信号接收状态信息。Step 32, based on the information acquisition request, send a signal to the server to receive status information.
在一个实施例中,可以是接入点在接收到信息获取请求后,检测接收到的第一站点发 送的连网信号的第一信号强度。In one embodiment, after receiving the information acquisition request, the access point may detect the received first signal strength of the networking signal sent by the first station.
在一个实施例中,可以是接入点在接收到信息获取请求后向第二站点发送测试信号, 第二站点在接收到测试信号后,会向接入点发送信号,接入点就可以检测接收到的第二站 点的发送信号的第二信号强度。In one embodiment, the access point may send a test signal to the second station after receiving the information acquisition request, and after the second station receives the test signal, it may send a signal to the access point, and the access point can detect The received second signal strength of the transmitted signal of the second station.
图4是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图4所示, 应用于服务器中,方法包括如下步骤:FIG. 4 is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment. As shown in FIG. 4 , when applied to a server, the method includes the following steps:
步骤41,接收接入点发送的第一站点的配网请求;Step 41, receiving the network configuration request of the first site sent by the access point;
在一个实施例中,第一站点的配网请求可以是请求服务器进行配网,将第一站点连接 至接入点。In one embodiment, the network configuration request of the first site may be to request the server to perform network configuration to connect the first site to the access point.
在一个实施例中,只有当连网信号的信号强度值大于信号阈值时,接入点才向服务器 发送第一站点的配网请求。这样,能够减少接入点频繁向服务器发送第一站点的配网请求。 例如,部署有A接入点和B接入点,A接入点的信号覆盖区域为a区域,B接入点的信 号覆盖区域为b区域,扫地机器人位于b区域中,如果扫地机器人在b区域中发送连网信 号以连入B接入点时,A接入点可能会接收到微弱的连网信号,可能会触发接入点A向 服务器发送配网请求。这里,只有当连网信号的信号强度值大于信号阈值时,才向服务器 发送连网请求,就能减少接入点频繁向服务器发送扫地机器人的配网请求。In one embodiment, the access point sends the first site's network configuration request to the server only when the signal strength value of the networking signal is greater than the signal threshold. In this way, it can be reduced that the access point frequently sends the network configuration request of the first site to the server. For example, if access point A and access point B are deployed, the signal coverage area of access point A is area a, the signal coverage area of access point B is area b, and the cleaning robot is located in area b. When a network connection signal is sent in the area to connect to the B access point, the A access point may receive a weak network connection signal, which may trigger the access point A to send a network configuration request to the server. Here, the network connection request is sent to the server only when the signal strength value of the network connection signal is greater than the signal threshold, which can reduce the frequent sending of network configuration requests for the cleaning robot by the access point to the server.
步骤42,接收接入点发送的信号接收状态信息;其中,信号接收状态信息包括:第一站点发送的连网信号的第一信号强度,和与接入点连接的第二站点发送的信号的第二信号强度之间的差值信息;Step 42: Receive signal reception status information sent by the access point; wherein the signal reception status information includes: the first signal strength of the networking signal sent by the first site, and the signal strength of the signal sent by the second site connected to the access point. difference information between the second signal strengths;
在一个实施例中,接入点接收到连网信号和发送信号,就可以检测连网信号和发送信 号的信号强度值。In one embodiment, the access point can detect the signal strength values of the networking signal and the transmitted signal upon receipt of the networking signal and the transmitted signal.
在一个实施例中,接入点多次测量连网信号的信号强度值,将多次测量的连网信号的 信号强度平均值作为连网信号的信号强度值;接入点多次测量发送信号的信号强度值,将 多次测量的发送信号的信号强度值作为发送信号的信号强度值。这样,测得的连网信号和 发送信号的信号强度值更加准确。In one embodiment, the access point measures the signal strength value of the networking signal multiple times, and uses the average value of the signal strength of the networking signal measured multiple times as the signal strength value of the networking signal; the access point measures the transmission signal multiple times The signal strength value of the transmitted signal is used as the signal strength value of the transmitted signal. In this way, the measured signal strength values of the networked and transmitted signals are more accurate.
在一个实施例中,第一信号强度与第二信号强度之间的差值越小,第一站点与第二站 点之间的距离越小。这里,第一站点与第二站点之间的距离越小,可以确认第一站点与第 二站点的关系越密切。第一站点与第二站点关系密切可以是但不限于是:第一站点和第二 站点同为同一个家庭网络中家庭成员使用的移动通信设备或家里的智能家居设备,或者第 一站点和第二站点同为位于同一个办公场所中的设备,或者第一站点和第二站点同为位于 同一个公共区域中的设备。In one embodiment, the smaller the difference between the first signal strength and the second signal strength, the smaller the distance between the first station and the second station. Here, the smaller the distance between the first site and the second site, the closer the relationship between the first site and the second site can be confirmed. The close relationship between the first site and the second site may be, but not limited to: the first site and the second site are both mobile communication devices or smart home devices used by family members in the same home network, or the first site and the second site Both the two sites are devices located in the same office, or the first site and the second site are devices located in the same common area.
在一个实施例中,第一站点与第二站点关系密切可以是第二站点具有对第一站点进行 控制的控制权。这里,对第一站点进行控制的控制权包括控制第一站点连接至接入点。In one embodiment, the close relationship between the first site and the second site may be that the second site has the control right to control the first site. Here, the control right to control the first station includes controlling the first station to connect to the access point.
在一个实施例中,第一信号强度与第二信号强度之间的差值越大,第一站点与第二站 点之间的距离越大。这里,第一站点与第二站点之间的距离越大,可以确认第一站点与第 二站点的关系越疏远。In one embodiment, the greater the difference between the first signal strength and the second signal strength, the greater the distance between the first station and the second station. Here, the larger the distance between the first site and the second site, the more distant the relationship between the first site and the second site can be confirmed.
例如,在家庭网络A中,包括路由器A1、第一站点A2、第二站点A3。在家庭网络 B中,包括路由器B1、第一站点B2、第二站点B3。这里,家庭网络A与家庭网络B分 别属于不同的地理区域。第一站点A2与第二站点A3距离较近,具有密切的关系,同属 于家庭网络A。第一站点B2与第二站点B3距离较近,具有密切的关系,同属于家庭网 络B。第一站点A2与第二站点B3距离较远,不具有密切的关系。在一个实施例中,具 有密切关系的站点之间可以共享接入所在家庭网络的鉴权信息。For example, the home network A includes a router A1, a first site A2, and a second site A3. The home network B includes a router B1, a first site B2, and a second site B3. Here, the home network A and the home network B belong to different geographic areas, respectively. The first site A2 is relatively close to the second site A3, has a close relationship, and both belong to the home network A. The first site B2 is relatively close to the second site B3, has a close relationship, and both belong to the home network B. The first site A2 is far away from the second site B3 and does not have a close relationship. In one embodiment, the authentication information for accessing the home network in which they are located can be shared between stations with close relationship.
在一个实施例中,鉴权信息可以是第一站点连接至接入点的登陆密码。这里,第一站 点可以基于登陆密码进行身份认证后通过接入点接入无线网络。In one embodiment, the authentication information may be a login password for the first station to connect to the access point. Here, the first station can access the wireless network through the access point after performing identity authentication based on the login password.
步骤43,根据差值信息向接入点发送配网提示信息;其中,配网提示信息,用于提示对第一站点进行连接到接入点的配网。Step 43 , sending network distribution prompt information to the access point according to the difference information; wherein, the network distribution prompt information is used to prompt the first site to perform network distribution connected to the access point.
在一个实施例中,配网提示信息可以是提示第二站点采用何种方式对第一站点进行配 网。In one embodiment, the network configuration prompt information may be a method to prompt the second site to configure the network for the first site.
在一个实施例中,差值信息不同可以发送不同种类的配网提示信息。In one embodiment, different types of network distribution prompt information can be sent when the difference information is different.
在一个实施例中,当差值大于信号阈值时,可以发送手动配网的提示信息,这里,手 动配网的提示信息可以包含:提示第二站点通过扫描位于第一站点上的二维码才能使第一 站点连接至接入点的信息。在接收到该手动配网的提示信息后,第二站点需要扫描第一站 点的二维码才能完成配网。这样,可以减少与第一站点距离较远的第二站点在不进行扫描 第一站点的二维码的情形下,将第一站点连接至第二站点所在的接入点,减少第一站点被 第二站点控制的网络安全隐患。In one embodiment, when the difference is greater than the signal threshold, prompt information for manual network configuration may be sent, where the prompt information for manual network configuration may include: prompting the second site to scan the QR code on the first site Information to connect the first station to the access point. After receiving the prompt information of the manual network distribution, the second site needs to scan the QR code of the first site to complete the network distribution. In this way, the second site that is far away from the first site can be reduced to connect the first site to the access point where the second site is located without scanning the QR code of the first site. Network security risks controlled by the second site.
在一个实施例中,只有对第一站点具有控制权限的第二站点才能通过扫描二维码将第 一站点连接到接入点。In one embodiment, only the second site that has control authority over the first site can connect the first site to the access point by scanning the QR code.
在一个实施例中,当差值小于信号阈值时,可以发送自动配网的提示信息,第二站点 可以直接将连接至第二站点所在接入点的鉴权信息发送给第一站点,控制第一站点连接至 第二站点所在接入点,完成配网。由于第一站点和第二站点距离较近,具有密切的关系, 不会带来网络安全隐患。In one embodiment, when the difference is less than the signal threshold, prompt information for automatic network configuration can be sent, and the second site can directly send the authentication information connected to the access point where the second site is located to the first site, and control the One site is connected to the access point where the second site is located to complete the network distribution. Since the first site and the second site are close to each other and have a close relationship, there will be no potential network security risks.
在一个实施例中,配网提示信息为自动配网提示信息,其中,自动配网提示信息,用 于触发第二站点将连接到接入点的鉴权信息发送给第一站点。In one embodiment, the network configuration prompt information is automatic network configuration prompt information, wherein the automatic network configuration prompt information is used to trigger the second site to send the authentication information connected to the access point to the first site.
在一个实施例中,鉴权信息可以是第一站点连接到接入点的登陆密码。In one embodiment, the authentication information may be a login password for the first station to connect to the access point.
在一个实施例中,第二站点在接收到自动配网提示信息后,并不会将自动提示信息显 示在屏幕上,第二站点会根据接收到的自动配网提示信息,直接将鉴权信息发送给第一站 点供第一站点连接至接入点。这样,可以在用户无感知的情况下进行配网,提升用户体验。In one embodiment, after receiving the automatic network configuration prompt information, the second site does not display the automatic network configuration prompt information on the screen, and the second site directly displays the authentication information according to the received automatic network configuration prompt information. Sent to the first station for the first station to connect to the access point. In this way, the network can be configured without the user's perception, and the user experience can be improved.
在一个实施例中,自动配网提示信息可以用于触发第二站点将允许授权配网和禁止授 权配网的信息显示在屏幕上,并基于接收到的针对自动配网提示信息的用户操作,确定允 许授权配网或者禁止授权配网。这里,允许授权配网可以是允许第二站点向第一站点发送 鉴权信息。禁止授权配网可以是禁止第二站点向第一站点发送鉴权信息。In one embodiment, the automatic network configuration prompt information can be used to trigger the second site to display on the screen information about allowing authorized network configuration and prohibiting authorized network configuration, and based on the received user operation for the automatic network configuration prompt information, Determine whether authorized distribution network is allowed or prohibited. Here, allowing the authorized distribution network may be allowing the second site to send authentication information to the first site. Forbidding the authorized distribution network may be prohibiting the second site from sending authentication information to the first site.
在一个实施例中,自动配网提示信息通过提示窗口显示在第二站点的屏幕上,提示窗 口显示有授权和不授权的触摸按键,响应于触摸按键接收到用户授权的操作,将鉴权信息 发送给第一站点。响应于触摸按键接收到用户不授权的操作,不将鉴权信息发送给第一站 点。In one embodiment, the automatic network configuration prompt information is displayed on the screen of the second site through a prompt window, and the prompt window displays authorized and unauthorized touch buttons, and in response to the touch button receiving an operation authorized by the user, the authentication information Sent to the first site. In response to the touch key receiving an operation not authorized by the user, the authentication information is not sent to the first site.
图5a是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图5a所示, 步骤43中,根据差值信息向接入点发送配网提示信息,包括:Fig. 5a is a flowchart showing a method for connecting to a wireless network according to an exemplary embodiment. As shown in Fig. 5a, in step 43, sending network configuration prompt information to the access point according to the difference information, including:
步骤51,响应于第一信号强度与第二信号强度之间的差值在阈值范围内,向接入点 发送自动配网提示信息。Step 51, in response to the difference between the first signal strength and the second signal strength being within the threshold range, send automatic network configuration prompt information to the access point.
在一个实施例中,第一信号强度与第二信号强度的差值在阈值范围内,可以确定第一 站点与第二站点之间的距离较近,第一站点与第二站点具有密切的关系,第二站点具有对 第一站点进行控制的权限。此时,可以向第二站点发送自动配网提示信息,提示第二站点 对第一站点连入接入点的配网。In one embodiment, if the difference between the first signal strength and the second signal strength is within a threshold range, it can be determined that the distance between the first station and the second station is relatively close, and the first station and the second station have a close relationship , the second site has the authority to control the first site. At this time, the automatic network configuration prompt information may be sent to the second site, prompting the second site to connect the first site to the network distribution of the access point.
在一个实施例中,配网提示信息为手动配网提示信息,其中,手动配网提示信息,用 于触发第二站点输出提示手动配网。In one embodiment, the network configuration prompt information is manual network configuration prompt information, wherein the manual network configuration prompt information is used to trigger the second site to output a prompt to manually configure the network.
在一个实施例中,手动配网提示信息通过提示窗口显示在第二站点的屏幕上,提示窗 口显示“请通过二维码扫描的方式配置第一站点连如接入点”,当用户看到提示窗口上系 那是的信息,如果第二站点具有控制第一站点的权限,用户就可以通过第二站点扫描第一 站点二维码的方式使第一站点连接到接入点。In one embodiment, the manual network configuration prompt information is displayed on the screen of the second site through a prompt window, and the prompt window displays "Please configure the first site to connect to an access point by scanning a QR code", when the user sees The information on the prompt window is that if the second site has the authority to control the first site, the user can connect the first site to the access point by scanning the QR code of the first site on the second site.
图5b是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图5b所示, 步骤43中,根据差值信息向接入点发送配网提示信息,包括:Fig. 5b is a flowchart of a method for connecting to a wireless network according to an exemplary embodiment. As shown in Fig. 5b, in step 43, sending network configuration prompt information to the access point according to the difference information, including:
步骤52,响应于第一信号强度与第二信号强度之间的差值在阈值范围外,向接入点 发送手动配网提示信息。Step 52, in response to the difference between the first signal strength and the second signal strength being outside the threshold range, send a manual network configuration prompt message to the access point.
在一个实施例中,第二信号强度与第二信号强度的差值在阈值范围外,可以确定第一 站点与第二站点之间的距离较远,第一站点与第二站点可能不具有密切的关系,第二站点 可能不具有对第一站点进行控制的权限。此时,可以向第二站点发送手动配网提示信息, 提示第二站点通过手动配网的方式使第一站点连如接入点。如果第二站点没有对第一站点 的控制权限,就不能通过手动配网(例如,扫描第一站点的二维码)的方式让第一站点连 如接入点。使得第一站点的配网控制更加安全。这里,需要说明的是,第一站点与第二站点不具有密切的关系可以是但不限于是:第一站点和第二站点不是同一个家庭网络中家庭成员使用的移动通信设备或家里的智能家居设备,或者第一站点和第二站点不是位于同一个办公场所中的设备,或者第一站点和第二站点不是位于同一个公共区域中的设备,或者第二站点不具有对第一站点进行控制的控制权。In one embodiment, when the difference between the second signal strength and the second signal strength is outside the threshold range, it can be determined that the distance between the first station and the second station is relatively far, and the first station and the second station may not have a close relationship. relationship, the second site may not have the authority to control the first site. At this time, prompt information for manual network configuration may be sent to the second site, prompting the second site to connect the first site as an access point through manual network configuration. If the second site does not have control authority over the first site, the first site cannot be connected to an access point by manually configuring the network (for example, scanning the QR code of the first site). It makes the distribution network control of the first site more secure. Here, it should be noted that the fact that the first site does not have a close relationship with the second site may be, but is not limited to: the first site and the second site are not mobile communication devices or home smart devices used by family members in the same home network Home equipment, or the first site and the second site are not equipment located in the same office, or the first site and the second site are not located in the same common area, or the second site control of control.
在一个实施例中,配网请求为:接入点在接收到第一站点的连网信号的第一信号强度 大于信号阈值时发送的。In one embodiment, the network configuration request is sent by the access point when the first signal strength of the network connection signal received by the first station is greater than a signal threshold.
在一个实施例中,当接入点的信号覆盖范围大于第一阈值时,可以设置信号阈值小于 第二阈值。当接入点的信号覆盖范围小于第一阈值时,可以设置信号阈值大于第三阈值。 这里,第二阈值小于第三阈值。这里,接入点的信号覆盖范围越大,当第一站点位于信号 覆盖范围边缘时,第一信号强度可能比较小。这样设置信号阈值小于第二阈值可以使得第 一站点能够触发接入点向服务器发送第一站点的配网请求,减少了因为第一站点位于信号 覆盖范围的边缘位置而不能触发服务器发送配网请求的情况。In one embodiment, when the signal coverage of the access point is greater than the first threshold, the signal threshold may be set to be less than the second threshold. When the signal coverage of the access point is smaller than the first threshold, the signal threshold may be set to be greater than the third threshold. Here, the second threshold is smaller than the third threshold. Here, the larger the signal coverage of the access point is, when the first station is located at the edge of the signal coverage, the first signal strength may be relatively small. Setting the signal threshold smaller than the second threshold in this way enables the first site to trigger the access point to send the network configuration request of the first site to the server, reducing the inability to trigger the server to send the network configuration request because the first site is located at the edge of the signal coverage area Case.
在一个实施例中,只有当连网信号的信号强度值大于信号阈值时,才向服务器发送第 一站点的配网请求。这样,能够减少接入点频繁向服务器发送第一站点的配网请求。例如, 部署有A接入点和B接入点,A接入点的信号覆盖区域为a区域,B接入点的信号覆盖区域为b区域,扫地机器人位于b区域中,如果扫地机器人在b区域中发送连网信号以连 入B接入点时,A接入点可能会接收到微弱的连网信号,可能会触发接入点A向服务器 发送配网请求。这里,只有当连网信号的信号强度值大于信号阈值时,才向服务器发送连 网请求,就能减少接入点频繁向服务器发送扫地机器人的配网请求。In one embodiment, the network configuration request of the first site is sent to the server only when the signal strength value of the networking signal is greater than the signal threshold. In this way, it can be reduced that the access point frequently sends the network configuration request of the first site to the server. For example, if access point A and access point B are deployed, the signal coverage area of access point A is area a, the signal coverage area of access point B is area b, and the cleaning robot is located in area b. When a network connection signal is sent in the area to connect to the B access point, the A access point may receive a weak network connection signal, which may trigger the access point A to send a network configuration request to the server. Here, the network connection request is sent to the server only when the signal strength value of the network connection signal is greater than the signal threshold, which can reduce the frequent sending of the sweeping robot network configuration request by the access point to the server.
图6是根据一示例性实施例示出的一种连接无线网络的方法的流程图,如图6所示, 方法,还包括:Fig. 6 is a flowchart showing a method for connecting to a wireless network according to an exemplary embodiment. As shown in Fig. 6, the method further includes:
步骤61,向接入点发送请求获取信号接收状态信息的信息获取请求。Step 61: Send an information acquisition request to the access point for requesting to acquire signal reception status information.
在一个实施例中,信息获取请求可以是请求接入点向服务器发送信号接收状态信息。 其中,信号接收状态信息包括:连网信号的第一信号强度与发送信号的第二信号强度之间 的差值信息。In one embodiment, the information acquisition request may be a request for the access point to send a signal to the server to receive status information. Wherein, the signal receiving state information includes: difference information between the first signal strength of the networking signal and the second signal strength of the transmitted signal.
在一个实施例中,服务器基于基于接收到的配网请求发送信息获取请求。In one embodiment, the server sends the information acquisition request based on the received configuration network request.
在一个实施例中,服务器会将信息获取请求发送至给服务器发送配网请求的接入点。In one embodiment, the server sends the information acquisition request to the access point that sends the network configuration request to the server.
图7是根据一示例性实施例示出的一种连接无线网络的装置框图。参照图7,应用于 接入点中,装置包括第一接收模块71和第一发送模块72,其中,Fig. 7 is a block diagram of an apparatus for connecting to a wireless network according to an exemplary embodiment. 7, applied to an access point, the device includes a
第一接收模块71,用于:接收第一站点发送的连网信号,并接收与接入点连接的第二站点的发送信号;The
第一发送模块72,用于:根据连网信号,向服务器发送第一站点的配网请求;The
第一发送模块72,还用于向服务器发送信号接收状态信息;其中,信号接收状态信息包括:连网信号的第一信号强度与发送信号的第二信号强度之间的差值信息;The
第一接收模块71,还用于接收服务器根据差值信息发送的配网提示信息;The
第一发送模块72,还用于将配网提示信息发送给第二站点;其中,配网提示信息,用于提示对第一站点进行连接到接入点的配网。The
在一个实施例中,第一接收模块71,还被配置为:In one embodiment, the
配网提示信息为自动配网提示信息,其中,自动配网提示信息,用于触发第二站点将 连接到接入点的鉴权信息发送给第一站点。The network distribution prompt information is automatic network distribution prompt information, wherein the automatic network distribution prompt information is used to trigger the second site to send the authentication information connected to the access point to the first site.
在一个实施例中,第一接收模块71,还被配置为:In one embodiment, the
在第一信号强度与第二信号强度之间的差值在阈值范围内,配网提示信息为自动配网 提示信息。When the difference between the first signal strength and the second signal strength is within the threshold range, the network distribution prompt information is the automatic network distribution prompt information.
在一个实施例中,第一接收模块71,还被配置为:In one embodiment, the
配网提示信息为手动配网提示信息,其中,手动配网提示信息,用于触发第二站点输 出提示手动配网。The network distribution prompt information is the manual network distribution prompt information, wherein the manual network distribution prompt information is used to trigger the output of the second site to prompt the manual network distribution.
在一个实施例中,第一接收模块71,还被配置为:In one embodiment, the
在第一信号强度与第二信号强度之间的差值在阈值范围外,配网提示信息为手动配网 提示信息。When the difference between the first signal strength and the second signal strength is outside the threshold range, the network distribution prompt information is the manual network distribution prompt information.
在一个实施例中,第一发送模块72,还用于:响应于第一信号强度大于信号阈值,向服务器发送第一站点的配网请求。In one embodiment, the
在一个实施例中,In one embodiment,
第一接收模块71,还用于接收信息获取请求;The
第一发送模块72,还用于:基于信息获取请求,向服务器发送信号接收状态信息。The
图8是根据一示例性实施例示出的一种连接无线网络的装置框图。参照图8,应用于 服务器中,装置包括第二接收模块81和第二发送模块82,其中,Fig. 8 is a block diagram of a device for connecting to a wireless network according to an exemplary embodiment. 8, applied to the server, the device includes a
第二接收模块81,用于接收接入点发送的第一站点的配网请求;还用于接收接入点 发送的信号接收状态信息;其中,信号接收状态信息包括:第一站点发送的连网信号的第 一信号强度,和与接入点连接的第二站点发送的信号的第二信号强度之间的差值信息;The
第二发送模块82,用于根据差值信息向接入点发送配网提示信息;其中,配网提示信息,用于提示对第一站点进行连接到接入点的配网。The
在一个实施例中,第二发送模块82,还被配置为:In one embodiment, the
配网提示信息为自动配网提示信息,其中,自动配网提示信息,用于触发第二站点将 连接到接入点的鉴权信息发送给第一站点。The network distribution prompt information is automatic network distribution prompt information, wherein the automatic network distribution prompt information is used to trigger the second site to send the authentication information connected to the access point to the first site.
在一个实施例中,第二发送模块82,还被配置为:In one embodiment, the
响应于第一信号强度与第二信号强度之间的差值在阈值范围内,向接入点发送自动配 网提示信息。In response to the difference between the first signal strength and the second signal strength being within the threshold range, sending automatic network configuration prompt information to the access point.
在一个实施例中,第二发送模块82,还被配置为:In one embodiment, the
配网提示信息为手动配网提示信息,其中,手动配网提示信息,用于触发第二站点输 出提示手动配网。The network distribution prompt information is the manual network distribution prompt information, wherein the manual network distribution prompt information is used to trigger the output of the second site to prompt the manual network distribution.
在一个实施例中,第二发送模块82,还被配置为:In one embodiment, the
响应于第一信号强度与第二信号强度之间的差值在阈值范围外,向接入点发送手动配 网提示信息。In response to the difference between the first signal strength and the second signal strength being outside the threshold range, a manual network configuration prompt message is sent to the access point.
在一实施例中,第二接收模块81,还被配置为:配网请求为:接入点在接收到第一站点的连网信号的第一信号强度大于信号阈值时发送的。In an embodiment, the
在一个实施例中,第二发送模块82,还用于向接入点发送请求获取信号接收状态信 息的信息获取请求。In one embodiment, the
本公开实施例还提供一种移动终端,包括:Embodiments of the present disclosure also provide a mobile terminal, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为执行可执行指令时,实现本公开任一实施例所述的方法步 骤。Wherein, the processor is configured to implement the method steps described in any embodiment of the present disclosure when the processor is configured to execute the executable instructions.
本公开实施例还提供一种非临时性计算机可读存储介质,其上存储有计算机程序,所 述程序被处理器执行本公开任一实施例所述的方法步骤。An embodiment of the present disclosure further provides a non-transitory computer-readable storage medium, on which a computer program is stored, and the program is used by a processor to execute the method steps described in any of the embodiments of the present disclosure.
图9是根据一示例性实施例示出的一种测试移动终端600的框图。例如,测试移动终 端600可以是移动电话,计算机,数字广播移动终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 9 is a block diagram illustrating a test
参照图9,测试移动终端600可以包括以下一个或多个组件:处理组件602,存储器604,电力组件606,多媒体组件608,音频组件610,输入/输出(I/O)的接口612,传 感器组件614,以及通信组件616。9, the test
处理组件602通常控制测试移动终端600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620 来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或 多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒 体模块,以方便多媒体组件608和处理组件602之间的交互。The
存储器604被配置为存储各种类型的数据以支持在测试移动终端600的操作。这些数 据的示例包括用于在测试移动终端600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性 存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读 存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM), 只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The
电力组件606为测试移动终端600的各种组件提供电力。电力组件606可以包括电源 管理系统,一个或多个电源,及其他与为测试移动终端600生成、管理和分配电力相关联的组件。
多媒体组件608包括在所述移动终端600和用户之间的提供一个输出接口的屏幕。在 一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触 摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多 个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸 或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实 施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。当测试移动终端600处 于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多 媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光 学变焦能力。The
音频组件610被配置为输出和/或输入音频信号。例如,音频组件610包括一个麦克风(MIC),当测试移动终端600处于操作模式,如呼叫模式、记录模式和语音识别模式 时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器 804或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于 输出音频信号。
I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以 是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/
传感器组件614包括一个或多个传感器,用于为移动终端600提供各个方面的状态评 估。例如,传感器组件614可以检测到移动终端600的打开/关闭状态,组件的相对定位,例如所述组件为移动终端600的显示器和小键盘,传感器组件614还可以检测移动终端 600或移动终端600一个组件的位置改变,用户与移动终端600接触的存在或不存在,移 动终端600方位或加速/减速和移动终端600的温度变化。传感器组件614可以包括接近 传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可 以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例 中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器 或温度传感器。
通信组件616被配置为便于移动终端600和其他设备之间有线或无线方式的通信。移 动终端600可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在 一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号 或广播相关信息。在一个示例性实施例中,所述通信组件616还包括近场通信(NFC)模 块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会 (IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,移动终端600可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现 场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执 行上述方法。In an exemplary embodiment, the
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包 括指令的存储器604,上述指令可由移动终端600的处理器620执行以完成上述方法。例 如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、 磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer readable storage medium including instructions, such as
一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执 行时,使得移动终端能够执行上述各实施例所述的信息处理方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a mobile terminal, the mobile terminal can execute the information processing methods described in the above embodiments.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实 施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者 适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或 惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权 利要求指出。Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or techniques in the art not disclosed by this disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可 以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from its scope. The scope of the present invention is limited only by the appended claims.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010343679.XA CN111818609B (en) | 2020-04-27 | 2020-04-27 | Method and device for connecting wireless network, communication equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010343679.XA CN111818609B (en) | 2020-04-27 | 2020-04-27 | Method and device for connecting wireless network, communication equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111818609A true CN111818609A (en) | 2020-10-23 |
| CN111818609B CN111818609B (en) | 2023-01-24 |
Family
ID=72847663
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010343679.XA Active CN111818609B (en) | 2020-04-27 | 2020-04-27 | Method and device for connecting wireless network, communication equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111818609B (en) |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100003980A1 (en) * | 2008-07-02 | 2010-01-07 | Johan Rune | Automatic configuration of inter-domain access technology neighbor relations |
| CN104540128A (en) * | 2014-12-26 | 2015-04-22 | 北京奇虎科技有限公司 | Method, device and system for wireless network access |
| CN105991524A (en) * | 2015-02-02 | 2016-10-05 | 李志文 | Family information security system |
| US20170026195A1 (en) * | 2015-07-22 | 2017-01-26 | Guangdong Super Intelligent Technology Co., Ltd. | Smart home wireless control system |
| CN107071863A (en) * | 2017-05-02 | 2017-08-18 | 青岛海尔空调器有限总公司 | A kind of household electrical appliances match somebody with somebody network method, household electrical appliances and user terminal |
| CN109947031A (en) * | 2019-04-15 | 2019-06-28 | 美的集团股份有限公司 | A kind of intelligent home equipment control method, medium, mobile terminal and device |
| CN110266537A (en) * | 2019-06-21 | 2019-09-20 | 上海庆科信息技术有限公司 | Equipment distribution method, apparatus, system, to distribution net equipment and terminal |
| CN110300432A (en) * | 2018-03-22 | 2019-10-01 | 阿里巴巴集团控股有限公司 | A kind of pair of equipment carries out the method and distribution network systems of distribution |
| CN110352606A (en) * | 2017-03-03 | 2019-10-18 | 华为技术有限公司 | A kind of method, mobile terminal, electronic equipment and graphic user interface connecting network |
-
2020
- 2020-04-27 CN CN202010343679.XA patent/CN111818609B/en active Active
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100003980A1 (en) * | 2008-07-02 | 2010-01-07 | Johan Rune | Automatic configuration of inter-domain access technology neighbor relations |
| CN104540128A (en) * | 2014-12-26 | 2015-04-22 | 北京奇虎科技有限公司 | Method, device and system for wireless network access |
| CN105991524A (en) * | 2015-02-02 | 2016-10-05 | 李志文 | Family information security system |
| US20170026195A1 (en) * | 2015-07-22 | 2017-01-26 | Guangdong Super Intelligent Technology Co., Ltd. | Smart home wireless control system |
| CN110352606A (en) * | 2017-03-03 | 2019-10-18 | 华为技术有限公司 | A kind of method, mobile terminal, electronic equipment and graphic user interface connecting network |
| CN107071863A (en) * | 2017-05-02 | 2017-08-18 | 青岛海尔空调器有限总公司 | A kind of household electrical appliances match somebody with somebody network method, household electrical appliances and user terminal |
| CN110300432A (en) * | 2018-03-22 | 2019-10-01 | 阿里巴巴集团控股有限公司 | A kind of pair of equipment carries out the method and distribution network systems of distribution |
| CN109947031A (en) * | 2019-04-15 | 2019-06-28 | 美的集团股份有限公司 | A kind of intelligent home equipment control method, medium, mobile terminal and device |
| CN110266537A (en) * | 2019-06-21 | 2019-09-20 | 上海庆科信息技术有限公司 | Equipment distribution method, apparatus, system, to distribution net equipment and terminal |
Non-Patent Citations (1)
| Title |
|---|
| 3GPP: "Physical layer procedures for control (Release 16)", 《3GPP TS 38.213 V16.1.0》 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111818609B (en) | 2023-01-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10560491B2 (en) | Methods and apparatuses for binding with device | |
| US10498723B2 (en) | Method, and apparatus for authenticating access | |
| KR102339713B1 (en) | Device network configuration method and apparatus, and medium | |
| US10020943B2 (en) | Method and apparatus for binding device | |
| US20170163626A1 (en) | Method and device for network access of a smart terminal device | |
| EP3076716A1 (en) | Method and apparatus for network access | |
| KR102044113B1 (en) | Methods and devices for accessing smart cameras | |
| CN105516183B (en) | Equipment connection method and device | |
| EP3163803B1 (en) | Method and device for establishing connection | |
| CN106209800B (en) | Equipment Authority sharing method and apparatus | |
| CN104684106B (en) | The method and device of network connection | |
| KR20170126388A (en) | Method, device and system for executing business process | |
| CN105809440B (en) | Online payment method and device | |
| CN112116803B (en) | Information processing method and device, electronic device and storage medium | |
| CN106535190A (en) | Network connection method and apparatus | |
| CN106550482B (en) | Communication connection establishing method and device and electronic equipment | |
| CN113595740A (en) | Data transmission method and device, electronic equipment and storage medium | |
| CN111818609B (en) | Method and device for connecting wireless network, communication equipment and storage medium | |
| US10193991B2 (en) | Methods and apparatuses for providing information of video capture device | |
| CN109391944B (en) | Wireless network remark method and device | |
| CN111601363A (en) | A method, device and storage medium for assisting intelligent equipment to automatically access wireless network | |
| KR102898239B1 (en) | Ranging method, apparatus, electronic equipment and storage medium | |
| CN109151403B (en) | Video data acquisition method and device | |
| CN119904935A (en) | Intelligent door lock unlocking method and device, storage medium and electronic device | |
| WO2022147764A1 (en) | Method and apparatus for accessing unlicensed channel, and device and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |