CN116684218A - A method and system for controlling household equipment - Google Patents
A method and system for controlling household equipment Download PDFInfo
- Publication number
- CN116684218A CN116684218A CN202310748402.9A CN202310748402A CN116684218A CN 116684218 A CN116684218 A CN 116684218A CN 202310748402 A CN202310748402 A CN 202310748402A CN 116684218 A CN116684218 A CN 116684218A
- Authority
- CN
- China
- Prior art keywords
- cloud server
- interconnection
- target
- household
- action
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明的实施例提供了一种家居设备控制方法及系统,涉及设备控制技术领域通过设置控制终端,依靠控制终端创建的互联场景,使得控制终端可以通过与其通信连接的第二云服务器将互联动作标号发送给未与控制终端通信连接的第一云服务器。由第一云服务器根据互联动作标号确定对应的目标控制指令,再基于目标控制指令来控制与第一云服务器通信连接的目标第一家居设备。达到了由控制终端控制未与其通信连接的其他品牌的第一家居设备的效果,进而简化了操作过程与开发工作量。
The embodiment of the present invention provides a method and system for controlling household equipment, which relate to the technical field of equipment control. By setting the control terminal and relying on the interconnection scene created by the control terminal, the control terminal can perform interconnection actions through the second cloud server connected to it through communication. The label is sent to the first cloud server that is not in communication connection with the control terminal. The first cloud server determines the corresponding target control instruction according to the interconnection action label, and then controls the target first household device communicatively connected with the first cloud server based on the target control instruction. It achieves the effect that the control terminal controls the first home appliances of other brands that are not connected to it through communication, thereby simplifying the operation process and development workload.
Description
技术领域technical field
本发明涉及设备控制技术领域,具体而言,涉及一种家居设备控制方法及系统。The present invention relates to the technical field of equipment control, in particular to a method and system for controlling household equipment.
背景技术Background technique
随着智能家居的普及,人们家中可联网控制的设备越来越多。用户可以通过品牌方自研的APP(Application,应用程序)将相应的设备连网并远程操控。With the popularity of smart homes, more and more devices can be controlled by the Internet in people's homes. Users can connect the corresponding devices to the Internet and remotely control them through the APP (Application) developed by the brand itself.
然而,一户人家中的各种智能家居设备可能并非都来自同一个品牌,一个品牌的APP往往只能控制自己的设备。如果依靠各自的APP进行相应操作,过程十分繁琐;如果每个品牌的APP都可以添加其他品牌的设备,开发工作量又很大。However, the various smart home devices in a household may not all come from the same brand, and an APP of one brand can often only control its own devices. If you rely on their respective APPs for corresponding operations, the process is very cumbersome; if each brand of APP can add other brands of equipment, the development workload will be heavy.
发明内容Contents of the invention
本发明的目的包括,例如,提供了一种家居设备控制方法及系统,其能够至少部分解决上述技术问题。Objects of the present invention include, for example, providing a method and system for controlling household appliances, which can at least partially solve the above technical problems.
本发明的实施例可以这样实现:Embodiments of the present invention can be realized like this:
第一方面,本发明实施例提供了一种家居设备控制方法,应用于家居设备控制系统,所述家居设备控制系统包括控制终端、第二云服务器、至少一个第一云服务器和至少一个第一家居设备,所述第一家居设备的数量大于等于所述第一云服务器的数量,所述第二云服务器中存储有每个所述第一云服务器的第一服务器地址;每个所述第一家居设备与一个所述第一云服务器通信连接,所述控制终端与所述第二云服务器通信连接;所述方法包括:In the first aspect, an embodiment of the present invention provides a home appliance control method, which is applied to a home appliance control system, and the home appliance control system includes a control terminal, a second cloud server, at least one first cloud server, and at least one first cloud server. Household equipment, the number of the first household equipment is greater than or equal to the number of the first cloud server, and the first server address of each of the first cloud servers is stored in the second cloud server; each of the first cloud servers A household device is connected in communication with the first cloud server, and the control terminal is connected in communication with the second cloud server; the method includes:
所述控制终端接收第一用户指令,基于所述第一用户指令调用存储于所述第二云服务器中的互联场景;从所述互联场景里的多个所述第一家居设备中确定互联动作数据,所述互联动作数据包括互联动作标号,所述互联动作标号与多个所述第一家居设备中、唯一一个目标第一家居设备所支持的多个控制指令中的目标控制指令相对应;发送所述互联动作标号给所述第二云服务器;The control terminal receives a first user instruction, calls the interconnection scene stored in the second cloud server based on the first user instruction; determines the interconnection action from a plurality of the first home devices in the interconnection scene data, the interconnection action data includes an interconnection action label, and the interconnection action label corresponds to the target control command among the multiple control commands supported by the only target first home device among the plurality of first home devices; sending the interconnection action label to the second cloud server;
所述第二云服务器接收所述互联动作标号;根据所述互联动作标号,从各所述第一云服务器中确定出目标第一云服务器;将所述互联动作标号发送给所述目标第一云服务器;The second cloud server receives the interconnection action number; determines the target first cloud server from each of the first cloud servers according to the interconnection action number; sends the interconnection action number to the target first cloud server. Cloud Server;
所述目标第一云服务器接收所述互联动作标号;基于所述互联动作标号确定与所述目标第一家居设备对应的所述目标控制指令;基于所述目标控制指令控制所述目标第一家居设备。The target first cloud server receives the interconnection action label; determines the target control instruction corresponding to the target first home appliance based on the interconnection action label; controls the target first home appliance based on the target control instruction equipment.
可选地,所述方法还包括创建所述互联场景的步骤,该步骤包括:Optionally, the method further includes the step of creating the interconnection scene, which step includes:
所述控制终端获取每个所述第一家居设备的第一设备信息以及与该第一家居设备通信连接的第一云服务器的第一服务器地址;向每个所述第一云服务器发送与该第一云服务器通信连接的第一家居设备的第一设备信息;The control terminal obtains the first device information of each of the first home devices and the first server address of the first cloud server communicatively connected with the first home device; The first device information of the first home device connected to the first cloud server through communication;
各所述第一云服务器接收所述控制终端发送的与其通信连接的所述第一家居设备的第一设备信息;根据所述第一设备信息确定各所述第一家居设备所支持的互联动作数据;将所述互联动作数据发送给所述控制终端;Each of the first cloud servers receives the first device information of the first home device communicated with it sent by the control terminal; determines the interconnection actions supported by each of the first home devices according to the first device information data; sending the interconnection action data to the control terminal;
所述控制终端接收各所述第一云服务器反馈的互联动作数据;将各所述互联动作数据和与其对应的所述第一家居设备的第一设备信息进行整合;基于整合后的各所述互联动作数据和与其对应的所述第一家居设备的第一设备信息,创建所述互联场景。The control terminal receives the interconnection action data fed back by each of the first cloud servers; integrates each of the interconnection action data and the first device information of the first home device corresponding to it; based on the integrated each of the The interconnection scene is created by interconnecting the action data and the corresponding first device information of the first home device.
可选地,所述控制终端包括扫描模块,所述获取每个所述第一家居设备的第一设备信息以及与该第一家居设备通信连接的第一云服务器的第一服务器地址,包括:Optionally, the control terminal includes a scanning module, and the acquisition of the first device information of each of the first home devices and the first server address of the first cloud server communicatively connected with the first home device includes:
接收所述扫描模块获取的多个图像信息,每个所述图像信息与一个所述第一家居设备对应;receiving a plurality of image information acquired by the scanning module, each of the image information corresponds to one of the first household devices;
分别解析每个所述图像信息,得到各所述第一家居设备的第一设备信息以及与各所述第一家居设备通信连接的第一云服务器的第一服务器地址。Each of the image information is analyzed separately to obtain the first device information of each of the first home devices and the first server address of the first cloud server communicatively connected to each of the first home devices.
可选地,所述控制终端包括显示模块,所述互联动作数据还包括互联动作名称,每个所述互联动作名称与一个所述互联动作标号对应;在所述接收各所述第一云服务器反馈的互联动作数据之后,所述方法还包括:Optionally, the control terminal includes a display module, and the interconnection action data further includes interconnection action names, each of the interconnection action names corresponds to one of the interconnection action labels; After the fed back interconnection action data, the method also includes:
按照各所述第一家居设备的第一设备信息,分别整合各所述互联动作名称,得到多个互联动作名称数据包;According to the first device information of each of the first household devices, respectively integrate each of the interconnection action names to obtain a plurality of interconnection action name data packets;
将各所述互联动作名称数据包发送至所述显示模块显示。Send each interconnection action name data packet to the display module for display.
可选地,所述互联动作标号包括设备标号以及动作标号,所述第一云服务器上存储有每个与该所述第一云服务器通信连接的第一家居设备对应的指令对照表,所述基于所述互联动作标号确定与所述目标第一家居设备对应的所述目标控制指令,包括:Optionally, the interconnection action label includes a device label and an action label, and the first cloud server stores an instruction comparison table corresponding to each first household device communicatively connected to the first cloud server, and the Determining the target control instruction corresponding to the target first household device based on the interconnection action label includes:
根据所述设备标号,从与所述第一云服务器通信连接的多个所述指令对照表中确定所述目标指令对照表;determining the target instruction comparison table from a plurality of the instruction comparison tables communicatively connected to the first cloud server according to the device label;
基于所述目标指令对照表,根据所述动作标号,从所述目标指令对照表中查找与所述动作标号对应的控制指令;Based on the target instruction comparison table, according to the action label, look up the control instruction corresponding to the action label from the target instruction comparison table;
确定与所述动作标号对应的控制指令为所述目标控制指令。Determine the control instruction corresponding to the action label as the target control instruction.
可选地,所述家居设备控制系统还包括至少一个第二家居设备,所述第二家居设备与所述第二云服务器通信连接,所述第二云服务器中存储有各所述第二家居设备的第二设备信息;所述方法还包括:Optionally, the household device control system further includes at least one second household device, and the second household device is communicatively connected to the second cloud server, and each of the second household devices is stored in the second cloud server. Second device information of the device; the method further includes:
所述控制终端接收第二用户指令;将所述第二用户指令发送给所述第二云服务器;The control terminal receives a second user instruction; sends the second user instruction to the second cloud server;
所述第二云服务器接收所述第二用户指令;从与所述第二云服务器通信连接的多个所述第二家居设备中确定目标第二家居设备;基于所述第二用户指令控制所述目标第二家居设备。The second cloud server receives the second user instruction; determines a target second home appliance from a plurality of second home appliances communicatively connected to the second cloud server; and controls the second home appliance based on the second user instruction. The above-mentioned target second home device.
可选地,所述第二用户指令包括第二家居设备名称,所述从与所述第二云服务器通信连接的多个所述第二家居设备中确定目标第二家居设备,包括:Optionally, the second user instruction includes a name of a second household device, and the determining a target second household device from a plurality of second household devices communicatively connected to the second cloud server includes:
根据所述第二家居设备名称,从与所述第二云服务器通信连接的多个所述第二家居设备中查找与所述第二家居设备名称对应的第二家居设备;Searching for a second home device corresponding to the name of the second home device from a plurality of second home devices communicatively connected to the second cloud server according to the name of the second home device;
确定与所述第二家居设备名称对应的第二家居设备为所述目标第二家居设备。Determining that the second home device corresponding to the name of the second home device is the target second home device.
可选地,所述方法还包括:Optionally, the method also includes:
所述控制终端将各所述第二设备信息以及与各所述第二设备信息对应的第二用户指令进行整合;The control terminal integrates each of the second device information and a second user instruction corresponding to each of the second device information;
所述控制终端将整合后的各所述第二设备信息以及与各所述第二设备信息对应的第二用户指令添加至所述互联场景。The control terminal adds the integrated information of the second devices and the second user instruction corresponding to the information of the second devices to the interconnection scene.
第二方面,本发明实施例提供了一种家居设备控制系统,包括:控制终端、第二云服务器、至少一个第一云服务器和至少一个第一家居设备,所述第一家居设备的数量大于等于所述第一云服务器的数量,所述第二云服务器中存储有每个所述第一云服务器的第一服务器地址;每个所述第一家居设备与一个所述第一云服务器通信连接,所述控制终端与所述第二云服务器通信连接;In a second aspect, an embodiment of the present invention provides a home appliance control system, including: a control terminal, a second cloud server, at least one first cloud server, and at least one first home appliance, and the number of the first home appliances is greater than Equal to the number of the first cloud servers, the first server addresses of each of the first cloud servers are stored in the second cloud server; each of the first home appliances communicates with one of the first cloud servers connected, the control terminal communicates with the second cloud server;
所述控制终端用于,接收第一用户指令,基于所述第一用户指令调用存储于所述第二云服务器中已创建的互联场景;从已创建的互联场景里的多个所述第一家居设备中确定互联动作数据,所述互联动作数据包括互联动作标号,所述互联动作标号与多个所述第一家居设备中、唯一一个目标第一家居设备所支持的多个控制指令中的目标控制指令相对应;发送所述互联动作标号给所述第二云服务器;The control terminal is configured to receive a first user instruction, and based on the first user instruction, call the created interconnection scene stored in the second cloud server; The interconnection action data is determined in the household device, the interconnection action data includes the interconnection action label, and the interconnection action label is related to the multiple control instructions supported by the only target first household device among the multiple first household devices. Corresponding to the target control instruction; sending the interconnection action label to the second cloud server;
所述第二云服务器用于,接收所述互联动作标号;根据所述互联动作标号,从各所述第一云服务器中确定出目标第一云服务器;将所述互联动作标号发送给所述目标第一云服务器;The second cloud server is configured to receive the interconnection action number; determine the target first cloud server from each of the first cloud servers according to the interconnection action number; send the interconnection action number to the Target first cloud server;
所述目标第一云服务器用于,接收所述互联动作标号;基于所述互联动作标号确定与所述目标第一家居设备对应的所述目标控制指令;基于所述目标控制指令控制所述目标第一家居设备。The target first cloud server is configured to receive the interconnection action number; determine the target control instruction corresponding to the target first home appliance based on the interconnection action number; control the target based on the target control instruction First home appliance.
可选地,所述家居设备控制系统还包括至少一个第二家居设备,所述第二家居设备与所述第二云服务器通信连接,所述第二云服务器中存储有各所述第二家居设备的第二设备信息;Optionally, the household device control system further includes at least one second household device, and the second household device is communicatively connected to the second cloud server, and each of the second household devices is stored in the second cloud server. Second device information of the device;
所述控制终端还用于,接收第二用户指令;将所述第二用户指令发送给所述第二云服务器;The control terminal is further configured to receive a second user instruction; send the second user instruction to the second cloud server;
所述第二云服务器还用于,接收所述第二用户指令;从与所述第二云服务器通信连接的多个所述第二家居设备中确定目标第二家居设备;基于所述第二用户指令控制所述目标第二家居设备。The second cloud server is further configured to receive the second user instruction; determine a target second home device from a plurality of second home devices communicatively connected to the second cloud server; The user instructs to control the target second household device.
本发明实施例的有益效果包括,例如:The beneficial effects of the embodiments of the present invention include, for example:
提供了一种家居设备控制方法及系统,通过设置控制终端,依靠控制终端创建的互联场景,使得控制终端可以通过与其通信连接的第二云服务器将互联动作标号发送给未与控制终端通信连接的第一云服务器。由第一云服务器根据互联动作标号确定对应的目标控制指令,再基于目标控制指令来控制与第一云服务器通信连接的目标第一家居设备。达到了由控制终端控制未与其通信连接的其他品牌的第一家居设备的效果,进而简化了操作过程与开发工作量。Provided is a home appliance control method and system. By setting the control terminal and relying on the interconnection scene created by the control terminal, the control terminal can send the interconnection action label to the second cloud server that is not connected to the control terminal through the second cloud server. First cloud server. The first cloud server determines the corresponding target control instruction according to the interconnection action label, and then controls the target first household device communicatively connected with the first cloud server based on the target control instruction. It achieves the effect that the control terminal controls the first home appliances of other brands that are not connected to it through communication, thereby simplifying the operation process and development workload.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and thus It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.
图1为本发明实施例提供的一种家居设备控制系统的方框示意图;FIG. 1 is a schematic block diagram of a household device control system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种包括第二家居设备的家居设备控制系统的示意图;FIG. 2 is a schematic diagram of a home appliance control system including a second home appliance provided by an embodiment of the present invention;
图3为本发明实施例提供的一种家居设备控制方法的步骤流程图;FIG. 3 is a flow chart of steps of a method for controlling household appliances provided by an embodiment of the present invention;
图4为本发明实施例提供的一种创建互联场景的步骤流程图。FIG. 4 is a flow chart of steps for creating an interconnected scene provided by an embodiment of the present invention.
图标:10-家居设备控制系统;11-控制终端;12-第一云服务器;121-目标第一云服务器;13-第二云服务器;14-第一家居设备;141-目标第一家居设备;15-第二家居设备;151-目标第二家居设备。Icons: 10-home appliance control system; 11-control terminal; 12-first cloud server; 121-target first cloud server; 13-second cloud server; 14-first home appliance; 141-target first home appliance ; 15 - second home device; 151 - target second home device.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.
因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
此外,若出现术语“第一”、“第二”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, terms such as "first" and "second" are used only for distinguishing descriptions, and should not be understood as indicating or implying relative importance.
需要说明的是,在不冲突的情况下,本发明的实施例中的特征可以相互结合。It should be noted that, in the case of no conflict, the features in the embodiments of the present invention may be combined with each other.
随着智能家居的普及,人们家中可联网控制的设备越来越多。用户可以通过品牌方自研的APP将相应的设备进行联网并远程操控。然而,一户人家中的各种智能家居设备可能并非都来自同一个品牌,而且一个品牌的APP往往只能控制该品牌的设备。With the popularity of smart homes, more and more devices can be controlled by the Internet in people's homes. Users can connect the corresponding devices to the Internet and remotely control them through the APP developed by the brand itself. However, the various smart home devices in a household may not all come from the same brand, and an app of one brand can often only control devices of that brand.
在某些场景例如用户出门在外时,用户可能需要同时打开窗帘、关灯以及关闭空调。如果依靠各自的APP进行相应操作,过程过于繁琐;如果要使每个品牌的APP都可以添加其他品牌的设备,开发工作量又很大,例如上述场景仅仅需要其他品牌设备的一个功能。In some scenarios such as when the user is away from home, the user may need to open the curtains, turn off the lights, and turn off the air conditioner at the same time. The process is too cumbersome if you rely on their respective APPs for corresponding operations; if you want to add devices of other brands to each brand of APP, the development workload will be heavy. For example, the above scenario only requires a function of other brands of devices.
基于以上情况,本说明书实施例提供了一种家居设备控制方法及系统,可有效缓解上述技术问题。Based on the above situation, the embodiment of this specification provides a method and system for controlling household equipment, which can effectively alleviate the above technical problems.
请参考图1,为本发明实施例提供的一种家居设备控制系统10的方框示意图,家居设备控制系统10包括:控制终端11、第二云服务器13、至少一个第一云服务器12和至少一个第一家居设备14,第一家居设备14的数量大于等于第一云服务器12的数量,第二云服务器13中存储有每个第一云服务器12的第一服务器地址;每个第一家居设备14与一个第一云服务器12通信连接,控制终端11与第二云服务器13通信连接。Please refer to FIG. 1, which is a schematic block diagram of a home appliance control system 10 provided by an embodiment of the present invention. The home appliance control system 10 includes: a control terminal 11, a second cloud server 13, at least one first cloud server 12 and at least A first household device 14, the quantity of the first household equipment 14 is greater than or equal to the quantity of the first cloud server 12, the first server address of each first cloud server 12 is stored in the second cloud server 13; The device 14 is connected in communication with a first cloud server 12 , and the control terminal 11 is connected in communication with a second cloud server 13 .
控制终端11用于,接收第一用户指令,基于所述第一用户指令调用存储于第二云服务器13中已创建的互联场景。从已创建的互联场景里的多个第一家居设备14中确定互联动作数据,所述互联动作数据包括互联动作标号,所述互联动作标号与多个第一家居设备14中、唯一一个目标第一家居设备141所支持的多个控制指令中的目标控制指令相对应。发送所述互联动作标号给第二云服务器13。The control terminal 11 is configured to receive a first user instruction, and call the created interconnection scene stored in the second cloud server 13 based on the first user instruction. The interconnection action data is determined from the plurality of first household devices 14 in the created interconnection scene, the interconnection action data includes an interconnection action label, and the interconnection action label is the same as the only target second among the plurality of first household devices 14. The target control command among the multiple control commands supported by a household device 141 corresponds to the target control command. Send the interconnection action number to the second cloud server 13.
第二云服务器13用于,接收所述互联动作标号。根据所述互联动作标号,从各第一云服务器12中确定出目标第一云服务器121。将所述互联动作标号发送给目标第一云服务器121。The second cloud server 13 is configured to receive the interconnection action label. According to the interconnection action number, the target first cloud server 121 is determined from each first cloud server 12 . Send the interconnection action number to the target first cloud server 121.
目标第一云服务器121用于,接收互联动作标号。基于所述互联动作标号确定与目标第一家居设备141对应的所述目标控制指令。基于所述目标控制指令控制目标第一家居设备141。The target first cloud server 121 is configured to receive an interconnection action label. The target control instruction corresponding to the target first household device 141 is determined based on the interconnection action label. The target first home appliance 141 is controlled based on the target control instruction.
在本说明书实施例中的家居设备控制系统10中,控制终端11可以是用户用来控制家中各个品牌不同家居设备的设备,该控制终端11可以是包括处理器、信号发送/接收器、显示模块、输入/输出模块的终端设备,例如手机、平板电脑等可移动终端。第二云服务器13可以是与控制终端11随时可以进行通信的同品牌的云服务器。第一家居设备14可以是与控制终端11不同品牌的家居设备,每个第一云服务器12和与其通信连接的一个或多个第一家居设备14同属一个品牌。各第一云服务器12以及与第二云服务器13均属于不同品牌。In the household equipment control system 10 in the embodiment of this specification, the control terminal 11 may be a device used by the user to control various household equipment of different brands in the home. The control terminal 11 may include a processor, a signal transmitter/receiver, and a display module. , Terminal equipment of the input/output module, such as mobile terminals such as mobile phones and tablet computers. The second cloud server 13 can be a cloud server of the same brand that can communicate with the control terminal 11 at any time. The first home appliance 14 may be a home appliance of a different brand from the control terminal 11, and each first cloud server 12 and one or more first home appliances 14 connected to it in communication belong to the same brand. Each of the first cloud server 12 and the second cloud server 13 belong to different brands.
举例来说,如果控制终端11属于品牌A,那么第二云服务器13也属于品牌A。如果有4个第一家居设备14,分别为w、x、y、z,其中w、x属于品牌B,y属于品牌C,z属于品牌D,那么这4个第一家居设备14与3个第一云服务器12通信连接。若3个第一云服务器12分别为j、k、l,其中j属于品牌B、k属于品牌C、l属于品牌D。那么w、x与j通信连接,y与k通信连接,z与l通信连接。For example, if the control terminal 11 belongs to brand A, then the second cloud server 13 also belongs to brand A. If there are 4 first household devices 14, respectively w, x, y, z, wherein w and x belong to brand B, y belongs to brand C, and z belongs to brand D, then these 4 first household devices 14 and 3 The first cloud server 12 is connected in communication. If the three first cloud servers 12 are j, k, and l respectively, j belongs to brand B, k belongs to brand C, and l belongs to brand D. Then w and x are connected in communication with j, y is connected in communication with k, and z is connected in communication with l.
可选地,如图2所示,家居设备控制系统10还包括至少一个第二家居设备15,第二家居设备15与第二云服务器13通信连接,第二云服务器13中存储有各第二家居设备15的第二设备信息。Optionally, as shown in FIG. 2 , the home appliance control system 10 further includes at least one second home appliance 15, the second home appliance 15 communicates with the second cloud server 13, and the second cloud server 13 stores each second The second device information of the household device 15.
控制终端11还用于,接收第二用户指令。将第二用户指令发送给第二云服务器13。The control terminal 11 is also used for receiving a second user instruction. Send the second user instruction to the second cloud server 13.
第二云服务器13还用于,接收所述第二用户指令。从与第二云服务器13通信连接的多个第二家居设备15中确定目标第二家居设备151。基于所述第二用户指令控制目标第二家居设备151。The second cloud server 13 is further configured to receive the second user instruction. The target second home device 151 is determined from the plurality of second home devices 15 communicatively connected to the second cloud server 13 . The target second household device 151 is controlled based on the second user instruction.
所有第二家居设备15可以是与第二云服务器13以及控制终端11同品牌的家居设备。控制终端11可以直接发送预设的控制指令,经由第二云服务器13传达给需要控制的目标第二家居设备151,以对目标第二家居设备151进行控制。All the second home appliances 15 may be home appliances of the same brand as the second cloud server 13 and the control terminal 11 . The control terminal 11 can directly send a preset control instruction, and convey it to the target second household device 151 to be controlled via the second cloud server 13, so as to control the target second household device 151 .
对应于上述家居设备控制系统10,本发明实施例提供了一种家居设备控制方法,应用于家居设备控制系统,所述家居设备控制系统包括控制终端、第二云服务器、至少一个第一云服务器和至少一个第一家居设备,所述第一家居设备的数量大于等于所述第一云服务器的数量,所述第二云服务器中存储有每个所述第一云服务器的第一服务器地址;每个所述第一家居设备与一个所述第一云服务器通信连接,所述控制终端与所述第二云服务器通信连接。所述方法包括如图3所示的以下步骤:Corresponding to the above household equipment control system 10, an embodiment of the present invention provides a household equipment control method, which is applied to the household equipment control system, and the household equipment control system includes a control terminal, a second cloud server, and at least one first cloud server and at least one first household device, the number of the first household devices is greater than or equal to the number of the first cloud server, and the first server address of each of the first cloud servers is stored in the second cloud server; Each of the first household devices is connected in communication with one of the first cloud servers, and the control terminal is connected in communication with the second cloud server. Described method comprises the following steps as shown in Figure 3:
步骤S110:所述控制终端接收第一用户指令,基于所述第一用户指令调用存储于所述第二云服务器中的互联场景。从所述互联场景里的多个所述第一家居设备中确定互联动作数据,所述互联动作数据包括互联动作标号,所述互联动作标号与多个所述第一家居设备中、唯一一个目标第一家居设备所支持的多个控制指令中的目标控制指令相对应。发送所述互联动作标号给所述第二云服务器。Step S110: the control terminal receives a first user instruction, and based on the first user instruction calls an interconnection scene stored in the second cloud server. Determine the interconnection action data from the plurality of first household devices in the interconnection scene, the interconnection action data includes an interconnection action label, and the interconnection action label is related to a unique target among the plurality of first household devices The target control command among the multiple control commands supported by the first home device corresponds to the target control command. Send the interconnection action ID to the second cloud server.
步骤S120:所述第二云服务器接收所述互联动作标号。根据所述互联动作标号,从各所述第一云服务器中确定出目标第一云服务器。将所述互联动作标号发送给所述目标第一云服务器。Step S120: The second cloud server receives the interconnection action tag. A target first cloud server is determined from each of the first cloud servers according to the interconnection action number. Send the interconnection action tag to the target first cloud server.
步骤S130:所述目标第一云服务器接收所述互联动作标号。基于所述互联动作标号确定与所述目标第一家居设备对应的所述目标控制指令。基于所述目标控制指令控制所述目标第一家居设备。Step S130: The target first cloud server receives the interconnection action tag. The target control instruction corresponding to the target first household device is determined based on the interconnection action label. The target first household device is controlled based on the target control instruction.
互联场景可以是控制终端创建的用来使控制终端能够与多个不同品牌的第一家居设备进行互联,从而实现一个控制终端控制多个第一家居设备的虚拟场景。被添加至该互联场景的第一设备信息所对应的第一家居设备均能够被控制终端操控。使得用户在进行家居设备的控制时,仅需要通过第一用户指令,从控制终端调用出互联场景即可。The interconnection scene can be a virtual scene created by the control terminal to enable the control terminal to interconnect with multiple first home devices of different brands, so as to realize a control terminal controlling multiple first home devices. All the first household devices corresponding to the first device information added to the interconnection scene can be controlled by the control terminal. Therefore, when the user controls the household equipment, he only needs to call the interconnection scene from the control terminal through the first user instruction.
执行步骤S110,所述控制终端接收第一用户指令,基于所述第一用户指令调用存储于所述第二云服务器中的互联场景。从所述互联场景里的多个所述第一家居设备中确定互联动作数据,所述互联动作数据包括互联动作标号,所述互联动作标号与多个所述第一家居设备中、唯一一个目标第一家居设备所支持的多个控制指令中的目标控制指令相对应。发送所述互联动作标号给所述第二云服务器。Step S110 is executed, the control terminal receives a first user instruction, and based on the first user instruction calls the interconnected scene stored in the second cloud server. Determine the interconnection action data from the plurality of first household devices in the interconnection scene, the interconnection action data includes an interconnection action label, and the interconnection action label is related to a unique target among the plurality of first household devices The target control command among the multiple control commands supported by the first home device corresponds to the target control command. Send the interconnection action ID to the second cloud server.
第一用户指令可以是用户通过控制终端的交互界面向控制终端下发的用以控制指定的第一家居设备(即目标第一家居设备)的指令。互联动作数据可以是每个第一家居设备所支持的动作数据,例如某第一家居设备所支持的互联动作为开机、关机、加热,那么互联动作数据即为开机、关机、加热所对应的数据,每个第一家居设备均对应一套互联动作数据,每套互联动作数据中包括至少一个互联动作标号,每个互联动作标号仅对应唯一一个目标第一家居设备所支持的多个控制指令中的目标控制指令。The first user instruction may be an instruction issued by the user to the control terminal through an interactive interface of the control terminal to control a specified first household device (ie, a target first household device). The interconnected action data can be the action data supported by each first home device. For example, the interconnected actions supported by a first home device are power on, power off, and heating, then the interconnected motion data is the data corresponding to power on, power off, and heat , each first home device corresponds to a set of interconnected action data, each set of interconnected action data includes at least one interconnected action label, and each interconnected action label only corresponds to one of the multiple control commands supported by the only target first home device target control instructions.
控制终端接收到第一用户指令后,从第二云服务器中调用出互联场景,再从互联场景中包括的多个第一家居设备里确定出需要操控目标第一家居设备所做动作的互联动作数据,然后将互联动作数据中的互联动作标号发送给第二云服务器。After receiving the first user instruction, the control terminal invokes the interconnection scene from the second cloud server, and then determines the interconnection action that needs to be controlled by the action of the target first home device from the plurality of first home devices included in the interconnection scene data, and then send the interconnection action label in the interconnection action data to the second cloud server.
举例来说,若第一用户指令为控制智能窗户A打开,其对应的互联动作标号为W001。那么用户可以从控制终端打开互联场景,从互联场景中的多个第一家居设备中选取智能窗户A为目标第一家居设备,然后用户可以点选智能窗户A支持的互联动作“开窗”。控制终端通过用户输入的第一用户指令确定互联动作标号为W001,然后将其发送给第二云服务器。For example, if the first user instruction is to control the opening of the smart window A, the corresponding interconnection action label is W001. Then the user can open the interconnection scene from the control terminal, select smart window A as the target first home device from the multiple first home devices in the interconnection scene, and then the user can click the interconnection action supported by smart window A "open window". The control terminal determines that the interconnection action label is W001 through the first user instruction input by the user, and then sends it to the second cloud server.
执行步骤S120,所述第二云服务器接收所述互联动作标号;根据所述互联动作标号,从各所述第一云服务器中确定出目标第一云服务器;将所述互联动作标号发送给所述目标第一云服务器。Step S120 is executed, the second cloud server receives the interconnection action number; determines the target first cloud server from each of the first cloud servers according to the interconnection action number; sends the interconnection action number to all The target first cloud server.
第二云服务器接收到互联动作标号后,从多个第一云服务器中确定出目标第一云服务器(即与互联动作标号所对应的目标第一家居设备通信连接的第一云服务器)。然后将互联动作标号发送给目标第一云服务器。After receiving the interconnection action ID, the second cloud server determines the target first cloud server (ie, the first cloud server communicatively connected to the target first household device corresponding to the interconnection action ID) from the plurality of first cloud servers. Then send the interconnection action label to the target first cloud server.
确定目标第一云服务器的方式有多种,例如第二云服务器将各个互联动作标号与第一云服务器地址进行关联存储,当接收到一个互联动作标号后,即可根据该互联动作标号查找到与其对应的第一云服务器地址,将该第一云服务器地址所对应的第一云服务器确定为目标第一云服务器。There are many ways to determine the target first cloud server. For example, the second cloud server associates and stores each interconnection action label with the address of the first cloud server. After receiving an interconnection action label, it can find the For the address of the first cloud server corresponding to the first cloud server, determine the first cloud server corresponding to the first cloud server address as the target first cloud server.
执行步骤S130,所述目标第一云服务器接收所述互联动作标号;基于所述互联动作标号确定与所述目标第一家居设备对应的所述目标控制指令;基于所述目标控制指令控制所述目标第一家居设备。Step S130 is executed, the target first cloud server receives the interconnection action number; determines the target control instruction corresponding to the target first home appliance based on the interconnection action number; controls the Target first home device.
由于每个互联动作标号是独一无二的,仅对应一个第一家居设备中的一个控制指令。因此,目标第一云服务器接收到互联动作标号之后,可以通过直接互联动作标号来确定出与目标第一家居设备对应的目标控制指令,再根据目标控制指令控制目标第一家居设备做相应的动作。Since each interconnection action label is unique, it only corresponds to one control command in one first home device. Therefore, after the target first cloud server receives the interconnection action label, it can directly determine the target control instruction corresponding to the target first household device through the direct interconnection action label, and then control the target first household device to perform corresponding actions according to the target control command .
可选地,所述互联动作标号包括设备标号以及动作标号,所述第一云服务器上存储有每个与该所述第一云服务器通信连接的第一家居设备对应的指令对照表,所述基于所述互联动作标号确定与所述目标第一家居设备对应的所述目标控制指令,包括:Optionally, the interconnection action label includes a device label and an action label, and the first cloud server stores an instruction comparison table corresponding to each first household device communicatively connected to the first cloud server, and the Determining the target control instruction corresponding to the target first household device based on the interconnection action label includes:
根据所述设备标号,从与所述第一云服务器通信连接的多个所述指令对照表中确定所述目标指令对照表。According to the equipment label, the target instruction comparison table is determined from a plurality of the instruction comparison tables communicatively connected to the first cloud server.
基于所述目标指令对照表,根据所述动作标号,从所述目标指令对照表中查找与所述动作标号对应的控制指令。Based on the target instruction comparison table and according to the action label, look up the control instruction corresponding to the action label from the target instruction comparison table.
确定与所述动作标号对应的控制指令为所述目标控制指令。Determine the control instruction corresponding to the action label as the target control instruction.
设备标号可以是用来确定目标第一家居设备的标号。指令对照表可以是控制指令与动作标号的对应表,例如AC为设备标号,其对应的动作标号有001、002、003,各个动作标号对应不同的控制指令:001对应开机、002对应关机、03对应通风,则可以将其归纳为一张指令对照表中。The device ID may be the ID used to determine the target first household device. The command comparison table can be a correspondence table between control commands and action labels. For example, AC is a device label, and its corresponding action labels are 001, 002, and 003. Each action label corresponds to a different control command: 001 corresponds to power-on, 002 corresponds to shutdown, and 03 For ventilation, it can be summarized into an instruction comparison table.
目标第一云服务器接收到互联动作标号后,根据设备标号即可从与其通信连接的第一家居设备中确定出目标第一家居设备,然后调用出与目标第一家居设备匹配的指令对照表作为目标指令对照表。再根据动作标号在目标指令对照表中查表,从而确定出目标控制指令。After the target first cloud server receives the interconnection action label, it can determine the target first home device from the first home devices connected to it according to the device label, and then call out the instruction comparison table that matches the target first home device as Target instruction comparison table. Then look up the target command comparison table according to the action label, so as to determine the target control command.
举例来说,互联动作标号仍为W001,与目标第一云服务器通信连接的第一家居设备的设备标号分别为Ww、Zz、Xx、Cc,根据设备标号W即可确定目标第一家居设备为Ww,进而确定出目标第一家居设备为Ww对应的指令对照表为目标指令对照表,然后从该目标指令对照表种找到动作标号001所对应的控制指令,即为目标控制指令。For example, the label of the interconnection action is still W001, and the equipment labels of the first household devices communicating with the target first cloud server are respectively Ww, Zz, Xx, and Cc. According to the equipment label W, it can be determined that the target first household equipment is Ww, and then determine that the target first household device is the command comparison table corresponding to Ww as the target command comparison table, and then find the control command corresponding to the action label 001 from the target command comparison table, which is the target control command.
可选地,所述方法还包括如图4所示的以下创建所述互联场景的步骤,该步骤包括:Optionally, the method further includes the following step of creating the interconnection scene as shown in FIG. 4, the step includes:
步骤S210:所述控制终端获取每个所述第一家居设备的第一设备信息以及与该第一家居设备通信连接的第一云服务器的第一服务器地址;向每个所述第一云服务器发送与该第一云服务器通信连接的第一家居设备的第一设备信息。Step S210: The control terminal obtains the first device information of each of the first home devices and the first server address of the first cloud server communicatively connected with the first home device; Sending the first device information of the first home device communicatively connected to the first cloud server.
步骤S220:各所述第一云服务器接收所述控制终端发送的与其通信连接的所述第一家居设备的第一设备信息;根据所述第一设备信息确定各所述第一家居设备所支持的互联动作数据;将所述互联动作数据发送给所述控制终端。Step S220: each of the first cloud servers receives the first device information of the first home device connected to it in communication with the control terminal; the interconnection action data; sending the interconnection action data to the control terminal.
步骤S230:所述控制终端接收各所述第一云服务器反馈的互联动作数据;将各所述互联动作数据和与其对应的所述第一家居设备的第一设备信息进行整合;基于整合后的各所述互联动作数据和与其对应的所述第一家居设备的第一设备信息,创建所述互联场景。Step S230: The control terminal receives the interconnection action data fed back by each of the first cloud servers; integrates each of the interconnection action data and the first device information of the first home device corresponding to it; based on the integrated Each of the interconnection action data and the corresponding first device information of the first home device create the interconnection scene.
互联场景可以是控制终端创建的用来使控制终端能够与多个不同品牌的第一家居设备进行互联,从而实现一个控制终端控制多个第一家居设备的虚拟场景。被添加至该互联场景的第一设备信息所对应的第一家居设备均能够经由控制终端-第二云服务器-第一云服务器-第一家居设备这样的数据流向来实现操控。The interconnection scene can be a virtual scene created by the control terminal to enable the control terminal to interconnect with multiple first home devices of different brands, so as to realize a control terminal controlling multiple first home devices. All the first home devices corresponding to the first device information added to the interconnection scene can be controlled through the data flow of control terminal-second cloud server-first cloud server-first home device.
在创建互联场景时,控制终端可以先通过多种方式获取第一家居设备的第一设备信息和与该第一家居设备通信连接的第一云服务器的第一服务器地址。例如,控制终端通过用户在控制终端的交互界面录入的方式获取第一设备信息以及第一服务器地址。然后控制终端分别根据第一服务器地址向每个第一云服务器发送与该第一云服务器通信连接的第一家居设备的第一设备信息。举例来说,控制终端将第一设备信息以拼接的方式通过Get请求发送至各第一云服务器,url示意:https://abcdef.deviceId=3061732。其中3061732为第一设备信息。When creating an interconnected scene, the control terminal may acquire the first device information of the first home device and the first server address of the first cloud server communicatively connected to the first home device through various methods. For example, the control terminal acquires the first device information and the address of the first server through input by the user on the interactive interface of the control terminal. Then the control terminal respectively sends the first device information of the first household device communicatively connected with the first cloud server to each first cloud server according to the address of the first server. For example, the control terminal sends the first device information to each first cloud server in a concatenated manner through a Get request, and the url indicates: https://abcdef.deviceId=3061732. Among them, 3061732 is the first device information.
各个第一云服务器接收到控制终端发送的第一设备信息后,即从数据库中调用出与其通信连接的每个第一设备信息所对应的第一家居设备所支持的互联动作数据,将其反馈给控制终端。After each first cloud server receives the first device information sent by the control terminal, it calls the interconnection action data supported by the first home device corresponding to each first device information connected to it from the database, and feeds it back. to the controlling terminal.
控制终端接收到各个第一云服务器反馈的互联动作数据后,将每个互联动作数据与其对应的第一家居设备的设备信息进行整合打包,创建出互联场景。After receiving the interconnection action data fed back by each of the first cloud servers, the control terminal integrates and packages each interconnection action data with the device information of the corresponding first home device to create an interconnection scene.
需要说明的是,由于控制终端不能够存储数据,因此当控制终端获取第一服务器地址与其进行一次通信之后,不能保存第一服务器地址,下次便不能直接与其进行通信连接,而是需要将第一服务器地址保存与第二云服务器中,通过第二云服务器与第一云服务器取得通信。It should be noted that since the control terminal cannot store data, after the control terminal acquires the address of the first server and communicates with it once, it cannot save the address of the first server, and cannot directly communicate with it next time, but needs to save the address of the first server. A server address is stored in the second cloud server, and the second cloud server communicates with the first cloud server.
可选地,所述控制终端包括扫描模块,所述获取每个所述第一家居设备的第一设备信息以及与该第一家居设备通信连接的第一云服务器的第一服务器地址,包括:Optionally, the control terminal includes a scanning module, and the acquisition of the first device information of each of the first home devices and the first server address of the first cloud server communicatively connected with the first home device includes:
接收所述扫描模块获取的多个图像信息,每个所述图像信息与一个所述第一家居设备对应。A plurality of image information acquired by the scanning module is received, and each image information corresponds to one of the first household devices.
分别解析每个所述图像信息,得到各所述第一家居设备的第一设备信息以及与各所述第一家居设备通信连接的第一云服务器的第一服务器地址。Each of the image information is analyzed separately to obtain the first device information of each of the first home devices and the first server address of the first cloud server communicatively connected to each of the first home devices.
作为一种可选的实施方式,控制终端获取第一设备信息以及第一服务器地址时,可以通过其搭载的扫描模块来扫描各个第一家居设备上的二维码、条码等图像信息。然后解析二维码、条码等图像信息得到各第一设备信息以及第一服务器地址。As an optional implementation manner, when the control terminal obtains the first device information and the first server address, it can scan image information such as two-dimensional codes and barcodes on each first household device through its mounted scanning module. Then analyze image information such as two-dimensional codes and barcodes to obtain the first device information and the address of the first server.
可选地,所述控制终端包括显示模块,所述互联动作数据还包括互联动作名称,每个所述互联动作名称与一个所述互联动作标号对应;在所述接收各所述第一云服务器反馈的互联动作数据之后,所述方法还包括:Optionally, the control terminal includes a display module, and the interconnection action data further includes interconnection action names, each of the interconnection action names corresponds to one of the interconnection action labels; After the fed back interconnection action data, the method also includes:
按照各所述第一家居设备的第一设备信息,分别整合各所述互联动作名称,得到多个互联动作名称数据包。According to the first device information of each of the first household devices, each of the interconnection action names is respectively integrated to obtain a plurality of interconnection action name data packets.
将各所述互联动作名称数据包发送至所述显示模块显示。Send each interconnection action name data packet to the display module for display.
创建互联场景时,为了使用户有更好的操作体验,可以在控制终端接收到各个第一云服务器反馈的互联动作数据之后,将各个互联动作数据中的互联动作名称与各个第一家居设备的第一设备信息进行对应整合,得到各个第一家居设备对应的互联动作名称数据包。将各个互联动作名称数据包发送至显示模块显示。例如,一个第一家居设备的设备信息为92425,其对应的互联动作名称为“打开风扇”、“关闭风扇”、“开机”、“关机”,控制终端将其打包为互联动作名称数据包后,发送至显示模块。当用户打开互联场景选择设备信息为92425的第一家居设备时,即可看到“打开风扇”、“关闭风扇”、“开机”、“关机”等互联动作名称。When creating an interconnection scene, in order to provide users with a better operating experience, after the control terminal receives the interconnection action data fed back by each first cloud server, it can combine the interconnection action name in each interconnection action data with the first household device's The first device information is correspondingly integrated to obtain the interconnection action name data packets corresponding to each first home device. Send each interconnected action name data packet to the display module for display. For example, the device information of a first household device is 92425, and the corresponding interconnection action names are "turn on the fan", "turn off the fan", "start up", "shut down", and the control terminal packs it into a data packet of the interconnection action name , sent to the display module. When the user opens the interconnection scene and selects the first home device whose device information is 92425, he can see interconnection action names such as "turn on the fan", "turn off the fan", "start up" and "shut down".
可选地,所述家居设备控制系统还包括至少一个第二家居设备,所述第二家居设备与所述第二云服务器通信连接,所述第二云服务器中存储有各所述第二家居设备的第二设备信息;所述方法还包括:Optionally, the household device control system further includes at least one second household device, and the second household device is communicatively connected to the second cloud server, and each of the second household devices is stored in the second cloud server. Second device information of the device; the method further includes:
所述控制终端接收第二用户指令;将所述第二用户指令发送给所述第二云服务器。The control terminal receives a second user instruction; and sends the second user instruction to the second cloud server.
所述第二云服务器接收所述第二用户指令;从与所述第二云服务器通信连接的多个所述第二家居设备中确定目标第二家居设备;基于所述第二用户指令控制所述目标第二家居设备。The second cloud server receives the second user instruction; determines a target second home appliance from a plurality of second home appliances communicatively connected to the second cloud server; and controls the second home appliance based on the second user instruction. The above-mentioned target second home device.
控制终端除了控制与控制终端不直接通信连接的第一家居设备(即不同品牌家居设备)之外,还可以控制与其能够直接通信的至少一个第二家居设备。第二家居设备均与第二云服务器通信连接,而第二云服务器与控制终端直接通信连接。In addition to controlling the first home appliance (that is, home appliance of a different brand) that is not directly communicatively connected with the control terminal, the control terminal can also control at least one second home appliance that can directly communicate with it. The second household devices are all communicatively connected to the second cloud server, and the second cloud server is directly communicatively connected to the control terminal.
第二用户指令可以是用户通过人机交互界面向控制终端发送的控制第二家居设备的指令。控制终端接收到第二用户指令后,从与第二云服务器通信连接的多个第二家居设备中确定目标第二家居设备。然后再基于第二用户指令控制目标第二家居设备。确定目标第二家居设备的方式有多种,例如直接在用户发送的第二用户指令中附加上目标第二家居设备的设备信息,即可使得控制终端可以直接从多个第二家居设备中确定出目标第二家居设备。The second user instruction may be an instruction sent by the user to the control terminal through the human-computer interaction interface to control the second household device. After receiving the instruction from the second user, the control terminal determines the target second household device from the plurality of second household devices communicatively connected to the second cloud server. Then control the target second household device based on the second user instruction. There are many ways to determine the target second home device. For example, directly add the device information of the target second home device to the second user instruction sent by the user, so that the control terminal can directly determine from multiple second home devices. Target the second home device.
可选地,所述第二用户指令包括第二家居设备名称,所述从与所述第二云服务器通信连接的多个所述第二家居设备中确定目标第二家居设备,包括:Optionally, the second user instruction includes a name of a second household device, and the determining a target second household device from a plurality of second household devices communicatively connected to the second cloud server includes:
根据所述第二家居设备名称,从与所述第二云服务器通信连接的多个所述第二家居设备中查找与所述第二家居设备名称对应的第二家居设备。Searching for a second home device corresponding to the second home device name from a plurality of second home devices communicatively connected to the second cloud server according to the second home device name.
确定与所述第二家居设备名称对应的第二家居设备为所述目标第二家居设备。Determining that the second home device corresponding to the name of the second home device is the target second home device.
作为另一种可选的实施方式可以在第二用户指令中包括第二家居设备名称。当控制终端接收到第二用户指令时,可以根据第二家居设备名称从与第二云服务器通信连接的多个第二家居设备中确定出名称与第二家居设备名称相匹配的目标第二家居设备。As another optional implementation manner, the second user instruction may include the name of the second household device. When the control terminal receives the instruction from the second user, it can determine the target second household whose name matches the name of the second household equipment from a plurality of second household equipment connected in communication with the second cloud server according to the name of the second household equipment. equipment.
可选地,所述方法还包括:Optionally, the method also includes:
所述控制终端将各所述第二设备信息以及与各所述第二设备信息对应的第二用户指令进行整合。The control terminal integrates each piece of second device information and a second user instruction corresponding to each piece of second device information.
所述控制终端将整合后的各所述第二设备信息以及与各所述第二设备信息对应的第二用户指令添加至所述互联场景。The control terminal adds the integrated information of the second devices and the second user instruction corresponding to the information of the second devices to the interconnection scene.
为了方便用户对各第一家居设备以及第二家居设备进行操控,可以将各个第二设备信息以及与各个第二设备信息对应的第二用户指令进行整合,然后添加到互联场景中,方便用户统一使用。In order to facilitate the user to control the first and second household devices, the information of each second device and the second user instructions corresponding to each second device information can be integrated, and then added to the interconnection scene, which is convenient for users to unify use.
本发明至少包括以下有益效果:The present invention at least includes the following beneficial effects:
提供了一种家居设备控制方法及系统,通过设置控制终端,依靠控制终端创建的互联场景,使得控制终端可以通过与其通信连接的第二云服务器将互联动作标号发送给未与控制终端通信连接的第一云服务器。由第一云服务器根据互联动作标号确定对应的目标控制指令,再基于目标控制指令来控制与第一云服务器通信连接的目标第一家居设备。达到了由控制终端控制未与其通信连接的其他品牌的第一家居设备的效果,进而简化了操作过程与开发工作量。Provided is a home appliance control method and system. By setting the control terminal and relying on the interconnection scene created by the control terminal, the control terminal can send the interconnection action label to the second cloud server that is not connected to the control terminal through the second cloud server. First cloud server. The first cloud server determines the corresponding target control instruction according to the interconnection action label, and then controls the target first household device communicatively connected with the first cloud server based on the target control instruction. It achieves the effect that the control terminal controls the first home appliances of other brands that are not connected to it through communication, thereby simplifying the operation process and development workload.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,也可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,附图中的流程图和框图显示了根据本发明的多个实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现方式中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods may also be implemented in other ways. The device embodiments described above are only illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functions and possible implementations of devices, methods and computer program products according to multiple embodiments of the present invention. operate. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
另外,在本发明各个实施例中的各功能模块可以集成在一起形成一个独立的部分,也可以是各个模块单独存在,也可以两个或两个以上模块集成形成一个独立的部分。In addition, each functional module in each embodiment of the present invention can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes. .
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310748402.9A CN116684218A (en) | 2023-06-21 | 2023-06-21 | A method and system for controlling household equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310748402.9A CN116684218A (en) | 2023-06-21 | 2023-06-21 | A method and system for controlling household equipment |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116684218A true CN116684218A (en) | 2023-09-01 |
Family
ID=87789013
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310748402.9A Pending CN116684218A (en) | 2023-06-21 | 2023-06-21 | A method and system for controlling household equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116684218A (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018039814A1 (en) * | 2016-08-27 | 2018-03-08 | 北京北信源软件股份有限公司 | Smart household control method, apparatus and system |
| WO2020206693A1 (en) * | 2019-04-12 | 2020-10-15 | 深圳市欢太科技有限公司 | Smart home scheduling method, apparatus and system, server and storage medium |
| CN114115074A (en) * | 2021-12-10 | 2022-03-01 | 珠海格力电器股份有限公司 | Device control method and device, computer readable storage medium, processor |
-
2023
- 2023-06-21 CN CN202310748402.9A patent/CN116684218A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018039814A1 (en) * | 2016-08-27 | 2018-03-08 | 北京北信源软件股份有限公司 | Smart household control method, apparatus and system |
| WO2020206693A1 (en) * | 2019-04-12 | 2020-10-15 | 深圳市欢太科技有限公司 | Smart home scheduling method, apparatus and system, server and storage medium |
| CN114115074A (en) * | 2021-12-10 | 2022-03-01 | 珠海格力电器股份有限公司 | Device control method and device, computer readable storage medium, processor |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105471686B (en) | Terminal control method, device and system | |
| CN113412469B (en) | Device network configuration method, device, electronic device and storage medium | |
| CN102932695B (en) | A kind of remote control thereof, intelligent terminal and intelligent remote control system | |
| US10511550B2 (en) | Systems and methods for instant messaging | |
| US9514641B2 (en) | Smart remote control | |
| JP2017506772A (en) | Intelligent device scene mode customization method and apparatus | |
| US20120233552A1 (en) | Personalizing the user experience | |
| CN113168334A (en) | Data processing method, apparatus, electronic device and readable storage medium | |
| CN105629908A (en) | Internet of things equipment control method and device | |
| CN106597865B (en) | Information sharing method and device | |
| CN106789466B (en) | Method for controlling intelligent household appliance, mobile terminal and intelligent household appliance | |
| CN112019409A (en) | Equipment distribution network processing method, equipment distribution network processing device and electronic equipment | |
| EP3136248B1 (en) | Access management system, communication system, recording medium and access management method | |
| CN113552808A (en) | Network distribution method for electronic home equipment, electronic home equipment and mobile terminal | |
| CN111726661B (en) | Program push playing method, display equipment, mobile terminal and system | |
| CN115356937A (en) | Device control method, device, storage medium, and electronic apparatus | |
| US20110238731A1 (en) | Method to provide an unlimited number of customized user interfaces | |
| CN116708062B (en) | Device management method and electronic device | |
| CN112346887A (en) | Data processing method, data processing device, display device and computer-readable storage medium | |
| CN110809170A (en) | Time delay determination method and device, commodity link display method and device and server | |
| CN115175152A (en) | Intelligent device binding method and device, storage medium and electronic device | |
| CN116684218A (en) | A method and system for controlling household equipment | |
| CN114727154B (en) | Cloud application service data processing method, system, storage medium and processor | |
| CN112272223B (en) | Application running method and device, server and computer readable storage medium | |
| KR102506155B1 (en) | Electronic device, application executing system and control methods thereof |
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 | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Country or region after: China Address after: 315191 No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District Applicant after: NINGBO AUX ELECTRIC Co.,Ltd. Applicant after: AUX AIR CONDITIONING LIMITED BY SHARE Ltd. Address before: No. 1166 Mingguang North Road, Jiangshan Town, Ningbo, Zhejiang, Yinzhou District Applicant before: NINGBO AUX ELECTRIC Co.,Ltd. Country or region before: China Applicant before: AUX AIR CONDITIONING LIMITED BY SHARE Ltd. |