CN118632320A - Device network configuration method, device, electronic device and storage medium - Google Patents
Device network configuration method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN118632320A CN118632320A CN202410403133.7A CN202410403133A CN118632320A CN 118632320 A CN118632320 A CN 118632320A CN 202410403133 A CN202410403133 A CN 202410403133A CN 118632320 A CN118632320 A CN 118632320A
- Authority
- CN
- China
- Prior art keywords
- search
- network
- network configuration
- target
- user terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 102
- 238000003860 storage Methods 0.000 title claims abstract description 25
- 230000001960 triggered effect Effects 0.000 claims abstract description 44
- 230000004044 response Effects 0.000 claims abstract description 43
- 238000012790 confirmation Methods 0.000 claims description 30
- 238000001514 detection method Methods 0.000 claims description 8
- 238000009826 distribution Methods 0.000 claims description 8
- 230000006855 networking Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000004891 communication Methods 0.000 description 56
- 230000006870 function Effects 0.000 description 28
- 230000008569 process Effects 0.000 description 23
- 238000010586 diagram Methods 0.000 description 17
- 230000003993 interaction Effects 0.000 description 12
- 230000003287 optical effect Effects 0.000 description 5
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000004590 computer program Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 101001072091 Homo sapiens ProSAAS Proteins 0.000 description 2
- 102100036366 ProSAAS Human genes 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000007654 immersion Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000003345 natural gas Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
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
- H04W48/14—Access restriction or access information delivery, e.g. discovery data delivery using user query or user detection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请提供了一种设备配网方法、装置、电子设备及存储介质,涉及物联网技术领域。其中,该方法包括:基于在目标空间中搜索到的待入网设备显示搜索页面;响应于对搜索页面中选中的设备标识触发的查找操作,向目标空间中与选中的设备标识对应的目标设备发送第一查找指令以指示目标设备对第一查找指令进行响应;或接收目标设备响应于第二查找指令而发送的广播消息,并基于接收到的广播消息对搜索页面中与目标设备对应的设备标识进行突出显示;响应于对已响应的目标设备触发的选中操作,向选中的目标设备发送配网消息,以指示选中的目标设备基于配网消息连接至目标网络。本申请解决了相关技术中设备配网的成功率低、效率低的问题。
The present application provides a device network configuration method, apparatus, electronic device and storage medium, and relates to the field of Internet of Things technology. The method includes: displaying a search page based on the device to be connected to the network searched in the target space; in response to the search operation triggered by the device identifier selected in the search page, sending a first search instruction to the target device corresponding to the selected device identifier in the target space to instruct the target device to respond to the first search instruction; or receiving a broadcast message sent by the target device in response to the second search instruction, and highlighting the device identifier corresponding to the target device in the search page based on the received broadcast message; in response to the selection operation triggered by the responded target device, sending a network configuration message to the selected target device to instruct the selected target device to connect to the target network based on the network configuration message. The present application solves the problems of low success rate and low efficiency of device network configuration in related technologies.
Description
技术领域Technical Field
本申请涉及物联网技术领域,具体而言,本申请涉及一种设备配网方法、装置、电子设备及存储介质。The present application relates to the technical field of Internet of Things, and specifically, to a device network configuration method, apparatus, electronic device and storage medium.
背景技术Background Art
随着物联网技术的发展,物联网设备为现代社会提供了极大的便利,已经广泛应用于医疗,交通运输,生产制造,智能家居等各个方面。例如,越来越多的用户开始使用智能设备。With the development of IoT technology, IoT devices have provided great convenience for modern society and have been widely used in various fields such as medical treatment, transportation, manufacturing, smart home, etc. For example, more and more users are beginning to use smart devices.
智能设备需要配网后才能使用,然而,在现有技术中智能设备的入网操作相对繁琐,通常需要通过手机App等前端工具进行入网绑定,在进行入网操作时手机App和实际设备的对应关系对于用户是不透明的,在进行入网操作时容易失误,导致配网成功率低,效率低。由于现有智能设备适配的网络繁多复杂,不同的智能设备适配的网络类型和数量都不同,现有技术在配网时配网类型局限于少数网络的情况,导致配网效率低。Smart devices need to be networked before they can be used. However, in the prior art, the network access operation of smart devices is relatively cumbersome, and usually requires network binding through front-end tools such as mobile phone apps. When performing network access operations, the correspondence between mobile phone apps and actual devices is not transparent to users, and it is easy to make mistakes when performing network access operations, resulting in low network access success rate and low efficiency. Since the networks that existing smart devices are adapted to are numerous and complex, and different smart devices are adapted to different types and quantities of networks, the existing technology is limited to a few network types when configuring networks, resulting in low network configuration efficiency.
由上可知,现有技术中设备配网的成功率低、配网效率低的问题仍有待解决。As can be seen from the above, the problems of low success rate and low efficiency of equipment network distribution in the prior art still need to be solved.
发明内容Summary of the invention
本申请各提供了一种设备配网方法、装置、电子设备及存储介质,可以解决相关技术中存在的设备配网的成功率低、配网效率低的问题。所述技术方案如下:The present application provides a device network configuration method, apparatus, electronic device and storage medium, which can solve the problems of low success rate and low efficiency of device network configuration in related technologies. The technical solution is as follows:
根据本申请的一个方面,一种设备配网方法,所述方法包括:基于在目标空间中搜索到的待入网设备显示搜索页面;所述搜索页面包括至少一个设备标识;响应于对选中的设备标识触发的查找操作,向所述目标空间中与选中的设备标识对应的目标设备发送第一查找指令,所述第一查找指令用于指示所述目标设备对所述第一查找指令进行响应;或接收所述目标空间中的目标设备响应于第二查找指令而发送的广播消息,并基于接收到的广播消息对所述搜索页面中与所述目标设备对应的设备标识进行突出显示;响应于对已响应的所述目标设备触发的选中操作,向选中的所述目标设备发送配网消息,以指示选中的所述目标设备基于所述配网消息连接至目标网络。According to one aspect of the present application, a device network configuration method comprises: displaying a search page based on the devices to be connected to the network searched in the target space; the search page comprises at least one device identification; in response to a search operation triggered by a selected device identification, sending a first search instruction to the target device corresponding to the selected device identification in the target space, the first search instruction being used to instruct the target device to respond to the first search instruction; or receiving a broadcast message sent by the target device in the target space in response to a second search instruction, and highlighting the device identification corresponding to the target device in the search page based on the received broadcast message; in response to a selection operation triggered on the responded target device, sending a network configuration message to the selected target device to instruct the selected target device to connect to the target network based on the network configuration message.
根据本申请的一个方面,一种设备配网装置,所述装置包括:页面显示模块,用于基于在目标空间中搜索到的待入网设备显示搜索页面;所述搜索页面包括至少一个设备标识;设备查找模块,用于响应于对选中的设备标识触发的查找操作,向所述目标空间中与选中的设备标识对应的目标设备发送第一查找指令,所述第一查找指令用于指示所述目标设备对所述第一查找指令进行响应;或接收所述目标空间中的目标设备响应于第二查找指令而发送的广播消息,并基于接收到的广播消息对所述搜索页面中与所述目标设备对应的设备标识进行突出显示;消息发送模块,用于响应于对已响应的所述目标设备触发的选中操作,向选中的所述目标设备发送配网消息,以指示选中的所述目标设备基于所述配网消息连接至目标网络。According to one aspect of the present application, a device network configuration apparatus comprises: a page display module, which is used to display a search page based on the devices to be connected to the network searched in the target space; the search page comprises at least one device identification; a device search module, which is used to send a first search instruction to the target device corresponding to the selected device identification in the target space in response to a search operation triggered by a selected device identification, wherein the first search instruction is used to instruct the target device to respond to the first search instruction; or receive a broadcast message sent by the target device in the target space in response to a second search instruction, and highlight the device identification corresponding to the target device in the search page based on the received broadcast message; a message sending module, which is used to send a network configuration message to the selected target device in response to a selection operation triggered on the responded target device, so as to instruct the selected target device to connect to the target network based on the network configuration message.
在一示例性实施例中,所述页面显示模块,包括:搜索单元,用于对所述目标空间中的待入网设备进行搜索;第一显示单元,用于若搜索到待入网设备,则显示所述搜索页面,并在所述搜索页面显示搜索到的待入网设备的设备标识。In an exemplary embodiment, the page display module includes: a search unit, used to search for the devices to be connected in the target space; a first display unit, used to display the search page if the device to be connected is found, and display the device identification of the searched device to be connected on the search page.
在一示例性实施例中,所述页面显示模块,包括:第二显示单元,用于显示所述搜索页面,在所述搜索页面触发对所述目标空间中待入网设备的搜索;第三显示单元,用于将搜索到的待入网设备的设备标识显示在所述搜索页面。In an exemplary embodiment, the page display module includes: a second display unit, used to display the search page, triggering a search for the devices to be connected to the network in the target space; and a third display unit, used to display the device identification of the searched device to be connected to the network on the search page.
在一示例性实施例中,所述设备查找模块,包括:第四显示单元,用于在所述搜索页面中,显示与至少一个所述设备标识关联的查找入口;指令发送单元,用于响应于对与选中的设备标识关联的查找入口触发的查找操作,向所述目标空间中与选中的设备标识对应的目标设备发送第一查找指令。In an exemplary embodiment, the device search module includes: a fourth display unit, used to display a search entry associated with at least one of the device identifiers in the search page; and an instruction sending unit, used to send a first search instruction to a target device corresponding to the selected device identifier in the target space in response to a search operation triggered by the search entry associated with the selected device identifier.
在一示例性实施例中,所述装置还包括:显示模块,用于若检测到选中的所述目标设备需要二次确认,则显示二次确认页面;配对码获取模块,用于响应于在所述二次确认页面触发的确认操作,获得选中的所述目标设备的第一配对码;匹配模块,用于将所述第一配对码和选中的所述目标设备存储于所述用户终端的第二配对码进行匹配,若所述第一配对码和所述第二配对码匹配,则向选中的所述目标设备发送配网消息。In an exemplary embodiment, the apparatus further includes: a display module, configured to display a secondary confirmation page if it is detected that the selected target device requires secondary confirmation; a pairing code acquisition module, configured to obtain a first pairing code of the selected target device in response to a confirmation operation triggered on the secondary confirmation page; and a matching module, configured to match the first pairing code with a second pairing code of the selected target device stored in the user terminal, and to send a network configuration message to the selected target device if the first pairing code matches the second pairing code.
在一示例性实施例中,所述装置还包括:标识发送模块,用于将选中的所述目标设备的设备标识发送至服务端;消息接收模块,用于接收所述服务端反馈的与所述设备标识对应的配网类型消息,并基于接收到的配网类型消息生成所述配网消息。In an exemplary embodiment, the device also includes: an identification sending module, used to send the device identification of the selected target device to the server; a message receiving module, used to receive a network configuration type message corresponding to the device identification fed back by the server, and generate the network configuration message based on the received network configuration type message.
在一示例性实施例中,所述装置还包括:接收模块,用于接收选中的所述目标设备发送的配网类型消息;消息生成模块,用于基于接收到的配网类型消息生成所述配网消息。In an exemplary embodiment, the apparatus further includes: a receiving module, configured to receive a network configuration type message sent by the selected target device; and a message generating module, configured to generate the network configuration message based on the received network configuration type message.
根据本申请的一个方面,一种设备配网方法,包括:智能设备若检测到用户终端发送的第一查找指令,则对所述第一查找指令进行响应;所述第一查找指令是所述用户终端检测到在搜索页面对与所述智能设备对应的设备标识触发了查找操作而发送的;所述搜索页面是基于所述目标空间中搜索到的待入网设备而显示的;或,若检测到针对所述智能设备本身触发的第二查找指令,则向所述用户终端发送广播消息,以使所述用户终端对所述搜索页面中与所述智能设备对应的设备标识进行突出显示;接收所述用户终端发送的配网消息,并基于所述配网消息连接至目标网络。According to one aspect of the present application, a device network configuration method includes: if a smart device detects a first search instruction sent by a user terminal, it responds to the first search instruction; the first search instruction is sent by the user terminal when it detects that a search operation is triggered on a device identifier corresponding to the smart device on a search page; the search page is displayed based on the devices to be connected to the network searched in the target space; or, if a second search instruction triggered for the smart device itself is detected, a broadcast message is sent to the user terminal to enable the user terminal to highlight the device identifier corresponding to the smart device in the search page; the network configuration message sent by the user terminal is received, and the target network is connected based on the network configuration message.
根据本申请的一个方面,一种设备配网装置,应用于目标空间中的智能设备,所述方法包括:第一检测模块,用于若检测到用户终端发送的第一查找指令,则对所述第一查找指令进行响应;所述第一查找指令是所述用户终端检测到在搜索页面对与所述智能设备对应的设备标识触发了查找操作而发送的;所述搜索页面是基于所述目标空间中搜索到的待入网设备而显示的;或第二检测模块,用于若检测到针对所述智能设备本身触发的第二查找指令,则向所述用户终端发送广播消息,以使所述用户终端对所述搜索页面中与所述智能设备对应的设备标识进行突出显示;消息接收模块,用于接收所述用户终端发送的配网消息,并基于所述配网消息连接至目标网络。According to one aspect of the present application, a device network configuration apparatus is applied to smart devices in a target space, and the method includes: a first detection module, which is used to respond to a first search instruction sent by a user terminal if a first search instruction is detected; the first search instruction is sent by the user terminal when it detects that a search operation is triggered on a device identifier corresponding to the smart device on a search page; the search page is displayed based on the devices to be connected to the network searched in the target space; or a second detection module, which is used to send a broadcast message to the user terminal if a second search instruction triggered for the smart device itself is detected, so that the user terminal highlights the device identifier corresponding to the smart device in the search page; a message receiving module, which is used to receive a network configuration message sent by the user terminal, and connect to the target network based on the network configuration message.
在一示例性实施例中,所述设备配网装置还包括:配网模块,用于响应于所述第一查找指令或第二查找指令,向所述用户终端发送针对所述智能设备的配网类型消息。In an exemplary embodiment, the device network configuration apparatus further includes: a network configuration module, configured to send a network configuration type message for the smart device to the user terminal in response to the first search instruction or the second search instruction.
根据本申请的一个方面,一种电子设备,包括至少一个处理器以及至少一个存储器,其中,所述存储器上存储有程序指令或代码;所述程序指令或代码被所述处理器加载并执行,使得电子设备实现如上所述的设备配网方法。According to one aspect of the present application, an electronic device includes at least one processor and at least one memory, wherein the memory stores program instructions or codes; the program instructions or codes are loaded and executed by the processor, so that the electronic device implements the device network configuration method as described above.
根据本申请的一个方面,一种存储介质,其上存储有程序指令或代码,所述程序指令或代码被处理器加载并执行,以实现如上所述的设备配网方法。According to one aspect of the present application, a storage medium stores program instructions or codes thereon, and the program instructions or codes are loaded and executed by a processor to implement the device network configuration method as described above.
根据本申请的一个方面,一种计算机程序产品,计算机程序产品包括程序指令或代码,程序指令或代码存储在存储介质中,电子设备的处理器从存储介质读取程序指令或代码,加载并执行该程序指令或代码,使得电子设备实现如上所述的设备配网方法。According to one aspect of the present application, a computer program product includes program instructions or codes, the program instructions or codes are stored in a storage medium, a processor of an electronic device reads the program instructions or codes from the storage medium, loads and executes the program instructions or codes, so that the electronic device implements the device network configuration method as described above.
本申请提供的技术方案带来的有益效果是:The beneficial effects of the technical solution provided by this application are:
在上述技术方案中,基于在目标空间中搜索到的待入网设备显示搜索页面;响应于对选中的设备标识触发的查找操作,进行正向查找和反向查找。并响应于对已响应的目标设备触发的选中操作,向选中的目标设备发送配网消息,以指示选中的目标设备基于配网消息连接至目标网络。可见,通过正向查找和反向查找向用户指示搜索页面中各设备标识与实际设备的对应关系,以帮助用户快速识别和定位待配网设备,并基于配网消息使得待配网设备能够适配于多种网络类型的配网,从而能够有效解决现有技术中存在的设备配网的成功率低、配网效率低的问题。In the above technical solution, a search page is displayed based on the devices to be connected to the network that are searched in the target space; forward search and reverse search are performed in response to the search operation triggered by the selected device identifier. And in response to the selection operation triggered by the responded target device, a network configuration message is sent to the selected target device to indicate that the selected target device is connected to the target network based on the network configuration message. It can be seen that the correspondence between each device identifier in the search page and the actual device is indicated to the user through forward search and reverse search, so as to help the user quickly identify and locate the devices to be configured, and based on the network configuration message, the devices to be configured can be adapted to the configuration of various network types, thereby effectively solving the problems of low success rate and low efficiency of device configuration in the prior art.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对本申请实施例描述中所需要使用的附图作简单地介绍。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
图1是根据本申请所涉及的实施环境的示意图;FIG1 is a schematic diagram of an implementation environment involved in the present application;
图2是根据一示例性实施例示出的一种设备配网方法的流程图;FIG2 is a flow chart of a device network configuration method according to an exemplary embodiment;
图3a是图2对应实施例中步骤210在一个实施例的流程图;FIG3a is a flow chart of step 210 in the embodiment corresponding to FIG2 in one embodiment;
图3b是根据一示例性实施例示出的的搜索页面的具体实现示意图;FIG3b is a schematic diagram showing a specific implementation of a search page according to an exemplary embodiment;
图4a是图2对应实施例中步骤210在一个实施例的流程图;FIG4a is a flow chart of step 210 in the embodiment corresponding to FIG2 in one embodiment;
图4b是根据一示例性实施例示出的的搜索页面的具体实现示意图;FIG4b is a schematic diagram showing a specific implementation of a search page according to an exemplary embodiment;
图5是图2对应实施例中步骤230在一个实施例的流程图;FIG5 is a flow chart of step 230 in one embodiment of the embodiment corresponding to FIG2;
图6a是根据一示例性实施例示出的另一种设备配网方法的流程图;FIG6a is a flow chart of another device network configuration method according to an exemplary embodiment;
图6b是根据一示例性实施例示出的的二次确认页面的具体实现示意图;FIG6b is a schematic diagram showing a specific implementation of a secondary confirmation page according to an exemplary embodiment;
图7是根据一示例性实施例示出的另一种设备配网方法的流程图;FIG7 is a flow chart of another device network configuration method according to an exemplary embodiment;
图8是根据一示例性实施例示出的另一种设备配网方法的流程图;FIG8 is a flow chart of another device network configuration method according to an exemplary embodiment;
图9a是根据一示例性实施例示出的一种设备配网方法的流程图;FIG9a is a flow chart of a device network configuration method according to an exemplary embodiment;
图9b是图9a对应实施例所涉及的配网进程显示页面的具体实现示意图;FIG9b is a schematic diagram of a specific implementation of a network configuration process display page involved in the embodiment corresponding to FIG9a;
图10a是一应用场景中一种设备配网方法的具体实现示意图;FIG10a is a schematic diagram showing a specific implementation of a device network configuration method in an application scenario;
图10b是一应用场景中一种设备配网方法的具体实现流程图;FIG10b is a flowchart showing a specific implementation of a device network configuration method in an application scenario;
图11是根据一示例性实施例示出的一种设备配网装置的结构框图;FIG11 is a structural block diagram of a device network configuration apparatus according to an exemplary embodiment;
图12是根据一示例性实施例示出的一种设备配网装置的结构框图;FIG12 is a structural block diagram of a device network configuration apparatus according to an exemplary embodiment;
图13是根据一示例性实施例示出的一种电子设备的硬件结构图;FIG13 is a hardware structure diagram of an electronic device according to an exemplary embodiment;
图14是根据一示例性实施例示出的另一种电子设备的硬件结构图;FIG14 is a hardware structure diagram of another electronic device according to an exemplary embodiment;
图15是根据一示例性实施例示出的一种电子设备的结构框图。Fig. 15 is a structural block diagram of an electronic device according to an exemplary embodiment.
具体实施方式DETAILED DESCRIPTION
下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本申请,而不能解释为对本申请的限制。The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be interpreted as limiting the present application.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本申请的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全部或任一单元和全部组合。It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and/or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and/or" used herein includes all or any unit and all combinations of one or more associated listed items.
如前所述,现有技术中在进行入网操作时需要通过手机APP连接智能设备发出的热点信号进行入网绑定,但是手机App和智能设备的对应关系对于用户是不透明的,在进行配网时容易操作失误,导致配网成功率低,效率低。且现有智能家居设备适配的网络种类繁多复杂,不同的智能家居设备适配的网络种类和数量都不同。现有配网方法中或者没有采用蓝牙BLE通信方式,或者是采用蓝牙BLE通信方式的配网类型仅局限于蓝牙Mesh网络,无法满足其他有线或无线网络的配网,且缺少正向或反向的设备查找功能。在配网时配网类型局限于少数网络的情况,导致配网效率低。As mentioned above, in the prior art, when performing network access operations, it is necessary to connect to the hotspot signal emitted by the smart device through a mobile phone APP to perform network binding. However, the correspondence between the mobile phone App and the smart device is not transparent to the user, and it is easy to make operational errors when performing network configuration, resulting in a low network configuration success rate and low efficiency. In addition, the types of networks that existing smart home devices are adapted to are numerous and complex, and different smart home devices are adapted to different types and quantities of networks. In the existing network configuration methods, either the Bluetooth BLE communication method is not adopted, or the network configuration type that adopts the Bluetooth BLE communication method is limited to the Bluetooth Mesh network, which cannot meet the network configuration of other wired or wireless networks, and lacks forward or reverse device search functions. When configuring the network, the network configuration type is limited to a few networks, resulting in low network configuration efficiency.
由上可知,相关技术中仍存在设备配网的成功率低、配网效率低的缺陷。As can be seen from the above, the related technology still has the defects of low success rate of equipment network distribution and low network distribution efficiency.
为此,本申请提供的设备配网方法,能够有效地提升设备配网的成功率和效率,相应地,该设备配网方法适用于设备配网装置,该设备配网装置可部署于电子设备,该电子设备可以是配置冯诺依曼体系结构的计算机设备,例如,该计算机设备包括台式电脑、笔记本电脑、服务器等;该电子设备可以是具有中控功能的电子设备,例如,该电子设备包括网关等;该电子设备还可以是便携移动的电子设备,例如,该电子设备包括智能手机、平板电脑等。To this end, the device network configuration method provided in the present application can effectively improve the success rate and efficiency of device network configuration. Accordingly, the device network configuration method is applicable to a device network configuration device, which can be deployed on an electronic device. The electronic device can be a computer device configured with a von Neumann architecture, for example, the computer device includes a desktop computer, a laptop computer, a server, etc.; the electronic device can be an electronic device with a central control function, for example, the electronic device includes a gateway, etc.; the electronic device can also be a portable and mobile electronic device, for example, the electronic device includes a smart phone, a tablet computer, etc.
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application more clear, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
图1为一种设备配网方法所涉及的实施环境的示意图。该实施环境至少包括用户终端110、智能设备130、服务器端170、以及网络设备,在图1中,网络设备包括网关150和路由器190,此处并非对此构成具体限定。Fig. 1 is a schematic diagram of an implementation environment involved in a device network configuration method. The implementation environment includes at least a user terminal 110, a smart device 130, a server 170, and a network device. In Fig. 1, the network device includes a gateway 150 and a router 190, which is not specifically limited here.
其中,用户终端110,也可以认为是用户端或者终端,可进行与智能设备130绑定的客户端的部署(也理解为安装),此用户终端110可以是智能手机、平板电脑、笔记本电脑、台式电脑、智能控制面板、其他具有显示和控制功能的设备等电子设备,在此不进行限定。Among them, the user terminal 110, which can also be considered as a user end or terminal, can deploy (also understood as install) the client bound to the smart device 130. This user terminal 110 can be an electronic device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart control panel, other devices with display and control functions, etc., which are not limited here.
其中,客户端,与智能设备130绑定,实质是指用户在客户端中进行账户注册,并在客户端中对智能设备130进行配置,例如,该配置包括为智能设备130添加设备标识等,以使得用户终端110中运行客户端时,能够为用户提供关于智能设备130的设备显示、设备控制等功能,此客户端可以是应用程序形式,也可以是网页形式,相应地,客户端进行设备显示的界面则可以是程序窗口形式,还可以是网页页面形式的,此处也并未加以限定。Among them, the client is bound to the smart device 130, which actually means that the user registers an account in the client and configures the smart device 130 in the client. For example, the configuration includes adding a device identification to the smart device 130, so that when the client is run in the user terminal 110, it can provide the user with device display, device control and other functions about the smart device 130. This client can be in the form of an application or a web page. Correspondingly, the interface for device display on the client can be in the form of a program window or a web page, which is not limited here.
智能设备130部署在网关150中,并通过其自身所配置的通信模块与网关150通信,进而受控于网关150。应当理解,智能设备130泛指多个智能设备130中的一个,本申请实施例仅以智能设备130举例说明,也即是,本申请实施例对部署在网关150中的智能设备的数量和设备类型并未加以限定。在一个应用场景中,智能设备130通过局域网络接入网关150,从而部署于网关150中。智能设备130通过局域网络接入网关150的过程包括:由网关150首先建立一个局域网络,智能设备130通过连接该网关150,从而加入该网关150建立的局域网络中。此局域网络包括但不限于:ZIGBEE或者蓝牙。其中,智能设备130可以是智能打印机、智能传真机、智能摄像机、智能空调、智能门锁、智能灯或者配置了通信模块的人体传感器、门窗传感器、温湿度传感器、水浸传感器、天然气报警器、烟雾报警器、墙壁开关、墙壁插座、无线开关、无线墙贴开关、魔方控制器、窗帘电机、毫米波雷达等。The smart device 130 is deployed in the gateway 150, and communicates with the gateway 150 through its own configured communication module, and is then controlled by the gateway 150. It should be understood that the smart device 130 generally refers to one of the multiple smart devices 130, and the embodiment of the present application only takes the smart device 130 as an example, that is, the embodiment of the present application does not limit the number and device type of smart devices deployed in the gateway 150. In an application scenario, the smart device 130 accesses the gateway 150 through a local area network, and is thus deployed in the gateway 150. The process of the smart device 130 accessing the gateway 150 through the local area network includes: the gateway 150 first establishes a local area network, and the smart device 130 joins the local area network established by the gateway 150 by connecting to the gateway 150. This local area network includes, but is not limited to: ZIGBEE or Bluetooth. Among them, the smart device 130 can be a smart printer, a smart fax machine, a smart camera, a smart air conditioner, a smart door lock, a smart light, or a human body sensor equipped with a communication module, a door and window sensor, a temperature and humidity sensor, a water immersion sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a wireless switch, a wireless wall sticker switch, a magic cube controller, a curtain motor, a millimeter wave radar, etc.
用户终端110与智能设备130之间的交互,可以通过局域网络实现,还可以通过广域网络实现。在一个应用场景中,用户终端110通过路由器190与网关150之间建立有线或者无线等方式的通信连接,例如,该有线或者无线等方式包括但不限于WIFI等,使得用户终端110与网关150部署于同一个局域网络,进而使得用户终端110可通过局域网络路径实现与智能设备130之间的交互。在另一个应用场景中,用户终端110通过服务器端170与网关150之间建立有线或者无线等方式的通信连接,例如,该有线或者无线等方式包括但不限于2G、3G、4G、5G、WIFI等,使得用户终端110与网关150部署于同一个广域网络,进而使得用户终端110可通过广域网络路径实现与智能设备130之间的交互。The interaction between the user terminal 110 and the smart device 130 can be achieved through a local area network or a wide area network. In one application scenario, the user terminal 110 establishes a communication connection between the router 190 and the gateway 150 in a wired or wireless manner. For example, the wired or wireless manner includes but is not limited to WIFI, so that the user terminal 110 and the gateway 150 are deployed in the same local area network, so that the user terminal 110 can interact with the smart device 130 through the local area network path. In another application scenario, the user terminal 110 establishes a communication connection between the server 170 and the gateway 150 in a wired or wireless manner. For example, the wired or wireless manner includes but is not limited to 2G, 3G, 4G, 5G, WIFI, etc., so that the user terminal 110 and the gateway 150 are deployed in the same wide area network, so that the user terminal 110 can interact with the smart device 130 through the wide area network path.
其中,服务器端170,也可以认为是云端、云平台、平台端、服务端等等,此服务器端170可以是一台服务器,也可以是由多台服务器构成的一个服务器集群,或者是由多台服务器构成的云计算中心,以便于更好地向海量用户终端110提供后台服务。例如,后台服务包括设备配网服务。The server end 170 may also be considered as a cloud, a cloud platform, a platform end, a service end, etc. The server end 170 may be a server, a server cluster consisting of multiple servers, or a cloud computing center consisting of multiple servers, so as to better provide background services to a large number of user terminals 110. For example, the background service includes a device network configuration service.
在一个应用场景,用户终端110基于目标空间中搜索到的待入网设备,在搜索页面中显示这些待入网设备的设备标识,在搜索页面中对这些设备标识对应的实际设备(即目标设备)进行正向查找和反向查找,更加有效且直观地指示设备标识与目标空间中的目标设备之间的对应关系,进而为用户提供更有效地设备配网服务,即向选中的目标设备发送配网消息,以指示目标设备基于配网消息连接至目标网络。In an application scenario, the user terminal 110 displays the device identifications of the devices to be connected to the network in the search page based on the devices to be connected to the network searched in the target space, and performs forward and reverse searches on the actual devices (i.e., target devices) corresponding to these device identifications in the search page, thereby more effectively and intuitively indicating the correspondence between the device identifications and the target devices in the target space, thereby providing users with more effective device network configuration services, i.e., sending a network configuration message to the selected target device to instruct the target device to connect to the target network based on the network configuration message.
当然,在其他应用场景中,上述由用户终端110完成的设备配网的过程也可以由网关150或服务器端170实现,此时,在网关150或服务器端170确定目标设备后,再通过局域网路径或广域网路径将相应的配网消息发送至目标设备,以便于目标设备基于该配网消息连接至目标网络。Of course, in other application scenarios, the above-mentioned device network configuration process completed by the user terminal 110 can also be implemented by the gateway 150 or the server 170. At this time, after the gateway 150 or the server 170 determines the target device, the corresponding network configuration message is sent to the target device through the local area network path or the wide area network path, so that the target device can connect to the target network based on the network configuration message.
请参阅图2,本申请实施例提供了一种设备配网方法,该方法适用于电子设备,该电子设备可以是图1所示出实施环境中的用户终端110。Please refer to FIG. 2 . An embodiment of the present application provides a device network configuration method. The method is applicable to an electronic device, which may be a user terminal 110 in the implementation environment shown in FIG. 1 .
在下述方法实施例中,为了便于描述,以该方法各步骤的执行主体为电子设备为例进行说明,但是并非对此构成具体限定。In the following method embodiments, for ease of description, the execution subject of each step of the method is taken as an electronic device as an example for illustration, but this does not constitute a specific limitation.
如图2所示,该方法可以包括以下步骤:As shown in FIG. 2 , the method may include the following steps:
步骤210,基于在目标空间中搜索到的待入网设备显示搜索页面。Step 210: Display a search page based on the devices to be connected to the network that are searched in the target space.
其中,搜索页面包括至少一个设备标识。设备标识用于表示已搜索得到的目标空间中的待入网设备。The search page includes at least one device identifier, which is used to indicate the device to be connected to the network in the searched target space.
其中,搜索页面是在用户终端中显示的用于与用户进行交互的界面。用户通过搜索页面获取用户终端搜索得到的待入网设备或确定需要进行入网的待入网设备。The search page is an interface displayed in the user terminal for interacting with the user. The user obtains the network access devices searched by the user terminal or the network access devices that need to be accessed through the search page.
首先说明的是,目标空间可以是各种场景中设置的房间或者区域,例如,在智能家居场景中,目标空间可以具体指智能家居场景中设置的客厅、卧室、书房、餐厅、厨房等,也可以是将涵盖客厅、卧室、书房、餐厅、厨房等的家庭作为目标空间,或者,还可以将客厅视为会客区域,餐厅视为用餐区域,以此得到不同的目标空间。相应地,在目标空间中存在具有配网功能的智能设备,可以视为待入网设备,例如,待入网设备可以包括智能家居网关、智能家居中枢、智能灯泡、智能插座、智能开关、智能门锁、智能摄像头等。First of all, it should be noted that the target space can be a room or area set in various scenarios. For example, in a smart home scenario, the target space can specifically refer to the living room, bedroom, study, dining room, kitchen, etc. set in the smart home scenario, or a family covering the living room, bedroom, study, dining room, kitchen, etc. can be used as the target space, or the living room can be regarded as a reception area and the dining room as a dining area, so as to obtain different target spaces. Accordingly, there are smart devices with network distribution functions in the target space, which can be regarded as devices to be connected to the network. For example, the devices to be connected to the network can include smart home gateways, smart home hubs, smart bulbs, smart sockets, smart switches, smart door locks, smart cameras, etc.
在一种可能的实现方式,待入网设备是通过设备搜索得到的,具体可以是指,通过蓝牙BLE对目标空间进行搜索,获取目标空间中具有蓝牙BLE连接功能的智能设备,对连接到的智能设备进行检索,并显示在前端页面上。In one possible implementation, the device to be connected to the network is obtained through a device search, which may specifically mean searching the target space through Bluetooth BLE, obtaining smart devices with Bluetooth BLE connection function in the target space, retrieving the connected smart devices, and displaying them on the front-end page.
在一种可能的实现方式,在设备搜索过程中可以得到待入网设备的相关信息,该信息可以包括待入网设备的唯一标识信息、设备类型、厂商信息、入网是否需要二次确认、是否支持正向查找等等。由此,对于搜索得到的待入网设备,便能够基于待入网设备的唯一标识信息确定该待入网设备的设备标识。In a possible implementation, relevant information of the device to be connected to the network can be obtained during the device search process, and the information may include unique identification information of the device to be connected to the network, device type, manufacturer information, whether secondary confirmation is required for network access, whether forward search is supported, etc. Thus, for the device to be connected to the network obtained by the search, the device identification of the device to be connected to the network can be determined based on the unique identification information of the device to be connected to the network.
在一种可能的实现方式,关于触发进行待入网设备进行设备搜索的方式可以包括主动触发方式和被动触发方式。其中,主动触发方式是指由电子设备主动进行设备搜索,而被动触发方式则是指在用户的指示下方才进行设备搜索。In a possible implementation, the method of triggering the device to be connected to the network to search for a device may include an active triggering method and a passive triggering method. The active triggering method refers to the electronic device actively searching for a device, while the passive triggering method refers to searching for a device only under the instruction of the user.
步骤230,响应于对选中的设备标识触发的查找操作,向目标空间中与选中的设备标识对应的目标设备发送第一查找指令。Step 230 , in response to the search operation triggered by the selected device identifier, a first search instruction is sent to the target device corresponding to the selected device identifier in the target space.
其中,第一查找指令用于指示目标设备对第一查找指令进行响应。具体而言,第一查找指令可以表征用户终端对目标设备进行正向查找的指令。其中。正向查找是用户针对搜索页面中的设备标识触发用户终端发送指令,由目标设备响应用户终端下发的指令,以便于用户通过目标设备的响应确定设备标识与目标设备之间的对应关系。The first search instruction is used to instruct the target device to respond to the first search instruction. Specifically, the first search instruction can represent an instruction for the user terminal to perform a forward search on the target device. Forward search is when the user triggers the user terminal to send an instruction based on the device identifier in the search page, and the target device responds to the instruction issued by the user terminal, so that the user can determine the correspondence between the device identifier and the target device through the response of the target device.
用户可通过用户终端对选中的设备标识触发的查找操作,从而使得用户终端向选中的设备标识对应的目标设备发送第一查找指令,以指示目标设备对第一查找指令进行响应。The user may trigger a search operation on the selected device identifier through the user terminal, so that the user terminal sends a first search instruction to the target device corresponding to the selected device identifier to instruct the target device to respond to the first search instruction.
步骤250,接收目标空间中的目标设备响应于第二查找指令而发送的广播消息,并基于接收到的广播消息对搜索页面中与目标设备对应的设备标识进行突出显示。Step 250: receiving a broadcast message sent by a target device in the target space in response to a second search instruction, and highlighting a device identifier corresponding to the target device in the search page based on the received broadcast message.
其中,第二查找指令为在目标设备处触发的,用于指示目标设备对用户终端进行反向查找的指令。The second search instruction is triggered at the target device and is used to instruct the target device to perform a reverse search on the user terminal.
其中,广播消息为用户终端向用户终端发出的信号,当满足预设条件时,目标发送广播消息,所述广播消息包含目标设备的设备标识信息。The broadcast message is a signal sent from one user terminal to another user terminal. When a preset condition is met, the target sends a broadcast message, and the broadcast message includes device identification information of the target device.
如前述,目标设备可以在接收第二查找指令后,开启用于指示反向查找的广播行为。当然,开启该类广播的触发条件还可为其他方式,例如设置开启该类广播的周期或者其他根据实际场景对应设置的条件等。As mentioned above, the target device can start broadcasting behavior for indicating reverse search after receiving the second search instruction. Of course, the triggering condition for starting such broadcasting can also be other ways, such as setting a cycle for starting such broadcasting or other conditions set according to actual scenarios.
具体而言,当目标设备根据第二查找指令进行反向查找时,通过广播的形式向目标空间中的设备发送包括自身设备标识信息的广播消息,进而指示进行接受到广播消息的用户终端,根据广播消息中的设备标识信息,将发送广播消息的待入网设备确定为需要进行配网的目标设备。Specifically, when the target device performs a reverse search according to the second search instruction, it sends a broadcast message including its own device identification information to the devices in the target space in the form of a broadcast, thereby instructing the user terminal that receives the broadcast message to determine the device to be connected that sends the broadcast message as the target device that needs to be configured for the network based on the device identification information in the broadcast message.
其中,反向查找是指用户触发目标设备发送广播,由用户终端响应,以便于用户确定设备标识与目标设备之间的对应关系。其中,广播消息包括对应目标设备的设备标识。基于此,对于不支持正向查找的设备,使得用户可以通过反向查找功能快速识别出与设备标识对应的目标空间中的实际设备。Reverse lookup means that the user triggers the target device to send a broadcast, and the user terminal responds, so that the user can determine the corresponding relationship between the device identifier and the target device. The broadcast message includes the device identifier of the corresponding target device. Based on this, for devices that do not support forward lookup, users can quickly identify the actual device in the target space corresponding to the device identifier through the reverse lookup function.
在一种可能的实现方式,对于支持反向查找的设备,若用户期望进行目标设备的查找,可以通过对目标设备执行按键单击、屏幕点击等触发第二查找指令的操作,触发目标设备通过蓝牙BLE方式向用户终端发送广播消息,例如,广播消息可以是特定格式的数据报文。一旦用户终端接收到数据报文,就根据数据报文中包含的信息更新对应目标设备的设备标识,并对设备标识进行闪烁、标记等突出显示,以便用户可以快速识别目标设备在用户终端中设备标识的对应关系。In a possible implementation, for a device that supports reverse lookup, if the user wishes to search for a target device, the user can trigger the target device to send a broadcast message to the user terminal via Bluetooth BLE by performing a button click, screen click, or other operation to trigger the second search instruction. For example, the broadcast message can be a data message in a specific format. Once the user terminal receives the data message, the device identification of the corresponding target device is updated according to the information contained in the data message, and the device identification is highlighted by flashing, marking, or other means, so that the user can quickly identify the corresponding relationship between the target device and the device identification in the user terminal.
其中,数据报文可以是广播报文,还可以是单播报文,用户终端通过监听蓝牙BLE广播或单播通道,以便接收到目标设备发出的数据报文。在一种可能的实现方式,数据报文中携带有设备标识、设备类型、mac地址信息、厂商信息等信息。The data message can be a broadcast message or a unicast message. The user terminal receives the data message sent by the target device by monitoring the Bluetooth BLE broadcast or unicast channel. In a possible implementation, the data message carries information such as device identification, device type, mac address information, and manufacturer information.
步骤270,响应于对已响应的目标设备触发的选中操作,向选中的目标设备发送配网消息,以指示选中的目标设备基于配网消息连接至目标网络。Step 270 , in response to the selection operation triggered on the responded target device, sending a network configuration message to the selected target device to instruct the selected target device to connect to the target network based on the network configuration message.
其中,配网消息为包含目标设备进行配网所需的配网信息的消息,其存在的形式可以是广播或组播数据报文等。The network configuration message is a message containing the network configuration information required by the target device for network configuration, and may exist in the form of a broadcast or multicast data message or the like.
通过正向查找或反向查找,在待匹配设备中确定至少一个已响应的目标设备,假设用户希望对其中一个已响应的目标设备进行配网,可以在搜索页面中选中该目标设备对应的设备标识,以指示用户终端与该目标设备进行交互,实现目标设备的配网。例如,用户终端可以使用内置的蓝牙通信API,与选中的目标设备建立连接,并通过该连接将配网消息传输至目标设备,使得目标设备基于该配网消息连接至目标网络。Through forward search or reverse search, at least one target device that has responded is determined among the devices to be matched. If the user wants to configure the network for one of the target devices that have responded, the device identifier corresponding to the target device can be selected in the search page to instruct the user terminal to interact with the target device to implement the network configuration of the target device. For example, the user terminal can use the built-in Bluetooth communication API to establish a connection with the selected target device, and transmit the network configuration message to the target device through the connection, so that the target device is connected to the target network based on the network configuration message.
在此说明的是,配网消息用于指示目标设备接入目标网络所需的信息以及具体配网过程。It is explained here that the network configuration message is used to indicate the information required for the target device to access the target network and the specific network configuration process.
通过上述过程,在通过对目标空间中的目标设备进行正向查找和/或反向查找,向用户指示目标设备与搜索页面中设备标识的对应关系,可以快速帮助用户确定目标设备。通过用户终端与目标设备的直接交互进行配网,提高配网准确性和配网效率。Through the above process, by forward searching and/or reverse searching the target device in the target space, the corresponding relationship between the target device and the device identifier in the search page is indicated to the user, which can quickly help the user determine the target device. The network is configured through direct interaction between the user terminal and the target device, which improves the accuracy and efficiency of network configuration.
在一种示例性实施例中,如图3a所示,主动触发方式具体可以包括以下步骤:In an exemplary embodiment, as shown in FIG3a , the active triggering method may specifically include the following steps:
步骤211,对目标空间中的待入网设备进行搜索。Step 211, searching for devices to be connected to the network in the target space.
其中,用户终端通过与目标空间中的待入网设备建立连接后,确定目标空间中所有的待入网设备,例如,通过蓝牙ble连接搜索目标空间中同样具有蓝牙ble连接功能的待入网设备。Among them, after the user terminal establishes a connection with the device to be connected in the target space, it determines all the devices to be connected in the target space. For example, it searches for the device to be connected in the target space that also has the Bluetooth Ble connection function through the Bluetooth Ble connection.
步骤213,若搜索到待入网设备,则显示搜索页面,并在搜索页面显示搜索到的待入网设备的设备标识。Step 213: If the device to be connected to the network is found, a search page is displayed, and the device identifier of the device to be connected to the network is displayed on the search page.
其中,设备标识是搜索页面对应各待入网设备的设备标识信息生成的具有唯一性的可交互组件。The device identification is a unique interactive component generated by the search page based on the device identification information of each device to be connected to the network.
具体而言,通过对待入网设备进行搜索,获取目标空间中可以接入网络的智能设备,与搜索到的智能设备建立连接,获取每个待入网设备对应的设备标识信息,并针对每个设备在搜索页面生成唯一对应的设备标识。Specifically, by searching for devices to be connected to the network, obtaining smart devices that can access the network in the target space, establishing connections with the searched smart devices, obtaining device identification information corresponding to each device to be connected to the network, and generating a unique corresponding device identification for each device on the search page.
例如,如图3b所示,图3b展示了搜索页面在一个实施例中的示意图,在开启配网过程时,搜索窗口310通过蓝牙BLE搜索目标空间中具有蓝牙BLE连接功能的设备,并在搜索页面中的搜索窗口330显示搜索得到的各设备的设备标识,包括智能马桶,筒射灯T3,温控伴侣等智能家居设备的设备标识。同时,可以通过手动输入窗口350用户手动输入设备标识已添加智能家居设备,或对智能家居设备进行分类。For example, as shown in FIG3b, FIG3b shows a schematic diagram of a search page in an embodiment. When the network configuration process is started, the search window 310 searches for devices with Bluetooth BLE connection function in the target space through Bluetooth BLE, and displays the device identification of each device obtained by the search in the search window 330 in the search page, including the device identification of smart home devices such as smart toilet, downlight T3, and temperature control companion. At the same time, the user can manually input the device identification through the manual input window 350 to add smart home devices or classify smart home devices.
本实施例中,通过上述过程,可以实现对待入网设备的主动搜索,提高设备配网的效率。In this embodiment, through the above process, active search for devices to be connected to the network can be achieved, thereby improving the efficiency of device network configuration.
在一示例性实施例中,如图4a所示,被动触发方式具体可以包括以下步骤:In an exemplary embodiment, as shown in FIG4a , the passive triggering method may specifically include the following steps:
步骤215,显示搜索页面,在搜索页面触发对目标空间中待入网设备的搜索。Step 215, displaying a search page, triggering a search for devices to be connected to the network in the target space on the search page.
具体而言,用户终端在显示搜索页面后,用户可以在搜索页面触发搜索操作,以主动进行对目标空间中待入网设备进行搜索,根据搜索结果对搜索页面中的设备标识进行更新。Specifically, after the user terminal displays the search page, the user can trigger a search operation on the search page to actively search for devices to be connected to the network in the target space, and update the device identification on the search page according to the search results.
步骤217,将搜索到的待入网设备的设备标识显示在搜索页面。Step 217: Display the device identification of the device to be connected to the network that is searched on the search page.
用户终端在搜索到的待入网设备后,则将搜索到的待入网设备的设备标识显示在搜索页面。例如,如图4b所示,图4b展示了搜索页面在一个实施例中的示意图,响应于在搜索页面触发的搜索操作,通过蓝牙BLE搜索目标空间中具有蓝牙BLE连接功能的设备,针对搜索得到的各设备生成设备标识并在搜索页面中的搜索窗口410更新显示的设备标识,包括图中智能马桶,筒射灯T3、温控伴侣等设备标识。After the user terminal searches for the device to be connected to the network, the device identification of the searched device to be connected to the network is displayed on the search page. For example, as shown in FIG4b, FIG4b shows a schematic diagram of a search page in one embodiment. In response to a search operation triggered on the search page, the device with a Bluetooth BLE connection function in the target space is searched through Bluetooth BLE, and a device identification is generated for each device searched and updated in the search window 410 of the search page. The device identification includes the device identifications of the smart toilet, the downlight T3, the temperature control companion, etc.
通过上述过程,通过自动触发方式或被动触发方式实现对待入网设备进行设备搜索,实现设备快速搜索,保证设备配网效率,提高配网成功率。Through the above process, the device search for the device to be connected to the network is realized through automatic triggering or passive triggering, the device is quickly searched, the efficiency of device network distribution is guaranteed, and the success rate of network distribution is improved.
在一示例性实施例中,如图5所示,步骤230可以包括以下步骤:In an exemplary embodiment, as shown in FIG5 , step 230 may include the following steps:
步骤231,在搜索页面中,显示与至少一个设备标识关联的查找入口。Step 231: Display a search entry associated with at least one device identifier on the search page.
其中,查找入口是设置在搜索页面中的交互区域,The search entry is an interactive area set in the search page.
若用户期望查找可进行配网的目标设备,便可在该查找入口触发查找操作,从而指示用户终端在待入网设备中确定目标设备,进而在搜索页面中显示与待入网设备对应的设备标识。其中,该搜索页面中包括用户终端搜索得到的待入网设备的设备标识。可以理解,每个设备标识有与之对应的待入网设备。If the user wishes to find a target device that can be networked, the search operation can be triggered in the search entry, thereby instructing the user terminal to determine the target device among the devices to be networked, and then displaying the device identification corresponding to the device to be networked in the search page. The search page includes the device identification of the device to be networked obtained by the user terminal. It can be understood that each device identification has a corresponding device to be networked.
步骤233,响应于对与选中的设备标识关联的查找入口触发的查找操作,向目标空间中与选中的设备标识对应的目标设备发送第一查找指令。Step 233: In response to a search operation triggered on a search entry associated with the selected device identifier, a first search instruction is sent to a target device corresponding to the selected device identifier in the target space.
其中,第一查找指令是用户终端下发至待入网设备中目标设备的指令,用于指示目标设备在接受到第一查找指令后根据预先存储的响应方式进行响应。The first search instruction is an instruction sent by the user terminal to a target device among the devices to be connected to the network, and is used to instruct the target device to respond according to a pre-stored response method after receiving the first search instruction.
在一种可能的实现方式,对于支持正向查找的设备,用户终端在搜索页面中对应的设备标识处显示一个与该设备关联的查找入口。若用户期望进行目标设备的查找,可以通过用户终端在搜索页面选中设备标识对应的查找入口,在搜索页面中的查找入口被用户选中后,与选中的查找入口相关联的设备便被确定为目标设备,此时,便可以通过用户终端向该目标设备发送第一查找指令,从而针对与查找入口关联的设备进行正向查找,以使用户确定需要进行配网的目标空间中的实际设备。其中,选中操作可以视为查找入口触发的查找操作。In one possible implementation, for devices that support forward search, the user terminal displays a search entry associated with the device at the corresponding device identifier in the search page. If the user wishes to search for the target device, the user terminal can select the search entry corresponding to the device identifier in the search page. After the search entry in the search page is selected by the user, the device associated with the selected search entry is determined as the target device. At this time, the user terminal can send a first search instruction to the target device, thereby performing a forward search for the device associated with the search entry, so that the user can determine the actual device in the target space that needs to be configured. Among them, the selection operation can be regarded as a search operation triggered by the search entry.
对于目标设备而言,便能够接收到电子设备发送的第一查找指令,进而针对该第一查找指令做出响应。在一种可能的实现方式,目标设备做出的响应包括声音、灯光、视频画面变化等。那么,通过目标设备做出的响应,用户便基于正向查找功能快速识别出与设备标识对应的目标空间中的实际设备。For the target device, it can receive the first search instruction sent by the electronic device, and then respond to the first search instruction. In a possible implementation, the response made by the target device includes sound, light, video screen change, etc. Then, through the response made by the target device, the user can quickly identify the actual device in the target space corresponding to the device identifier based on the forward search function.
在此补充说明的是,正向查找需要目标设备与用户终端之间有通信协议,用户终端通过通信协议向目标设备发送第一查找指令,并接收目标设备返回的针对第一查找指令的响应。在一些实施例中,通信协议可以是无需进行连接的广播或组播数据报文形式的通信协议,或者是需要建立连接的通信协议,包括连接建立、数据传输和断开连接等过程。It is additionally noted that the forward search requires a communication protocol between the target device and the user terminal, and the user terminal sends a first search instruction to the target device through the communication protocol, and receives a response to the first search instruction returned by the target device. In some embodiments, the communication protocol can be a communication protocol in the form of a broadcast or multicast data message that does not require a connection, or a communication protocol that requires a connection, including processes such as connection establishment, data transmission, and disconnection.
通过上述过程,实现通过第一查找指令进行正向查找,加强了用户与用户终端的交互,实现根据用户需求进行目标设备查找,可以快速帮助用户确定目标设备,提高配网准确性和配网效率。Through the above process, forward search is achieved through the first search instruction, the interaction between the user and the user terminal is strengthened, and the target device search is achieved according to the user's needs, which can quickly help the user determine the target device and improve the accuracy and efficiency of network distribution.
在一示例性实施例中,如图6a所示,步骤270之前,方法还可以包括以下步骤:In an exemplary embodiment, as shown in FIG. 6a , before step 270, the method may further include the following steps:
步骤410,若检测到选中的目标设备需要二次确认,则显示二次确认页面。Step 410: If it is detected that the selected target device requires secondary confirmation, a secondary confirmation page is displayed.
其中,二次确认用于确定选中的目标设备是否正确。The second confirmation is used to determine whether the selected target device is correct.
在一种可能的实现方式,用户选中某个设备进行配网后,被选中的目标设备通过对其进行本体进行按键确认操作,或者需要对其进行扫码确认操作,以便二次确认自身为用户选中的目标设备。In a possible implementation, after the user selects a device for network configuration, the selected target device confirms itself as the target device selected by the user by pressing a button on its body or scanning a code for confirmation.
在一种可能的实现方式,通过配对码对选中的目标设备进行二次确认。该配对码可以是二维码、条形码、验证码、密码等等。In a possible implementation, the selected target device is re-confirmed through a pairing code, which may be a QR code, a barcode, a verification code, a password, and the like.
例如,如图6b所示,图中左侧示出通过二维码进行二次确认的二次确认页面和右侧示出通过配对码进行二次确认的二次确认页面。在显示二次确认页面后,通过目标设备生成二维码,或生成验证码进行两次确认,当用户获取目标设备生成的二维码或验证码后,通过左侧扫描窗口610输入二维码,或通过右侧按键窗口630输入验证码进行确认操作。For example, as shown in Figure 6b, the left side of the figure shows a secondary confirmation page for secondary confirmation through a QR code and the right side of the figure shows a secondary confirmation page for secondary confirmation through a pairing code. After the secondary confirmation page is displayed, a QR code is generated by the target device, or a verification code is generated for double confirmation. After the user obtains the QR code or verification code generated by the target device, the user enters the QR code through the left scanning window 610, or enters the verification code through the right key window 630 to perform the confirmation operation.
步骤430,响应于在二次确认页面触发的确认操作,获得选中的目标设备的第一配对码。Step 430 : In response to the confirmation operation triggered on the secondary confirmation page, a first pairing code of the selected target device is obtained.
继续以上述例子说明,在图6b中,第一配对码可以是通过用户终端对目标设备进行扫描得到的二维码,还可以是用户通过目标设备得到的具有配对功能的字符串。第一配对码可以通过在目标设备上进行显示,使得用户终端通过获取目标设备的第一配对码与目标设备进行实际交互。Continuing with the above example, in FIG6b, the first pairing code may be a QR code obtained by scanning the target device by the user terminal, or may be a string with a pairing function obtained by the user through the target device. The first pairing code may be displayed on the target device, so that the user terminal actually interacts with the target device by obtaining the first pairing code of the target device.
步骤450,将第一配对码和选中的目标设备存储于用户终端的第二配对码进行匹配,若第一配对码和第二配对码匹配,则向选中的目标设备发送配网消息。Step 450: Match the first pairing code with the second pairing code of the selected target device stored in the user terminal. If the first pairing code matches the second pairing code, a network configuration message is sent to the selected target device.
其中,第二配对码,预先存储于用户终端,且唯一的对应选中的目标设备。例如,第二配对码可以是携带目标设备信息的二维码、条形码、字符串等。The second pairing code is pre-stored in the user terminal and uniquely corresponds to the selected target device. For example, the second pairing code can be a QR code, barcode, character string, etc. that carries the target device information.
在目标设备生成第一配对码的同时,用户终端生成与第一配对码相同或具有唯一对应关系的第二配对码,通过与用户终端之间建立的连接将第二配对码发送给用户终端,当用户通过与目标设备的实际交互获取第一配对码后,将第一配对码输入用户终端与第二配对码进行比较,根据第一配对码和第二配对码的匹配结果确定目标设备是否是用户期望进行配网的待入网设备。While the target device generates the first pairing code, the user terminal generates a second pairing code that is the same as or has a unique correspondence with the first pairing code, and sends the second pairing code to the user terminal through the connection established with the user terminal. After the user obtains the first pairing code through actual interaction with the target device, the first pairing code is input into the user terminal for comparison with the second pairing code, and whether the target device is the device to be networked that the user expects to be networked is determined based on the matching result of the first pairing code and the second pairing code.
具体而言,若第一配对码和第二配对码匹配,表示选中的目标设备是正确的,即选中的目标设备是用户期望进行配网的待入网设备,用户终端则向选中的目标设备发送配网消息。Specifically, if the first pairing code matches the second pairing code, it indicates that the selected target device is correct, that is, the selected target device is the network-accessible device that the user desires to configure, and the user terminal sends a network configuration message to the selected target device.
反之,若第一配对码和第二配对码不匹配,表示选中的目标设备不是用户期望进行配网的待入网设备,用户终端则停止发送配网消息至选中的目标设备。On the contrary, if the first pairing code and the second pairing code do not match, it means that the selected target device is not the device to be networked that the user expects to configure, and the user terminal stops sending the network configuration message to the selected target device.
通过上述过程,通过二次确认对目标设备与设备标识进行配对,在第一次配对的基础上对目标设备与设备标识进行联系,增强了设备配对的准确性,进一步有利于提高设备配网的成功率。Through the above process, the target device and the device identification are paired through secondary confirmation, and the target device and the device identification are linked on the basis of the first pairing, which enhances the accuracy of device pairing and further helps to improve the success rate of device network configuration.
在一示例性实施例中,如图7所示,步骤270之前,方法还可以包括以下步骤:In an exemplary embodiment, as shown in FIG. 7 , before step 270, the method may further include the following steps:
步骤510,将选中的目标设备的设备标识发送至服务端。Step 510: Send the device identification of the selected target device to the server.
在一种可能的实现方式,服务端是存储有智能设备的设备标识以及对应的配网类型消息的云端服务器。服务端在接受到用户终端发送的目标设备的设备标识后,根据目标设备的设备标识在存储的配网类型消息中,确定与目标设备的设备标识对应的配网类型消息。In a possible implementation, the server is a cloud server that stores the device identification of the smart device and the corresponding network configuration type message. After receiving the device identification of the target device sent by the user terminal, the server determines the network configuration type message corresponding to the device identification of the target device in the stored network configuration type message according to the device identification of the target device.
步骤530,接收服务端反馈的与设备标识对应的配网类型消息,并基于接收到的配网类型消息生成配网消息。Step 530: Receive a network configuration type message corresponding to the device identifier fed back by the server, and generate a network configuration message based on the received network configuration type message.
其中,配网类型信息用于指示目标设备支持的配网类型,例如,蓝牙BLE网络、BLEMesh网络、Wi-Fi网络、Thread网络、Zigbee网络、以太网网络等有线或无线通信网络,或者多种通信协议混合而成的网络。Among them, the network configuration type information is used to indicate the network configuration type supported by the target device, for example, Bluetooth BLE network, BLEMesh network, Wi-Fi network, Thread network, Zigbee network, Ethernet network and other wired or wireless communication networks, or a network composed of multiple communication protocols.
在一种可能的实现方式,配网信息通过在配网类型信息指示的目标设备支持的配网类型中确认一种或多种网络为目标网络,并将目标设备连接至目标网络所需的网络配置信息进行打包生成配网消息。例如,配网消息包括目标设备配网所需的用户账号、网络配置信息及密码、设备位置信息、云端服务器地址等信息。In a possible implementation, the network configuration information is generated by confirming one or more networks as the target network in the network configuration types supported by the target device indicated by the network configuration type information, and packaging the network configuration information required for the target device to connect to the target network. For example, the network configuration message includes the user account required for the target device to configure the network, network configuration information and password, device location information, cloud server address, and other information.
在一种可能的实现方式,目标设备通过配网消息与云端服务器建立通信连接,实现与用户账号的绑定操作,完成蓝牙设备的配网。通过将蓝牙BLE设备与用户的云端服务器中用户账号进行绑定,实现用户对设备进行远程控制、管理等操作。In a possible implementation, the target device establishes a communication connection with the cloud server through the network configuration message, implements the binding operation with the user account, and completes the network configuration of the Bluetooth device. By binding the Bluetooth BLE device with the user account in the user's cloud server, the user can remotely control and manage the device.
通过上述过程,实现通过目标设备与服务端之间的交互快速生成针对目标设备的配网类型消息,提高了设备配网效率。Through the above process, it is possible to quickly generate a network configuration type message for the target device through the interaction between the target device and the server, thereby improving the efficiency of device network configuration.
在一示例性实施例中,如图8所示,步骤270之前,方法还可以包括以下步骤:In an exemplary embodiment, as shown in FIG8 , before step 270, the method may further include the following steps:
步骤610,接收选中的目标设备发送的配网类型消息。Step 610: Receive a network configuration type message sent by a selected target device.
其中,配网类型消息包括各待入网设备支持的配网类型。The network configuration type message includes the network configuration type supported by each device to be connected to the network.
在一示例性实施例中,目标设备响应于第一查找指令或第二查找指令,用户终端发送针对智能设备的配网类型消息。也就是说,在确认目标设备后,目标设备将自身存储的配网类型消息对目标空间进行广播,使得用户终端可以接收配网类型消息。In an exemplary embodiment, the target device responds to the first search instruction or the second search instruction, and the user terminal sends a network configuration type message for the smart device. That is, after confirming the target device, the target device broadcasts the network configuration type message stored in itself to the target space, so that the user terminal can receive the network configuration type message.
步骤630,基于接收到的配网类型消息生成配网消息。Step 630: Generate a network configuration message based on the received network configuration type message.
用户终端在接收到对应目标设备的配网类型消息后,可以针对性的发送对应的配网信息给目标设备。需要说明的是,可以同时获取多个目标设备的配网类型消息,并生成针对的配网消息,使得多个目标设备同时配网。After receiving the network configuration type message of the corresponding target device, the user terminal can send the corresponding network configuration information to the target device. It should be noted that the network configuration type messages of multiple target devices can be obtained at the same time, and targeted network configuration messages can be generated, so that multiple target devices can be configured at the same time.
在一种可能的实现方式,用户终端通过与目标设备之间的蓝牙BLE连接传输配网消息。In a possible implementation, the user terminal transmits the network configuration message via a Bluetooth BLE connection with the target device.
通过上述过程,可以实现通过目标设备与用户终端之间的交互快速生成针对目标设备的配网类型消息,提高了设备配网效率。Through the above process, it is possible to quickly generate a network configuration type message for the target device through the interaction between the target device and the user terminal, thereby improving the efficiency of device network configuration.
请参阅图9a,本申请实施例提供了一种设备配网方法,该方法适用于智能设备,该电子设备可以是图1所示出实施环境中的智能设备130。Please refer to FIG. 9 a . An embodiment of the present application provides a device network configuration method. The method is applicable to a smart device. The electronic device may be the smart device 130 in the implementation environment shown in FIG. 1 .
步骤910,若检测到用户终端发送的第一查找指令,则对第一查找指令进行响应。Step 910: If a first search instruction sent by a user terminal is detected, respond to the first search instruction.
其中,第一查找指令是用户终端检测到在搜索页面对与智能设备对应的设备标识触发了查找操作而发送的。搜索页面是基于目标空间中搜索到的待入网设备而显示的。The first search instruction is sent when the user terminal detects that a search operation is triggered on a device identifier corresponding to a smart device on a search page. The search page is displayed based on the devices to be connected to the network that are searched in the target space.
用户可通过用户终端对选中的设备标识触发的查找操作,从而使得用户终端向选中的设备标识对应的目标设备发送第一查找指令,以指示目标设备对第一查找指令进行响应。The user may trigger a search operation on the selected device identifier through the user terminal, so that the user terminal sends a first search instruction to the target device corresponding to the selected device identifier to instruct the target device to respond to the first search instruction.
目标智能设备接收到用户终端发送的第一查找指令,则对第一查找指令进行响应。具体地,目标智能设备可以发出声音、灯光、视频画面等状态变化,以便用户可以通过视觉或听觉方式找到该智能设备。例如,目标设备为智能灯,则在接收到第一查找指令后进行闪烁。The target smart device receives the first search instruction sent by the user terminal, and then responds to the first search instruction. Specifically, the target smart device can emit state changes such as sound, light, video screen, etc., so that the user can find the smart device visually or auditorily. For example, if the target device is a smart light, it will flash after receiving the first search instruction.
步骤930若检测到针对智能设备本身触发的第二查找指令,则向用户终端发送广播消息,以使用户终端对搜索页面中与智能设备对应的设备标识进行突出显示。In step 930, if a second search instruction triggered for the smart device itself is detected, a broadcast message is sent to the user terminal so that the user terminal highlights the device identifier corresponding to the smart device in the search page.
其中,第二查找指令用于指示智能设备根据生成包括自身设备标识信息的广播消息,搜索页面在获取广播消息后,将广播消息中包含设备标识信息对应的设备标识进行突出显示。The second search instruction is used to instruct the smart device to generate a broadcast message including its own device identification information, and after the search page obtains the broadcast message, it highlights the device identification corresponding to the device identification information included in the broadcast message.
用户除了通过用户终端对智能设备触发查找操作外,用户还可以对目标智能设备本身触发第二查找指令。例如,用户通过直接点击智能设备上的触发按键,触发智能设备生成第二查找指令。In addition to triggering a search operation on a smart device through a user terminal, the user can also trigger a second search instruction on the target smart device itself. For example, the user directly clicks a trigger button on the smart device to trigger the smart device to generate a second search instruction.
目标智能设备检测到针对智能设备本身触发的第二查找指令后,则向用户终端发送广播消息,用户终端接收到该广播信息后,则在搜索页面中与智能设备对应的设备标识进行突出显示或对设备图标或标识信息进行变化显示,以便用户快速识别该物理设备在用户终端中的对应关系。After the target smart device detects the second search instruction triggered for the smart device itself, it sends a broadcast message to the user terminal. After the user terminal receives the broadcast information, the device logo corresponding to the smart device is highlighted in the search page or the device icon or logo information is changed and displayed, so that the user can quickly identify the corresponding relationship of the physical device in the user terminal.
在一个实施例中,上述方法还包括:响应于第一查找指令或第二查找指令,向用户终端发送针对智能设备的配网类型消息。In one embodiment, the above method further includes: in response to the first search instruction or the second search instruction, sending a network configuration type message for the smart device to the user terminal.
在确认目标设备后,目标设备将自身存储的配网类型消息对目标空间进行广播,使得用户终端可以接收配网类型消息。After confirming the target device, the target device broadcasts the network configuration type message stored in itself to the target space, so that the user terminal can receive the network configuration type message.
目标智能设备接收到用户终端发送的第一查找指令后,则向用户终端反馈自身的配网类型消息,以指示用户终端基于该配网类型消息向目标智能设备发送的配网消息。After receiving the first search instruction sent by the user terminal, the target smart device feeds back its own network configuration type message to the user terminal to instruct the user terminal to send a network configuration message to the target smart device based on the network configuration type message.
若是通过对目标智能设备自身触发了第二查找指令,则向用户终端发送携带有配网类型消息的广播消息,以指示用户终端基于该配网类型消息向目标智能设备发送的配网消息。If the second search instruction is triggered on the target smart device itself, a broadcast message carrying a network configuration type message is sent to the user terminal to instruct the user terminal to send a network configuration message to the target smart device based on the network configuration type message.
步骤950,接收用户终端发送的配网消息,并基于配网消息连接至目标网络。Step 950: Receive a network configuration message sent by the user terminal, and connect to the target network based on the network configuration message.
智能设备通过配网消息获取配网所需的用户账号、网络配置信息及密码、设备位置信息、云端服务器地址等信息,通过配网消息指示智能设备连接到相应网络。Smart devices obtain the user account, network configuration information and password, device location information, cloud server address and other information required for network configuration through network configuration messages, and instruct smart devices to connect to the corresponding network through network configuration messages.
如图9b所示,智能设备在配网过程中通过与用户终端通过蓝牙BLE连接,并向用户发送入网过程的状态、进度及最终入网结果,并在进度窗口910进行显示,通过在进度窗口910中显示配网进程与用户进行交互。As shown in FIG9b , during the network configuration process, the smart device connects to the user terminal via Bluetooth BLE, sends the status, progress and final network access result of the network access process to the user, and displays them in the progress window 910 , interacting with the user by displaying the network configuration process in the progress window 910 .
通过上述过程,使得智能设备可以与用户终端进行交互,实现对智能设备进行正向查找和反向查找,同时使智能设备自动进行配网,提高设备配网的准确性和效率。Through the above process, the smart device can interact with the user terminal to realize forward and reverse search of the smart device, and at the same time, the smart device can automatically configure the network, thereby improving the accuracy and efficiency of device network configuration.
图10a是一应用场景中一种设备配网方法的具体实现示意图。该应用场景是智能家居场景,在该智能家居场景中,设备配网系统包括前端工具1010、云端服务器1030、路由器1050、各智能设备1070。其中,前端工具1010可以是具有蓝牙BLE连接功能的手机;各智能设备1070包括智能家居网关以及不同类型的蓝牙BLE设备,例如智能家居网关、智能家居中枢、智能灯泡、智能插座、智能开关、智能门锁、智能摄像头等。FIG10a is a schematic diagram of a specific implementation of a device network configuration method in an application scenario. The application scenario is a smart home scenario, in which the device network configuration system includes a front-end tool 1010, a cloud server 1030, a router 1050, and various smart devices 1070. The front-end tool 1010 may be a mobile phone with a Bluetooth BLE connection function; the various smart devices 1070 include a smart home gateway and different types of Bluetooth BLE devices, such as a smart home gateway, a smart home hub, a smart light bulb, a smart socket, a smart switch, a smart door lock, a smart camera, etc.
各智能设备1070可以通过Wi-Fi网络、以太网网络与路由器1050相连,或者通过蓝牙BLE网络、BLE Mesh网络、Wi-Fi网络、Zigbee网络、以太网网络等有线或无线通信网络与智能家居网关/中枢(比如蓝牙BLE网关、智能家居网关、智能家居中枢等设备)连接后,再通过智能家居网关/中枢连接至路由器1050构成局域网。云端服务器1030通过使用MQTT、HTTP、CoAP等通信协议与局域网和前端工具1010(用户终端如APP/SAAS)相连。Each smart device 1070 can be connected to the router 1050 through a Wi-Fi network or an Ethernet network, or connected to a smart home gateway/hub (such as a Bluetooth BLE gateway, a smart home gateway, a smart home hub, etc.) through a wired or wireless communication network such as a Bluetooth BLE network, a BLE Mesh network, a Wi-Fi network, a Zigbee network, an Ethernet network, etc., and then connected to the router 1050 through the smart home gateway/hub to form a local area network. The cloud server 1030 is connected to the local area network and the front-end tool 1010 (user terminal such as APP/SAAS) by using communication protocols such as MQTT, HTTP, and CoAP.
具体配网过程如图10b所示,在配网开始后前端工具1010通过蓝牙BLE扫描获取附近蓝牙BLE设备信息,获得附近蓝牙BLE设备信息在用户终端(前端工具如APP/SAAS)中显示。在前端工具1010中通过与用户的交互确定目标设备,并通过前端工具1010与目标设备建立通信连接。The specific network configuration process is shown in FIG10b. After the network configuration starts, the front-end tool 1010 obtains the information of nearby Bluetooth BLE devices through Bluetooth BLE scanning, and displays the obtained information of nearby Bluetooth BLE devices in the user terminal (front-end tool such as APP/SAAS). The target device is determined in the front-end tool 1010 through interaction with the user, and a communication connection is established with the target device through the front-end tool 1010.
通过前端工具1010向目标设备发送第一查找指令,目标设备在获取第一查找指令后通过内置的扬声器、LED灯或摄像头等硬件组件来实现发出声音、灯光、视频画面等变化,以便用户可以通过视觉或听觉方式找到设备。A first search instruction is sent to the target device through the front-end tool 1010. After receiving the first search instruction, the target device can make changes in sound, light, video screen, etc. through built-in hardware components such as speakers, LED lights or cameras, so that the user can find the device visually or auditorily.
或者用户通过对目标设备对应的实际物理设备执行按键单击、屏幕点击等操作,触发目标设备向前端工具发出第二查找指令,前端工具在接收到第二查找指令后,根据第二查找指令中的信息更新目标设备对应的设备标识,以便用户可以快速识别目标设备在前端工具1010中设备标识的对应关系。Alternatively, the user may trigger the target device to send a second search instruction to the front-end tool by performing operations such as clicking a button or clicking the screen on the actual physical device corresponding to the target device. After receiving the second search instruction, the front-end tool updates the device identification corresponding to the target device according to the information in the second search instruction, so that the user can quickly identify the correspondence between the target device and the device identification in the front-end tool 1010.
目标设备在处于等待配网状态时,通过向目标空间广播其配网类型信息,前端工具1010接受目标设备发送的配网类型信息,根据配网类型消息中的目标支持Zigbee通信等等信息确定目标设备支持的网络类型为Zigbee通信,并生成针对目标设备的配网信息,配网信息中包括zigbee网关的网络信息(zigbee信道、zigbee panid、zigbee网络密钥等),然后将配网信息通过BLE方式发送给目标设备设备,目标设备接收到配网信息后,连接对应的Zigbee网关、通过Zigbee网关与云端服务器1030进行通信完成入网绑定操作。When the target device is in the state of waiting for network configuration, it broadcasts its network configuration type information to the target space. The front-end tool 1010 receives the network configuration type information sent by the target device, determines that the network type supported by the target device is Zigbee communication according to the information such as the target supporting Zigbee communication in the network configuration type message, and generates network configuration information for the target device. The network configuration information includes the network information of the Zigbee gateway (zigbee channel, zigbee panid, zigbee network key, etc.), and then sends the network configuration information to the target device via BLE. After receiving the network configuration information, the target device connects to the corresponding Zigbee gateway and communicates with the cloud server 1030 through the Zigbee gateway to complete the network binding operation.
或者,前端工具1010在搜寻到目标设备后,获取目标设备的设备标识,根据设备标识就可以从云端服务器1030获取到目标设备支持的配网类型为Zigbee通信,并针对目标设备生成对应的包括zigbee网关的网络信息(zigbee信道、zigbee panid、zigbee网络密钥等)的配网信息,之后发送对应的配网信息给目标设备。Alternatively, after searching for the target device, the front-end tool 1010 obtains the device identification of the target device, and based on the device identification, it can obtain from the cloud server 1030 that the network configuration type supported by the target device is Zigbee communication, and generate corresponding network configuration information for the target device including the network information of the Zigbee gateway (Zigbee channel, Zigbee panid, Zigbee network key, etc.), and then send the corresponding network configuration information to the target device.
在进行正向查找或反向查找后用户在前端工具1010中选中待配网的设备,触发前端工具1010通过蓝牙BLE通信向该设备传输配网所需信息。蓝牙BLE设备接收到配网信息后,连接至相应网络。进而与云端服务器1030建立通信连接,实现与用户账号的绑定操作,完成蓝牙BLE设备的配网。After performing a forward search or a reverse search, the user selects the device to be networked in the front-end tool 1010, triggering the front-end tool 1010 to transmit the network configuration information required to the device through Bluetooth BLE communication. After receiving the network configuration information, the Bluetooth BLE device connects to the corresponding network. Then, a communication connection is established with the cloud server 1030 to implement the binding operation with the user account, and the network configuration of the Bluetooth BLE device is completed.
在本应用场景中,通过使用蓝牙BLE通信将用户终端与蓝牙BLE设备相连,实现智能家居设备的快速配网,提高了配网成功率,优化了用户体验。同时采用正向查找功能和反向查找功能,帮助用户快速识别和定位待配网的设备,提高了操作便捷性。In this application scenario, the user terminal is connected to the Bluetooth BLE device through Bluetooth BLE communication to achieve fast network configuration of smart home devices, improve the success rate of network configuration, and optimize the user experience. At the same time, the forward search function and reverse search function are used to help users quickly identify and locate the devices to be configured, which improves the convenience of operation.
具体地,用户终端可以主动搜寻获取附近的智能设备的设备信息,设备信息可以包括设备的唯一标识信息、设备类型、厂商信息、入网是否需要二次确认、是否支持正向查找等等。例如,用户终端可以通过蓝牙扫描接口,搜寻附近具有蓝牙通信功能的智能设备,并获取各智能设备的广播信息。各智能设备的广播信息包含设备的唯一标识信息(如MAC地址)、设备类型、厂商信息等。用户终端可以通过分析这些广播信息,将搜寻到的智能设备显示在设备列表中。Specifically, the user terminal can actively search for and obtain the device information of nearby smart devices. The device information may include the unique identification information of the device, the device type, the manufacturer information, whether secondary confirmation is required for network access, whether forward search is supported, etc. For example, the user terminal can search for nearby smart devices with Bluetooth communication functions through the Bluetooth scanning interface, and obtain the broadcast information of each smart device. The broadcast information of each smart device contains the unique identification information of the device (such as MAC address), device type, manufacturer information, etc. The user terminal can display the searched smart devices in the device list by analyzing these broadcast information.
当用户终端搜寻到多个智能设备时,可通过正向查找功能或反向查找功能识别某个智能设备对应的实际物理设备。正向查找功能指前端工具点击已搜寻到的设备标识或图标,使对应的实际物理设备发出声音、灯光、视频画面等变化,以便用户快速找到对应智能设备。When the user terminal searches for multiple smart devices, the actual physical device corresponding to a smart device can be identified through the forward search function or the reverse search function. The forward search function means that the front-end tool clicks on the searched device logo or icon to make the corresponding actual physical device emit sound, light, video screen, etc., so that the user can quickly find the corresponding smart device.
其中,正向查找设备的具体技术方案具体可以为:Among them, the specific technical solution of the forward search device can be:
智能设备与用户终端的通信:智能设备需要与用户终端之间需要有通信协议,以便用户终端可以向设备发送命令,并接收智能设备返回的响应。此处的通信协议,可以是无需建立连接的,比如通过广播或组播数据报文(携带有目标设备的唯一标识信息或地址,使得只有对应的目标设备才做响应),也可以是建立有连接的通信协议,通常包括基础的连接建立、数据传输和断开连接等过程。Communication between smart devices and user terminals: There needs to be a communication protocol between smart devices and user terminals so that the user terminals can send commands to the devices and receive responses from the smart devices. The communication protocol here can be one that does not require a connection to be established, such as through broadcast or multicast data packets (carrying the unique identification information or address of the target device so that only the corresponding target device responds), or a communication protocol that establishes a connection, usually including basic connection establishment, data transmission, and disconnection processes.
智能设备需要具备发出声音、灯光、视频画面等变化的能力,当智能设备接收到用户终端发出的查找命令后,智能设备可以通过内置的扬声器、LED灯或摄像头等硬件组件来实现智能设备发出声音、灯光、视频画面等状态变化,以便用户可以通过视觉或听觉方式找到该智能设备。Smart devices need to have the ability to make changes in sound, light, video images, etc. When the smart device receives a search command issued by the user terminal, the smart device can use built-in hardware components such as speakers, LED lights or cameras to make the smart device emit sound, light, video images, etc., so that users can find the smart device by visual or auditory means.
反向查找功能指对实际物理设备执行某操作(如按键单击、屏幕点击等),使其通过发出某种数据报文(可以是广播报文也可以是单播报文),最终用户终端接收到该报文后,用户终端中的设备图标或标识信息发生变化,以便用户快速识别该物理设备在用户终端中的对应关系。正向查找功能和反向查找功能的使用选择取决于具体的应用场景和设备特性。The reverse lookup function refers to performing an operation on the actual physical device (such as a button click, screen click, etc.) so that it sends a certain data message (which can be a broadcast message or a unicast message). After the final user terminal receives the message, the device icon or identification information in the user terminal changes, so that the user can quickly identify the corresponding relationship of the physical device in the user terminal. The choice of using the forward lookup function and the reverse lookup function depends on the specific application scenario and device characteristics.
其中,反向查找设备的具体技术方案可以为:Among them, the specific technical solution of the reverse lookup device can be:
智能设备与用户终端的通信协议:智能设备需要与用户终端之间需要有通信协议,以便智能设备可以向用户终端发送数据报文。此处的通信协议,可以是无需建立连接的,比如通过广播或组播数据报文(携带有目标设备的唯一标识信息或地址,使得只有对应的目标设备才做响应),也可以是建立有连接的通信协议,通常包括基础的连接建立、数据传输和断开连接等过程。Communication protocol between smart devices and user terminals: Smart devices need to have a communication protocol with user terminals so that smart devices can send data packets to user terminals. The communication protocol here can be a communication protocol that does not require a connection to be established, such as broadcasting or multicasting data packets (carrying the unique identification information or address of the target device so that only the corresponding target device responds), or a communication protocol that establishes a connection, usually including basic connection establishment, data transmission, and disconnection processes.
用户对实际物理设备执行某操作(如按键单击、屏幕点击等)后,触发智能设备发出某种数据报文,例如可通过蓝牙BLE方式发出数据报文。数据报文可以是广播报文或单播报文,报文中携带有智能设备的唯一标识信息、设备类型、mac地址信息等。After the user performs an operation on the actual physical device (such as clicking a button or clicking the screen), the smart device is triggered to send a data message, for example, the data message can be sent through Bluetooth BLE. The data message can be a broadcast message or a unicast message, and the message carries the unique identification information of the smart device, the device type, the MAC address information, etc.
用户终端需要监听蓝牙BLE广播或单播通道,以便接收到设备发出的数据报文。一旦用户终端接收到数据报文,则会根据数据报文中的信息更新智能设备的标识信息,以便用户可以快速识别该物理设备在前端工具中的对应关系。The user terminal needs to listen to the Bluetooth BLE broadcast or unicast channel to receive the data message sent by the device. Once the user terminal receives the data message, it will update the identification information of the smart device according to the information in the data message so that the user can quickly identify the corresponding relationship of the physical device in the front-end tool.
用户在用户终端中选定待配网的设备,触发用户终端向该智能设备传输配网所需信息,包括用户账号、网络配置信息及密码、设备位置信息、云端服务器地址等(可以不局限于这些信息、或者也可以只使用其中的部分信息)。例如,用户终端可以通过蓝牙通信API,与选定的智能设备建立连接,并发送配网所需信息。The user selects the device to be networked in the user terminal, triggering the user terminal to transmit the information required for network configuration to the smart device, including user account, network configuration information and password, device location information, cloud server address, etc. (may not be limited to this information, or only part of it may be used). For example, the user terminal can establish a connection with the selected smart device through the Bluetooth communication API and send the information required for network configuration.
用户账号用于将智能设备与用户的App账户或云端服务器进行绑定,以便用户对设备进行远程控制、管理等操作;网络配置信息及密码用于设备连接至相应网络,如蓝牙网络、Wi-Fi网络、Thread网络、Zigbee网络、以太网网络等有线或无线通信网络;设备位置信息用于设备管理和定位,以便用户在智能家居App中对各智能设备进行管理和操作;云端服务器地址用于智能设备与云端服务器进行通信,以便实现对各智能设备的远程控制和管理。The user account is used to bind the smart device to the user's App account or cloud server so that the user can remotely control and manage the device; the network configuration information and password are used to connect the device to the corresponding network, such as Bluetooth network, Wi-Fi network, Thread network, Zigbee network, Ethernet network and other wired or wireless communication networks; the device location information is used for device management and positioning so that users can manage and operate each smart device in the smart home app; the cloud server address is used for smart devices to communicate with the cloud server to achieve remote control and management of each smart device.
智能设备接收到配网信息后,连接至相应网络,如蓝牙BLE网络、BLE Mesh网络、Wi-Fi网络、Thread网络、Zigbee网络、以太网网络等有线或无线通信网络,最终与云端服务器通信,以便实现智能设备与用户账号的绑定操作,完成智能设备的配网操作。After receiving the network configuration information, the smart device connects to the corresponding network, such as Bluetooth BLE network, BLE Mesh network, Wi-Fi network, Thread network, Zigbee network, Ethernet network and other wired or wireless communication networks, and finally communicates with the cloud server to realize the binding operation of the smart device and the user account and complete the network configuration operation of the smart device.
用户终端有两种方式可以获知智能设备支持配网到哪种具体网络:There are two ways for the user terminal to learn which specific network the smart device supports:
方式一:智能设备在处于等待配网状态时,可以广播其配网类型信息(比如是否支持Wi-Fi通信、是否支持Zigbee通信、是否支持Thread通信等等),用户终端接收到之后,就可以针对性的发送对应的配网信息给设备:比如智能设备支持Wi-Fi通信,则可以将用户的Wi-Fi路由器的ssid和密码通过BLE方式发送给智能设备,智能设备接收到后就去连接对应的Wi-Fi路由器。比如智能设备是支持Zigbee通信的Zigbee子设备,则用户终端可以从云端服务器获取zigbee网关的网络信息(zigbee信道、zigbee panid、zigbee网络密钥等),然后将这些信息发送给Zigbee子设备,Zigbee子设备接收到这些信息后,就去连接对应的Zigbee网关、通过该网关与云端服务器进行通信完成入网绑定操作。Method 1: When the smart device is in the waiting state for network configuration, it can broadcast its network configuration type information (such as whether it supports Wi-Fi communication, whether it supports Zigbee communication, whether it supports Thread communication, etc.). After the user terminal receives it, it can send the corresponding network configuration information to the device in a targeted manner: For example, if the smart device supports Wi-Fi communication, the ssid and password of the user's Wi-Fi router can be sent to the smart device via BLE, and the smart device will connect to the corresponding Wi-Fi router after receiving it. For example, if the smart device is a Zigbee sub-device that supports Zigbee communication, the user terminal can obtain the network information of the Zigbee gateway (zigbee channel, zigbee panid, zigbee network key, etc.) from the cloud server, and then send this information to the Zigbee sub-device. After receiving this information, the Zigbee sub-device will connect to the corresponding Zigbee gateway and communicate with the cloud server through the gateway to complete the network binding operation.
方式二:智能设备的配网类型信息是配置在云端服务器中,用户终端在搜寻到智能设备后,获取到设备类型或型号信息,根据该设备类型或型号就可以从云端服务器获取到该智能设备支持的配网类型,之后可以针对性的发送对应的配网信息给智能设备,后续的步骤则与方式一相同。Method 2: The network configuration type information of the smart device is configured in the cloud server. After searching for the smart device, the user terminal obtains the device type or model information. According to the device type or model, the network configuration type supported by the smart device can be obtained from the cloud server. Then, the corresponding network configuration information can be sent to the smart device in a targeted manner. The subsequent steps are the same as method 1.
在这个过程中,智能设备与云端服务器之间的通信可以使用MQTT、HTTP、CoAP等通信协议,或者智能设备经过一个中间者(比如网关、智能网关、智能中枢等设备)再与云端服务器进行通信。完成配网后,智能设备将连接至相应的网络中,并将设备信息上传至云端服务器。用户则可以使用用户终端(比如智能家居App)远程控制设备,实现智能设备的各种功能。In this process, the communication between smart devices and cloud servers can use communication protocols such as MQTT, HTTP, CoAP, etc., or the smart devices can communicate with the cloud servers through an intermediary (such as gateways, smart gateways, smart hubs, etc.). After the network configuration is completed, the smart device will connect to the corresponding network and upload the device information to the cloud server. Users can use user terminals (such as smart home apps) to remotely control the device and realize various functions of the smart device.
与相关技术相比,本申请在通过对目标空间中的目标设备进行正向查找和反向查找,向用户指示目标设备与搜索页面中设备标识的对应关系,可以快速帮助用户确定目标设备。通过用户终端与目标设备的直接交互进行配网,提高配网准确性和配网效率。通过二次确认对目标设备与设备标识进行配对,在第一次配对的基础上对目标设备与设备标识进行联系,增强了设备配对的准确性。实现通过目标设备与服务端之间的交互快速生成针对目标设备的配网类型消息,提高了设备配网效率。通过自动或主动对待入网设备进行搜索,实现设备快速搜索,保证设备配网效率,提高配网成功率。智能设备可以与用户终端进行交互,实现对智能设备进行正向查找和反向查找,同时使智能设备自动进行配网,提高设备配网的准确性和效率。Compared with the related art, the present application can quickly help users determine the target device by performing forward and reverse searches on the target device in the target space and indicating to the user the correspondence between the target device and the device identifier in the search page. The network is configured through direct interaction between the user terminal and the target device, thereby improving the accuracy and efficiency of network configuration. The target device and the device identifier are paired through secondary confirmation, and the target device and the device identifier are contacted on the basis of the first pairing, thereby enhancing the accuracy of device pairing. The network configuration type message for the target device is quickly generated through the interaction between the target device and the server, thereby improving the efficiency of device network configuration. By automatically or actively searching for devices to be connected to the network, a fast device search is realized, the efficiency of device network configuration is guaranteed, and the success rate of network configuration is improved. The smart device can interact with the user terminal to perform forward and reverse searches on the smart device, while enabling the smart device to automatically configure the network, thereby improving the accuracy and efficiency of device network configuration.
应该理解的是,虽然附图的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,附图的流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a portion of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
下述为本申请装置实施例,可以用于执行本申请所涉及的设备配网方法。对于本申请装置实施例中未披露的细节,请参照本申请所涉及的设备配网方法的方法实施例。The following is an embodiment of the device of the present application, which can be used to execute the device network configuration method involved in the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the method embodiment of the device network configuration method involved in the present application.
请参阅图11,本申请实施例中提供了一种设备配网装置1100,包括但不限于:页面显示模块1110、设备查找模块1130、以及消息发送模块1150。Please refer to FIG. 11 . An embodiment of the present application provides a device network configuration apparatus 1100 , including but not limited to: a page display module 1110 , a device search module 1130 , and a message sending module 1150 .
其中,页面显示模块1110,用于基于在目标空间中搜索到的待入网设备显示搜索页面。搜索页面包括至少一个设备标识。The page display module 1110 is used to display a search page based on the devices to be connected to the network that are searched in the target space. The search page includes at least one device identification.
设备查找模块1130,用于响应于对选中的设备标识触发的查找操作,向目标空间中与选中的设备标识对应的目标设备发送第一查找指令,第一查找指令用于指示目标设备对第一查找指令进行响应。或接收目标空间中的目标设备响应于第二查找指令而发送的广播消息,并基于接收到的广播消息对搜索页面中与目标设备对应的设备标识进行突出显示。The device search module 1130 is used to send a first search instruction to a target device corresponding to the selected device identifier in the target space in response to a search operation triggered by the selected device identifier, wherein the first search instruction is used to instruct the target device to respond to the first search instruction. Or receive a broadcast message sent by the target device in the target space in response to the second search instruction, and highlight the device identifier corresponding to the target device in the search page based on the received broadcast message.
消息发送模块1150,用于响应于对已响应的目标设备触发的选中操作,向选中的目标设备发送配网消息,以指示选中的目标设备基于配网消息连接至目标网络。The message sending module 1150 is used to send a network configuration message to the selected target device in response to a selection operation triggered on the responded target device, so as to instruct the selected target device to connect to the target network based on the network configuration message.
在一示例性实施例中,页面显示模块,包括:搜索单元,用于对目标空间中的待入网设备进行搜索;第一显示单元,用于若搜索到待入网设备,则显示搜索页面,并在搜索页面显示搜索到的待入网设备的设备标识。In an exemplary embodiment, the page display module includes: a search unit for searching for devices to be connected in a target space; a first display unit for displaying a search page if a device to be connected is found, and displaying the device identifier of the searched device to be connected on the search page.
在一示例性实施例中,页面显示模块,包括:第二显示单元,用于显示搜索页面,在搜索页面触发对目标空间中待入网设备的搜索;第三显示单元,用于将搜索到的待入网设备的设备标识显示在搜索页面。In an exemplary embodiment, the page display module includes: a second display unit, used to display a search page, triggering a search for devices to be connected to the network in the target space on the search page; and a third display unit, used to display the device identification of the searched device to be connected to the network on the search page.
在一示例性实施例中,设备查找模块,包括:第四显示单元,用于在搜索页面中,显示与至少一个设备标识关联的查找入口;指令发送单元,用于响应于对与选中的设备标识关联的查找入口触发的查找操作,向目标空间中与选中的设备标识对应的目标设备发送第一查找指令。In an exemplary embodiment, the device search module includes: a fourth display unit, used to display a search entry associated with at least one device identifier in a search page; and an instruction sending unit, used to send a first search instruction to a target device corresponding to the selected device identifier in a target space in response to a search operation triggered by the search entry associated with a selected device identifier.
在一示例性实施例中,装置还包括:显示模块,用于若检测到选中的目标设备需要二次确认,则显示二次确认页面;配对码获取模块,用于响应于在二次确认页面触发的确认操作,获得选中的目标设备的第一配对码;匹配模块,用于将第一配对码和选中的目标设备存储于用户终端的第二配对码进行匹配,若第一配对码和第二配对码匹配,则向选中的目标设备发送配网消息。In an exemplary embodiment, the apparatus further includes: a display module, configured to display a secondary confirmation page if it is detected that the selected target device requires secondary confirmation; a pairing code acquisition module, configured to obtain a first pairing code of the selected target device in response to a confirmation operation triggered on the secondary confirmation page; and a matching module, configured to match the first pairing code with a second pairing code of the selected target device stored in a user terminal, and to send a network configuration message to the selected target device if the first pairing code and the second pairing code match.
在一示例性实施例中,装置还包括:标识发送模块,用于将选中的目标设备的设备标识发送至服务端;消息接收模块,用于接收服务端反馈的与设备标识对应的配网类型消息,并基于接收到的配网类型消息生成配网消息。In an exemplary embodiment, the device also includes: an identification sending module, used to send the device identification of the selected target device to the server; a message receiving module, used to receive a network configuration type message corresponding to the device identification fed back by the server, and generate a network configuration message based on the received network configuration type message.
在一示例性实施例中,装置还包括:接收模块,用于接收选中的目标设备发送的配网类型消息;消息生成模块,用于基于接收到的配网类型消息生成配网消息。In an exemplary embodiment, the apparatus further includes: a receiving module, configured to receive a network configuration type message sent by a selected target device; and a message generating module, configured to generate a network configuration message based on the received network configuration type message.
在一示例性实施例中,如图12所示,本申请实施例中提供了一种设备配网装置1200,包括但不限于:第一检测模块1210、第二检测模块1230、以及消息接收模块1250。In an exemplary embodiment, as shown in FIG. 12 , an apparatus 1200 for configuring a network for equipment is provided in an embodiment of the present application, including but not limited to: a first detection module 1210 , a second detection module 1230 , and a message receiving module 1250 .
其中,第一检测模块1210,用于若检测到用户终端发送的第一查找指令,则对第一查找指令进行响应。第一查找指令是用户终端检测到在搜索页面对与智能设备对应的设备标识触发了查找操作而发送的。搜索页面是基于目标空间中搜索到的待入网设备而显示的。或The first detection module 1210 is used to respond to the first search instruction if a first search instruction sent by the user terminal is detected. The first search instruction is sent by the user terminal when it detects that a search operation is triggered on the device identifier corresponding to the smart device on the search page. The search page is displayed based on the devices to be connected to the network that are searched in the target space. Or
第二检测模块1230,用于若检测到针对智能设备本身触发的第二查找指令,则向用户终端发送广播消息,以使用户终端对搜索页面中与智能设备对应的设备标识进行突出显示。The second detection module 1230 is configured to send a broadcast message to the user terminal if a second search instruction triggered for the smart device itself is detected, so that the user terminal highlights the device identifier corresponding to the smart device in the search page.
消息接收模块1250,用于接收用户终端发送的配网消息,并基于配网消息连接至目标网络。The message receiving module 1250 is used to receive a network configuration message sent by a user terminal and connect to a target network based on the network configuration message.
在一示例性实施例中,设备配网装置还包括:配网模块,用于响应于第一查找指令或第二查找指令,向用户终端发送针对智能设备的配网类型消息。In an exemplary embodiment, the device network configuration apparatus further includes: a network configuration module, configured to send a network configuration type message for the smart device to the user terminal in response to the first search instruction or the second search instruction.
需要说明的是,上述实施例所提供的设备配网装置在进行设备配网时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即设备配网装置的内部结构将划分为不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that the device network configuration device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when performing device network configuration. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device network configuration device will be divided into different functional modules to complete all or part of the functions described above.
另外,上述实施例所提供的设备配网装置与设备配网方法的实施例属于同一构思,其中各个模块执行操作的具体方式已经在方法实施例中进行了详细描述,此处不再赘述。In addition, the embodiments of the device network configuration apparatus and the device network configuration method provided in the above embodiments belong to the same concept, and the specific manner in which each module performs the operation has been described in detail in the method embodiment, which will not be repeated here.
图13根据一示例性实施例示出的一种电子设备的结构示意。该电子设备可以适用于图1所示出实施环境中的网关150或服务器端170。Fig. 13 is a schematic diagram of the structure of an electronic device according to an exemplary embodiment. The electronic device may be applicable to the gateway 150 or the server 170 in the implementation environment shown in Fig. 1 .
需要说明的是,该电子设备只是一个适配于本申请的示例,不能认为是提供了对本申请的使用范围的任何限制。该电子设备也不能解释为需要依赖于或者必须具有图13示出的示例性的电子设备2000中的一个或者多个组件。It should be noted that the electronic device is only an example adapted to the present application and cannot be considered to provide any limitation on the scope of use of the present application. The electronic device cannot be interpreted as needing to rely on or necessarily having one or more components in the exemplary electronic device 2000 shown in FIG. 13 .
电子设备2000的硬件结构可因配置或者性能的不同而产生较大的差异,如图13所示,电子设备2000包括:电源210、接口230、至少一存储器250、以及至少一中央处理器(CPU,Central Processing Units)270。The hardware structure of the electronic device 2000 may vary greatly due to different configurations or performances. As shown in FIG. 13 , the electronic device 2000 includes: a power supply 210 , an interface 230 , at least one memory 250 , and at least one central processing unit (CPU) 270 .
具体地,电源210用于为电子设备2000上的各硬件设备提供工作电压。Specifically, the power supply 210 is used to provide operating voltage for each hardware device on the electronic device 2000 .
接口230包括至少一有线或无线网络接口231,用于与外部设备交互。例如,进行图1所示出实施环境中用户终端110与服务器端170之间的交互。The interface 230 includes at least one wired or wireless network interface 231, which is used to interact with external devices, such as the interaction between the user terminal 110 and the server 170 in the implementation environment shown in FIG. 1 .
当然,在其余本申请适配的示例中,接口230还可以进一步包括至少一串并转换接口233、至少一输入输出接口235以及至少一USB接口237等,如图13所示,在此并非对此构成具体限定。Of course, in other examples adapted by this application, the interface 230 may further include at least one serial-to-parallel conversion interface 233, at least one input-output interface 235, and at least one USB interface 237, as shown in FIG. 13, which is not specifically limited here.
存储器250作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源包括操作系统251、应用程序253及数据255等,存储方式可以是短暂存储或者永久存储。The memory 250 is a carrier for storing resources, which may be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 251, an application 253 and data 255, etc. The storage method may be temporary storage or permanent storage.
其中,操作系统251用于管理与控制电子设备2000上的各硬件设备以及应用程序253,以实现中央处理器270对存储器250中海量数据255的运算与处理,其可以是WindowsServerTM、Mac OS XTM、UnixTM、LinuxTM、FreeBSDTM等。Among them, the operating system 251 is used to manage and control various hardware devices and application programs 253 on the electronic device 2000 to enable the central processor 270 to calculate and process the massive data 255 in the memory 250. It can be WindowsServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
应用程序253是基于操作系统251之上完成至少一项特定工作的程序指令或代码,其可以包括至少一模块(图13未示出),每个模块都可以分别包含有对电子设备2000的程序指令或代码。例如,设备配网装置可视为部署于电子设备2000的应用程序253。The application 253 is a program instruction or code that completes at least one specific task based on the operating system 251, and may include at least one module (not shown in FIG. 13 ), each of which may include a program instruction or code for the electronic device 2000. For example, the device network configuration device may be regarded as an application 253 deployed on the electronic device 2000.
数据255可以是存储于磁盘中的照片、图片等,还可以是配网消息等,存储于存储器250中。The data 255 may be photos, pictures, etc. stored in a disk, or network configuration messages, etc., stored in the memory 250 .
中央处理器270可以包括一个或多个以上的处理器,并设置为通过至少一通信总线与存储器250通信,以读取存储器250中存储的程序指令或代码,进而实现对存储器250中海量数据255的运算与处理。例如,通过中央处理器270读取存储器250中存储的一系列程序指令或代码的形式来完成设备配网方法。The central processor 270 may include one or more processors, and is configured to communicate with the memory 250 through at least one communication bus to read the program instructions or codes stored in the memory 250, thereby realizing the operation and processing of the mass data 255 in the memory 250. For example, the device network configuration method is completed by the central processor 270 reading a series of program instructions or codes stored in the memory 250.
此外,通过硬件电路或者硬件电路结合软件也能同样实现本申请,因此,实现本申请并不限于任何特定硬件电路、软件以及两者的组合。In addition, the present application can also be implemented through hardware circuits or hardware circuits combined with software. Therefore, the implementation of the present application is not limited to any specific hardware circuits, software, or a combination of the two.
请参阅图14,图14是根据一示例性实施例示出的另一种电子设备的结构示意图。该电子设备可以是终端,该终端适用于图1所示出实施环境中的用户终端110。Please refer to Fig. 14, which is a schematic diagram of the structure of another electronic device according to an exemplary embodiment. The electronic device may be a terminal, which is suitable for the user terminal 110 in the implementation environment shown in Fig. 1.
需要说明的是,该终端只是一个适配于本申请的示例,不能认为是提供了对本申请的使用范围的任何限制。该终端也不能解释为需要依赖于或者必须具有图14中示出的示例性的终端1100中的一个或者多个组件。It should be noted that the terminal is only an example adapted to the present application and cannot be considered to provide any limitation on the scope of use of the present application. The terminal cannot be interpreted as needing to rely on or necessarily having one or more components in the exemplary terminal 1100 shown in FIG. 14.
如图14所示,终端1100包括存储器101、存储控制器103、一个或多个(图14中仅示出一个)处理器105、外设接口107、射频模块109、定位模块111、摄像模块113、音频模块115、触控屏幕117以及按键模块119。这些组件通过一条或多条通讯总线/信号线121相互通讯。As shown in FIG14 , the terminal 1100 includes a memory 101, a storage controller 103, one or more (only one is shown in FIG14 ) processors 105, a peripheral interface 107, a radio frequency module 109, a positioning module 111, a camera module 113, an audio module 115, a touch screen 117, and a key module 119. These components communicate with each other via one or more communication buses/signal lines 121.
其中,存储器101可用于存储程序指令或代码,如本申请示例性实施例中的设备配网方法及装置对应的程序指令或代码,处理器105通过运行存储在存储器101内的程序指令或代码,从而执行各种功能以及数据处理,即完成设备配网方法。Among them, the memory 101 can be used to store program instructions or codes, such as the program instructions or codes corresponding to the device network configuration method and apparatus in the exemplary embodiment of the present application. The processor 105 executes various functions and data processing by running the program instructions or codes stored in the memory 101, thereby completing the device network configuration method.
存储器101作为资源存储的载体,可以是随机存储器、例如高速随机存储器、非易失性存储器,如一个或多个磁性存储装置、闪存、或者其它固态存储器。存储方式可以是短暂存储或者永久存储。The memory 101 is a carrier for storing resources, and may be a random access memory, such as a high-speed random access memory, a non-volatile memory, such as one or more magnetic storage devices, a flash memory, or other solid-state memory. The storage method may be temporary storage or permanent storage.
外设接口107可以包括至少一有线或无线网络接口、至少一串并联转换接口、至少一输入输出接口以及至少一USB接口等,用于将外部各种输入/输出装置耦合至存储器101以及处理器105,以实现与外部各种输入/输出装置的通信。The peripheral interface 107 may include at least one wired or wireless network interface, at least one serial-parallel conversion interface, at least one input/output interface, and at least one USB interface, etc., for coupling various external input/output devices to the memory 101 and the processor 105 to achieve communication with various external input/output devices.
射频模块109用于收发电磁波,实现电磁波与电信号的相互转换,从而通过通讯网络与其他设备进行通讯。通信网络包括蜂窝式电话网、无线局域网或者城域网,上述通信网络可以使用各种通信标准、协议及技术。The radio frequency module 109 is used to transmit and receive electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, and thus communicate with other devices through a communication network. The communication network includes a cellular telephone network, a wireless local area network or a metropolitan area network, and the above communication network can use various communication standards, protocols and technologies.
定位模块111用于获取终端1100的当前所在的地理位置。定位模块111的实例包括但不限于全球卫星定位系统(GPS)、基于无线局域网或者移动通信网的定位技术。The positioning module 111 is used to obtain the current geographical location of the terminal 1100. Examples of the positioning module 111 include, but are not limited to, a global satellite positioning system (GPS) and positioning technology based on a wireless local area network or a mobile communication network.
摄像模块113隶属于摄像头,用于拍摄图片或者视频。拍摄的图片或者视频可以存储至存储器101内,还可以通过射频模块109发送至上位机。The camera module 113 is a camera for taking pictures or videos. The taken pictures or videos can be stored in the memory 101 and can also be sent to the host computer through the radio frequency module 109.
音频模块115向用户提供音频接口,其可包括一个或多个麦克风接口、一个或多个扬声器接口以及一个或多个耳机接口。通过音频接口与其它设备进行音频数据的交互。音频数据可以存储至存储器101内,还可以通过射频模块109发送。The audio module 115 provides an audio interface to the user, which may include one or more microphone interfaces, one or more speaker interfaces, and one or more headphone interfaces. The audio data is interacted with other devices through the audio interface. The audio data can be stored in the memory 101 and can also be sent through the radio frequency module 109.
触控屏幕117在终端1100与用户之间提供一个输入输出界面。具体地,用户可通过触控屏幕117进行输入操作,例如点击、触摸、滑动等手势操作,以使终端1100对该输入操作进行响应。终端1100则将文字、图片或者视频任意一种形式或者组合所形成的输出内容通过触控屏幕117向用户显示输出。The touch screen 117 provides an input/output interface between the terminal 1100 and the user. Specifically, the user can perform input operations through the touch screen 117, such as gesture operations such as clicking, touching, and sliding, so that the terminal 1100 responds to the input operation. The terminal 1100 displays the output content formed by any form or combination of text, pictures, or videos to the user through the touch screen 117.
按键模块119包括至少一个按键,用以提供用户向终端1100进行输入的接口,用户可以通过按下不同的按键使终端1100执行不同的功能。例如,声音调节按键可供用户实现对终端1100播放的声音音量的调节。The key module 119 includes at least one key to provide an interface for the user to input to the terminal 1100. The user can press different keys to make the terminal 1100 perform different functions. For example, the sound adjustment key allows the user to adjust the volume of the sound played by the terminal 1100.
可以理解,图14所示的结构仅为示意,终端1100还可包括比图14中所示更多或更少的组件,或者具有与图14所示不同的组件。图14中所示的各组件可以采用硬件、软件或者其组合来实现。It is understood that the structure shown in Figure 14 is only for illustration, and the terminal 1100 may also include more or fewer components than those shown in Figure 14, or have components different from those shown in Figure 14. Each component shown in Figure 14 may be implemented by hardware, software, or a combination thereof.
请参阅图15,本申请实施例中提供了一种电子设备4000,该电子设备400可以包括:智能手机、平板电脑、台式电脑、笔记本电脑、服务器、网关等。Please refer to FIG. 15 . An electronic device 4000 is provided in an embodiment of the present application. The electronic device 4000 may include: a smart phone, a tablet computer, a desktop computer, a laptop computer, a server, a gateway, etc.
在图15中,该电子设备4000包括至少一个处理器4001以及至少一个存储器4003。In FIG. 15 , the electronic device 4000 includes at least one processor 4001 and at least one memory 4003 .
其中,处理器4001和存储器4003之间的数据交互,可以通过至少一个通信总线4002实现。该通信总线4002可包括一通路,用于在处理器4001和存储器4003之间传输数据。通信总线4002可以是PCI(Peripheral Component Interconnect,外设部件互连标准)总线或EISA(Extended Industry Standard Architecture,扩展工业标准结构)总线等。通信总线4002可以分为地址总线、数据总线、控制总线等。为便于表示,图15中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The data interaction between the processor 4001 and the memory 4003 can be realized through at least one communication bus 4002. The communication bus 4002 may include a path for transmitting data between the processor 4001 and the memory 4003. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The communication bus 4002 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG15, but it does not mean that there is only one bus or one type of bus.
可选地,电子设备4000还可以包括收发器4004,收发器4004可以用于该电子设备与其他电子设备之间的数据交互,如数据的发送和/或数据的接收等。需要说明的是,实际应用中收发器4004不限于一个,该电子设备4000的结构并不构成对本申请实施例的限定。Optionally, the electronic device 4000 may further include a transceiver 4004, which may be used for data interaction between the electronic device and other electronic devices, such as data transmission and/or data reception. It should be noted that in actual applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 does not constitute a limitation on the embodiments of the present application.
处理器4001可以是CPU(Central Processing Unit,中央处理器),通用处理器,DSP(Digital Signal Processor,数据信号处理器),ASIC(Application SpecificIntegrated Circuit,专用集成电路),FPGA(Field ProgrammaBLE Gate Array,现场可编程门阵列)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器4001也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等。Processor 4001 may be a CPU (Central Processing Unit), a general-purpose processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 4001 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
存储器4003可以是ROM(Read Only Memory,只读存储器)或可存储静态信息和指令的其他类型的静态存储设备,RAM(Random Access Memory,随机存取存储器)或者可存储信息和指令的其他类型的动态存储设备,也可以是EEPROM(Electrically ErasaBLEProgrammaBLE Read Only Memory,电可擦可编程只读存储器)、CD-ROM(Compact DiscRead Only Memory,只读光盘)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序指令或代码并能够由电子设备400存取的任何其他介质,但不限于此。The memory 4003 can be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program instructions or codes in the form of instructions or data structures and can be accessed by the electronic device 400, but is not limited to this.
存储器4003上存储有程序指令或代码,处理器4001可以通过通信总线4002读取存储器4003中存储的程序指令或代码。The memory 4003 stores program instructions or codes, and the processor 4001 can read the program instructions or codes stored in the memory 4003 through the communication bus 4002 .
该程序指令或代码被处理器4001执行时实现上述各实施例中的设备配网方法。When the program instructions or codes are executed by the processor 4001, the device network configuration method in the above-mentioned embodiments is implemented.
此外,本申请实施例中提供了一种存储介质,该存储介质上存储有程序指令或代码,程序指令或代码被处理器加载并执行,以实现如如上的设备配网方法。In addition, a storage medium is provided in an embodiment of the present application, on which program instructions or codes are stored, and the program instructions or codes are loaded and executed by a processor to implement the device network configuration method as described above.
本申请实施例中提供了一种计算机程序产品,计算机程序产品包括程序指令或代码,程序指令或代码存储在存储介质中,电子设备的处理器从存储介质读取程序指令或代码,加载并执行该程序指令或代码,使得电子设备实现如上的设备配网方法。In an embodiment of the present application, a computer program product is provided. The computer program product includes program instructions or codes. The program instructions or codes are stored in a storage medium. A processor of an electronic device reads the program instructions or codes from the storage medium, loads and executes the program instructions or codes, so that the electronic device implements the above device network configuration method.
以上仅是本申请的部分实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above are only some implementation methods of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims (13)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410403133.7A CN118632320A (en) | 2024-04-03 | 2024-04-03 | Device network configuration method, device, electronic device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410403133.7A CN118632320A (en) | 2024-04-03 | 2024-04-03 | Device network configuration method, device, electronic device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118632320A true CN118632320A (en) | 2024-09-10 |
Family
ID=92611014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410403133.7A Pending CN118632320A (en) | 2024-04-03 | 2024-04-03 | Device network configuration method, device, electronic device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118632320A (en) |
-
2024
- 2024-04-03 CN CN202410403133.7A patent/CN118632320A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020223854A1 (en) | Device network configuration method and apparatus, electronic device and storage medium | |
US11019130B2 (en) | Method and apparatus for remotely controlling home device in home network system | |
CN108092861B (en) | Configuration method for realizing equipment linkage, equipment linkage control method and device | |
US10521183B2 (en) | Control terminal device and audio system control method that displays a source selection screen with an area image background | |
WO2020168569A1 (en) | Intelligent device network distribution method, apparatus, electronic device and storage medium | |
CN110602692B (en) | Data updating method and device and electronic equipment | |
CN110839271B (en) | Equipment connection method, system, platform and corresponding equipment | |
CN109617963B (en) | Equipment control method and device and Internet of things system | |
US20220052866A1 (en) | Smart home system control method and apparatus, electronic device | |
CN110636483A (en) | Network distribution method and system | |
CN111970180B (en) | Networking configuration method and device for intelligent household equipment, electronic equipment and storage medium | |
CN111372222A (en) | Device connection method and system, corresponding terminal device and server | |
CN113132967A (en) | Fusion networking method, device, system and computer readable storage medium | |
CN113573254A (en) | Networking control method and device for smart home, control equipment and storage medium | |
CN116760567A (en) | Account association methods, devices, electronic devices and storage media | |
WO2023226768A1 (en) | Device control method and apparatus, device, and storage medium | |
US20180020395A1 (en) | Communication system, control terminal, and method for managing communication system | |
CN115356937A (en) | Device control method, device, storage medium, and electronic apparatus | |
WO2017031870A1 (en) | Playing device grouping control method and user terminal | |
CN114637216B (en) | Scene configuration method and device, control method and device, intelligent device and medium | |
CN111010322B (en) | Information configuration method and device, electronic equipment and storage medium | |
CN111953573B (en) | Equipment distribution network processing method, equipment distribution network processing device and intelligent panel | |
CN113794996A (en) | Device communication method, device control method, device communication apparatus, electronic device, and storage medium | |
CN111093248B (en) | Network distribution method, network distribution device and electronic equipment | |
US20240015073A1 (en) | Connection configuration method and apparatus |
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 |