WO2021169377A1 - 配网方法、装置和计算机设备 - Google Patents

配网方法、装置和计算机设备 Download PDF

Info

Publication number
WO2021169377A1
WO2021169377A1 PCT/CN2020/125927 CN2020125927W WO2021169377A1 WO 2021169377 A1 WO2021169377 A1 WO 2021169377A1 CN 2020125927 W CN2020125927 W CN 2020125927W WO 2021169377 A1 WO2021169377 A1 WO 2021169377A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
module
network configuration
connection
smart device
Prior art date
Application number
PCT/CN2020/125927
Other languages
English (en)
French (fr)
Inventor
李绍斌
巫锦辉
欧炜
刘洪钊
肖百钦
仝磊
白青昀
Original Assignee
珠海格力电器股份有限公司
珠海联云科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 珠海格力电器股份有限公司, 珠海联云科技有限公司 filed Critical 珠海格力电器股份有限公司
Publication of WO2021169377A1 publication Critical patent/WO2021169377A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections

Definitions

  • the present disclosure relates to the technical field of the Internet of Things, and in particular to a network distribution method, device, and computer equipment.
  • the main media to realize the display of the distribution network are the mobile phone, the smart device and the server.
  • the communication module of the general smart device is a single WIFI module.
  • the connection and authentication information of the server is packaged and sent to the smart device through WIFI. After the smart device receives the data packet, it will disconnect from the mobile phone, and use the data packet to search for the hotspot of the server and connect to it; There is a drawback: when the smart device is searching for the server and trying to connect, it cannot interact with the mobile phone; when the connection fails, the user often only knows that the device cannot establish a connection with the server normally, and does not know which node appears. The connection failed.
  • the network distribution method in the related technology cannot obtain real-time connection information when the network is distributed, and cannot feedback the node information where the distribution error occurs when the network fails, so it cannot meet the needs of users.
  • At least some of the embodiments of the present disclosure provide a network distribution method, device, and computer equipment to at least partially solve the problem that the mobile phone terminal cannot obtain real-time connection information when the network is distributed in the network distribution method in the related art, and in the distribution network. In the event of failure, it is impossible to feed back the information of the node where the distribution error occurred.
  • a network distribution method is provided, which is applied to a smart device, the smart device includes a WIFI module and a Bluetooth module, and the method includes: the Bluetooth module establishes first communication with a mobile terminal; When the first communication connection is successful, the Bluetooth module receives the wireless network configuration information sent by the mobile terminal.
  • the wireless network configuration information includes the connection address and private key of the server; the WIFI module is based on the wireless network
  • the configuration information establishes a second communication with the server; the Bluetooth module feeds back the connection information of the first communication and the second communication to the alarm module of the mobile terminal and the smart device.
  • the method before establishing the first communication with the mobile terminal through the Bluetooth module, the method includes: activating the WIFI module and the Bluetooth module.
  • the establishment of the second communication between the WIFI module and the server according to the wireless network configuration information includes: the WIFI module generates a network distribution request according to the wireless network configuration information, and the configuration The network request includes the serial number of the smart device and the private key; the network distribution request is sent to the server so that the server performs verification according to the network distribution request; when the server is successfully verified, it is determined The second communication connection is successful.
  • the method when the first communication connection fails, the method further includes: restarting the Bluetooth module, and connecting to the mobile terminal for the next first communication; judging the first communication connection; Whether the number of communication connection failures exceeds a preset value; when the number of failures of the first communication connection exceeds the preset value, stop the connection of the first communication, and send failure information to the mobile terminal and the alarm module .
  • the alarm module includes at least one of a display module, an indicator light, and a buzzer.
  • another network distribution method is also provided, which is applied to a mobile terminal.
  • the method includes: establishing a first communication with a Bluetooth module of a smart device; when the first communication connection is successful, Send wireless network configuration information to the Bluetooth module, so that the WIFI module of the smart device establishes a second communication with the server according to the wireless network configuration information.
  • the wireless network configuration information includes the connection address and private key of the server;
  • the feedback information sent by the Bluetooth module where the feedback information includes connection information of the first communication and the second communication.
  • a network distribution device which is applied to a smart device, the smart device includes a WIFI module and a Bluetooth module, and the device includes: a first connection module configured as the Bluetooth module Establish first communication with the mobile terminal; the first sending module is configured to receive the wireless network configuration information sent by the mobile terminal by the Bluetooth module when the first communication connection is successful, and the wireless network configuration information includes the server's Connection address and private key; a second connection module configured to establish a second communication between the WIFI module and the server according to the wireless network configuration information; a feedback module configured to connect the Bluetooth module to the first communication with the server The connection information of the second communication is fed back to the alarm module of the mobile terminal and the smart device.
  • a first connection module configured as the Bluetooth module Establish first communication with the mobile terminal
  • the first sending module is configured to receive the wireless network configuration information sent by the mobile terminal by the Bluetooth module when the first communication connection is successful, and the wireless network configuration information includes the server's Connection address and private key
  • a second connection module configured to establish a second communication between the WIFI module and
  • the device further includes: an activation module configured to activate the WIFI module and the Bluetooth module.
  • another network distribution device is also provided, which is applied to a mobile terminal.
  • the device includes: a Bluetooth connection module configured to establish a first communication with a Bluetooth module of a smart device; and a second sending module, It is set to send wireless network configuration information to the Bluetooth module when the first communication connection is successful, so that the WIFI module of the smart device establishes a second communication with the server according to the wireless network configuration information, and the wireless network configuration
  • the information includes the connection address and the private key of the server; the receiving module is configured to receive feedback information sent by the Bluetooth module, and the feedback information includes connection information of the first communication and the second communication.
  • a computer device including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor implements the steps when the computer program is executed. Specifically: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, and the wireless network configuration information includes the server's Connection address and private key; the WIFI module establishes a second communication with the server according to the wireless network configuration information; the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile The alarm module that comes with the terminal and the smart device.
  • the smart device includes a WIFI module and a Bluetooth module
  • the method includes: the Bluetooth module establishes first communication with a mobile terminal; When the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal.
  • the wireless network configuration information includes the connection address and private key of the server; the WIFI module communicates with the wireless network configuration information according to the wireless network configuration information.
  • the server establishes a second communication; the Bluetooth module feeds back the connection information of the first communication and the second communication to the alarm module of the mobile terminal and the smart device.
  • the new connection method of WIFI and Bluetooth is used to connect and communicate with the Bluetooth module of the mobile terminal through the Bluetooth module of the smart device, and the network configuration information data packet is also transmitted through the Bluetooth module, ensuring the stability of data transmission; smart device
  • the WIFI module then establishes a communication connection with the server according to the network configuration information data packet; at the same time, when the smart device performs WIFI network distribution, the Bluetooth module can feed back the device’s network distribution information and progress in real time, and exchange information with the mobile terminal to enable The user can more accurately determine the node where the connection failure problem occurred, and solve the corresponding problem from the source; in addition, by using the WIFI+Bluetooth communication technology, real-time tracking and feedback of the WIFI networking status of the smart device are used, and the feedback method adopts the smart device’s
  • the dual alarm form of the alarm module and the mobile terminal can specifically analyze which node has the connection problem when the device cannot connect to the network, and display feedback to the user to improve the user experience; therefore, it not only solves the network distribution method
  • Fig. 1 is a flowchart of a network distribution method provided by one embodiment of the present disclosure.
  • Fig. 2 is a flowchart of another network distribution method provided by one embodiment of the present disclosure.
  • Fig. 3 is a flowchart of yet another network distribution method provided by one embodiment of the present disclosure.
  • Fig. 4 is a structural block diagram of a network distribution device provided by one of the embodiments of the present disclosure.
  • Fig. 5 is a structural block diagram of another network distribution device provided by one embodiment of the present disclosure.
  • FIG. 1 is a network distribution method provided by one of the embodiments of the present disclosure; as shown in FIG. 1, the network distribution method is applied to a smart device, the smart device includes a WIFI module and a Bluetooth module, and the method specifically includes the following steps :
  • Step S101 the Bluetooth module establishes a first communication with the mobile terminal.
  • smart devices include, but are not limited to, air conditioners, speakers, desk lamps, and washing machines.
  • the smart devices in this embodiment take smart speakers as an example, and the mobile terminal takes a mobile phone as an example.
  • the smart speakers include a WIFI module and settings configured to connect to a wireless network. To connect the Bluetooth module with Bluetooth, you first need to turn on the Bluetooth module of the smart speaker, and then pair and connect with the Bluetooth of the mobile phone terminal.
  • Step S102 When the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal.
  • the wireless network configuration information includes the server's connection address and private key. After the smart device and the mobile phone terminal are successfully connected via Bluetooth, the mobile phone terminal will send the server address and the server's private key to the smart device via Bluetooth, which is equivalent to wireless The name and password of the network.
  • Step S103 The WIFI module establishes a second communication with the server according to the wireless network configuration information.
  • the WIFI module of the smart device sends authentication information to the server according to the wireless network configuration information sent by the mobile phone terminal, and the server establishes a communication connection with the smart device after passing the verification of the authentication information.
  • Step S104 the Bluetooth module feeds back the connection information of the first communication and the second communication to the alarm module of the mobile terminal and the smart device.
  • the Bluetooth module of the smart device will initiate the first communication and the second communication connection process to the alarm module of the mobile terminal and the smart device.
  • the alarm module includes at least one of a display module, an indicator light, and a buzzer.
  • the connection information includes the specific information of each step. For example, when the mobile phone sends a data packet to the smart device, after the smart device receives it, it will send a feedback message back to the mobile phone via Bluetooth. When the smart device starts to search the network, it will also send a feedback message to the mobile phone. These feedback messages can be used to inform the user of the current networking status of the smart device in text through the mobile phone application.
  • the alarm module of the smart device can also display the general information of the smart device, such as Bluetooth pairing, Bluetooth data transmission, WIFI connection, etc.
  • the Bluetooth module end of the smart device is connected to the Bluetooth module end of the mobile phone, and the node information can be fed back in real time and synchronously recorded on the mobile phone application.
  • the corresponding node information can be queried through the application, so as to obtain the root cause of the problem, which is convenient for the user to find the source of the problem and solve it, bringing a smarter user experience.
  • the network distribution method provided in some embodiments of the present disclosure is applied to a smart device, the smart device includes a WIFI module and a Bluetooth module, and the method includes: the Bluetooth module establishes first communication with a mobile terminal; When the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal.
  • the wireless network configuration information includes the connection address and private key of the server; the WIFI module communicates with the wireless network configuration information according to the wireless network configuration information.
  • the server establishes a second communication; the Bluetooth module feeds back the connection information of the first communication and the second communication to the alarm module of the mobile terminal and the smart device.
  • the new connection method of WIFI and Bluetooth is used to connect and communicate with the Bluetooth module of the mobile terminal through the Bluetooth module of the smart device, and the network configuration information data packet is also transmitted through the Bluetooth module, ensuring the stability of data transmission; smart device
  • the WIFI module then establishes a communication connection with the server according to the network configuration information data packet; at the same time, when the smart device performs WIFI network distribution, the Bluetooth module can feed back the device’s network distribution information and progress in real time, and exchange information with the mobile terminal to enable The user can more accurately determine the node where the connection failure problem occurs, and solve the corresponding problem from the source; in addition, use the WIFI+Bluetooth communication technology to track and feedback the WIFI networking status of the smart device in real time, and the feedback method adopts the alarm of the smart device
  • the dual alarm form of the module and the mobile terminal can specifically analyze which node has the connection problem when the device cannot connect to the network, and display feedback to the user to improve the user experience; therefore, it not only solves the network distribution method in related technologies
  • Fig. 2 is a flowchart of another network distribution method provided by one of the embodiments of the present disclosure; as shown in Fig. 2, the network distribution method specifically further includes the following steps:
  • Step S201 Obtain a network configuration instruction, and start the WIFI module and the Bluetooth module.
  • Step S202 The Bluetooth module establishes a first communication with the mobile terminal.
  • step S203 it is determined whether the first communication connection is successful, step S204 is executed when the first communication connection is successful, and step S208 is executed when the first communication connection fails.
  • Step S204 The Bluetooth module receives wireless network configuration information sent by the mobile terminal.
  • Step S205 The WIFI module generates a network distribution request according to the wireless network configuration information.
  • Step S206 Send the network distribution request to the server, so that the server performs verification according to the network distribution request.
  • Step S207 When the server authentication succeeds, the second communication connection succeeds.
  • Step S208 restart the Bluetooth module, and connect to the mobile terminal for the next communication.
  • Step S209 Determine whether the number of failures of the first communication connection exceeds a preset value.
  • Step S210 When the number of failures of the first communication connection exceeds a preset value, stop the connection of the first communication.
  • the smart device needs to obtain the network configuration instruction, and then start the WIFI module and the Bluetooth module.
  • the network configuration instruction may be a network configuration instruction sent by the user through buttons, voice, and touch on the smart device.
  • the corresponding module can be activated, which can reduce the power consumption of the smart device;
  • the Bluetooth module is activated, the first communication connection based on Bluetooth is established with the mobile terminal.
  • the server's network configuration information is sent to the smart device via Bluetooth.
  • the smart device generates a network configuration request according to the server address, private key and the serial number of the smart device in the network configuration information, and then sends the network configuration request to the server in the network configuration information Perform authentication.
  • the server authentication is passed, the second communication connection between the smart device and the server based on WIFI is successful. If the server authentication fails, the second communication connection fails, and the failure information is fed back to the mobile terminal via Bluetooth.
  • the smart device When the first Bluetooth-based communication connection between the smart device and the mobile terminal fails, the smart device automatically controls the Bluetooth module to restart, tries to connect to the mobile terminal for the next communication, and determines the number of times the first communication connection fails Whether it exceeds a preset value, when the preset value is exceeded, the connection of the first communication is stopped, and failure information is sent to the mobile terminal and the alarm module.
  • Fig. 3 is a flowchart of another network distribution method provided by one of the embodiments of the present disclosure; as shown in Fig. 3, the network distribution method is applied to a mobile terminal and specifically includes the following steps:
  • Step S301 Establish a first communication with the Bluetooth module of the smart device.
  • Step S302 When the first communication connection is successful, send wireless network configuration information to the Bluetooth module, so that the WIFI module of the smart device establishes a second communication with the server according to the wireless network configuration information.
  • Step S303 Receive feedback information sent by the Bluetooth module, where the feedback information includes connection information of the first communication and the second communication.
  • smart devices In practical applications, smart devices generally control the opening and closing of their functions through the application of the mobile phone terminal. Therefore, it is necessary to realize the mutual network connection of the smart device, the mobile phone terminal, and the server; in this embodiment, the mobile terminal searches through Bluetooth For the smart device that needs to be connected, when the first communication connection established between the smart device and the mobile terminal is successful, the network configuration information including the server address and the private key is sent to the smart device, so that the WIFI module of the smart device establishes a second communication with the server based on the configuration information. Communication connection. In the process of establishing the first and second communication connections, the smart device will send the connection process to the mobile terminal in real time through the Bluetooth module, so that the user can clearly check the connection status of each node in the network distribution process on the mobile terminal. Perform effective manual processing on nodes that fail to connect in time.
  • Fig. 4 is a structural block diagram of a network distribution device provided by one of the embodiments of the present disclosure; as shown in Fig. 4, the network distribution device is applied to smart devices and specifically includes:
  • the first connection module 410 is configured to establish the first communication between the Bluetooth module and the mobile terminal;
  • the first sending module 420 is configured to receive the wireless network configuration information sent by the mobile terminal by the Bluetooth module when the first communication connection is successful, where the wireless network configuration information includes the connection address and private key of the server;
  • the second connection module 430 is configured to establish a second communication between the WIFI module and the server according to the wireless network configuration information
  • the feedback module 440 is configured to feed back the connection information of the first communication and the second communication to the alarm module of the mobile terminal and the smart device by the Bluetooth module.
  • the device further includes: an activation module configured to activate the WIFI module and the Bluetooth module.
  • the second connection module 430 includes: a network distribution request generation module configured to generate a network distribution request according to the wireless network configuration information by the WIFI module, the network distribution request including the serial number of the smart device and the private Key; a network distribution request sending module, configured to send the network distribution request to the server, so that the server performs verification according to the network distribution request; when the server verification succeeds, the second communication connection is successful.
  • a network distribution request generation module configured to generate a network distribution request according to the wireless network configuration information by the WIFI module, the network distribution request including the serial number of the smart device and the private Key
  • a network distribution request sending module configured to send the network distribution request to the server, so that the server performs verification according to the network distribution request; when the server verification succeeds, the second communication connection is successful.
  • the device further includes: a Bluetooth restart module, configured to restart the Bluetooth module, and connect with the mobile terminal for the next first communication; a judging module, configured to judge whether the number of failures of the first communication connection exceeds a predetermined number Set a value; the stop module is set to stop the connection of the first communication when the number of failures of the first communication connection exceeds a preset value, and send failure information to the mobile terminal and the alarm module.
  • a Bluetooth restart module configured to restart the Bluetooth module, and connect with the mobile terminal for the next first communication
  • a judging module configured to judge whether the number of failures of the first communication connection exceeds a predetermined number Set a value
  • the stop module is set to stop the connection of the first communication when the number of failures of the first communication connection exceeds a preset value, and send failure information to the mobile terminal and the alarm module.
  • Fig. 5 is a structural block diagram of another network distribution device provided by one of the embodiments of the present disclosure; as shown in Fig. 5, the network distribution device is applied to a mobile terminal and specifically includes:
  • the Bluetooth connection module 510 is configured to establish a first communication with the Bluetooth module of the smart device
  • the second sending module 520 is configured to send wireless network configuration information to the Bluetooth module when the first communication connection is successful, so that the WIFI module of the smart device establishes a second communication with the server according to the wireless network configuration information ,
  • the wireless network configuration information includes the connection address and private key of the server;
  • the receiving module 530 is configured to receive feedback information sent by the Bluetooth module, where the feedback information includes connection information of the first communication and the second communication.
  • the WIFI module and the Bluetooth module of the smart device can be two separate and independent modules, or they can be integrated into one module with two functions of WIFI and Bluetooth.
  • WIFI and Bluetooth are combined.
  • the two functions of Bluetooth are integrated into the WIFI+BT module as an example.
  • the network configuration steps of smart devices, mobile terminals and servers are as follows:
  • Step 1 When the smart device needs to connect to the server through the WIFI+BT module, first establish a connection with the BT terminal of the mobile phone through the BT terminal of the module. At this time, the status display light will always be on in yellow light mode, and the buzzer will beep. When the status indicator turns green, it means BT is connected. If the status indicator turns to flashing red and the buzzer beeps three times quickly, it means that the Bluetooth pairing fails and the user needs to deal with it.
  • Step 2 When the smart device has successfully connected with the mobile phone APP through BT, the APP will record the network configuration process in real time. At the same time, the mobile phone will send the server's private key to the smart device through the BT terminal, and the status indicator will flash in green at this time. When the BT end of the module receives the private key, the status indicator will turn yellow, indicating that the smart device has successfully received the private key. If the status indicator turns to flashing red and the buzzer beeps three times quickly, it means that the smart device has failed to receive the private key and needs to be processed by the user.
  • Step 3 After the smart device receives the private key, the WIFI end of the module will send a connection and authentication message to the server, and try to connect with the server.
  • the status display light will keep flashing in a yellow breathing light pattern.
  • the status indicator When the connection is successful, the status indicator will change to a steady green state, and the buzzer will beep once. If the connection fails, the buzzer will beep three times quickly and try to connect again. After three failed attempts, the status indicator will change to a steady red state, indicating that the user is required to deal with it.
  • the above-mentioned process that needs to be processed by the user specifically includes: (1) Check whether the Bluetooth device is turned on, use the mobile phone to pair with the smart device, and check whether the pairing is successful. (2) Eliminate environmental interference factors, check whether there are other electromagnetic fields and communication equipment nearby, pair the mobile phone and the smart device in an environment free from interference, and check whether the pairing is successful. (3) Check whether the phone is pairing with other devices, if so, disconnect and try to connect with the smart device again.
  • the buzzer and status indicator are used to display the status of the distribution network and as an alarm when the connection fails.
  • real-time feedback connection can be realized in the process of connecting the smart device to the server The node information at the time. Different colors, different states of LED lights and buzzer buzzer intervals indicate different network distribution states.
  • the BT terminal is connected to the BT terminal of the mobile phone, which can feed back node information in real time and synchronously record it on the mobile APP.
  • the corresponding node information can be queried through the APP, so as to obtain the root cause of the problem, which is convenient for the user to find the source of the problem and solve it, bringing a more intelligent user experience.
  • a computer device including a memory, a processor, and a computer program stored in the memory and running on the processor.
  • the processor implements the steps when the computer program is executed. Specifically: the Bluetooth module establishes first communication with the mobile terminal; when the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal, and the wireless network configuration information includes the server's Connection address and private key; the WIFI module establishes a second communication with the server according to the wireless network configuration information; the Bluetooth module feeds back the connection information of the first communication and the second communication to the mobile The alarm module that comes with the terminal and the smart device.
  • the smart device includes a WIFI module and a Bluetooth module
  • the method includes: the Bluetooth module establishes first communication with a mobile terminal; When the first communication connection is successful, the Bluetooth module receives wireless network configuration information sent by the mobile terminal.
  • the wireless network configuration information includes the connection address and private key of the server; the WIFI module communicates with the wireless network configuration information according to the wireless network configuration information.
  • the server establishes a second communication; the Bluetooth module feeds back the connection information of the first communication and the second communication to the alarm module of the mobile terminal and the smart device.
  • the new connection method of WIFI and Bluetooth is used to connect and communicate with the Bluetooth module of the mobile terminal through the Bluetooth module of the smart device, and the network configuration information data packet is also transmitted through the Bluetooth module, ensuring the stability of data transmission; smart device
  • the WIFI module then establishes a communication connection with the server according to the network configuration information data packet; at the same time, when the smart device performs WIFI network distribution, the Bluetooth module can feed back the device’s network distribution information and progress in real time, and exchange information with the mobile terminal to enable The user can more accurately determine the node where the connection failure problem occurred, and solve the corresponding problem from the source; in addition, by using the WIFI+Bluetooth communication technology, real-time tracking and feedback of the WIFI networking status of the smart device are used, and the feedback method adopts the smart device’s
  • the dual alarm form of the alarm module and the mobile terminal can specifically analyze which node has the connection problem when the device cannot connect to the network, and display feedback to the user to improve the user experience; therefore, it not only solves the network distribution method

Abstract

本公开涉及的配网方法、装置和计算机设备,应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法包括:所述蓝牙模块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。该配网方法不仅解决了相关技术中的配网方法在配网时手机端无法获知实时连接情况信息的问题,而且还解决了在配网失败时无法反馈具体发生配网错误的节点信息的问题,满足了客户的需求。

Description

配网方法、装置和计算机设备 技术领域
本公开涉及物联网技术领域,尤其涉及一种配网方法、装置、和计算机设备。
背景技术
物联网时代离不开无线通讯技术这一重要支柱,随着通讯技术的更新迭代,WIFI、蓝牙(Bluetooth)等通讯技术也在不断的发展与创新中。
目前主要实现配网显示的媒介为手机端,智能设备端以及服务器端,一般的智能设备的通讯模块为单WIFI模块,通讯工作方式主要为先由手机发送热点,智能设备与手机连接后,手机通过WIFI将服务器的连接与认证信息打包发送给智能设备端,智能设备接受了该数据包后,会与手机断开连接,并利用该数据包搜索服务器的热点并与之相连;但这往往会产生一个弊端:智能设备端在搜索服务器并尝试连接的情况下,不能与手机端进行信息交互;当连接失败时,用户往往只知道设备无法正常与服务器建立连接,并不知道在哪一个节点出现连接失败的问题。
可见,相关技术中的配网方法在配网时手机端无法获知实时连接情况信息,以及在配网失败时无法反馈具体发生配网错误的节点信息,因此不能满足用户的需求。
发明内容
本公开至少部分实施例提供了一种配网方法、装置和计算机设备,以至少部分地解决相关技术中的配网方法在配网时手机端无法获知实时连接情况信息的问题,以及在配网失败时无法反馈具体发生配网错 误的节点信息的问题。
在本公开的一些实施例中,提供了一种配网方法,应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法包括:所述蓝牙模块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
在本公开的一些实施例中,通过所述蓝牙模块与移动终端建立第一通信之前,所述方法包括:启动所述WIFI模块和所述蓝牙模块。
在本公开的一些实施例中,所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信,包括:所述WIFI模块根据所述无线网络配置信息生成配网请求,所述配网请求包括所述智能设备的序列号和所述私钥;发送所述配网请求到所述服务器,使所述服务器根据所述配网请求进行验证;当所述服务器验证成功时,确定所述第二通信连接成功。
在本公开的一些实施例中,当所述第一通信连接失败时,所述方法还包括:重启所述蓝牙模块,与所述移动终端进行下一次第一通信的连接;判断所述第一通信连接失败的次数是否超过预设值;当所述第一通信连接失败的次数超过预设值时,停止所述第一通信的连接,并且发送失败信息到所述移动终端和所述报警模块。
在本公开的一些实施例中,所述报警模块包括显示模块、指示灯和蜂鸣器中至少之一。
在本公开的一些实施例中,还提供了另一种配网方法,应用于移动终端,所述方法包括:与智能设备的蓝牙模块建立第一通信;当所 述第一通信连接成功时,发送无线网络配置信息到所述蓝牙模块,使所述智能设备的WIFI模块根据所述无线网络配置信息与服务器建立第二通信,所述无线网络配置信息包括服务器的连接地址和私钥;接收所述蓝牙模块发送的反馈信息,所述反馈信息包括所述第一通信和所述第二通信的连接信息。
在本公开的一些实施例中,还提供了一种配网装置,应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述装置包括:第一连接模块,设置为所述蓝牙模块与移动终端建立第一通信;第一发送模块,设置为当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;第二连接模块,设置为所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;反馈模块,设置为所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
在本公开的一些实施例中,所述装置还包括:启动模块,设置为启动所述WIFI模块和所述蓝牙模块。
在本公开的一些实施例中,还提供另一种配网装置,应用于移动终端,所述装置包括:蓝牙连接模块,设置为与智能设备的蓝牙模块建立第一通信;第二发送模块,设置为当所述第一通信连接成功时,发送无线网络配置信息到所述蓝牙模块,使所述智能设备的WIFI模块根据所述无线网络配置信息与服务器建立第二通信,所述无线网络配置信息包括服务器的连接地址和私钥;接收模块,设置为接收所述蓝牙模块发送的反馈信息,所述反馈信息包括所述第一通信和所述第二通信的连接信息。
在本公开的一些实施例中,还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所 述处理器执行所述计算机程序时实现步骤具体包括:所述蓝牙模块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
在本公开至少部分实施例中提供的配网方法、装置和计算机设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法包括:所述蓝牙模块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。即,使用WIFI和蓝牙的新型连接方式,通过智能设备的蓝牙模块与移动终端的蓝牙模块进行连接与通讯,网络配置信息数据包也通过蓝牙模块进行传输,保证了数据传输的稳定性;智能设备的WIFI模块再根据网络配置信息数据包与服务器建立通信连接;同时,在智能设备进行WIFI配网时,蓝牙模块能够实时反馈设备的配网信息与进度,并与移动终端进行信息交互,能够使得用户更为准确的判断连接失败问题发生的节点,从源头处解决相应的问题;另外,通过运用WIFI+蓝牙的通讯技术,对智能设备的WIFI联网状态进行实时追踪与反馈,反馈方式采用智能设备的报警模块和移动终端的双报警形式,当设备无法连接网络时,能具体分析是哪个节点出现了连接问题,并显示反馈给用户,提高用户的使用体验;因此不仅解决相关技术中的配网方法在配网时手机端无法获知实时连接情况信息的问题,而且还解决了 在配网失败时无法反馈具体发生配网错误的节点信息的问题,满足了客户的需求。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。
为了更清楚地说明本公开实施例或相关技术中的技术方案,下面将对实施例或相关技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开其中一实施例提供的一种配网方法的流程图。
图2是本公开其中一实施例提供的另一种配网方法的流程图。
图3是本公开其中一实施例提供的又一种配网方法的流程图。
图4是本公开其中一实施例提供的一种配网装置的结构框图。
图5是本公开其中一实施例提供的另一种配网装置的结构框图。
具体实施方式
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开的一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。
图1是本公开其中一实施例提供的一种配网方法;如图1所示,该配网方法应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法具体包括如下步骤:
步骤S101,所述蓝牙模块与移动终端建立第一通信。
具体地,智能设备包括但不限于空调、音箱、台灯和洗衣机,本 实施例的智能设备以智能音箱为例,移动终端以手机为例,智能音箱中包括设置为连接无线网络的WIFI模块和设置为蓝牙连接的蓝牙模块,首先需要打开智能音箱的蓝牙模块,然后与手机终端的蓝牙进行配对连接。
步骤S102,当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息。
具体地,其中所述无线网络配置信息包括服务器的连接地址和私钥,智能设备与手机终端通过蓝牙连接成功后,手机终端会通过蓝牙向智能设备发送服务器地址和服务器的私钥,相当于无线网络的名称和密码。
步骤S103,所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信。
具体地,智能设备的WIFI模块会根据手机终端发送的无线网络配置信息向服务器发送认证信息,服务器通过对认证信息验证通过后与智能设备建立通信连接。
步骤S104,所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
具体地,智能设备的蓝牙模块会将第一通信和第二通信连接过程发动到移动终和智能设备自带的报警模块,所述报警模块包括显示模块、指示灯和蜂鸣器中至少之一。其中,连接信息包括每一个步骤的具体信息,比如当手机端发送数据包给智能设备时,智能设备收到后,会将一个反馈信息通过蓝牙发送回手机端。当智能设备开始搜索网络时,也会将一个反馈信息发送给手机端。这些反馈信息可以通过手机端应用以文字方式告知用户当前智能设备的联网情况。与此同时,通过智能设备自带的报警模块也可以显示智能设备的大致信息,如蓝牙配对中,蓝牙数据传输中,WIFI连接中等。
智能设备的蓝牙模块端与手机的蓝牙模块端相连,能够将节点信息实时反馈并同步记录在手机的应用程序上。当用户发现状态显示灯出现异常警报时,可以通过应用程序查询到相应的节点信息,从而获取发生问题的根源节点,方便用户找寻到问题的源头并进行解决,带来更智能的用户体验。
在本公开的一些实施例中提供的配网方法,应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法包括:所述蓝牙模块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。即,使用WIFI和蓝牙的新型连接方式,通过智能设备的蓝牙模块与移动终端的蓝牙模块进行连接与通讯,网络配置信息数据包也通过蓝牙模块进行传输,保证了数据传输的稳定性;智能设备的WIFI模块再根据网络配置信息数据包与服务器建立通信连接;同时,在智能设备进行WIFI配网时,蓝牙模块能够实时反馈设备的配网信息与进度,并与移动终端进行信息交互,能够使得用户更为准确的判断连接失败问题发生的节点,从源头处解决相应的问题;另外,运用WIFI+蓝牙的通讯技术,对智能设备的WIFI联网状态进行实时追踪与反馈,反馈方式采用智能设备的报警模块和移动终端的双报警形式,当设备无法连接网络时,能具体分析是哪个节点出现了连接问题,并显示反馈给用户,提高用户的使用体验;因此不仅解决了相关技术中的配网方法在配网时手机端无法获知实时连接情况信息的问题,而且还解决了在配网失败时无法反馈具体发生配网错误的节点信息的问题,满足了客户的需求。
图2是本公开其中一实施例提供的另一种配网方法的流程图;如图2所示,该配网方法具体还包括如下步骤:
步骤S201,获取配网指令,启动所述WIFI模块和所述蓝牙模块。
步骤S202,所述蓝牙模块与移动终端建立第一通信。
步骤S203,判断第一通信是否连接成功,当第一通信连接成功时执行步骤S204,当第一通信连接失败时执行步骤S208。
步骤S204,所述蓝牙模块接收所述移动终端发送的无线网络配置信息。
步骤S205,所述WIFI模块根据所述无线网络配置信息生成配网请求。
步骤S206,发送所述配网请求到所述服务器,使所述服务器根据所述配网请求进行验证。
步骤S207,当所述服务器验证成功时,所述第二通信连接成功。
步骤S208,重启所述蓝牙模块,与所述移动终端进行下一次通信的连接。
步骤S209,判断所述第一通信连接失败的次数是否超过预设值。
步骤S210,当所述第一通信连接失败的次数超过预设值时,停止所述第一通信的连接。
具体地,首先智能设备需要获取到配网指令后,启动所述WIFI模块和所述蓝牙模块,所述配网指令可以是用户在智能设备上通过按钮、语音和触摸等方式发送的配网指令,获取到配网指令后方可启动相应模块,可以降低智能设备的功耗;启动蓝牙模块后,与移动终端建立基于蓝牙的第一通信连接,当第一通信连接成功时,移动终端再将与服务器的网络配置信息通过蓝牙发送到智能设备端,智能设备根据网络配置信息中的服务器地址、私钥和智能设备的序列号生成配网请求,再将配网请求发送到网络配置信息中的服务器进行认证,当服 务器认证通过时,智能设备与服务器基于WIFI的第二通信连接成功,如果服务器认证不通过,第二通信连接失败,并且将失败信息通过蓝牙反馈到移动终端。
当智能设备与移动终端基于蓝牙的第一通信连接失败时,智能设备自动控制所述蓝牙模块进行重启,尝试与所述移动终端进行下一次通信的连接,判断所述第一通信连接失败的次数是否超过预设值,当超过预设值时,停止所述第一通信的连接,并且发送失败信息到所述移动终端和所述报警模块。
图3是本公开其中一实施例提供的又一种配网方法的流程图;如图3所示,该配网方法应用于移动终端,具体包括如下步骤:
步骤S301,与智能设备的蓝牙模块建立第一通信。
步骤S302,当所述第一通信连接成功时,发送无线网络配置信息到所述蓝牙模块,使所述智能设备的WIFI模块根据所述无线网络配置信息与服务器建立第二通信。
步骤S303,接收所述蓝牙模块发送的反馈信息,所述反馈信息包括所述第一通信和所述第二通信的连接信息。
在实际应用中,智能设备一般是通过手机终端的应用程序来控制其功能的打开和关闭,因此需要实现智能设备、手机终端和服务器的互相配网连接;本实施例是手机终端通过蓝牙搜索到需要连接的智能设备,当智能设备与手机终端建立的第一通信连接成功时,发送包括服务器地址和私钥的网络配置信息到智能设备,使智能设备的WIFI模块根据配置信息与服务器建立第二通信连接,在建立第一和第二通信连接的过程中,智能设备会通过蓝牙模块向移动终端实时发送连接过程,使用户可以在手机终端清楚的查询到配网过程中各个节点的连接情况,对连接失败的节点及时进行有效的人工处理。
图4是本公开其中一实施例提供的一种配网装置的结构框图;如 图4所示,该配网装置应用于智能设备,具体包括:
第一连接模块410,设置为所述蓝牙模块与移动终端建立第一通信;
第一发送模块420,设置为当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;
第二连接模块430,设置为所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;
反馈模块440,设置为所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
在本公开的一些实施例中,所述装置还包括:启动模块,设置为启动所述WIFI模块和所述蓝牙模块。
所述第二连接模块430包括:配网请求生成模块,设置为所述WIFI模块根据所述无线网络配置信息生成配网请求,所述配网请求包括所述智能设备的序列号和所述私钥;配网请求发送模块,设置为发送所述配网请求到所述服务器,使所述服务器根据所述配网请求进行验证;当所述服务器验证成功时,所述第二通信连接成功。
所述装置还包括:蓝牙重启模块,设置为重启所述蓝牙模块,与所述移动终端进行下一次第一通信的连接;判断模块,设置为判断所述第一通信连接失败的次数是否超过预设值;停止模块,设置为当所述第一通信连接失败的次数超过预设值时,停止所述第一通信的连接,并且发送失败信息到所述移动终端和所述报警模块。
图5是本公开其中一实施例提供的另一种配网装置的结构框图;如图5所示,该配网装置应用于移动终端,具体包括:
蓝牙连接模块510,设置为与智能设备的蓝牙模块建立第一通信;
第二发送模块520,设置为当所述第一通信连接成功时,发送无线 网络配置信息到所述蓝牙模块,使所述智能设备的WIFI模块根据所述无线网络配置信息与服务器建立第二通信,所述无线网络配置信息包括服务器的连接地址和私钥;
接收模块530,设置为接收所述蓝牙模块发送的反馈信息,所述反馈信息包括所述第一通信和所述第二通信的连接信息。
在本公开的一些实施例中,智能设备的WIFI模块和蓝牙模块可以是分开独立的两个模块,也可以是集成到一起具有WIFI和蓝牙两个功能的一个模块,本实施例以将WIFI和蓝牙两个功能集成到一起WIFI+BT模块为例,智能设备、手机终端和服务器的配网步骤如下:
步骤1:当智能设备需要通过WIFI+BT模块连接服务器时,首先通过模块的BT端与手机的BT端建立连接,此时状态显示灯会以黄灯模式常亮,蜂鸣器会鸣叫。当状态显示灯转为绿色时,表示BT连接成。若状态显示灯转为红色闪烁,蜂鸣器急促鸣叫三声,则表示蓝牙配对失败,需要用户进行处理。
步骤2:当智能设备已通过BT与手机APP端连接成功时,APP端会实时记录配网过程。同时,手机端会将服务器的私钥通过BT端发送给智能设备,这时状态显示灯等会以绿灯闪烁。当模块的BT端接受到私钥时,状态显示灯会转为黄色,表示智能设备已成功接收到私钥。若状态显示灯转为红色闪烁,蜂鸣器急促鸣叫三声,则表示智能设备端未能接收到私钥,需要用户进行处理。
步骤3:智能设备接收到私钥后,模块的WIFI端会发送连接与认证消息给服务器,并尝试与服务器进行连接。在建立连接的过程中,状态显示灯会以黄色呼吸灯的模式一直闪烁。当连接成功了,状态显示灯会转变为绿色常亮状态,同时蜂鸣器会长鸣一次。若连接失败,则蜂鸣器会急促鸣叫三声,并再次尝试连接。当三次尝试都失败后, 状态显示灯会变为红色常亮状态,表示需要用户进行处理。
其中,上述需要用户进行处理的过程具体包括:(1)查看蓝牙设备是否开启,使用手机与智能设备进行配对,查看配对是否成功。(2)排除环境干扰因素,查看周围是否有其他电磁场与通讯设备产生干扰,将手机与智能设备在免受干扰的环境下配对,查看配对是否成功。(3)检查手机是否正在与其他设备进行配对,若有,则断开后再次尝试与智能设备连接。
蜂鸣器与状态显示灯是用作配网状态的显示作用以及用作连接失败时的警报器功能,通过WIFI+BT的通讯方式,能够实现在智能设备端连接服务器的过程中,实时反馈连接时的节点信息。不同颜色,不同状态的LED灯光以及蜂鸣器的鸣叫间隔表示不同的配网状态,同时BT端与手机的BT端相连,能够将节点信息实时反馈并同步记录在手机APP上。当用户发现状态显示灯出现异常警报时,可以通过APP查询到相应的节点信息,从而获取发生问题的根源节点,方便用户找寻到问题的源头并进行解决,带来更智能的用户体验。
在本公开的一些实施例中,还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现步骤具体包括:所述蓝牙模块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
在本公开至少部分实施例中提供的配网方法、装置和计算机设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法包括:所述蓝牙模 块与移动终端建立第一通信;当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。即,使用WIFI和蓝牙的新型连接方式,通过智能设备的蓝牙模块与移动终端的蓝牙模块进行连接与通讯,网络配置信息数据包也通过蓝牙模块进行传输,保证了数据传输的稳定性;智能设备的WIFI模块再根据网络配置信息数据包与服务器建立通信连接;同时,在智能设备进行WIFI配网时,蓝牙模块能够实时反馈设备的配网信息与进度,并与移动终端进行信息交互,能够使得用户更为准确的判断连接失败问题发生的节点,从源头处解决相应的问题;另外,通过运用WIFI+蓝牙的通讯技术,对智能设备的WIFI联网状态进行实时追踪与反馈,反馈方式采用智能设备的报警模块和移动终端的双报警形式,当设备无法连接网络时,能具体分析是哪个节点出现了连接问题,并显示反馈给用户,提高用户的使用体验;因此不仅解决相关技术中的配网方法在配网时手机端无法获知实时连接情况信息的问题,而且还解决了在配网失败时无法反馈具体发生配网错误的节点信息的问题,满足了客户的需求。
需要说明的是,在本文中,诸如“第一”和“第二”等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没 有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上所述仅是本公开的具体实施方式,使本领域技术人员能够理解或实现本公开。对这些实施例的多种修改对本领域的技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本公开的精神或范围的情况下,在其它实施例中实现。因此,本公开将不会被限制于本文所示的这些实施例,而是要符合与本文所申请的原理和新颖特点相一致的最宽的范围。

Claims (10)

  1. 一种配网方法,应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述方法包括:
    所述蓝牙模块与移动终端建立第一通信;
    当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;
    所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;
    所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和所述智能设备自带的报警模块。
  2. 根据权利要求1所述的方法,其中,通过所述蓝牙模块与移动终端建立第一通信之前,所述方法包括:
    启动所述WIFI模块和所述蓝牙模块。
  3. 根据权利要求2所述的方法,其中,所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信,包括:
    所述WIFI模块根据所述无线网络配置信息生成配网请求,所述配网请求包括所述智能设备的序列号和所述私钥;
    发送所述配网请求到所述服务器,使所述服务器根据所述配网请求进行验证;
    当所述服务器验证成功时,确定所述第二通信连接成功。
  4. 根据权利要求1所述的方法,其中,当所述第一通信连接失败时,所述方法还包括:
    重启所述蓝牙模块,与所述移动终端进行下一次第一通信的连接;
    判断所述第一通信连接失败的次数是否超过预设值;
    当所述第一通信连接失败的次数超过预设值时,停止所述第一通 信的连接,并且发送失败信息到所述移动终端和所述报警模块。
  5. 根据权利要求1所述的方法,其中,所述报警模块包括显示模块、指示灯和蜂鸣器中至少之一。
  6. 一种配网方法,应用于移动终端,所述方法包括:
    与智能设备的蓝牙模块建立第一通信;
    当所述第一通信连接成功时,发送无线网络配置信息到所述蓝牙模块,使所述智能设备的WIFI模块根据所述无线网络配置信息与服务器建立第二通信,所述无线网络配置信息包括服务器的连接地址和私钥;
    接收所述蓝牙模块发送的反馈信息,所述反馈信息包括所述第一通信和所述第二通信的连接信息。
  7. 一种配网装置,应用于智能设备,所述智能设备包括WIFI模块和蓝牙模块,所述装置包括:
    第一连接模块,设置为所述蓝牙模块与移动终端建立第一通信;
    第一发送模块,设置为当所述第一通信连接成功时,所述蓝牙模块接收所述移动终端发送的无线网络配置信息,所述无线网络配置信息包括服务器的连接地址和私钥;
    第二连接模块,设置为所述WIFI模块根据所述无线网络配置信息与所述服务器建立第二通信;
    反馈模块,设置为所述蓝牙模块将所述第一通信和所述第二通信的连接信息反馈到所述移动终端和智能设备自带的报警模块。
  8. 根据权利要求7所述的装置,其中,所述装置还包括:
    启动模块,设置为启动所述WIFI模块和所述蓝牙模块。
  9. 一种配网装置,应用于移动终端,所述装置包括:
    蓝牙连接模块,设置为与智能设备的蓝牙模块建立第一通信;
    第二发送模块,设置为当所述第一通信连接成功时,发送无线网 络配置信息到所述蓝牙模块,使所述智能设备的WIFI模块根据所述无线网络配置信息与服务器建立第二通信,所述无线网络配置信息包括服务器的连接地址和私钥;
    接收模块,设置为接收所述蓝牙模块发送的反馈信息,所述反馈信息包括所述第一通信和所述第二通信的连接信息。
  10. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至6中任一项所述方法的步骤。
PCT/CN2020/125927 2020-02-24 2020-11-02 配网方法、装置和计算机设备 WO2021169377A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010113380.5 2020-02-24
CN202010113380.5A CN111417118A (zh) 2020-02-24 2020-02-24 配网方法、装置和计算机设备

Publications (1)

Publication Number Publication Date
WO2021169377A1 true WO2021169377A1 (zh) 2021-09-02

Family

ID=71494134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/125927 WO2021169377A1 (zh) 2020-02-24 2020-11-02 配网方法、装置和计算机设备

Country Status (2)

Country Link
CN (1) CN111417118A (zh)
WO (1) WO2021169377A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016143A (zh) * 2022-12-14 2023-04-25 广州市保伦电子有限公司 一种物联网设备调试方法及物联网设备

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111417118A (zh) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 配网方法、装置和计算机设备
CN111818669B (zh) * 2020-06-04 2022-09-02 青岛海信移动通信技术股份有限公司 移动终端及其数据传输方法
CN111867003A (zh) * 2020-07-24 2020-10-30 深圳创维数字技术有限公司 设备配网方法、装置、设备及计算机可读存储介质
CN114449557B (zh) * 2020-11-06 2024-02-06 深圳Tcl新技术有限公司 一种设备配网故障定位方法、终端及存储介质
CN112637931A (zh) * 2020-12-18 2021-04-09 青岛海尔科技有限公司 建立网络连接的方法及装置
CN114363992A (zh) * 2021-12-02 2022-04-15 杭州博联智能科技股份有限公司 一种智能设备配网的方法、系统、电子装置和存储介质
CN115164377A (zh) * 2022-06-09 2022-10-11 海尔(深圳)研发有限责任公司 一种空调控制方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015575A1 (en) * 2002-07-22 2004-01-22 Tetsuro Motoyama System, computer program product and method for managing and controlling a local network of electronic devices and reliably and securely adding an electronic device to the network
CN105592409A (zh) * 2016-03-23 2016-05-18 北京清川科技有限公司 基于蓝牙的wi-fi连接通信方法及系统
CN106358147A (zh) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 连接无线网络的方法及系统、家用电器和用户终端
CN106507287A (zh) * 2016-11-23 2017-03-15 北京小米移动软件有限公司 无线装置控制方法及装置
CN107465584A (zh) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 智能家电的网络接入方法及装置、智能家电
US10142122B1 (en) * 2012-04-11 2018-11-27 Google Llc User interfaces, systems and methods for configuring smart devices for interoperability with a smart hub device
CN111417118A (zh) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 配网方法、装置和计算机设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516902A (zh) * 2015-12-22 2016-04-20 惠州Tcl移动通信有限公司 一种蓝牙连接方法、系统及蓝牙设备
CN106604266A (zh) * 2016-12-06 2017-04-26 深圳市晟天维科技有限公司 智能设备系统连接方法、智能设备及智能设备接入系统
CN109996260B (zh) * 2018-01-02 2021-01-15 中国移动通信有限公司研究院 配置系统、客户端设备、嵌入式设备配置方法及存储介质
KR102033968B1 (ko) * 2018-07-02 2019-10-18 주식회사 이엠텍 비밀번호 분배 시스템
CN110545569B (zh) * 2019-08-23 2020-10-23 珠海格力电器股份有限公司 一种智能设备的配网方法、系统以及可读介质
CN110677840A (zh) * 2019-09-30 2020-01-10 珠海格力电器股份有限公司 一种配网失败原因确定方法、设备以及可读介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040015575A1 (en) * 2002-07-22 2004-01-22 Tetsuro Motoyama System, computer program product and method for managing and controlling a local network of electronic devices and reliably and securely adding an electronic device to the network
US10142122B1 (en) * 2012-04-11 2018-11-27 Google Llc User interfaces, systems and methods for configuring smart devices for interoperability with a smart hub device
CN105592409A (zh) * 2016-03-23 2016-05-18 北京清川科技有限公司 基于蓝牙的wi-fi连接通信方法及系统
CN106358147A (zh) * 2016-09-28 2017-01-25 美的智慧家居科技有限公司 连接无线网络的方法及系统、家用电器和用户终端
CN106507287A (zh) * 2016-11-23 2017-03-15 北京小米移动软件有限公司 无线装置控制方法及装置
CN107465584A (zh) * 2017-07-21 2017-12-12 广东美的厨房电器制造有限公司 智能家电的网络接入方法及装置、智能家电
CN111417118A (zh) * 2020-02-24 2020-07-14 珠海格力电器股份有限公司 配网方法、装置和计算机设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116016143A (zh) * 2022-12-14 2023-04-25 广州市保伦电子有限公司 一种物联网设备调试方法及物联网设备
CN116016143B (zh) * 2022-12-14 2023-11-21 广东保伦电子股份有限公司 一种物联网设备调试方法及物联网设备

Also Published As

Publication number Publication date
CN111417118A (zh) 2020-07-14

Similar Documents

Publication Publication Date Title
WO2021169377A1 (zh) 配网方法、装置和计算机设备
WO2021243968A1 (zh) 家电设备的配网方法、终端、存储介质和家电设备
CN105208583B (zh) 一种配置智能家电入网的方法、装置及智能设备
TW201933848A (zh) 設備連接方法、設備和系統
TW201513710A (zh) 一種配置設備加入網路群組的方法、裝置及系統
CN106604266A (zh) 智能设备系统连接方法、智能设备及智能设备接入系统
CN105612805A (zh) 可穿戴式设备的通信方法、通信系统及相关设备
CN108667699B (zh) 一种终端设备与网关设备间的互联方法和装置
CN110740460A (zh) 一种设备的入网方法、装置、网络设备及存储介质
WO2018036071A1 (zh) 一种设备之间组网的方法和设备
TW202112101A (zh) 密鑰產生以及終端配網方法、裝置、設備
WO2018053894A1 (zh) 物联网基于传输速率的接入点切换方法及装置
US11064360B2 (en) Network device and WPS connection method thereof
CN108200081A (zh) 智能设备联网方法及智能设备系统
CN113132967A (zh) 融合组网方法、设备、系统及计算机可读存储介质
WO2015139401A1 (zh) 无线网络的建立方法、系统及无线路由装置
WO2022183350A1 (zh) 物联网设备配网方法、终端设备和物联网设备
WO2021248963A1 (zh) 家电设备及其配网方法、控制终端、计算机存储介质
WO2018053895A1 (zh) 物联网接入点基于类型的上行数据加密控制方法及装置
WO2020034522A1 (zh) 连接网络的方法、装置、智能设备及用户终端
CN113132958A (zh) 融合组网方法、设备、系统及计算机可读存储介质
CN113709142B (zh) 一种热点配网方法、装置、智能终端及存储介质
EP2891299B1 (en) Systems and methods for efficient remote security panel configuration and management
US10079893B2 (en) M2M application request sending method, CSE and system
CN113259468B (zh) 一种网络设备配置方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20922191

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20922191

Country of ref document: EP

Kind code of ref document: A1