本申请要求于2024年01月19日提交中国专利局、申请号为202410081060.4、申请名称为“终端配网方法、装置、设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on January 19, 2024, with application number 202410081060.4 and application name “Terminal network distribution method, device, equipment and storage medium”, all contents of which are incorporated by reference in this application.
本申请涉及配网技术领域,具体涉及一种终端配网方法、装置、设备和存储介质。The present application relates to the field of network distribution technology, and in particular to a terminal network distribution method, device, equipment and storage medium.
目前,随着物联网技术领域和配网协议的不断发展,涌现出越来越多能够进行互联互通的物联网设备。例如,用户能够基于Matter协议对各物联网设备进行配网,从而实现各物联网设备能够在Matter协议对应局域网内实现互联互通。然而,基于Matter协议进行配网的物联网设备只能访问Matter协议对应局域网,无法在连接Matter局域网的同时访问广域网,导致物联网设备无法连接品牌私有云,无法满足基于私有云对物联网设备进行远程控制的场景需求。At present, with the continuous development of the field of Internet of Things technology and network distribution protocols, more and more Internet of Things devices that can be interconnected have emerged. For example, users can configure the network of various Internet of Things devices based on the Matter protocol, so that various Internet of Things devices can be interconnected in the local area network corresponding to the Matter protocol. However, Internet of Things devices that are configured based on the Matter protocol can only access the local area network corresponding to the Matter protocol, and cannot access the wide area network while connecting to the Matter local area network. As a result, the Internet of Things devices cannot connect to the brand private cloud and cannot meet the scenario requirements of remote control of Internet of Things devices based on the private cloud.
本申请实施例提供一种终端配网方法、装置、设备和存储介质,旨在解决现有技术中物联网设备无法基于matter协议同时连接局域网和私有云的技术问题。The embodiments of the present application provide a terminal network configuration method, apparatus, device and storage medium, which aim to solve the technical problem in the prior art that IoT devices cannot simultaneously connect to a local area network and a private cloud based on the matter protocol.
一方面,本申请实施例提供一种终端配网方法,所述终端配网方法包括以下步骤:On the one hand, an embodiment of the present application provides a terminal network configuration method, the terminal network configuration method comprising the following steps:
获取待配网的目标配网终端的终端配网信息;Obtain terminal network configuration information of the target network configuration terminal to be configured;
基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;Access the first distribution network cloud based on the distribution network mode information and the service identifier in the terminal distribution network information to determine the private cloud jump link of the target distribution network terminal;
访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;Access the second network distribution cloud corresponding to the private cloud jump link, and obtain the target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information;
基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。The target network configuration terminal is configured with a local area network based on a preset network configuration protocol, and the target network configuration terminal is configured with a private cloud based on the target network configuration character string to generate a terminal network configuration result for the target network configuration terminal.
在本申请一种可能的实现方式中,所述基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接,包括:In a possible implementation of the present application, the accessing the first distribution network cloud based on the distribution network mode information and the service identifier in the terminal distribution network information to determine the private cloud jump link of the target distribution network terminal includes:
若所述配网模式信息为目标配网模式,则访问所述目标配网终端对应的第一配网云端;If the network distribution mode information is the target network distribution mode, accessing the first network distribution cloud corresponding to the target network distribution terminal;
获取所述第一配网云端中与目标配网终端的设备标识和所述业务标识关联的私有云跳转链接,所述私有云跳转链接为第一配网云端预先设置的与所述目标配网终端关联的,指向第二配网云端的配网跳转链接。Obtain a private cloud jump link associated with the device identifier of the target distribution network terminal and the service identifier in the first distribution network cloud, wherein the private cloud jump link is a distribution network jump link pre-set by the first distribution network cloud and associated with the target distribution network terminal, pointing to the second distribution network cloud.
在本申请一种可能的实现方式中,所述访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串,包括:In a possible implementation of the present application, the accessing the second network distribution cloud corresponding to the private cloud jump link, and obtaining the target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information, includes:
访问所述私有云跳转链接对应的第二配网云端,获取所述第二配网云端对应的设备配网页面;Access the second network configuration cloud corresponding to the private cloud jump link, and obtain the device network configuration page corresponding to the second network configuration cloud;
在所述设备配网页面基于所述终端配网信息中的设备序列信息和设备标识进行配网注册,得到与所述目标配网终端绑定的私有云账号信息;Performing network configuration registration on the device network configuration page based on the device serial information and device identification in the terminal network configuration information to obtain private cloud account information bound to the target network configuration terminal;
获取所述第二配网云端基于所述私有云账号信息生成的目标配网字符串。Obtain a target network configuration string generated by the second network configuration cloud based on the private cloud account information.
在本申请一种可能的实现方式中,所述基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果,包括:In a possible implementation of the present application, the performing of local area network configuration on the target network configuration terminal based on the preset network configuration protocol, performing of private cloud network configuration on the target network configuration terminal based on the target network configuration string, and generating a terminal network configuration result of the target network configuration terminal include:
根据预设配网协议对所述目标配网终端进行局域网配网处理,得到局域网配网结果;Performing local area network configuration processing on the target network configuration terminal according to a preset network configuration protocol to obtain a local area network configuration result;
根据所述目标配网终端的网络配置信息、所述目标配网字符串和终端配网信息对所述目标配网终端进行私有云配网,得到私有云配网结果;Perform private cloud network configuration on the target network configuration terminal according to the network configuration information of the target network configuration terminal, the target network configuration string and the terminal network configuration information, and obtain a private cloud network configuration result;
汇总所述局域网配网结果和所述私有云配网结果,生成所述目标配网终端的终端配网结果。The local area network configuration result and the private cloud network configuration result are aggregated to generate a terminal network configuration result of the target network configuration terminal.
在本申请一种可能的实现方式中,所述根据预设配网协议和预设连接方式对所述目标配网终端进行局域网配网处理,得到局域网配网结果,包括:In a possible implementation of the present application, performing local area network configuration processing on the target network configuration terminal according to a preset network configuration protocol and a preset connection mode to obtain a local area network configuration result includes:
基于所述预设配网协议对所述目标配网终端进行配网通道设置,得到第一配网通道;Setting a network distribution channel for the target network distribution terminal based on the preset network distribution protocol to obtain a first network distribution channel;
根据所述预设连接方式对所述目标配网终端进行网络配置,得到网络配置信息;Performing network configuration on the target distribution network terminal according to the preset connection mode to obtain network configuration information;
根据所述第一配网通道和所述网络配置信息对目标配网终端进行局域网配网认证,得到局域网配网结果。The target network distribution terminal is authenticated through the local area network distribution according to the first network distribution channel and the network configuration information to obtain a local area network distribution result.
在本申请一种可能的实现方式中,所述根据所述局域网配网结果中的网络配置信息和私有云账号信息对所述目标配网终端进行私有云配网,得到私有云配网结果,包括:In a possible implementation of the present application, performing private cloud network configuration on the target network configuration terminal according to the network configuration information and private cloud account information in the local area network configuration result to obtain the private cloud network configuration result includes:
基于所述网络配置信息、所述终端配网信息中的设备序列信息和所述私有云账号信息向所述第二配网云端发送私有云配网事件;Sending a private cloud network configuration event to the second network configuration cloud based on the network configuration information, the device sequence information in the terminal network configuration information, and the private cloud account information;
根据所述第二配网云端传回的云端配网令牌控制所述目标配网终端进行配网操作,得到私有云配网结果。The target network configuration terminal is controlled to perform network configuration operations according to the cloud network configuration token transmitted back by the second network configuration cloud to obtain a private cloud network configuration result.
在本申请一种可能的实现方式中,所述生成所述目标配网终端的终端配网结果之后,还包括:In a possible implementation of the present application, after generating the terminal network configuration result of the target network configuration terminal, the method further includes:
在预设局域网应用显示所述目标配网终端的第一终端控制卡片,以及在预设私有云应用显示所述目标配网终端的第二终端控制卡片;Displaying a first terminal control card of the target network distribution terminal in a preset local area network application, and displaying a second terminal control card of the target network distribution terminal in a preset private cloud application;
响应所述第一终端控制卡片触发的局域网控制事件,基于所述局域网控制事件对所述目标配网终端执行局域网交互,得到第一交互结果;In response to a local area network control event triggered by the first terminal control card, performing local area network interaction on the target distribution network terminal based on the local area network control event to obtain a first interaction result;
和/或,响应所述第二终端控制卡片触发的远程控制事件,基于所述远程控制事件和第二配网云端对所述目标配网终端执行远程交互,得到第二交互结果。And/or, in response to a remote control event triggered by the second terminal control card, remote interaction is performed on the target distribution network terminal based on the remote control event and the second distribution network cloud to obtain a second interaction result.
另一方面,本申请提供一种终端配网装置,所述终端配网装置包括:On the other hand, the present application provides a terminal network configuration device, the terminal network configuration device comprising:
信息获取模块,被配置为获取待配网的目标配网终端的终端配网信息;An information acquisition module is configured to acquire terminal network configuration information of a target network configuration terminal to be configured;
链接获取模块,被配置为基于所述终端配网信息中的配网模式信息、设备标识和业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;A link acquisition module is configured to access the first network distribution cloud based on the network distribution mode information, device identification and service identification in the terminal network distribution information, and determine the private cloud jump link of the target network distribution terminal;
密钥获取模块,被配置为访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;A key acquisition module is configured to access a second network distribution cloud corresponding to the private cloud jump link, and obtain a target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information;
终端配网模块,被配置为基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。The terminal network configuration module is configured to perform local area network configuration on the target network configuration terminal based on a preset network configuration protocol, perform private cloud network configuration on the target network configuration terminal based on the target network configuration string, and generate a terminal network configuration result for the target network configuration terminal.
另一方面,本申请还提供一种终端配网设备,所述终端配网设备包括:On the other hand, the present application also provides a terminal network distribution device, the terminal network distribution device comprising:
一个或多个处理器;one or more processors;
存储器;以及Memory; and
一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行以实现所述的终端配网方法的步骤。One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement the steps of the terminal network configuration method.
另一方面,本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行所述的终端配网方法中的步骤。On the other hand, the present application also provides a computer-readable storage medium on which a computer program is stored, and the computer program is loaded by a processor to execute the steps in the terminal network configuration method.
本申请中通过获取待配网的目标配网终端的终端配网信息;基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。实现通过在使用通用配网协议对配网设备进行配网以进行局域网互联时,还能够将各配网设备连接到对应的私有云进行远程控制,提高物联网设备的交互效率。In this application, the terminal network configuration information of the target network configuration terminal to be configured is obtained; based on the network configuration mode information and the service identifier in the terminal network configuration information, the first network configuration cloud is accessed to determine the private cloud jump link of the target network configuration terminal; the second network configuration cloud corresponding to the private cloud jump link is accessed, and based on the second network configuration cloud and the device sequence information in the terminal network configuration information, the target network configuration string of the target network configuration terminal is obtained; the local area network configuration of the target network configuration terminal is performed based on the preset network configuration protocol, and the private cloud configuration of the target network configuration terminal is performed based on the target network configuration string, and the terminal network configuration result of the target network configuration terminal is generated. By using the universal network configuration protocol to configure the network configuration devices for local area network interconnection, each network configuration device can also be connected to the corresponding private cloud for remote control, thereby improving the interaction efficiency of IoT devices.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only for reference only. For some embodiments of the present invention, those skilled in the art can derive other drawings based on these drawings without paying any creative work.
图1为本申请实施例终端配网方法的场景示意图;FIG1 is a schematic diagram of a scenario of a terminal network configuration method according to an embodiment of the present application;
图2为本申请实施例中终端配网方法的一个实施例的流程示意图;FIG2 is a flow chart of an embodiment of a terminal network configuration method according to an embodiment of the present application;
图3为本申请实施例提供的终端配网方法中进行局域网配网的一个实施例的流程示意图;FIG3 is a flow chart of an embodiment of performing local area network configuration in a terminal network configuration method provided in an embodiment of the present application;
图4为本申请实施例提供的终端配网方法中对目标配网终端进行交互的一个实施例的流程示意图;FIG4 is a flow chart of an embodiment of interacting with a target network configuration terminal in a terminal network configuration method provided in an embodiment of the present application;
图5为本申请实施例提供的终端配网装置的一个实施例的结构示意图;FIG5 is a schematic diagram of the structure of an embodiment of a terminal network distribution device provided in an embodiment of the present application;
图6为本申请实施例提供的终端配网设备的一个实施例的结构示意图。FIG6 is a schematic diagram of the structure of an embodiment of a terminal network distribution device provided in an embodiment of the present application.
本申请的实施方式Embodiments of the present application
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of this application.
在本申请的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“前”、“后”、“左”、“右”、“竖直”、“水平”、“顶”、“底”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本申请和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本申请的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the said features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
在本申请中,“示例性”一词用来表示“用作例子、例证或说明”。本申请中被描述为“示例性”的任何实施例不一定被解释为比其它实施例更优选或更具优势。为了使本领域任何技术人员能够实现和使用本申请,给出了以下描述。在以下描述中,为了解释的目的而列出了细节。应当明白的是,本领域普通技术人员可以认识到,在不使用这些特定细节的情况下也可以实现本申请。在其它实例中,不会对公知的结构和过程进行详细阐述,以避免不必要的细节使本申请的描述变得晦涩。因此,本申请并非旨在限于所示的实施例,而是与符合本申请所公开的原理和特征的最广范围相一致。In this application, the word "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is provided to enable any person skilled in the art to implement and use the present application. In the following description, details are listed for the purpose of explanation. It should be understood that those skilled in the art will not necessarily understand the present invention. Those skilled in the art will recognize that the present application can be implemented without using these specific details. In other examples, well-known structures and processes will not be elaborated in detail to avoid unnecessary details that obscure the description of the present application. Therefore, the present application is not intended to be limited to the embodiments shown, but is consistent with the widest range of principles and features disclosed in the present application.
目前,随着物联网技术领域和配网协议的不断发展,涌现出越来越多能够进行互联互通的物联网设备。例如,用户能够基于Matter协议对各物联网设备进行配网,从而实现各物联网设备能够在Matter协议对应局域网内实现互联互通。然而,基于Matter协议进行配网的物联网设备只能访问Matter协议对应局域网,无法在连接Matter局域网的同时访问广域网,导致物联网设备无法连接品牌私有云,无法满足基于私有云对物联网设备进行远程控制的场景需求。At present, with the continuous development of the field of Internet of Things technology and network distribution protocols, more and more Internet of Things devices that can be interconnected have emerged. For example, users can configure the network of various Internet of Things devices based on the Matter protocol, so that various Internet of Things devices can be interconnected in the local area network corresponding to the Matter protocol. However, Internet of Things devices that are configured based on the Matter protocol can only access the local area network corresponding to the Matter protocol, and cannot access the wide area network while connecting to the Matter local area network. As a result, the Internet of Things devices cannot connect to the brand private cloud and cannot meet the scenario requirements of remote control of Internet of Things devices based on the private cloud.
基于此,本申请提出一种终端配网方法、装置、设备和计算机可读存储介质,以解决现有技术中物联网设备无法基于matter协议同时连接局域网和私有云的技术问题。Based on this, the present application proposes a terminal network configuration method, device, equipment and computer-readable storage medium to solve the technical problem in the prior art that IoT devices cannot simultaneously connect to a local area network and a private cloud based on the matter protocol.
本申请实施例中的终端配网方法应用于终端配网装置,终端配网装置设置于终端配网设备,终端配网设备中设置有一个或多个处理器、存储器,以及一个或多个应用程序,其中一个或多个应用程序被存储于存储器中,并被配置为由处理器执行以实施终端配网方法;其中,终端配网设备可以是智能终端,例如手机、平板电脑、网络设备和智能电脑等;可选的,终端配网设备还可以是一台服务器,或者多台服务器组成的服务集群。The terminal network configuration method in the embodiment of the present application is applied to a terminal network configuration device, and the terminal network configuration device is arranged in the terminal network configuration equipment. The terminal network configuration equipment is provided with one or more processors, memories, and one or more applications, wherein the one or more applications are stored in the memories and configured to be executed by the processor to implement the terminal network configuration method; wherein the terminal network configuration equipment can be an intelligent terminal, such as a mobile phone, a tablet computer, a network device, and a smart computer, etc.; optionally, the terminal network configuration equipment can also be a server, or a service cluster composed of multiple servers.
如图1所示,图1为本申请实施例终端配网方法的场景示意图,本申请实施例中终端配网场景包括终端配网设备100(终端配网设备100中集成有终端配网装置)和目标配网终端200,终端配网设备100中运行有终端配网方法对应的计算机可读存储介质,以执行终端配网方法的步骤。该目标配网终端200为与终端配网设备100进行数据对接的业务终端。As shown in Figure 1, Figure 1 is a schematic diagram of a scenario of a terminal network configuration method in an embodiment of the present application. In the embodiment of the present application, the terminal network configuration scenario includes a terminal network configuration device 100 (a terminal network configuration device is integrated in the terminal network configuration device 100) and a target network configuration terminal 200. A computer-readable storage medium corresponding to the terminal network configuration method is run in the terminal network configuration device 100 to execute the steps of the terminal network configuration method. The target network configuration terminal 200 is a service terminal for data connection with the terminal network configuration device 100.
可以理解的是,图1所示终端配网方法场景中的终端配网设备,或者终端配网设备中包含的装置并不构成对本申请实施例的限制,即终端配网方法的场景中包含的终端配网设备的设备数量、设备种类,或者各个设备中包含的装置数、装置种类不影响本申请实施例中技术方案的整体实现,均可以算作本申请实施例要求保护技术方案的等效替换或者衍生。It is understandable that the terminal network configuration device in the terminal network configuration method scenario shown in FIG1, or the device included in the terminal network configuration device, does not constitute a limitation on the embodiments of the present application, that is, the number of devices, types of devices, or devices included in each device of the terminal network configuration device included in the scenario of the terminal network configuration method. The number and type of devices do not affect the overall implementation of the technical solutions in the embodiments of the present application, and can all be regarded as equivalent replacements or derivatives of the technical solutions claimed to be protected in the embodiments of the present application.
本申请实施例中终端配网设备100主要用于:获取待配网的目标配网终端的终端配网信息;The terminal network configuration device 100 in the embodiment of the present application is mainly used to: obtain the terminal network configuration information of the target network configuration terminal to be configured;
基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;Access the first distribution network cloud based on the distribution network mode information and the service identifier in the terminal distribution network information to determine the private cloud jump link of the target distribution network terminal;
访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;Access the second network distribution cloud corresponding to the private cloud jump link, and obtain the target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information;
基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。The target network configuration terminal is configured with a local area network based on a preset network configuration protocol, and the target network configuration terminal is configured with a private cloud based on the target network configuration character string to generate a terminal network configuration result for the target network configuration terminal.
本申请实施例中的终端配网设备100可以是独立的终端配网设备,例如手机、平板电脑、网络设备、服务器和智能电脑等智能终端,也可以是由多个终端配网设备组成的终端配网网络或终端配网集群。The terminal network distribution device 100 in the embodiment of the present application can be an independent terminal network distribution device, such as a smart terminal such as a mobile phone, a tablet computer, a network device, a server, and a smart computer, or it can be a terminal network distribution network or a terminal network distribution cluster composed of multiple terminal network distribution devices.
本申请实施例提供一种终端配网方法、装置、设备和计算机可读存储介质,以下分别进行详细说明。The embodiments of the present application provide a terminal network configuration method, apparatus, device, and computer-readable storage medium, which are described in detail below.
本领域技术人员可以理解的是,图1中所示出的应用环境,仅仅是与本申请方案相关的其中一种应用场景,并不构成对本申请方案应用场景的限定,其它的应用环境还可以包括比图1所示出的更多或更少的终端配网设备,或者终端配网网络连接关系,例如图1中仅示出一个终端配网设备,可以理解的是该终端配网方法的场景还可以包括一个或多个终端配网设备,具体在此不做限定;该终端配网设备100中还可以包括存储器,用于存储终端配网信息和其它数据。Those skilled in the art will appreciate that the application environment shown in FIG. 1 is merely one of the application scenarios related to the solution of the present application, and does not constitute a limitation on the application scenario of the solution of the present application. Other application environments may also include more or fewer terminal network configuration devices than those shown in FIG. 1 , or terminal network configuration network connection relationships. For example, FIG. 1 shows only one terminal network configuration device, and it is understandable that the scenario of the terminal network configuration method may also include one or more terminal network configuration devices, which are not specifically limited here. The terminal network configuration device 100 may also include a memory for storing terminal network configuration information and other data.
需要说明的是,图1所示的终端配网方法的场景示意图仅仅是一个示例,本申请实施例描述的终端配网方法的场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定。It should be noted that the scenario diagram of the terminal network configuration method shown in Figure 1 is only an example. The scenario of the terminal network configuration method described in the embodiment of the present application is to more clearly illustrate the technical solution of the embodiment of the present application, and does not constitute a limitation on the technical solution provided by the embodiment of the present application.
基于上述终端配网方法的场景,提出本申请所公开的终端配网方法的各个Based on the scenario of the above terminal network configuration method, various aspects of the terminal network configuration method disclosed in this application are proposed.
如图2所示,图2为本申请实施例中终端配网方法的一个实施例的流程示意图,该终端配网方法包括如下步骤201~步骤204:As shown in FIG. 2 , FIG. 2 is a flow chart of an embodiment of a terminal network configuration method in an embodiment of the present application, and the terminal network configuration method includes the following steps 201 to 204:
201、获取待配网的目标配网终端的终端配网信息和配网模式信息;201. Obtain terminal network configuration information and network configuration mode information of a target network configuration terminal to be configured;
本实施例中的终端配网方法应用于终端配网设备,终端配网设备的种类和数量不做具体限定,即,终端配网设备可以是一个或多个控制目标配网终端进行配网操作的智能终端或者服务器,在一个具体实施例中,终端配网设备为智能手机。其中,目标配网终端为支持预设配网协议,能够按照该预设配网协议标准进行配网和控制的物联网终端。可选的,该预设配网协议可以为matter配网协议。The terminal network configuration method in this embodiment is applied to the terminal network configuration device, and the type and quantity of the terminal network configuration device are not specifically limited, that is, the terminal network configuration device can be one or more intelligent terminals or servers that control the target network configuration terminal to perform network configuration operations. In a specific embodiment, the terminal network configuration device is a smart phone. Among them, the target network configuration terminal is an Internet of Things terminal that supports a preset network configuration protocol and can perform network configuration and control according to the preset network configuration protocol standard. Optionally, the preset network configuration protocol can be a matter network configuration protocol.
具体的,终端配网设备在运行过程中,响应针对目标配网终端的终端配网请求,其中,该终端配网请求为控制终端配网设备对该目标配网终端进行matter配网和私有云配网的操作请求。其中,该终端配网请求的触发方式在此不做具体限定。例如,该终端配网请求可以由用户触发的,例如,用户通过点击终端配网设备上的配网应用程序,主动触发针对该目标配网终端的终端配网请求。可选的,该终端配网请求还可以由终端配网设备自动触发,例如,终端配网设备中预先设置了自动配网进程,在预设时间段自动触发关联的目标配网终端对应的终端配网请求。Specifically, during operation, the terminal network configuration device responds to a terminal network configuration request for a target network configuration terminal, wherein the terminal network configuration request is an operation request for controlling the terminal network configuration device to perform matter network configuration and private cloud network configuration on the target network configuration terminal. The triggering method of the terminal network configuration request is not specifically limited here. For example, the terminal network configuration request can be triggered by a user, for example, the user actively triggers the terminal network configuration request for the target network configuration terminal by clicking on the network configuration application on the terminal network configuration device. Optionally, the terminal network configuration request can also be automatically triggered by the terminal network configuration device, for example, an automatic network configuration process is pre-set in the terminal network configuration device, and the terminal network configuration request corresponding to the associated target network configuration terminal is automatically triggered during a preset time period.
具体的,终端配网设备在获取到终端配网请求后,还获取待配网的目标配网终端的终端配网信息和配网模式信息。其中,该终端配网信息为包含目标配网终端的配网参数,用于进行局域网配网设置和广域网配网设置的终端信息。在一个具体实施例中,该终端配网信息包括设备序列信息、业务标识和鉴别器等。Specifically, after obtaining the terminal network configuration request, the terminal network configuration device also obtains the terminal network configuration information and network configuration mode information of the target network configuration terminal to be configured. The terminal network configuration information is the terminal information containing the network configuration parameters of the target network configuration terminal, which is used for performing local area network configuration settings and wide area network configuration settings. In a specific embodiment, the terminal network configuration information includes device serial information, service identifier, and identifier, etc.
其中,配网模式信息为终端配网请求中携带的,表征目标配网终端的调试配网模式的模式标识。在一个具体实施例中,该目标终端配网的调试配网模式包括仅连接matter局域网的常规配网模式和能够连接matter局域网和业务私有云的配网模式。The network configuration mode information is a mode identifier carried in the terminal network configuration request, which represents the debugging network configuration mode of the target network configuration terminal. In a specific embodiment, the debugging network configuration mode of the target terminal network configuration includes a conventional network configuration mode that only connects to the matter local area network and a network configuration mode that can connect to the matter local area network and the business private cloud.
设备序列信息为用于唯一标识目标配网终端,记载目标配网终端的终端信息(如终端型号等)的终端序列号。The device serial information is a terminal serial number used to uniquely identify the target distribution network terminal and record the terminal information (such as terminal model, etc.) of the target distribution network terminal.
业务标识为用于识别目标配网终端的品牌厂商的品牌业务标识。The business identifier is a brand business identifier used to identify the brand manufacturer of the target distribution network terminal.
具体的,目标配网终端上设置了存储该终端配网信息的标识信息,终端配网设备扫描该标识信息,访问该标识信息对应的存储页面,获取该存储页面中存储的终端配网信息。其中,该标识信息可以为二维码等图案标识或网页链接等字符标识。Specifically, the target network configuration terminal is provided with identification information for storing the terminal network configuration information, and the terminal network configuration device scans the identification information, accesses the storage page corresponding to the identification information, and obtains the terminal network configuration information stored in the storage page. The identification information may be a pattern identification such as a QR code or a character identification such as a web page link.
202、基于所述配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;202. Access the first distribution network cloud based on the distribution network mode information and the service identifier in the terminal distribution network information to determine the private cloud jump link of the target distribution network terminal;
具体的,终端配网设备在获取到该目标配网终端的终端配网信息后,还基于该配网模式信息和该终端配网信息中的业务标识访问第一配网云端,确定该目标配网终端的私有云跳转链接。Specifically, after obtaining the terminal network configuration information of the target network configuration terminal, the terminal network configuration device also accesses the first network configuration cloud based on the network configuration mode information and the service identifier in the terminal network configuration information to determine the private cloud jump link of the target network configuration terminal.
具体的,终端配网设备获取该目标配网终端的配网模式信息后,识别该配网模式信息,确定该目标配网终端的调试配网模式。Specifically, after the terminal network configuration device obtains the network configuration mode information of the target network configuration terminal, it identifies the network configuration mode information and determines the debugging network configuration mode of the target network configuration terminal.
可选的,若该配网模式信息为常规配网模式,则终端配网设备确定本次配网流程为局域网配网流程,终端配网设备基于matter配网流程中的常规配网流程控制目标配网终端进行局域网配网。Optionally, if the network configuration mode information is a conventional network configuration mode, the terminal network configuration device determines that this network configuration process is a local area network configuration process, and the terminal network configuration device controls the target network configuration terminal to perform local area network configuration based on the conventional network configuration process in the matter network configuration process.
可选的,若该配网模式信息为目标配网模式,则终端配网设备确定本次配网流程为多重配网流程,终端配网设备基于matter配网流程中的自定义配网流程控制目标配网终端进行局域网配网和私有云配网。Optionally, if the network configuration mode information is the target network configuration mode, the terminal network configuration device determines that this network configuration process is a multiple network configuration process, and the terminal network configuration device controls the target network configuration terminal to perform local area network configuration and private cloud network configuration based on the custom network configuration process in the matter network configuration process.
具体的,由于现有的matter配网协议中未规范链接私有云的流程操作,基于此,终端配网设备在对目标配网终端进行配网之前,还预先对目标配网模式中的配网流程进行设置,在目标配模式关联的第一配网云端将预设配网链接设置与设备标识和业务标识关联的私有云跳转链接。其中,该私有云跳转链接为各配网终端关联的私有云的设备配网页面。其中,第一配网云端为基于预设配网协议对配网终端进行局域网配网的云服务器。在一个具体实施例中,该预设配网链接为commissioncustomflowurl。该设备配网页面为指定业务厂商的私有云登录页面。Specifically, since the existing matter network configuration protocol does not standardize the process operation of linking to the private cloud, based on this, before the terminal network configuration device configures the target network configuration terminal, it also pre-sets the network configuration process in the target network configuration mode, and sets the preset network configuration link to a private cloud jump link associated with the device identifier and the service identifier in the first network configuration cloud associated with the target network configuration mode. Among them, the private cloud jump link is the device network configuration page of the private cloud associated with each network configuration terminal. Among them, the first network configuration cloud is a cloud server that performs local area network configuration for the network configuration terminal based on the preset network configuration protocol. In a specific embodiment, the preset network configuration link is commissioncustomflowurl. The device network configuration page is the private cloud login page of the specified service vendor.
具体的,终端配网设备访问预设配网协议对应的第一配网云端,向该第一配网云端发送目标配网终端对应的终端配网信息中的业务标识和设备标识,驱动第一配网云端查询该业务标识和设备标识对应的私有云跳转链接,并获取该第一配网云端传回的鱼该目标配网终端的设备标识和业务标识关联的私有云跳转链接。其中,该私有云跳转链接为第一配网云端预先设置的与目标配网终端关联的,指向第二配网云端的配网跳转链接。Specifically, the terminal network configuration device accesses the first network configuration cloud corresponding to the preset network configuration protocol, sends the service identifier and device identifier in the terminal network configuration information corresponding to the target network configuration terminal to the first network configuration cloud, drives the first network configuration cloud to query the private cloud jump link corresponding to the service identifier and device identifier, and obtains the private cloud associated with the device identifier and service identifier of the target network configuration terminal sent back by the first network configuration cloud. Jump link. The private cloud jump link is a distribution network jump link pre-set by the first distribution network cloud and associated with the target distribution network terminal, pointing to the second distribution network cloud.
203、访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;203. Access the second network distribution cloud corresponding to the private cloud jump link, and obtain the target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information;
具体的,终端配网设备在获取到目标配网终端对应的私有云跳转链接后,能够基于该私有云跳转链接访问第二配网云端,基于第二配网云端和设备序列信息获取该目标配网终端的目标配网字符串,其中,该目标配网字符串为用于实现目标配网终端鱼第二配网云端建立连接的字符串。Specifically, after obtaining the private cloud jump link corresponding to the target distribution network terminal, the terminal distribution network device can access the second distribution network cloud based on the private cloud jump link, and obtain the target distribution network string of the target distribution network terminal based on the second distribution network cloud and device serial information, wherein the target distribution network string is a string used to establish a connection between the target distribution network terminal and the second distribution network cloud.
具体的,终端配网设备访问该私有云跳转连接对应的第二配网云端,获取该第二配网云端对应的设备配网页面,其中,该第二配网云端为与该目标配网终端的业务标识关联的私有云服务器。该设备配网页面为该第二配网云端搭建的,用于引导用户激活设备的设备登录/注册页面。Specifically, the terminal network configuration device accesses the second network configuration cloud corresponding to the private cloud jump connection, and obtains the device network configuration page corresponding to the second network configuration cloud, wherein the second network configuration cloud is a private cloud server associated with the service identifier of the target network configuration terminal. The device network configuration page is built by the second network configuration cloud and is used to guide the user to activate the device login/registration page.
具体的,终端配网设备访问该第二配网云端对应的设备配网页面,并在该设备配网页面基于该终端配网信息中的设备序列信息和设备标识进行配网注册,即,将目标配网终端在第二配网云端中进行设备注册,得到与该目标配网终端关联的私有云账号信息。Specifically, the terminal network configuration device accesses the device network configuration page corresponding to the second network configuration cloud, and registers for network configuration on the device network configuration page based on the device serial information and device identification in the terminal network configuration information, that is, registers the target network configuration terminal in the second network configuration cloud, and obtains the private cloud account information associated with the target network configuration terminal.
具体的,终端配网设备基于设备配网页面注册目标配网终端关联的私有云账号信息时,还通过私有云跳转连接和预设接口信息,将该目标配网终端的终端配网信息中的设备序列信息和设备标识上传到第二配网云端,以进行配网注册及设备激活,从而得到与该目标配网终端关联的私有云账号信息。在一个具体实施例中,该预设接口信息为MTop信息。Specifically, when the terminal network configuration device registers the private cloud account information associated with the target network configuration terminal based on the device network configuration page, the device sequence information and device identification in the terminal network configuration information of the target network configuration terminal are uploaded to the second network configuration cloud through the private cloud jump connection and preset interface information to perform network configuration registration and device activation, thereby obtaining the private cloud account information associated with the target network configuration terminal. In a specific embodiment, the preset interface information is MTop information.
具体的,终端配网设备在对目标配网终端进行设备激活,得到私有云账号信息后,还获取第二配网云端中基于该私有云账号信息生成的目标配网字符串,并在后续配网步骤中基于该目标配网字符串与第二配网云端建立连接。Specifically, after the terminal configuration device activates the target configuration terminal and obtains the private cloud account information, it also obtains the target configuration string generated in the second configuration cloud based on the private cloud account information, and establishes a connection with the second configuration cloud based on the target configuration string in subsequent configuration steps.
204、基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。204. Perform local area network configuration on the target network configuration terminal based on a preset network configuration protocol, perform private cloud network configuration on the target network configuration terminal based on the target network configuration character string, and generate a terminal network configuration result for the target network configuration terminal.
具体的,终端配网设备在获取到该目标字符串后,还基于该目标字符串和预设配网协议对目标配网终端进行多重配网,得到该目标终端的终端配网结果。Specifically, after acquiring the target character string, the terminal network configuration device also performs multiple network configurations on the target network configuration terminal based on the target character string and a preset network configuration protocol to obtain a terminal network configuration result of the target terminal.
具体的,终端配网设备在获取到目标配网字符串后,根据预设配网协议对目标配网终端进行局域网配网,对目标配网终端进行局域网matter认证,得到局域网配网结果。Specifically, after obtaining the target network configuration string, the terminal network configuration device performs LAN network configuration on the target network configuration terminal according to the preset network configuration protocol, performs LAN matter authentication on the target network configuration terminal, and obtains the LAN network configuration result.
具体的,终端配网设备还根据目标配网终端的网络配置信息、目标配网字符串和终端配网信息对目标配网终端进行私有云配网,得到私有云配网结果。其中,该网络配置信息为表征目标配网终端局域网配网过程中的无线网络配置信息。Specifically, the terminal network configuration device also performs private cloud network configuration on the target network configuration terminal according to the network configuration information of the target network configuration terminal, the target network configuration string and the terminal network configuration information to obtain a private cloud network configuration result. The network configuration information is the wireless network configuration information representing the local area network configuration process of the target network configuration terminal.
具体的,终端配网设备基于网络配置信息、该终端配网信息中的设备序列信息和该私有云账号信息向该第二配网云端发送所述目标配网终端的私有云配网事件,其中,该私有云配网事件为向第二配网云端对应的私有云账号绑定该目标配网终端的终端绑定事件;Specifically, the terminal network configuration device sends a private cloud network configuration event of the target network configuration terminal to the second network configuration cloud based on the network configuration information, the device sequence information in the terminal network configuration information, and the private cloud account information, wherein the private cloud network configuration event is a terminal binding event for binding the target network configuration terminal to the private cloud account corresponding to the second network configuration cloud;
根据该第二配网云端传回的云端配网令牌控制该目标配网终端进行配网操作,即,终端配网设备基于云端配网令牌建立目标配网终端与第二配网终端的私有云连接,得到私有云配网结果。The target network configuration terminal is controlled to perform network configuration operation according to the cloud network configuration token transmitted back by the second network configuration cloud, that is, the terminal network configuration device establishes a private cloud connection between the target network configuration terminal and the second network configuration terminal based on the cloud network configuration token to obtain a private cloud network configuration result.
具体的,终端配网设备在对目标配网终端进行多重配网后,还能分别通过局域网配网对应的应用程序对目标配网终端进行局域网控制,以及通过第二配网云端对应的应用程序对目标配网终端进行远程控制和流量推送等交互操作。Specifically, after the terminal distribution network equipment performs multiple distribution networks on the target distribution network terminal, it can also perform local area network control on the target distribution network terminal through the application corresponding to the local area network distribution network, and perform remote control and traffic push and other interactive operations on the target distribution network terminal through the application corresponding to the second distribution network cloud.
本实施例中,终端配网设备通过获取待配网的目标配网终端的终端配网信息;基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。实现通过在使用通用配网协议对配网设备进行配网以进行局域网互联时,还能够将各配网设备连接到对应的私有云进行远程控制,提高物联网设备的交互效率。In this embodiment, the terminal network configuration device obtains the terminal network configuration information of the target network configuration terminal to be configured; based on the network configuration mode information and the service identifier in the terminal network configuration information, accesses the first network configuration cloud to determine the private cloud jump link of the target network configuration terminal; accesses the second network configuration cloud corresponding to the private cloud jump link, and obtains the target network configuration string of the target network configuration terminal based on the second network configuration cloud and the device sequence information in the terminal network configuration information; performs LAN network configuration on the target network configuration terminal based on the preset network configuration protocol, performs private cloud network configuration on the target network configuration terminal based on the target network configuration string, and generates the terminal network configuration result of the target network configuration terminal. By using the universal network configuration protocol to configure the network configuration devices for LAN interconnection, each network configuration device can also be connected to the corresponding private cloud for remote control, thereby improving the interaction efficiency of IoT devices.
如图3所示,图3为本申请实施例提供的终端配网方法中进行局域网配网的一个实施例的流程示意图,具体的,本实施例中,终端配网方法还包括步骤301~步骤303:As shown in FIG. 3 , FIG. 3 is a flow chart of an embodiment of performing local area network configuration in a terminal network configuration method provided in an embodiment of the present application. Specifically, in this embodiment, the terminal network configuration method further includes steps 301 to 303:
301、基于所述预设配网协议对所述目标配网终端进行配网通道设置,得到第一配网通道;301. Setting a network distribution channel for the target network distribution terminal based on the preset network distribution protocol to obtain a first network distribution channel;
302、根据所述预设连接方式对所述目标配网终端进行网络配置,得到网络配置信息;302. Perform network configuration on the target distribution network terminal according to the preset connection mode to obtain network configuration information;
303、根据所述第一配网通道和所述网络配置信息对目标配网终端进行局域网配网认证,得到局域网配网结果。303. Perform local area network configuration authentication on the target network configuration terminal according to the first network configuration channel and the network configuration information to obtain a local area network configuration result.
基于上述实施例,本实施例中,终端配网设备在获取到目标配网字符串后,基于该目标字符串和预设配网协议对目标配网终端进行多重配网,得到该目标终端的终端配网结果。Based on the above embodiments, in this embodiment, after acquiring the target network configuration string, the terminal network configuration device performs multiple network configurations on the target network configuration terminal based on the target string and a preset network configuration protocol to obtain a terminal network configuration result of the target terminal.
具体的,终端配网设备在获取到目标配网字符串后,根据预设配网协议对目标配网终端进行局域网配网,对目标配网终端进行局域网matter认证,得到局域网配网结果。Specifically, after obtaining the target network configuration string, the terminal network configuration device performs LAN network configuration on the target network configuration terminal according to the preset network configuration protocol, performs LAN matter authentication on the target network configuration terminal, and obtains the LAN network configuration result.
具体的,终端配网设备基于预设配网协议对目标配网终端进行配网通道设置,得到第一配网通道,其中,该第一配网通道为PASE(Pairing and Authentication Standard Encapsulation)安全通道。Specifically, the terminal network distribution device sets a network distribution channel for the target network distribution terminal based on a preset network distribution protocol to obtain a first network distribution channel, wherein the first network distribution channel is a PASE (Pairing and Authentication Standard Encapsulation) security channel.
具体的,终端配网设备获取目标配网终端对应终端配网信息中的鉴别器,通过该鉴别器和预设配网协议进行密钥鉴定,若鉴定通过,则建立与所述鉴别器对应的第一配网通道。Specifically, the terminal network configuration device obtains the discriminator in the terminal network configuration information corresponding to the target network configuration terminal, performs key authentication through the discriminator and a preset network configuration protocol, and if the authentication passes, establishes a first network configuration channel corresponding to the discriminator.
具体的,终端配网设备在建立目标配网终端的第一配网通道后,还进一步配置目标配网终端的UTC(Coordinated Universal Time)时间并下发配网证书,并在配网证书发放完成后,对目标配网终端进行网络配置操作。Specifically, after establishing the first distribution network channel of the target distribution network terminal, the terminal distribution network equipment further configures the UTC (Coordinated Universal Time) time of the target distribution network terminal and issues a distribution network certificate. After the distribution network certificate is issued, the network configuration operation is performed on the target distribution network terminal.
具体的,终端配网设备根据预设连接方式对目标配网终端进行网络配置,得到网络配置信息,即,终端配网设备控制目标配网终端连接到预设连接方式对应的目标网络,得到该目标配网终端的网络配置信息。可选的,在一个具体实施例中,该预设连接方式可以为WIFI无线网络。在其它实施例中,该预设连接方式还可以为3G/4G/5G等移动网络。Specifically, the terminal network configuration device performs network configuration on the target network configuration terminal according to the preset connection mode to obtain network configuration information, that is, the terminal network configuration device controls the target network configuration terminal to connect to the target network corresponding to the preset connection mode to obtain the network configuration information of the target network configuration terminal. Optionally, in a specific embodiment, the preset connection mode may be a WIFI wireless network. In other embodiments, the preset connection mode may also be a mobile network such as 3G/4G/5G.
具体的,终端配网设备还根据第一配网通道和该网络配置信息对目标配网终端进行局域网配网认证,认证完成后,输出局域网配网成功的局域网配网结果。本实施例中,终端配网设备通过基于所述预设配网协议对所述目标配网终端进行配网通道设置,得到第一配网通道;根据所述预设连接方式对所述目标配网终端进行网络配置,得到网络配置信息;根据所述第一配网通道和所述网络配置信息对目标配网终端进行局域网配网认证,得到局域网配网结果。实现对目标配网终端进行局域网配网,从而实现对目标配网终端的互联操作。Specifically, the terminal network configuration device also performs LAN network configuration authentication on the target network configuration terminal according to the first network configuration channel and the network configuration information, and after the authentication is completed, outputs the LAN network configuration result of successful LAN network configuration. In this embodiment, the terminal network configuration device obtains the first network configuration channel by setting the network configuration channel for the target network configuration terminal based on the preset network configuration protocol; performs network configuration on the target network configuration terminal according to the preset connection method to obtain network configuration information; performs LAN network configuration authentication on the target network configuration terminal according to the first network configuration channel and the network configuration information to obtain the LAN network configuration result. LAN network configuration is performed on the target network configuration terminal, thereby realizing the interconnection operation of the target network configuration terminal.
如图4所示,图4为本申请实施例提供的终端配网方法中对目标配网终端进行交互的一个实施例的流程示意图,具体的,本实施例中,终端配网方法还包括步骤401~步骤403:As shown in FIG. 4 , FIG. 4 is a flow chart of an embodiment of interacting with a target network configuration terminal in a terminal network configuration method provided in an embodiment of the present application. Specifically, in this embodiment, the terminal network configuration method further includes steps 401 to 403:
401、在预设局域网应用显示所述目标配网终端的第一终端控制卡片,以及在预设私有云应用显示所述目标配网终端的第二终端控制卡片;401. Displaying a first terminal control card of the target distribution network terminal in a preset local area network application, and displaying a second terminal control card of the target distribution network terminal in a preset private cloud application;
402、响应所述第一终端控制卡片触发的局域网控制事件,基于所述局域网控制事件对所述目标配网终端执行局域网交互,得到第一交互结果;402. In response to a LAN control event triggered by the first terminal control card, perform LAN interaction on the target distribution network terminal based on the LAN control event to obtain a first interaction result;
403、响应所述第二终端控制卡片触发的远程控制事件,基于所述远程控制事件和第二配网云端对所述目标配网终端执行远程交互,得到第二交互结果。403. Respond to the remote control event triggered by the second terminal control card, perform remote interaction on the target distribution network terminal based on the remote control event and the second distribution network cloud, and obtain a second interaction result.
基于上述实施例中,本实施例中,终端配网设备在对目标配网终端进行多重配网之后,还在终端配网设备中的预设局域网应用显示该目标配网终端的第一终端控制卡片,以及在预设私有云应用中显示该目标配网终端的第二终端控制卡片。其中,第一终端控制卡片为基于matter配网协议和第一配网云端对目标配网终端进行局域网控制的局域网控制卡片。第二终端控制卡片为基于第二配网云端对目标配网终端进行远程控制的远程控制卡片。该第一终端控制卡片中包含对目标配网终端进行局域网控制的各第一控制控件。第二终端控制卡片中包含对目标配网终端进行远程控制的各第二控制控件。Based on the above embodiments, in this embodiment, after the terminal network configuration device performs multiple network configurations on the target network configuration terminal, the terminal network configuration device also displays the first terminal control card of the target network configuration terminal in the preset local area network application in the terminal network configuration device, and displays the second terminal control card of the target network configuration terminal in the preset private cloud application. Among them, the first terminal control card is a local area network control card that performs local area network control on the target network configuration terminal based on the matter network configuration protocol and the first network configuration cloud. The second terminal control card is a remote control card that performs remote control on the target network configuration terminal based on the second network configuration cloud. The first terminal control card contains various first control controls for performing local area network control on the target network configuration terminal. The second terminal control card contains various second control controls for remotely controlling the target network configuration terminal.
可选的,在其它具体实施例中,该第一终端控制卡片和第二终端控制卡片也可以集成显示在同一应用程序中,例如,在预设私有云应用中同时显示第一终端控制卡片和第二终端控制卡片,该第一终端控制卡片和第二终端控制卡片能够分别设置不同控制操作对应的控制控件。Optionally, in other specific embodiments, the first terminal control card and the second terminal control card may also be integrated and displayed in the same application. For example, the first terminal control card and the second terminal control card are simultaneously displayed in a preset private cloud application, and the first terminal control card and the second terminal control card can respectively set control controls corresponding to different control operations.
具体的,终端配网设备在运行过程中,响应针对第一终端控制卡片触发的局域网控制事件,将该局域网控制事件传输到目标配网终端对应的局域网中,以基于该局域网控制事件对该目标配网终端执行局域网交互操作,得到第一交互结果。其中,该第一交互结果为表征该局域网控制事件是否执行成功的交互提示信息。Specifically, during operation, the terminal network configuration device responds to the LAN control event triggered by the first terminal control card, transmits the LAN control event to the LAN corresponding to the target network configuration terminal, and performs a LAN interaction operation on the target network configuration terminal based on the LAN control event to obtain a first interaction result. The first interaction result is interaction prompt information indicating whether the LAN control event is successfully executed.
可选的,终端配网设备在运行过程中,还能够响应第二终端控制卡片触发的远程控制事件,并基于该远程控制事件和第二配网云端对该目标配网终端执行远程交互,得到第二交互结果,其中,该第二交互结果为表征该远程控制事件是否执行成功的交互提示信息。Optionally, during operation, the terminal distribution network device can also respond to a remote control event triggered by a second terminal control card, and based on the remote control event and the second distribution network cloud, perform remote interaction with the target distribution network terminal to obtain a second interaction result, wherein the second interaction result is interaction prompt information indicating whether the remote control event is successfully executed.
可选的,终端配网设备将远程控制事件转发到第二配网云端,驱动第二配网云端基于广域网将该远程控制事件发送到该目标配网终端,以实现远程控制目标配网终端执行该远程控制事件对应的交互操作,得到第二交互结果。Optionally, the terminal distribution network device forwards the remote control event to the second distribution network cloud, driving the second distribution network cloud to send the remote control event to the target distribution network terminal based on the wide area network, so as to remotely control the target distribution network terminal to perform the interactive operation corresponding to the remote control event and obtain a second interactive result.
本实施例中,终端控制设备通过在预设局域网应用显示所述目标配网终端的第一终端控制卡片,以及在预设私有云应用显示所述目标配网终端的第二终端控制卡片;响应所述第一终端控制卡片触发的局域网控制事件,基于所述局域网控制事件对所述目标配网终端执行局域网交互,得到第一交互结果;和/或,响应所述第二终端控制卡片触发的远程控制事件,基于所述远程控制事件和第二配网云端对所述目标配网终端执行远程交互,得到第二交互结果。实现对不同品牌的物联网设备进行局域网交互和远程交互,提高交互效率。In this embodiment, the terminal control device displays the first terminal control card of the target distribution network terminal in the preset local area network application, and displays the second terminal control card of the target distribution network terminal in the preset private cloud application; responds to the local area network control event triggered by the first terminal control card, performs local area network interaction on the target distribution network terminal based on the local area network control event, and obtains a first interaction result; and/or responds to the remote control event triggered by the second terminal control card, performs remote interaction on the target distribution network terminal based on the remote control event and the second distribution network cloud, and obtains a second interaction result. LAN interaction and remote interaction are realized for IoT devices of different brands, and the interaction efficiency is improved.
为了更好实施本申请实施例中终端配网方法,在终端配网方法基础之上,本申请实施例中还提供一种终端配网装置,如图5所示,图5为本申请实施例提供的终端配网装置的结构示意图,具体的,所述终端配网装置500包括:In order to better implement the terminal network configuration method in the embodiment of the present application, on the basis of the terminal network configuration method, a terminal network configuration device is also provided in the embodiment of the present application, as shown in FIG5 , which is a schematic diagram of the structure of the terminal network configuration device provided in the embodiment of the present application. Specifically, the terminal network configuration device 500 includes:
信息获取模块501,被配置为获取待配网的目标配网终端的终端配网信息;The information acquisition module 501 is configured to acquire the terminal network configuration information of the target network configuration terminal to be configured;
链接获取模块502,被配置为基于所述终端配网信息中的配网模式信息、设备标识和业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;The link acquisition module 502 is configured to access the first network configuration cloud based on the network configuration mode information, the device identifier and the service identifier in the terminal network configuration information, and determine the private cloud jump link of the target network configuration terminal;
密钥获取模块503,被配置为访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;The key acquisition module 503 is configured to access the second network configuration cloud corresponding to the private cloud jump link, and obtain the target network configuration string of the target network configuration terminal based on the device sequence information in the second network configuration cloud and the terminal network configuration information;
终端配网模块504,被配置为基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。The terminal network configuration module 504 is configured to perform local area network configuration on the target network configuration terminal based on a preset network configuration protocol, perform private cloud network configuration on the target network configuration terminal based on the target network configuration string, and generate a terminal network configuration result for the target network configuration terminal.
在本实施例一种可能的实现方式中,终端配网装置基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接,包括:In a possible implementation of this embodiment, the terminal network configuration device accesses the first network configuration cloud based on the network configuration mode information and the service identifier in the terminal network configuration information to determine the private cloud jump link of the target network configuration terminal, including:
若所述配网模式信息为目标配网模式,则访问所述目标配网终端对应的第一配网云端;If the network distribution mode information is the target network distribution mode, accessing the first network distribution cloud corresponding to the target network distribution terminal;
获取所述第一配网云端中与目标配网终端的设备标识和所述业务标识关联的私有云跳转链接,所述私有云跳转链接为第一配网云端预先设置的与所述目标配网终端关联的,指向第二配网云端的配网跳转链接。Obtain a private cloud jump link associated with the device identifier of the target distribution network terminal and the service identifier in the first distribution network cloud, wherein the private cloud jump link is a distribution network jump link pre-set by the first distribution network cloud and associated with the target distribution network terminal, pointing to the second distribution network cloud.
在本实施例一种可能的实现方式中,终端配网装置访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串,包括:In a possible implementation of this embodiment, the terminal network configuration device accesses the second network configuration cloud corresponding to the private cloud jump link, and obtains the target network configuration string of the target network configuration terminal based on the device sequence information in the second network configuration cloud and the terminal network configuration information, including:
访问所述私有云跳转链接对应的第二配网云端,获取所述第二配网云端对应的设备配网页面;Access the second network configuration cloud corresponding to the private cloud jump link, and obtain the device network configuration page corresponding to the second network configuration cloud;
在所述设备配网页面基于所述终端配网信息中的设备序列信息和设备标识进行配网注册,得到与所述目标配网终端绑定的私有云账号信息;Performing network configuration registration on the device network configuration page based on the device serial information and device identification in the terminal network configuration information, and obtaining private cloud account information bound to the target network configuration terminal;
获取所述第二配网云端基于所述私有云账号信息生成的目标配网字符串。Obtain a target network configuration string generated by the second network configuration cloud based on the private cloud account information.
在本实施例一种可能的实现方式中,终端配网装置基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果,包括:In a possible implementation of this embodiment, the terminal network configuration device performs local area network configuration on the target network configuration terminal based on a preset network configuration protocol, performs private cloud network configuration on the target network configuration terminal based on the target network configuration string, and generates a terminal network configuration result of the target network configuration terminal, including:
根据预设配网协议对所述目标配网终端进行局域网配网处理,得到局域网配网结果;Performing local area network configuration processing on the target network configuration terminal according to a preset network configuration protocol to obtain a local area network configuration result;
根据所述目标配网终端的网络配置信息、所述目标配网字符串和终端配网信息对所述目标配网终端进行私有云配网,得到私有云配网结果;Perform private cloud network configuration on the target network configuration terminal according to the network configuration information of the target network configuration terminal, the target network configuration string and the terminal network configuration information, and obtain a private cloud network configuration result;
汇总所述局域网配网结果和所述私有云配网结果,生成所述目标配网终端的终端配网结果。The local area network configuration result and the private cloud network configuration result are aggregated to generate a terminal network configuration result of the target network configuration terminal.
在本实施例一种可能的实现方式中,终端配网装置根据预设配网协议和预设连接方式对所述目标配网终端进行局域网配网处理,得到局域网配网结果,包括:In a possible implementation of this embodiment, the terminal network configuration device performs local area network configuration processing on the target network configuration terminal according to a preset network configuration protocol and a preset connection mode to obtain a local area network configuration result, including:
基于所述预设配网协议对所述目标配网终端进行配网通道设置,得到第一配网通道;Setting a network distribution channel for the target network distribution terminal based on the preset network distribution protocol to obtain a first network distribution channel;
根据所述预设连接方式对所述目标配网终端进行网络配置,得到网络配置信息;Performing network configuration on the target distribution network terminal according to the preset connection mode to obtain network configuration information;
根据所述第一配网通道和所述网络配置信息对目标配网终端进行局域网配网认证,得到局域网配网结果。The target network distribution terminal is authenticated through the local area network distribution according to the first network distribution channel and the network configuration information to obtain a local area network distribution result.
在本实施例一种可能的实现方式中,终端配网装置根据所述局域网配网结果中的网络配置信息和私有云账号信息对所述目标配网终端进行私有云配网,得到私有云配网结果,包括:In a possible implementation of this embodiment, the terminal network configuration device performs private cloud network configuration on the target network configuration terminal according to the network configuration information and the private cloud account information in the local area network network configuration result to obtain a private cloud network configuration result, including:
基于所述网络配置信息、所述终端配网信息中的设备序列信息和所述私有云账号信息向所述第二配网云端发送私有云配网事件;Sending a private cloud network configuration event to the second network configuration cloud based on the network configuration information, the device sequence information in the terminal network configuration information, and the private cloud account information;
根据所述第二配网云端传回的云端配网令牌控制所述目标配网终端进行配网操作,得到私有云配网结果。The target network configuration terminal is controlled to perform network configuration operations according to the cloud network configuration token transmitted back by the second network configuration cloud to obtain a private cloud network configuration result.
在本实施例一种可能的实现方式中,终端配网装置生成所述目标配网终端的终端配网结果之后,还包括:In a possible implementation of this embodiment, after the terminal network configuration device generates the terminal network configuration result of the target network configuration terminal, the method further includes:
在预设局域网应用显示所述目标配网终端的第一终端控制卡片,以及在预设私有云应用显示所述目标配网终端的第二终端控制卡片;Displaying a first terminal control card of the target network distribution terminal in a preset local area network application, and displaying a second terminal control card of the target network distribution terminal in a preset private cloud application;
响应所述第一终端控制卡片触发的局域网控制事件,基于所述局域网控制事件对所述目标配网终端执行局域网交互,得到第一交互结果;In response to a local area network control event triggered by the first terminal control card, performing local area network interaction on the target distribution network terminal based on the local area network control event to obtain a first interaction result;
和/或,响应所述第二终端控制卡片触发的远程控制事件,基于所述远程控制事件和第二配网云端对所述目标配网终端执行远程交互,得到第二交互结果。And/or, in response to a remote control event triggered by the second terminal control card, remote interaction is performed on the target distribution network terminal based on the remote control event and the second distribution network cloud to obtain a second interaction result.
本实施例中,终端配网装置通过获取待配网的目标配网终端的终端配网信息;基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。实现通过在使用通用配网协议对配网设备进行配网以进行局域网互联时,还能够将各配网设备连接到对应的私有云进行远程控制,提高物联网设备的交互效率。In this embodiment, the terminal network configuration device obtains the terminal network configuration information of the target network configuration terminal to be configured; accesses the first network configuration cloud based on the network configuration mode information and the service identifier in the terminal network configuration information to determine the private cloud jump link of the target network configuration terminal; accesses the second network configuration cloud corresponding to the private cloud jump link, based on the second network configuration cloud and the device sequence information in the terminal network configuration information, The target network configuration string of the target network configuration terminal is obtained; the target network configuration terminal is configured for the local area network based on the preset network configuration protocol, and the target network configuration terminal is configured for the private cloud based on the target network configuration string, and the terminal configuration result of the target network configuration terminal is generated. When the network configuration equipment is configured for local area network interconnection using the general network configuration protocol, each network configuration equipment can also be connected to the corresponding private cloud for remote control, thereby improving the interaction efficiency of the Internet of Things devices.
本申请实施例还提供一种终端配网设备,如图6所示,图6为本申请实施例中提供的终端配网设备的一个实施例结构示意图。The embodiment of the present application also provides a terminal network distribution device, as shown in FIG6 , which is a schematic diagram of the structure of an embodiment of the terminal network distribution device provided in the embodiment of the present application.
终端配网设备集成了本申请实施例所提供的任意一种终端配网装置,该终端配网设备包括:The terminal network distribution device integrates any one of the terminal network distribution devices provided in the embodiments of the present application, and the terminal network distribution device includes:
一个或多个处理器;one or more processors;
存储器;以及Memory; and
一个或多个应用程序,其中所述一个或多个应用程序被存储于所述存储器中,并配置为由所述处理器执行上述终端配网方法实施例中任一实施例中所述的终端配网方法中的步骤。One or more applications, wherein the one or more applications are stored in the memory and are configured so that the processor executes the steps of the terminal network configuration method described in any of the above terminal network configuration method embodiments.
具体来讲:终端配网设备可以包括一个或者一个以上处理核心的处理器601、一个或一个以上计算机可读存储介质的存储器602、电源603和输入单元604等部件。本领域技术人员可以理解,图6中示出的终端配网设备结构并不构成对终端配网设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:Specifically, the terminal network distribution device may include one or more processing core processors 601, one or more computer-readable storage media memories 602, power supplies 603, and input units 604. Those skilled in the art will appreciate that the terminal network distribution device structure shown in FIG6 does not constitute a limitation on the terminal network distribution device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently. Among them:
处理器601是该终端配网设备的控制中心,利用各种接口和线路连接整个终端配网设备的各个部分,通过运行或执行存储在存储器602内的软件程序和/或模块,以及调用存储在存储器602内的数据,执行终端配网设备的各种功能和处理数据,从而对终端配网设备进行整体监控。可选的,处理器601可包括一个或多个处理核心;优选的,处理器601可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器601中。The processor 601 is the control center of the terminal network distribution device. It uses various interfaces and lines to connect various parts of the entire terminal network distribution device. By running or executing software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, it executes various functions of the terminal network distribution device and processes data, thereby monitoring the terminal network distribution device as a whole. Optionally, the processor 601 may include one or more processing cores; preferably, the processor 601 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 601.
存储器602可用于存储软件程序以及模块,处理器601通过运行存储在存储器602的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器602可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端配网设备的使用所创建的数据等。此外,存储器602可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器602还可以包括存储器控制器,以提供处理器601对存储器602的访问。The memory 602 may be used to store software programs and modules. The processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 602. It can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal network distribution device, etc. In addition, the memory 602 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 602 can also include a memory controller to provide the processor 601 with access to the memory 602.
终端配网设备还包括给各个部件供电的电源603,优选的,电源603可以通过电源管理系统与处理器601逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源603还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal network distribution device also includes a power supply 603 for supplying power to each component. Preferably, the power supply 603 can be logically connected to the processor 601 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 603 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
该终端配网设备还可包括输入单元604,该输入单元604可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The terminal network distribution device may further include an input unit 604, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
尽管未示出,终端配网设备还可以包括显示单元等,在此不再赘述。具体在本实施例中,终端配网设备中的处理器601会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器602中,并由处理器601来运行存储在存储器602中的应用程序,从而实现各种功能,如下:Although not shown, the terminal network configuration device may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 601 in the terminal network configuration device will load the executable file corresponding to the process of one or more application programs into the memory 602 according to the following instructions, and the processor 601 will run the application program stored in the memory 602, thereby realizing various functions, as follows:
获取待配网的目标配网终端的终端配网信息;Obtain terminal network configuration information of the target network configuration terminal to be configured;
基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;Access the first distribution network cloud based on the distribution network mode information and the service identifier in the terminal distribution network information to determine the private cloud jump link of the target distribution network terminal;
访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;Access the second network distribution cloud corresponding to the private cloud jump link, and obtain the target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information;
基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。The target network configuration terminal is configured with a local area network based on a preset network configuration protocol, and the target network configuration terminal is configured with a private cloud based on the target network configuration character string to generate a terminal network configuration result for the target network configuration terminal.
为此,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。其上存储有计算机程序,所述计算机程序被处理器进行加载,以执行本申请实施例所提供的任一种终端配网方法中的步骤。例如,所述计算机程序被处理器进行加载可以执行如下步骤:To this end, the embodiment of the present application provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), Random Access Memory), disk or CD, etc. A computer program is stored thereon, and the computer program is loaded by the processor to execute the steps in any terminal network configuration method provided in the embodiment of the present application. For example, the computer program can be loaded by the processor to execute the following steps:
获取待配网的目标配网终端的终端配网信息;Obtain terminal network configuration information of the target network configuration terminal to be configured;
基于配网模式信息和所述终端配网信息中的业务标识访问第一配网云端,确定所述目标配网终端的私有云跳转链接;Access the first distribution network cloud based on the distribution network mode information and the service identifier in the terminal distribution network information to determine the private cloud jump link of the target distribution network terminal;
访问所述私有云跳转链接对应的第二配网云端,基于所述第二配网云端和所述终端配网信息中的设备序列信息,得到所述目标配网终端的目标配网字符串;Access the second network distribution cloud corresponding to the private cloud jump link, and obtain the target network distribution string of the target network distribution terminal based on the second network distribution cloud and the device sequence information in the terminal network distribution information;
基于预设配网协议对所述目标配网终端进行局域网配网,基于所述目标配网字符串对所述目标配网终端进行私有云配网,生成所述目标配网终端的终端配网结果。The target network configuration terminal is configured with a local area network based on a preset network configuration protocol, and the target network configuration terminal is configured with a private cloud based on the target network configuration character string to generate a terminal network configuration result for the target network configuration terminal.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对其他实施例的详细描述,此处不再赘述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
具体实施时,以上各个单元或结构可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元或结构的具体实施可参见前面的方法实施例,在此不再赘述。In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
以上各个操作的具体实施可参见前面的实施例,在此不再赘述。The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
以上对本申请实施例所提供的一种终端配网方法进行了详细介绍,本文中应用了具体实施例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above is a detailed introduction to a terminal network configuration method provided in an embodiment of the present application. Specific embodiments are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN202410081060.4ACN117938652A (en) | 2024-01-19 | 2024-01-19 | Terminal network configuration method, device, equipment and storage medium | 
| CN202410081060.4 | 2024-01-19 | 
| Publication Number | Publication Date | 
|---|---|
| WO2025152566A1true WO2025152566A1 (en) | 2025-07-24 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| PCT/CN2024/129976PendingWO2025152566A1 (en) | 2024-01-19 | 2024-11-05 | Terminal provisioning method, apparatus and device, and storage medium | 
| Country | Link | 
|---|---|
| CN (1) | CN117938652A (en) | 
| WO (1) | WO2025152566A1 (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN117938652A (en)* | 2024-01-19 | 2024-04-26 | 深圳Tcl新技术有限公司 | Terminal network configuration method, device, equipment and storage medium | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN111666578A (en)* | 2020-06-08 | 2020-09-15 | 北京百度网讯科技有限公司 | Data management method and device, electronic equipment and computer readable storage medium | 
| CN112436986A (en)* | 2020-11-10 | 2021-03-02 | 深圳Tcl新技术有限公司 | Network distribution method and device, network distribution equipment and computer readable storage medium | 
| CN113489630A (en)* | 2021-06-09 | 2021-10-08 | 深圳Tcl新技术有限公司 | Network distribution method, device, storage medium and electronic terminal | 
| CN113765714A (en)* | 2021-08-31 | 2021-12-07 | 深圳Tcl新技术有限公司 | Equipment network distribution method and device, storage medium and electronic equipment | 
| CN114221822A (en)* | 2022-01-12 | 2022-03-22 | 杭州涂鸦信息技术有限公司 | Network distribution method, gateway device and computer readable storage medium | 
| CN114465886A (en)* | 2020-11-09 | 2022-05-10 | 深圳Tcl新技术有限公司 | Device distribution network method, device, intelligent terminal and computer-readable storage medium | 
| CN116939769A (en)* | 2023-07-17 | 2023-10-24 | 珠海格力电器股份有限公司 | Network distribution method, device and system of equipment, electronic equipment and storage medium | 
| CN117221396A (en)* | 2023-10-26 | 2023-12-12 | 深圳市拓普泰尔科技有限公司 | Network data interaction method, device, system, storage medium and computer equipment | 
| CN117938652A (en)* | 2024-01-19 | 2024-04-26 | 深圳Tcl新技术有限公司 | Terminal network configuration method, device, equipment and storage medium | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN111666578A (en)* | 2020-06-08 | 2020-09-15 | 北京百度网讯科技有限公司 | Data management method and device, electronic equipment and computer readable storage medium | 
| CN114465886A (en)* | 2020-11-09 | 2022-05-10 | 深圳Tcl新技术有限公司 | Device distribution network method, device, intelligent terminal and computer-readable storage medium | 
| CN112436986A (en)* | 2020-11-10 | 2021-03-02 | 深圳Tcl新技术有限公司 | Network distribution method and device, network distribution equipment and computer readable storage medium | 
| CN113489630A (en)* | 2021-06-09 | 2021-10-08 | 深圳Tcl新技术有限公司 | Network distribution method, device, storage medium and electronic terminal | 
| CN113765714A (en)* | 2021-08-31 | 2021-12-07 | 深圳Tcl新技术有限公司 | Equipment network distribution method and device, storage medium and electronic equipment | 
| CN114221822A (en)* | 2022-01-12 | 2022-03-22 | 杭州涂鸦信息技术有限公司 | Network distribution method, gateway device and computer readable storage medium | 
| CN116939769A (en)* | 2023-07-17 | 2023-10-24 | 珠海格力电器股份有限公司 | Network distribution method, device and system of equipment, electronic equipment and storage medium | 
| CN117221396A (en)* | 2023-10-26 | 2023-12-12 | 深圳市拓普泰尔科技有限公司 | Network data interaction method, device, system, storage medium and computer equipment | 
| CN117938652A (en)* | 2024-01-19 | 2024-04-26 | 深圳Tcl新技术有限公司 | Terminal network configuration method, device, equipment and storage medium | 
| Publication number | Publication date | 
|---|---|
| CN117938652A (en) | 2024-04-26 | 
| Publication | Publication Date | Title | 
|---|---|---|
| TWI450558B (en) | Method and system for providing online service corresponding to multiple mobile devices, server and mobile device thereof, and computer program product | |
| CN101083537B (en) | A method, device and system for realizing equipment management | |
| CN102868729B (en) | The method, client and Cloud Server of realizing software service based on cloud service | |
| WO2018099350A1 (en) | Resource sharing method, device and system | |
| WO2025152566A1 (en) | Terminal provisioning method, apparatus and device, and storage medium | |
| CN105704157A (en) | Remote control method and system, intelligent terminal and service terminal application to remote control method and system | |
| CN104639913A (en) | Network video recorder (NVR) and automatic IPC (Internet Protocol Camera) access method thereof | |
| WO2022105365A1 (en) | Device control method and system, electronic device, and storage medium | |
| WO2017219587A1 (en) | Master-slave device switching method, slave device, management server, and storage medium | |
| CN115202717A (en) | Data docking method, device, device and storage medium | |
| CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
| CN113285825A (en) | Equipment access system and access method | |
| CN105743671B (en) | A capacity expansion method, controller and system | |
| WO2025039655A1 (en) | Device connection method and apparatus, electronic device, and computer storage medium | |
| CN113506100A (en) | Alliance link data processing method and device, computer equipment and storage medium | |
| CN118612004A (en) | Batch networking method, system, device and storage medium for smart home devices | |
| WO2024207889A1 (en) | Sim card information loading method and apparatus, storage medium, and electronic device | |
| WO2024160020A1 (en) | Video transmission method and apparatus, and electronic device and computer storage medium | |
| CN114500617B (en) | Internet equipment control methods and devices, storage media and electronic equipment | |
| CN116708062B (en) | Device management method and electronic device | |
| CN117527957B (en) | Notification message prompting method, electronic device and readable storage medium | |
| WO2024032085A1 (en) | Terminal device reset method, system and apparatus, intelligent device, and storage medium | |
| CN105451370A (en) | Data management method, device and system | |
| CN114422236B (en) | Intelligent device access method, device and electronic device | |
| CN103916230A (en) | Sensor identification method, host computer, sensor and sensor identification system | 
| Date | Code | Title | Description | 
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | Ref document number:24918175 Country of ref document:EP Kind code of ref document:A1 |