Movatterモバイル変換


[0]ホーム

URL:


CN113703327A - Household equipment control method, equipment, system, conversion device and storage medium - Google Patents

Household equipment control method, equipment, system, conversion device and storage medium
Download PDF

Info

Publication number
CN113703327A
CN113703327ACN202110780357.6ACN202110780357ACN113703327ACN 113703327 ACN113703327 ACN 113703327ACN 202110780357 ACN202110780357 ACN 202110780357ACN 113703327 ACN113703327 ACN 113703327A
Authority
CN
China
Prior art keywords
household
signal
instruction
information
conversion device
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
Application number
CN202110780357.6A
Other languages
Chinese (zh)
Inventor
黎金华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Topband Co Ltd
Original Assignee
Shenzhen Topband Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Topband Co LtdfiledCriticalShenzhen Topband Co Ltd
Priority to CN202110780357.6ApriorityCriticalpatent/CN113703327A/en
Publication of CN113703327ApublicationCriticalpatent/CN113703327A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本发明属于智能家居技术领域,尤其涉及一种家居设备的控制方法、设备系统、转换装置及存储介质。方法包括接收用户数据请求,用户数据请求包括控制信息以及待执行的家居设备的设备信息;获取设备信息对应的设备生产商协议信息,其中,设备生产商协议信息由家居设备对应生厂商设置;通过设备生产商协议信息将控制信息解析为第一指令;将第一指令封装到网络协议报文中,得到第一信号;将第一信号发送给转换装置以将第一信号中的第一指令进行广播。实现在统一的应用平台加载对应的设备生产商协议信息,从而能够将第一指令封装到的网络协议报文并在互联网中传输,从而实现统一的应用平台对多个家居设备统一管理,提升多个家居设备的管理的便利性。

Figure 202110780357

The invention belongs to the technical field of smart home, and in particular relates to a control method, equipment system, conversion device and storage medium of home equipment. The method includes receiving a user data request, where the user data request includes control information and device information of the household device to be executed; acquiring device manufacturer protocol information corresponding to the device information, wherein the device manufacturer protocol information is set by the manufacturer corresponding to the household device; The equipment manufacturer's protocol information parses the control information into a first command; encapsulates the first command into a network protocol message to obtain a first signal; sends the first signal to the conversion device to process the first command in the first signal. broadcast. Realize that the corresponding device manufacturer protocol information is loaded on the unified application platform, so that the network protocol message encapsulated in the first command can be encapsulated and transmitted in the Internet, so as to realize the unified management of multiple home devices on the unified application platform, and improve the Convenience of management of individual household devices.

Figure 202110780357

Description

Translated fromChinese
家居设备控制的方法、设备、系统、转换装置及存储介质Home appliance control method, device, system, conversion device and storage medium

技术领域technical field

本发明属于智能家居技术领域,尤其涉及一种家居设备控制的方法、设备、系统、转换装置及存储介质。The invention belongs to the technical field of smart home, and in particular relates to a method, device, system, conversion device and storage medium for controlling home equipment.

背景技术Background technique

物联网设备由于其可以与互联网互联,从而可以进行远程控制而受到越来越多人的青睐。但是随着家居物联设备的增加,同一房屋中需要远程控制的家居物联设备越来越多。此时,仍然采用一对一的方式控制家居物联设备,需要所有家居物联设备在终端设备中配套不同的硬件应用,不同的设备对应不同的APP,对多个家居设备管理十分不便利。IoT devices are becoming more and more popular because they can be connected to the Internet and thus can be controlled remotely. But with the increase of home IoT devices, more and more home IoT devices need to be remotely controlled in the same house. At this time, the home IoT devices are still controlled in a one-to-one manner, which requires all home IoT devices to be equipped with different hardware applications in the terminal devices, and different devices correspond to different APPs, which is very inconvenient for the management of multiple home devices.

发明内容SUMMARY OF THE INVENTION

本发明提供一种家居设备控制的方法、设备、系统、转换装置及存储介质,可以提升用户对多个家居物联设备管理的便利性。The present invention provides a method, device, system, conversion device and storage medium for controlling household equipment, which can improve the convenience of user management of multiple household IoT equipment.

第一方面,本发明提供一种家居设备控制的方法,所述方法包括:In a first aspect, the present invention provides a method for controlling household equipment, the method comprising:

接收用户数据请求,所述用户数据请求包括控制信息以及待执行的家居设备的设备信息;receiving a user data request, where the user data request includes control information and device information of the household device to be executed;

获取所述设备信息对应的设备生产商协议信息,其中,所述设备生产商协议信息由所述家居设备对应生厂商设置;Acquiring device manufacturer protocol information corresponding to the device information, wherein the device manufacturer protocol information is set by the manufacturer corresponding to the household device;

通过所述协议信息将所述控制信息解析为第一指令;Parse the control information into a first instruction by using the protocol information;

将所述第一指令封装到网络协议报文中,得到第一信号;encapsulating the first instruction into a network protocol message to obtain a first signal;

将所述第一信号发送给转换装置以将所述第一信号中的所述第一指令进行广播。The first signal is sent to a conversion device to broadcast the first instruction in the first signal.

第二方面,本发明提供一种家居设备控制的方法,所述方法包括:In a second aspect, the present invention provides a method for controlling household equipment, the method comprising:

接收第一信号;其中,所述第一信号为终端设备根据用户数据请求得到的网络协议报文;receiving a first signal; wherein, the first signal is a network protocol message obtained by the terminal device according to the user data request;

将所述第一信号解析得到第一指令;Parsing the first signal to obtain a first instruction;

获取连接的家居设备列表;Get a list of connected home devices;

将所述第一指令广播给所述家居设备列表中的每一家居设备。The first instruction is broadcast to each household device in the household device list.

第三方面,本发明提供一种物联家居系统,包括:In a third aspect, the present invention provides a IoT home system, comprising:

转换装置,所述转换装置执行如应用于转换装置的家居设备控制的方法;a conversion device that performs a method of home appliance control as applied to the conversion device;

终端设备,所述终端设备与所述转换装置通信连接;用于执行如应用于终端设备的所述的家居设备控制的方法;Terminal equipment, the terminal equipment is connected in communication with the conversion device; for executing the method for controlling the household equipment as applied to the terminal equipment;

家居设备,所述家居设备设置有多个,所述家居设备与所述转换装置通信连接,用于接收转换装置广播的第一指令。A plurality of household appliances are provided, and the household appliances are connected in communication with the conversion device, and are used for receiving a first instruction broadcast by the conversion device.

第四方面,本发明提供一种转换装置,所述转换装置执行如第二方面任一所述的家居设备控制的方法;所述转换装置包括:In a fourth aspect, the present invention provides a conversion device, the conversion device executes the method for controlling household appliances according to any one of the second aspects; the conversion device includes:

控制模块;control module;

第一通信模块,所述第一通信模块与所述控制模块电连接;a first communication module, the first communication module is electrically connected to the control module;

第二通信模块,所述第二通信模块与所述控制模块电连接;a second communication module, the second communication module is electrically connected to the control module;

其中,所述第二通信模块用于接收多个家居设备发送的第二指令并发送给所述控制模块,所述控制模块用于将第二指令封装到网络协议报文中,得到第二信号;所述第一通信模块用于接收所述控制模块发送第二信号并转发给终端设备;所述第一通信模块还用于转发所述终端设备发送的所述第一信号给所述控制模块;所述控制模块还用于将所述第一信号解析得到所述第一指令,并通过所述第二通信模块广播给每一所述家居设备。Wherein, the second communication module is configured to receive second instructions sent by multiple household devices and send them to the control module, and the control module is configured to encapsulate the second instructions into network protocol packets to obtain the second signal ; the first communication module is used to receive the second signal sent by the control module and forward it to the terminal device; the first communication module is also used to forward the first signal sent by the terminal device to the control module ; The control module is further configured to parse the first signal to obtain the first instruction, and broadcast it to each of the household appliances through the second communication module.

第五方面,本发明提供一种存储介质,包括存储有计算机可执行指令,所述计算机可执行指令用于执行应用于终端设备的任一项所述的家居设备控制的方法;和/或用于执行如应用于转换装置的家居设备控制的方法。In a fifth aspect, the present invention provides a storage medium including computer-executable instructions stored thereon, the computer-executable instructions being used to execute any one of the methods for controlling a home device applied to a terminal device; and/or using A method for performing home appliance control as applied to a conversion device.

根据本发明的上述实施例至少具有如下有益效果:通过设置转换装置将终端设备发送的第一信号解析得到第一指令进行广播,能建立一个与转换装置对应的统一的应用平台,此时,借助每一家居设备与设备生产商协议信息是一一对应的,在统一的应用平台加载对应的设备生产商协议信息,从而能够将第一指令封装到的网络协议报文在互联网中传输,从而实现统一的应用平台对多个家居设备统一管理,提升多个家居设备的管理的便利性。According to the above-mentioned embodiments of the present invention, at least the following beneficial effects are obtained: by setting the conversion device to parse the first signal sent by the terminal device to obtain the first instruction for broadcasting, a unified application platform corresponding to the conversion device can be established. Each household device has a one-to-one correspondence with the device manufacturer's protocol information, and the corresponding device manufacturer's protocol information is loaded on the unified application platform, so that the network protocol message encapsulated by the first instruction can be transmitted in the Internet, thereby realizing The unified application platform manages multiple home devices in a unified manner, improving the convenience of management of multiple home devices.

附图说明Description of drawings

图1是本发明实施例的物联家居系统的系统结构示意图;1 is a schematic diagram of the system structure of the IoT home system according to an embodiment of the present invention;

图2是本发明实施例的转换装置的结构示意图;2 is a schematic structural diagram of a conversion device according to an embodiment of the present invention;

图3是本发明实施例的终端设备的家居设备控制方法的流程示意图;3 is a schematic flowchart of a method for controlling a household device of a terminal device according to an embodiment of the present invention;

图4是本发明实施例的终端设备执行的家居设备控制方法步骤S150的流程示意图;FIG. 4 is a schematic flowchart of step S150 of the method for controlling home equipment performed by a terminal device according to an embodiment of the present invention;

图5是本发明实施例的转换装置执行的家居设备控制的流程示意图。FIG. 5 is a schematic flowchart of home appliance control performed by a conversion device according to an embodiment of the present invention.

附图标记:Reference number:

终端设备100、Terminal equipment 100,

转换装置200、控制模块210、第一通信模块220、WIFI模块231、第二通信模块232、插座模块240、继电器阵列241、多路电控插排242、直流交流转换模块250、电源引脚260、Conversion device 200 ,control module 210 ,first communication module 220 ,WIFI module 231 ,second communication module 232 ,socket module 240 ,relay array 241 , multi-channelelectrical control socket 242 , DC-AC conversion module 250 ,power pin 260 ,

家居设备300。Home Appliance 300 .

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

需理解的是,除非另有明确的限定,设置、安装、连接等词语应做广义理解,所属技术领域技术人员可以结合技术方案的具体内容合理确定上述词语在本发明中的具体含义。如果有描述到第一、第二只是用于区分技术特征为目的,而不能理解为指示或按时相对重要性或者隐含指明所指示的计数特征的数量或隐含指明所指示的技术特征的先后关系。It should be understood that, unless otherwise clearly defined, terms such as setting, installation, and connection should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution. If it is described that the first and the second are only for the purpose of distinguishing technical features, it cannot be understood as indicating the relative importance of time or time, or implicitly indicating the number of the indicated counting features or implicitly indicating the order of the indicated technical features. relation.

物联网设备由于其可以与互联网互联,从而可以进行远程控制而受到越来越多人的青睐。但是随着家居物联设备的增加,同一房屋中需要远程控制的家居物联设备越来越多。此时,仍然采用一对一的方式控制家居物联设备,需要所有家居物联设备在终端设备中配套不同的硬件应用,不同的设备对应不同的APP,对多个家居设备管理十分不便利。为此,本发明提供一种家居设备控制的方法、设备、系统、转换装置及存储介质。IoT devices are becoming more and more popular because they can be connected to the Internet and thus can be controlled remotely. But with the increase of home IoT devices, more and more home IoT devices need to be remotely controlled in the same house. At this time, the home IoT devices are still controlled in a one-to-one manner, which requires all home IoT devices to be equipped with different hardware applications in the terminal devices, and different devices correspond to different APPs, which is very inconvenient for the management of multiple home devices. To this end, the present invention provides a method, device, system, conversion device and storage medium for controlling household appliances.

如图1所示,本发明提供一种家居设备控制的系统,包括转换装置200、终端设备100及家居设备300。As shown in FIG. 1 , the present invention provides a home equipment control system, including aconversion device 200 , aterminal equipment 100 and ahome equipment 300 .

转换装置200用于接收终端设备100发送的第一信号,并将第一信号解析得到第一指令广播给与转换装置200通信连接的所有家居设备300。The convertingapparatus 200 is configured to receive the first signal sent by theterminal device 100 , and parse the first signal to obtain a first instruction and broadcast it to allhousehold devices 300 that are communicatively connected to the convertingapparatus 200 .

终端设备100与转换装置200通信连接,用于接收用户的用户数据请求,将其转化为对应家居设备300的第一指令并封装到第一信号中,经互联网发送给转换装置。Theterminal device 100 is connected in communication with theconversion device 200 for receiving the user data request from the user, converting it into a first instruction corresponding to thehome device 300, encapsulating it into a first signal, and sending it to the conversion device via the Internet.

家居设备300设置有多个,家居设备300与转换装置200通信连接,用于接收转换装置200广播的第一指令。A plurality ofhome appliances 300 are provided, and thehome appliances 300 are connected in communication with the convertingapparatus 200 for receiving the first instruction broadcast by the convertingapparatus 200 .

可理解为,本发明还提供一种转换装置200,如图2所示,转换装置200包括:It can be understood that the present invention also provides aconversion device 200. As shown in FIG. 2, theconversion device 200 includes:

控制模块210;control module 210;

第一通信模块220,第一通信模块220与控制模块230电连接;afirst communication module 220, thefirst communication module 220 is electrically connected to the control module 230;

第二通信模块232,第二通信模块232与控制模块210电连接;asecond communication module 232, thesecond communication module 232 is electrically connected to thecontrol module 210;

其中,第二通信模块232用于接收多个家居设备300发送的第二指令并发送给控制模块210,控制模块210用于将第二指令封装到网络协议报文中,得到第二信号;第一通信模块220用于接收控制模块210发送第二信号并转发给终端设备100;第一通信模块220还用于转发终端设备100发送的第一信号给控制模块210;控制模块210还用于将第一信号解析得到第一指令,并通过第二通信模块232广播给每一家居设备。Wherein, thesecond communication module 232 is used to receive the second instructions sent by the plurality ofhome appliances 300 and send them to thecontrol module 210, and thecontrol module 210 is used to encapsulate the second instructions into the network protocol message to obtain the second signal; Acommunication module 220 is configured to receive the second signal sent by thecontrol module 210 and forward it to theterminal device 100; thefirst communication module 220 is further configured to forward the first signal sent by theterminal device 100 to thecontrol module 210; thecontrol module 210 is further configured to The first signal is parsed to obtain the first instruction, which is broadcast to each household device through thesecond communication module 232 .

需说明的是,控制模块210可以为MCU或单片机的处理器。It should be noted that thecontrol module 210 may be a processor of an MCU or a single-chip microcomputer.

第一通信模块220与互联网设备通过网线、光纤等连接,对应的,能设置为网口或光纤口。Thefirst communication module 220 is connected to the Internet device through a network cable, an optical fiber, etc., and correspondingly, it can be set as a network port or an optical fiber port.

可理解为,如图2所示,转换装置200还包括插座模块240,插座模块240与控制模块210电连接;插座模块240用于给外接设备供电。通过在转换装置200上集成插座模块240,能够给外接设备如家居设备300或终端设备100充电。It can be understood that, as shown in FIG. 2 , theconversion device 200 further includes asocket module 240 , which is electrically connected to thecontrol module 210 ; thesocket module 240 is used for supplying power to external devices. By integrating thesocket module 240 on theconversion device 200 , external devices such as thehousehold device 300 or theterminal device 100 can be charged.

可理解为,如图2所示,插座模块240包括继电器阵列241以及多路电控插排242,继电器阵列241的两端分别连接控制模块210、多路电控插排242。It can be understood that, as shown in FIG. 2 , thesocket module 240 includes arelay array 241 and a multi-circuitelectrical control socket 242 . Two ends of therelay array 241 are respectively connected to thecontrol module 210 and the multi-circuitelectronic control socket 242 .

可理解为,如图2所示,第二通信模块232设置为短距通信接口。It can be understood that, as shown in FIG. 2 , thesecond communication module 232 is configured as a short-distance communication interface.

需说明的是,第二通信模块232表示与家居设备300可以在一定范围内进行无线连接。家居设备300能通过自带的WIFI与WIFI模块231通信连接,或者通过自带短距通信接口与第二通信模块232通信连接。It should be noted that thesecond communication module 232 indicates that the wireless connection with thehome device 300 can be performed within a certain range. Thehome device 300 can communicate with theWIFI module 231 through the built-in WIFI, or communicate with thesecond communication module 232 through the built-in short-range communication interface.

可理解为,第二通信模块232设置为红外接口、蓝牙、串口之一。在一些实施例中,转换装置200还包括WIFI模块231,当设备300与WIFI模块231连接,控制模块210将接收到的第一信号通过WIFI模块发送到对应的家居设备300。此时,能通过统一的应用平台与转换装置200连接,实现信号的交互;也能建立与家居设备300一一对应的个性化平台与转换装置200连接。It can be understood that thesecond communication module 232 is set as one of an infrared interface, a Bluetooth interface, and a serial port. In some embodiments, the convertingapparatus 200 further includes aWIFI module 231. When thedevice 300 is connected to theWIFI module 231, thecontrol module 210 sends the received first signal to thecorresponding home device 300 through the WIFI module. At this time, a unified application platform can be used to connect with theconversion device 200 to realize signal interaction; a personalized platform corresponding to thehome appliances 300 can also be established to be connected to theconversion device 200 .

可理解为,如图2所示,转换装置200还包括直流交流转换模块250以及电源引脚260,直流交流转换模块250的两端分别与控制模块210、电源引脚260电连接。It can be understood that, as shown in FIG. 2 , theconversion device 200 further includes a DC-AC conversion module 250 and apower supply pin 260 . Both ends of the DC-AC conversion module 250 are electrically connected to thecontrol module 210 and thepower supply pin 260 respectively.

可理解为,第一通信模块220设置为RJ45接口。It can be understood that thefirst communication module 220 is set as an RJ45 interface.

可理解为,本发明还提供一种家居设备控制的方法,应用于终端设备100,用于接收用户的用户数据请求,将其转化为对应家居设备300的第一指令并封装到第一信号中,经互联网发送给转换装置200。如图3所示,方法包括:It can be understood that the present invention also provides a method for controlling household equipment, which is applied to theterminal equipment 100 for receiving a user data request from a user, converting it into a first instruction corresponding to thehousehold equipment 300 and encapsulating it into a first signal. , and sent to theconversion device 200 via the Internet. As shown in Figure 3, the method includes:

步骤S110、接收用户数据请求,用户数据请求包括控制信息以及待执行的家居设备300的设备信息。Step S110: Receive a user data request, where the user data request includes control information and device information of thehome device 300 to be executed.

需说明的是,用户数据请求由用户发起。根据图形界面或其他交互方式(如语音等)将用户数据请求发给终端设备100上的统一应用平台。用户数据请求可以为控制家居设备300的运行请求,也可以为查询家居设备300运行参数的请求,即用户数据请求包括控制信息。It should be noted that the user data request is initiated by the user. The user data request is sent to the unified application platform on theterminal device 100 according to a graphical interface or other interactive manners (such as voice, etc.). The user data request may be a request for controlling the operation of thehome appliance 300, or a request for querying the running parameters of thehome appliance 300, that is, the user data request includes control information.

步骤S120、获取设备信息对应的设备生产商协议信息,其中,设备生产商协议信息由家居设备300对应生厂商设置。Step S120: Acquire device manufacturer protocol information corresponding to the device information, wherein the device manufacturer protocol information is set by thehome device 300 corresponding to the manufacturer.

步骤S130、通过设备生产商协议信息将控制信息解析为第一指令。Step S130: Parse the control information into a first instruction through the device manufacturer's protocol information.

需说明的是,每一设备生产商只需要在该终端设备100上的统一应用平台加载其与界面指示相关的协议指令(即设备生产商协议信息),即能将控制信息转换为家居设备300可识别的指令。It should be noted that each device manufacturer only needs to load its protocol instructions related to the interface indication (ie, device manufacturer protocol information) on the unified application platform on theterminal device 100 , that is, the control information can be converted into thehome device 300 . Recognized instructions.

步骤S140、将第一指令封装到网络协议报文中,得到第一信号。Step S140: Encapsulate the first instruction into a network protocol packet to obtain a first signal.

需说明的是,第一信号为TCPIP等在互联网中传输的报文,第一信号中的第一表示从该信号的走向为从终端设备100发送到转换装置200。It should be noted that the first signal is a packet transmitted in the Internet, such as TCPIP, and the first signal in the first signal indicates that the direction of the signal is sent from theterminal device 100 to theconversion device 200 .

步骤S150、将第一信号发送给转换装置200以将第一信号中的第一指令进行广播。Step S150: Send the first signal to theconversion device 200 to broadcast the first instruction in the first signal.

需说明的是,转换装置200用于接收终端设备100发送的第一信号,并将第一信号解析得到第一指令广播给与转换装置200通信连接的所有家居设备300。It should be noted that the convertingapparatus 200 is configured to receive the first signal sent by theterminal device 100 , and parse the first signal to obtain a first instruction and broadcast it to allhousehold devices 300 that are communicatively connected to the convertingapparatus 200 .

需说明的是,转换装置200可以为如图2所示的转换装置200,也可以为其他将第一信号解析得到第一指令的装置。It should be noted that theconversion apparatus 200 may be theconversion apparatus 200 shown in FIG. 2 , or may be other apparatuses that parse the first signal to obtain the first instruction.

因此,本发明提供的系统、转换装置200以及家居设备控制的方法,通过设置转换装置200将终端设备100发送的第一信号解析得到第一指令进行广播,能建立一个与转换装置200对应的统一的应用平台,此时,借助每一家居设备300与设备生产商协议信息是一一对应的,在统一的应用平台加载对应的设备生产商协议信息,从而能够将第一指令封装到的网络协议报文在互联网中传输,从而实现统一的应用平台对多个家居设备300统一管理,提升多个家居设备300的管理的便利性。Therefore, in the system, theconversion device 200 and the method for controlling household equipment provided by the present invention, by setting theconversion device 200 to parse the first signal sent by theterminal device 100 to obtain the first instruction for broadcasting, a unified system corresponding to theconversion device 200 can be established. At this time, by means of the one-to-one correspondence between eachhousehold device 300 and the device manufacturer's protocol information, the corresponding device manufacturer's protocol information is loaded in the unified application platform, so that the first instruction can be encapsulated into the network protocol. The message is transmitted in the Internet, so that a unified application platform can manage themultiple home devices 300 in a unified manner, and the convenience of management of themultiple home devices 300 is improved.

在步骤S140之前还包括通过设备生产商协议信息获取家居设备300的第一设备验证信息。此时,第一信号为将第一设备验证信息、第一指令封装到网络协议报文。通过增加第一设备验证信息,使转换装置200将第一设备验证信息、第一指令均发送给家居设备300后,同一厂商的家居设备300可以通过第一设备验证信息识别是否执行第一指令。Before step S140, the method further includes acquiring the first device verification information of thehousehold device 300 through the device manufacturer protocol information. At this time, the first signal is to encapsulate the first device verification information and the first instruction into a network protocol packet. By adding the first device verification information, after theconversion device 200 sends both the first device verification information and the first instruction to thehome appliance 300, thehome appliances 300 of the same manufacturer can identify whether to execute the first instruction through the first device verification information.

可理解为,第一设备验证信息包括设备号、生产日期中至少一种。通过利用设备号或生产日期的唯一性,用于识别第一指令的来源,从而避免误执行。It can be understood that the first device verification information includes at least one of a device number and a production date. By utilizing the uniqueness of the equipment number or production date, it is used to identify the source of the first instruction, thereby avoiding misexecution.

可理解为,如图4所示,方法还包括:It can be understood that, as shown in Figure 4, the method further includes:

步骤S151、接收第二信号。Step S151, receiving the second signal.

需说明的是,第二信号为转换装置200通过封装家居设备300发送的第二指令得到的网络协议报文。It should be noted that the second signal is a network protocol packet obtained by the convertingapparatus 200 by encapsulating the second instruction sent by thehome appliance 300 .

步骤S152、解析第二信号,得到对应的第二指令。Step S152, parsing the second signal to obtain a corresponding second instruction.

步骤S153、获取终端设备100记录的设备生产商协议信息。Step S153 , acquiring the device manufacturer protocol information recorded by theterminal device 100 .

步骤S154、通过设备生产商协议信息解析第二指令。Step S154: Parse the second instruction according to the equipment manufacturer protocol information.

步骤S155、若解析成功,则输出第二指令对应的响应信息。Step S155: If the parsing is successful, output response information corresponding to the second instruction.

需说明的是,通过转换装置200将家居设备300发送的第二指令封装到第二信号中,并提供与转换装置200匹配的统一平台,此时所有家居设备300均在统一平台管理,而对于不同厂商设备而言,对应的设备生产商协议信息只能解析对应的第二指令,对于同一厂商的不同设备,其设备生产商协议信息仅存在正常解析和无法解析两种情况。因此,通过遍历平台上的设备生产商协议信息直到正常解析,能实现信号解析与具体的家居设备300解耦。It should be noted that, the second instruction sent by thehome equipment 300 is encapsulated into the second signal by theconversion device 200, and a unified platform matching theconversion device 200 is provided. For devices of different manufacturers, the corresponding device manufacturer protocol information can only parse the corresponding second instruction. For different devices of the same manufacturer, the device manufacturer protocol information can only be parsed normally or cannot be parsed. Therefore, by traversing the device manufacturer's protocol information on the platform until normal parsing, the signal parsing can be decoupled from thespecific household device 300 .

可理解为,对于转换装置200,其接收终端设备100发送的第一信号,并将第一信号解析得到第一指令广播给与转换装置200通信连接的所有家居设备300,其执行如下家居设备控制的方法,如图5所示,方法包括:It can be understood that, for theconversion device 200, it receives the first signal sent by theterminal device 100, and parses the first signal to obtain a first instruction and broadcasts it to allhousehold devices 300 that are communicatively connected to theconversion device 200, and performs the following household device control: method, as shown in Figure 5, the method includes:

步骤S210、接收第一信号;其中,第一信号为终端设备根据用户数据请求得到的网络协议报文。Step S210: Receive a first signal, wherein the first signal is a network protocol packet obtained by the terminal device according to the user data request.

步骤S220、将第一信号解析得到第一指令。Step S220, parsing the first signal to obtain a first instruction.

步骤S230、获取连接的家居设备300列表。Step S230 , acquiring a list ofconnected home appliances 300 .

步骤S240、将第一指令广播给家居设备300列表中的每一家居设备300。Step S240 , broadcasting the first instruction to eachhousehold device 300 in the list ofhousehold devices 300 .

可理解为,步骤S240中转换装置200通过短距离通信接口将第一指令广播给家居设备300列表中的每一家居设备300;其中,短距离通信接口为串口,485,红外,蓝牙,WIFI其中之一。It can be understood that in step S240, theconversion device 200 broadcasts the first instruction to eachhousehold device 300 in the list ofhousehold devices 300 through the short-distance communication interface; wherein, the short-distance communication interface is serial port, 485, infrared, Bluetooth, WIFI, among which one.

可理解为,本发明还提供一种电子设备,包括至少一个处理器,以及,It can be understood that the present invention also provides an electronic device, comprising at least one processor, and,

与至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

存储器存储有指令,指令被至少一个处理器执行,以使至少一个处理器执行指令时实现如终端设备100执行的家居设备控制的方法;或者执行实现如转换装置200执行的家居设备控制的方法。The memory stores instructions, and the instructions are executed by at least one processor, so that when the at least one processor executes the instructions, a method for controlling home appliances as performed by theterminal device 100 is implemented;

可理解为,本发明还提供一种存储介质,包括存储有计算机可执行指令,计算机可执行指令用于执行终端设备100执行的家居设备控制的方法;和/或用于执行转换装置200执行的家居设备控制的方法。It can be understood that the present invention also provides a storage medium, which includes computer-executable instructions stored thereon, and the computer-executable instructions are used to execute the method for controlling home appliances executed by theterminal device 100; Methods of home appliance control.

需说明的是,术语存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。To be clear, the term storage medium includes volatile and nonvolatile, removable, removable, volatile and non-volatile, removable storage media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. and non-removable media. Storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, magnetic tape, magnetic disk storage or other magnetic storage devices, or available with Any other medium that stores the desired information and can be accessed by a computer.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (11)

Translated fromChinese
1.一种家居设备控制的方法,其特征在于,应用于终端设备,所述方法包括:1. a method for controlling household equipment, is characterized in that, is applied to terminal equipment, described method comprises:接收用户数据请求,所述用户数据请求包括控制信息以及待执行的家居设备的设备信息;receiving a user data request, where the user data request includes control information and device information of the household device to be executed;获取所述设备信息对应的设备生产商协议信息,其中,所述设备生产商协手机终端输入的协议信息由所述家居设备对应生厂商设置;Acquiring device manufacturer protocol information corresponding to the device information, wherein the device manufacturer agrees that the protocol information input by the mobile terminal is set by the manufacturer corresponding to the household device;通过所述设备生产商协议信息将所述控制信息解析为第一指令;Parse the control information into a first instruction through the device manufacturer protocol information;将所述第一指令封装到网络协议报文中,得到第一信号;encapsulating the first instruction into a network protocol message to obtain a first signal;将所述第一信号发送给转换装置,以将所述第一信号中的所述第一指令进行广播。The first signal is sent to a conversion device to broadcast the first instruction in the first signal.2.根据权利要求1所述的家居设备控制的方法,其特征在于,所述方法还包括:2. The method for home appliance control according to claim 1, wherein the method further comprises:通过所述设备生产商协议信息获取所述家居设备的第一设备验证信息;Obtain the first device verification information of the household device through the device manufacturer agreement information;对应的,将所述第一指令封装到网络协议报文中,得到第一信号,包括:Correspondingly, encapsulating the first instruction into a network protocol packet to obtain a first signal, including:将所述第一设备验证信息、所述第一指令封装到网络协议报文中,得到第一信号。The first device verification information and the first instruction are encapsulated into a network protocol packet to obtain a first signal.3.根据权利要求1所述的家居设备控制的方法,其特征在于,3. The method for household equipment control according to claim 1, wherein,所述第一设备验证信息包括设备号、生产日期中至少一种。The first device verification information includes at least one of device number and production date.4.根据权利要求1至3任一所述的家居设备控制的方法,其特征在于,还包括:4. The method for controlling household equipment according to any one of claims 1 to 3, further comprising:接收第二信号;其中,所述第二信号为转换装置根据家居设备发送的第二指令得到的网络协议报文;Receive a second signal; wherein, the second signal is a network protocol message obtained by the conversion device according to the second instruction sent by the household equipment;解析所述第二信号,得到对应的第二指令;Parse the second signal to obtain a corresponding second instruction;获取所述终端设备记录的所述设备生产商协议信息;Obtain the device manufacturer protocol information recorded by the terminal device;通过所述设备生产商协议信息解析所述第二指令;Parse the second instruction through the device manufacturer protocol information;若解析成功,则输出所述第二指令对应的响应信息。If the parsing is successful, the response information corresponding to the second instruction is output.5.一种家居设备控制的方法,其特征在于,应用于与家居设备连接的转换装置,其特征在于,5. a method for household equipment control, is characterized in that, is applied to the conversion device connected with household equipment, it is characterized in that,接收第一信号;其中,所述第一信号为终端设备根据用户数据请求得到的网络协议报文;receiving a first signal; wherein, the first signal is a network protocol message obtained by the terminal device according to the user data request;将所述第一信号解析得到第一指令;Parsing the first signal to obtain a first instruction;获取连接的家居设备列表;Get a list of connected home devices;将所述第一指令广播给所述家居设备列表中的每一家居设备。The first instruction is broadcast to each household device in the household device list.6.根据权利要求5所述的家居设备控制的方法,其特征在于,6. The method for home appliance control according to claim 5, wherein,所述将所述第一指令广播给所述家居设备列表中的每一家居设备,包括:The broadcasting of the first instruction to each household device in the household device list includes:通过短距离通信接口,将第一指令广播给所述家居设备列表中的每一家居设备;其中,短距离通信接口为串口,485,红外,蓝牙其中之一。The first instruction is broadcast to each household device in the household device list through a short-distance communication interface; wherein, the short-distance communication interface is one of serial port, 485, infrared, and Bluetooth.7.一种设备,其特征在于,包括:7. A device, characterized in that, comprising:至少一个处理器,以及,at least one processor, and,与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,所述存储器存储有指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器执行所述指令时实现如权利要求1至4任一所述的家居设备控制的方法;或者执行实现如权利要求5或6所述的家居设备控制的方法。The memory stores instructions, and the instructions are executed by the at least one processor, so that when the at least one processor executes the instructions, the method for controlling a home appliance according to any one of claims 1 to 4 is implemented; Or execute the method for realizing home appliance control as claimed in claim 5 or 6.8.一种物联家居系统,其特征在于,包括:8. A home furnishing system, characterized in that, comprising:转换装置,所述转换装置执行如权利要求5或6所述的家居设备控制的方法;a conversion device, the conversion device executes the method for controlling household appliances as claimed in claim 5 or 6;终端设备,所述终端设备与所述转换装置通信连接;用于执行如权利要求1至4任一所述的家居设备控制的方法;Terminal equipment, the terminal equipment is connected in communication with the conversion device; for executing the method for controlling household equipment according to any one of claims 1 to 4;家居设备,所述家居设备设置有多个,所述家居设备与所述转换装置通信连接,用于接收转换装置广播的第一指令。A plurality of household appliances are provided, and the household appliances are connected in communication with the conversion device, and are used for receiving a first instruction broadcast by the conversion device.9.一种转换装置,其特征在于,9. A conversion device, characterized in that:所述转换装置执行如权利要求5或6所述的家居设备控制的方法;所述转换装置包括:The conversion device executes the method for controlling household equipment according to claim 5 or 6; the conversion device comprises:控制模块;control module;第一通信模块,所述第一通信模块与所述控制模块电连接;a first communication module, the first communication module is electrically connected to the control module;第二通信模块,所述第二通信模块与所述控制模块电连接;a second communication module, the second communication module is electrically connected to the control module;其中,所述第二通信模块用于接收多个家居设备发送的第二指令并发送给所述控制模块,所述控制模块用于将第二指令封装到网络协议报文中,得到第二信号;所述第一通信模块用于接收所述控制模块发送第二信号并转发给终端设备;所述第一通信模块还用于转发所述终端设备发送的所述第一信号给所述控制模块;所述控制模块还用于将所述第一信号解析得到所述第一指令,并通过所述第二通信模块广播给每一所述家居设备。Wherein, the second communication module is configured to receive second instructions sent by multiple household devices and send them to the control module, and the control module is configured to encapsulate the second instructions into network protocol packets to obtain the second signal ; the first communication module is used to receive the second signal sent by the control module and forward it to the terminal device; the first communication module is also used to forward the first signal sent by the terminal device to the control module ; The control module is further configured to parse the first signal to obtain the first instruction, and broadcast it to each of the household appliances through the second communication module.10.根据权利要求8所述的转换装置,其特征在于,还包括:10. The conversion device according to claim 8, further comprising:插座模块,所述插座模块与所述控制模块电连接;所述插座模块用于给外接设备供电。A socket module, which is electrically connected with the control module; the socket module is used for supplying power to an external device.11.一种存储介质,包括存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至4中任一项所述的家居设备控制的方法;和/或用于执行如权利要求5或6所述的家居设备控制的方法。11. A storage medium comprising stored computer-executable instructions for carrying out the method for home appliance control according to any one of claims 1 to 4; and/or for carrying out the method as claimed in claim 1 The method for home appliance control described in claim 5 or 6.
CN202110780357.6A2021-07-092021-07-09Household equipment control method, equipment, system, conversion device and storage mediumPendingCN113703327A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202110780357.6ACN113703327A (en)2021-07-092021-07-09Household equipment control method, equipment, system, conversion device and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202110780357.6ACN113703327A (en)2021-07-092021-07-09Household equipment control method, equipment, system, conversion device and storage medium

Publications (1)

Publication NumberPublication Date
CN113703327Atrue CN113703327A (en)2021-11-26

Family

ID=78648805

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202110780357.6APendingCN113703327A (en)2021-07-092021-07-09Household equipment control method, equipment, system, conversion device and storage medium

Country Status (1)

CountryLink
CN (1)CN113703327A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101277545A (en)*2008-05-122008-10-01中山大学 A multi-network common digital home equipment remote control system
CN108897287A (en)*2018-06-262018-11-27四川斐讯信息技术有限公司A kind of intelligent home furnishing control method and system
CN110618614A (en)*2019-09-252019-12-27北京爱接力科技发展有限公司Control method and device for smart home, storage medium and robot
CN112987583A (en)*2021-02-082021-06-18南方科技大学Intelligent household control system
CN215526379U (en)*2021-07-092022-01-14深圳拓邦股份有限公司Conversion device and thing allies oneself with home systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101277545A (en)*2008-05-122008-10-01中山大学 A multi-network common digital home equipment remote control system
CN108897287A (en)*2018-06-262018-11-27四川斐讯信息技术有限公司A kind of intelligent home furnishing control method and system
CN110618614A (en)*2019-09-252019-12-27北京爱接力科技发展有限公司Control method and device for smart home, storage medium and robot
CN112987583A (en)*2021-02-082021-06-18南方科技大学Intelligent household control system
CN215526379U (en)*2021-07-092022-01-14深圳拓邦股份有限公司Conversion device and thing allies oneself with home systems

Similar Documents

PublicationPublication DateTitle
CN109451474A (en)Controlled terminal equipment and its bluetooth return even method
US8176181B2 (en)Layer-2 management entity messaging framework in a network
CN108513283A (en)One kind matching network method, equipment, terminal, medium and computer equipment
CN107249174A (en)Communicate to connect method for building up and terminal
CN106385661B (en) Pairing request, pairing response method and pairing request, pairing response terminal
WO2016058366A1 (en)Smart home appliance control method and home control center
TW201409887A (en)Smart home network system and its smart gateway
US20140269411A1 (en)Configuring wireless devices for a wireless infrastructure network
CN104980215A (en)System and method for achieving WiFi configuration of intelligent equipment based on optical signal transmission
US8005915B2 (en)Method for providing download and upload service in network control system
CN106997302A (en)Firmware upgrading method and device and audio playing equipment
CN110278577B (en)Data transmission control method and device
CN113709239A (en)Intelligent household equipment communication method, equipment and medium
CN107948692A (en)A kind of control method, system, set-top box and storage medium for cascading set-top box
US10579545B2 (en)Method for accessing a peripheral device by a host device via an access device
CN114466230A (en) Display device function expansion method, device, screen projection device and storage medium
CN113703327A (en)Household equipment control method, equipment, system, conversion device and storage medium
CN117917048A (en)Method, device, equipment and storage medium for configuring bridging equipment
CN118625688A (en) A multi-protocol access smart home control system and method
CN118155619A (en)Multi-protocol cross-brand voice control system and method
US20240048990A1 (en)Bluetooth connection method and system, intelligent terminal, and computer storage medium
KR102085114B1 (en)Method and apparatus for communication using smart module in home network system
CN216216971U (en)Internet of things communication system
CN106411534A (en)Embedded device and system with functions of interface recognition and wireless sharing
CN115866093A (en) Data processing method, device, equipment and storage medium of dual network protocol stack

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp