[go: up one dir, main page]

CN102323796A - A kind of automatic control method and system - Google Patents

A kind of automatic control method and system Download PDF

Info

Publication number
CN102323796A
CN102323796A CN201110123081A CN201110123081A CN102323796A CN 102323796 A CN102323796 A CN 102323796A CN 201110123081 A CN201110123081 A CN 201110123081A CN 201110123081 A CN201110123081 A CN 201110123081A CN 102323796 A CN102323796 A CN 102323796A
Authority
CN
China
Prior art keywords
control
target device
control signal
sends
source 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
CN201110123081A
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.)
Dongguan Shima Electronic Co ltd
Original Assignee
Dongguan Shima Electronic 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 Dongguan Shima Electronic Co ltd filed Critical Dongguan Shima Electronic Co ltd
Priority to CN201110123081A priority Critical patent/CN102323796A/en
Publication of CN102323796A publication Critical patent/CN102323796A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Selective Calling Equipment (AREA)

Abstract

The invention discloses an automatic control method and system, wherein the method comprises the following steps: the control source equipment generates a control signal comprising a control source equipment address, a target equipment address and an operation code and sends the control signal to the target equipment controller; the target equipment controller analyzes the control signal and sends the operation information corresponding to the operation code to the target equipment corresponding to the target equipment address; and the target equipment executes corresponding operation according to the operation information. According to the automatic control method and system, the target equipment controller analyzes the operation required to be executed by the target equipment according to the control signal comprising the control source equipment address, the target equipment address and the operation code, and the operation is executed by the target equipment. The control method and the control system have the advantages of flexible control, accurate work and wide control range, can be simultaneously applied to various communication interfaces, and can simultaneously allow a plurality of online devices to be connected.

Description

一种自动化控制方法及系统A kind of automatic control method and system

技术领域 technical field

本发明涉及自动控制领域,尤其涉及一种自动化控制方法及系统。The invention relates to the field of automatic control, in particular to an automatic control method and system.

背景技术 Background technique

在智能楼宇/家居/酒店自动化控制领域中,现有技术的协议应用的通讯接口单一;能控制的设备范围较单一,通常只能控制灯光或门禁;能连接的在线设备较少;通讯协议不灵活,工作误差大;开发,应用,维护成本高,工作稳定性较差,兼容性低;通讯控制方式单一,不能有状态反馈。In the field of intelligent building/home/hotel automation control, the communication interface of the prior art protocol application is single; Flexible, large working error; high development, application, and maintenance costs, poor working stability, low compatibility; single communication control mode, no status feedback.

发明内容 Contents of the invention

本发明的目的在于,提供一种自动化控制方法及系统,控制多种设备,通讯接口多样,通讯协议灵活,工作准确。The object of the present invention is to provide an automatic control method and system, which can control various devices, have various communication interfaces, flexible communication protocols, and work accurately.

为实现上述目的,根据本发明的一个方面,提供一种自动化控制方法,其特征在于,包括:In order to achieve the above object, according to one aspect of the present invention, an automatic control method is provided, which is characterized in that it includes:

控制源设备生成包括控制源设备地址、目标设备地址、操作码的控制信号,并发送到目标设备控制器;The control source device generates a control signal including control source device address, target device address, and operation code, and sends it to the target device controller;

所述目标设备控制器解析所述控制信号,将所述操作码对应的操作信息发送到所述目标设备地址对应的目标设备;The target device controller parses the control signal, and sends the operation information corresponding to the operation code to the target device corresponding to the target device address;

所述目标设备根据所述操作信息执行相应的操作。The target device performs a corresponding operation according to the operation information.

该方法还包括:所述目标设备于在完成相应的操作后,发送反馈信号至所述控制源设备。The method further includes: after the target device completes the corresponding operation, sending a feedback signal to the control source device.

所述控制信号还包括:引导码、数据包长度、附加数据和校验码,The control signal also includes: boot code, data packet length, additional data and check code,

所述目标设备控制器接收到所述引导码后取下一个数据作为数据包长度,开始接收整个控制信号的数据包;The target device controller takes the next data as the data packet length after receiving the boot code, and starts to receive the data packet of the entire control signal;

所述目标设备控制器根据所述操作码和所述附加数据确定所述操作信息;said target device controller determining said operational information based on said operational code and said additional data;

所述目标设备控制器根据所述校验码校验所述控制信号数据包是否出错。The target device controller checks whether the data packet of the control signal has an error according to the check code.

所述控制源设备地址包括:控制源子网ID和控制源设备ID;The control source device address includes: control source subnet ID and control source device ID;

所述目标设备地址包括:控制目标子网ID和目标设备ID。The target device address includes: a control target subnet ID and a target device ID.

通过RS232、RS482、RS485、TCP或UDP接口传输控制信号和/或反馈信号。Transmission of control and/or feedback signals via RS232, RS482, RS485, TCP or UDP interfaces.

当通过UDP网络传输控制信号和/或反馈信号时,在所述控制信号和/或反馈信号的数据包之前加上发送者的IP和包头标志。When the control signal and/or the feedback signal is transmitted through the UDP network, the sender's IP and the header flag are added before the data packet of the control signal and/or the feedback signal.

所述控制源设备通过广播方式将控制信号发送到所述目标设备控制器。The control source device sends the control signal to the target device controller by broadcasting.

为实现上述目的,根据本发明的另一个方面,提供一种自动化控制系统,包括:控制源设备、目标设备控制器和目标设备,其中,In order to achieve the above object, according to another aspect of the present invention, an automatic control system is provided, including: a control source device, a target device controller and a target device, wherein,

所述控制源设备,用于生成包括控制源设备地址、目标设备地址、操作码的控制信号,并发送到目标设备控制器;The control source device is used to generate a control signal including a control source device address, a target device address, and an operation code, and send it to a target device controller;

所述目标设备控制器,用于解析所述控制信号,将所述操作码对应的操作信息发送到所述目标设备地址对应的目标设备;The target device controller is configured to parse the control signal, and send the operation information corresponding to the operation code to the target device corresponding to the target device address;

所述目标设备,用于根据所述操作信息执行相应的操作。The target device is configured to perform a corresponding operation according to the operation information.

该系统还包括:路由器和交换机,所述控制源设备通过所述路由器和交换机将所述控制信号发送到所述目标设备控制器。The system also includes: a router and a switch, through which the control source device sends the control signal to the target device controller.

所述控制源设备通过TCP/IP网络将所述控制信号发送到所述路由器,所述路由器通过TCP/IP网络将所述控制信号发送到所述交换机,所述交换机通过485总线将所述控制信号发送到所述目标设备控制器The control source device sends the control signal to the router through the TCP/IP network, and the router sends the control signal to the switch through the TCP/IP network, and the switch sends the control signal to the switch through the 485 bus. signal to the target device controller

本发明的自动化控制方法及系统,目标设备控制器通过根据包括控制源设备地址、目标设备地址、操作码的控制信号解析出目标设备所需执行的操作,由目标设备进行执行。本发明的控制方法和系统,控制灵活且工作准确,控制范围广,可同时应用于多种通讯接口,可同时允许连接多个在线设备。In the automatic control method and system of the present invention, the target device controller parses out the operations required by the target device according to the control signal including the control source device address, the target device address, and the operation code, and the target device executes them. The control method and system of the present invention have flexible control, accurate work, wide control range, can be applied to multiple communication interfaces at the same time, and can allow multiple online devices to be connected at the same time.

附图说明 Description of drawings

图1是本发明自动化控制方法实施例流程图;Fig. 1 is a flow chart of an embodiment of the automatic control method of the present invention;

图2是本发明自动化控制系统实施例结构图;Fig. 2 is a structural diagram of an embodiment of the automation control system of the present invention;

图3是本发明自动化控制方法另一实施例结构图;Fig. 3 is a structural diagram of another embodiment of the automatic control method of the present invention;

图4是本发明灯光控制实施例结构图;Fig. 4 is a structural diagram of a lighting control embodiment of the present invention;

图5是本发明空调控制实施例结构图;Fig. 5 is a structural diagram of an air conditioning control embodiment of the present invention;

图6是本发明背景音乐控制实施例结构图;Fig. 6 is a structural diagram of an embodiment of background music control of the present invention;

图7是本发明安防布防控制实施例结构图;Fig. 7 is a structural diagram of an embodiment of security arming control in the present invention;

图8是本发明电源开关控制实施例结构图;Fig. 8 is a structural diagram of a power switch control embodiment of the present invention;

图9是本发明红外设备控制实施例结构图。Fig. 9 is a structural diagram of an embodiment of infrared device control in the present invention.

具体实施方式 Detailed ways

本发明主要应用于智能楼宇/家居/酒店自动化控制领域中,以下结合附图对本发明进行详细说明。The present invention is mainly applied in the field of intelligent building/home/hotel automation control, and the present invention will be described in detail below in conjunction with the accompanying drawings.

方法实施例method embodiment

如图1所示,本发明自动化控制方法实施例包括以下步骤:As shown in Figure 1, the embodiment of the automatic control method of the present invention includes the following steps:

S102,控制源设备生成包括控制源设备地址、目标设备地址、操作码的控制信号,并发送到目标设备控制器;S102, the control source device generates a control signal including a control source device address, a target device address, and an operation code, and sends it to the target device controller;

S104,目标设备控制器解析所述控制信号,将所述操作码对应的操作信息发送到所述目标设备地址对应的目标设备;S104. The target device controller parses the control signal, and sends the operation information corresponding to the operation code to the target device corresponding to the target device address;

S106,目标设备根据所述操作信息执行相应的操作。S106. The target device performs a corresponding operation according to the operation information.

目标设备于在完成相应的操作后,发送反馈信号至所述控制源设备。这个反馈信号通常有两个功能:一是对设备的控制是否成功的反馈;二是对设备的状态的读取后的响应。The target device sends a feedback signal to the control source device after completing the corresponding operation. This feedback signal usually has two functions: one is the feedback on whether the control of the device is successful; the other is the response after reading the state of the device.

其中,控制信号如下表1所示,Among them, the control signal is shown in Table 1 below,

表1Table 1

Figure BDA0000060807840000031
Figure BDA0000060807840000031

Figure BDA0000060807840000041
Figure BDA0000060807840000041

对控制信号的每个部分的具体说明如下:The specific description of each part of the control signal is as follows:

1、引导码1. Boot code

引导码为数据包开始标志,固定为0xAAAA,当接收设备收到数据包内有0xAAAA标志时取下一个数据作为数据包长度,开始接收整个SmartCloud数据包;The boot code is the start flag of the data packet, which is fixed at 0xAAAA. When the receiving device receives the 0xAAAA flag in the data packet, it takes the next data as the packet length and starts to receive the entire SmartCloud data packet;

2、数据包长度2. Packet length

定义数据包长度;Define the packet length;

当数据包的长度等于11时附加数据内容为零,当数据包的长度大于11时,附加数据内容的长度=数据包长度-11;When the length of the data packet is equal to 11, the additional data content is zero, and when the length of the data packet is greater than 11, the length of the additional data content=data packet length-11;

数据长度范围:11-78;Data length range: 11-78;

计算数据包长度的方式:从序列号2号到10号的数据长度,不包含序列1的数据;The method of calculating the length of the data packet: the data length from sequence number 2 to 10, excluding the data of sequence 1;

3、源子网ID和源设备ID3. Source subnet ID and source device ID

指明源设备的地址,每个设备都有一个地址,包括子网ID和设备ID,源子网ID范围0-254,源设备ID范围0-254;Indicate the address of the source device, each device has an address, including subnet ID and device ID, the range of source subnet ID is 0-254, and the range of source device ID is 0-254;

4、源设备类型4. Source device type

指明数据包发送设备类型,0-65535;Indicate the type of data packet sending device, 0-65535;

5、操作码5. Operation code

定义系统内各种操作命令及信息,取值范围为0-65535,即最多可以定义65535种操作命令及信息;Define various operation commands and information in the system, the value range is 0-65535, that is, up to 65535 operation commands and information can be defined;

6、目的子网ID6. Destination subnet ID

如下表2所示,As shown in Table 2 below,

表2Table 2

  目标子网ID的范围值 The range value of the target subnet ID   功能说明 Function Description   0-254 0-254   子网ID Subnet ID   255 255   广播全部子网 Broadcast all subnets

7、目的设备ID7. Destination device ID

如下表3所示,As shown in Table 3 below,

表3table 3

  目标设备ID的范围值 The range value of the target device ID  功能说明 Function Description   0-254 0-254  设备ID Device ID   255 255  广播子网内的全部设备,如果子网ID也是255,那就是全网广播 Broadcast all devices in the subnet, if the subnet ID is also 255, it is the whole network broadcast

8、附加数据8. Additional data

附加数据的内容和长度由操作码决定,每个操作码都有不一样的附加数据的意义和内容和长度,它是对操作码进行功能上的补充;The content and length of additional data are determined by the operation code, and each operation code has a different meaning, content and length of additional data, which is a functional supplement to the operation code;

9、CRC高8位和CRC低8位9. CRC high 8 bits and CRC low 8 bits

从“数据包长度”到“数据内容”的CRC检验结果,用于检验数据包在传输中是否有数据出错,CRC检验的数据从序列号2到9。The CRC check result from "data packet length" to "data content" is used to check whether there is any data error in the transmission of the data packet, and the data of CRC check is from sequence number 2 to 9.

本实施例可以通过RS232、RS482、RS485、TCP或UDP接口传输控制信号和/或反馈信号。以下以具体实例对控制信号及反馈信号的数据包结构进行具体说明。In this embodiment, control signals and/or feedback signals can be transmitted through RS232, RS482, RS485, TCP or UDP interfaces. The data packet structure of the control signal and the feedback signal will be specifically described below with specific examples.

一、在RS232或RS485总线上传输数据包1. Transmission of data packets on the RS232 or RS485 bus

示例1:Example 1:

源子网ID:1;源设备ID:6;源设备类型:7;Source Subnet ID: 1; Source Device ID: 6; Source Device Type: 7;

目标子网ID:1;目标设备ID:9;目标设备为调光器;Target subnet ID: 1; Target device ID: 9; Target device is dimmer;

操作码:0x000E  (读取设备的备注);Opcode: 0x000E (read device notes);

附加数据:无;Additional data: none;

控制信号的数据包如下表4所示:The data packet of the control signal is shown in Table 4 below:

表4Table 4

Figure BDA0000060807840000051
Figure BDA0000060807840000051

Figure BDA0000060807840000061
Figure BDA0000060807840000061

目标设备反馈信号的数据包(设备的备注)如下表5所示:The data packet (remarks of the device) of the feedback signal of the target device is shown in Table 5 below:

表5table 5

Figure BDA0000060807840000062
Figure BDA0000060807840000062

Figure BDA0000060807840000071
Figure BDA0000060807840000071

示例2:Example 2:

源子网ID:1;源设备ID:6;源设备类型:7;Source Subnet ID: 1; Source Device ID: 6; Source Device Type: 7;

目标子网ID:1;目标设备ID:9;Target Subnet ID: 1; Target Device ID: 9;

操作码:0x0002(运行灯光场景);Operation code: 0x0002 (run lighting scene);

附加数据:无Additional data: none

区号:1Area code: 1

场景号:1Scene number: 1

控制信号的数据包如下表6所示:The data packet of the control signal is shown in Table 6 below:

表6Table 6

Figure BDA0000060807840000072
Figure BDA0000060807840000072

Figure BDA0000060807840000081
Figure BDA0000060807840000081

目标设备反馈信号的数据包(场景)如下表7所示:The data packet (scenario) of the target device feedback signal is shown in Table 7 below:

表7Table 7

Figure BDA0000060807840000082
Figure BDA0000060807840000082

Figure BDA0000060807840000091
Figure BDA0000060807840000091

二、在UDP网络上传输数据包Second, transmit data packets on the UDP network

在UDP网络上的使用的时候,会在原来的数据包基础上的前面加发送者的IP和包头标志。When used on the UDP network, the sender's IP and packet header flag will be added in front of the original data packet.

包头标志包括2种,数据包的包头A:HDLMIRACLE的ASCII值;数据包的包头B:SMARTCLOUD的ASCII值。There are two types of header flags, header A of the data packet: the ASCII value of HDLMIRACLE; header B of the data packet: the ASCII value of SMARTCLOUD.

例如:假如发送者的IP地址是:192.168.0.111For example: If the sender's IP address is: 192.168.0.111

使用包头A的UDP的数据包将如下表8所示:A UDP packet using header A will be shown in Table 8 below:

表8Table 8

Figure BDA0000060807840000092
Figure BDA0000060807840000092

Figure BDA0000060807840000101
Figure BDA0000060807840000101

使用包头B的UDP的数据包将如下表9所示:A UDP packet using header B will be shown in Table 9 below:

表9Table 9

Figure BDA0000060807840000102
Figure BDA0000060807840000102

Figure BDA0000060807840000111
Figure BDA0000060807840000111

Figure BDA0000060807840000121
Figure BDA0000060807840000121

本实施例的自动化控制方法,通过定义新的控制信号格式来控制目标设备的操作,同时目标设备在完成操作后发送反馈信号给控制源设备,使得控制灵活且工作准确;控制范围广,如灯光,空调,窗帘,背景音乐,喷泉,洒水器,家电(TV/DVD/VCD/热水器等),安防(布防/撤防),各种传感器(动静/红外/亮度/煤气/烟感传感器等),逻辑控制等;可同时应用于多种通讯接口,如RS232,RS482,RS485,TCP,UDP等;可同时允许连接多个在线设备,最多可同时连接63335个在线设备。且控制信号的灵活性和扩展性较好,数据长度可扩展,和数据内容灵活可变。The automatic control method of this embodiment controls the operation of the target device by defining a new control signal format, and at the same time, the target device sends a feedback signal to the control source device after completing the operation, so that the control is flexible and the work is accurate; the control range is wide, such as lighting , air conditioners, curtains, background music, fountains, sprinklers, home appliances (TV/DVD/VCD/water heaters, etc.), security (arming/disarming), various sensors (motion/static/infrared/brightness/gas/smoke sensors, etc.), Logic control, etc.; can be applied to multiple communication interfaces at the same time, such as RS232, RS482, RS485, TCP, UDP, etc.; can connect multiple online devices at the same time, and can connect up to 63335 online devices at the same time. Moreover, the flexibility and expansibility of the control signal are good, the data length is extensible, and the data content is flexible and changeable.

系统实施例System embodiment

如图2所示,本发明自动化控制系统实施例包括:控制源设备202、目标设备控制器204和目标设备206,其中,As shown in FIG. 2, the embodiment of the automatic control system of the present invention includes: a control source device 202, a target device controller 204 and a target device 206, wherein,

控制源设备202,用于生成包括控制源设备地址、目标设备地址、操作码的控制信号,并发送到目标设备控制器;A control source device 202, configured to generate a control signal including a control source device address, a target device address, and an operation code, and send it to the target device controller;

目标设备控制器204,用于解析所述控制信号,将所述操作码对应的操作信息发送到所述目标设备地址对应的目标设备;The target device controller 204 is configured to analyze the control signal, and send the operation information corresponding to the operation code to the target device corresponding to the target device address;

目标设备206,用于根据所述操作信息执行相应的操作。The target device 206 is configured to perform corresponding operations according to the operation information.

如图3所示,控制源设备具体包括:FTP音乐服务器(用于Z-Audio播放器)、IPhone/Ipad、Android手机、无线触摸屏、有线触摸屏等;As shown in Figure 3, the control source device specifically includes: FTP music server (for Z-Audio player), IPhone/Ipad, Android mobile phone, wireless touch screen, wired touch screen, etc.;

目标设备控制器具体包括:灯光控制器、空调控制器、音乐控制器、家电红外控制器等等,对应不同的目标设备;Target device controllers specifically include: lighting controllers, air conditioner controllers, music controllers, home appliance infrared controllers, etc., corresponding to different target devices;

目标设备具体包括:灯光,空调,窗帘,背景音乐,喷泉,洒水器,家电(TV/DVD/VCD/热水器等),安防(布防/撤防),各种传感器(动静/红外/亮度/煤气/烟感传感器等),逻辑控制等。Target equipment specifically includes: lights, air conditioners, curtains, background music, fountains, sprinklers, home appliances (TV/DVD/VCD/water heaters, etc.), security (arming/disarming), various sensors (motion/static/infrared/brightness/gas/ smoke sensor, etc.), logic control, etc.

如图3所示,本实施例中,该系统还包括:路由器和交换机,控制源设备通过所述路由器和交换机将所述控制信号发送到所述目标设备控制器。控制源设备通过TCP/IP网络将所述控制信号发送到所述路由器,所述路由器通过TCP/IP网络将所述控制信号发送到所述交换机,交换机通过485总线将所述控制信号发送到所述目标设备控制器。As shown in FIG. 3 , in this embodiment, the system further includes: a router and a switch, and the control source device sends the control signal to the target device controller through the router and the switch. The control source device sends the control signal to the router through the TCP/IP network, the router sends the control signal to the switch through the TCP/IP network, and the switch sends the control signal to the switch through the 485 bus described target device controller.

本实施例中,该交换机为TCP/IP和RS485总线的交换机。In this embodiment, the switch is a switch of TCP/IP and RS485 bus.

以下结合附图对几种具体的设备控制进行说明。Several specific equipment controls are described below in conjunction with the accompanying drawings.

如图4所示,灯光控制,通过有线触摸屏进行灯光控制,包括控制信号和控制后是否成功的反馈信号的传输。As shown in Figure 4, the light control is carried out through the wired touch screen, including the transmission of the control signal and the feedback signal of whether the control is successful or not.

如图5所示,空调控制,通过液晶墙面板进行空调控制。As shown in Figure 5, the air conditioner is controlled through the LCD wall panel.

如图6所示,音乐控制,通过液晶墙面板进行音乐控制。As shown in Figure 6, music control is performed through the LCD wall panel.

如图7所示,安防布防控制,通过液晶墙面板进行布防/撤防。As shown in Figure 7, the security arming control is arming/disarming through the LCD wall panel.

如图8所示,电源开关控制,通过液晶墙面板进行开关电源的控制。As shown in Figure 8, the power switch control is carried out through the liquid crystal wall panel to control the switching power supply.

如图9所示,红外设备控制,通过液晶墙面板进行红外设备的控制。As shown in Figure 9, the infrared device is controlled, and the infrared device is controlled through the LCD wall panel.

本实施例的自动化控制系统,通过定义新的控制信号格式来控制目标设备的操作,同时目标设备在完成操作后发送反馈信号给控制源设备,使得控制灵活且工作准确;控制范围广;可同时应用于多种通讯接口,如RS232,RS482,RS485,TCP,UDP等;可同时允许连接多个在线设备,最多可同时连接63335个在线设备。且控制信号的灵活性和扩展性较好,数据长度可扩展,和数据内容灵活可变。The automatic control system of this embodiment controls the operation of the target device by defining a new control signal format, and at the same time, the target device sends a feedback signal to the control source device after completing the operation, so that the control is flexible and the work is accurate; the control range is wide; Applied to a variety of communication interfaces, such as RS232, RS482, RS485, TCP, UDP, etc.; it can connect multiple online devices at the same time, and can connect up to 63335 online devices at the same time. Moreover, the flexibility and expansibility of the control signal are good, the data length is extensible, and the data content is flexible and changeable.

应说明的是:以上实施例仅用以说明本发明而非限制,本发明也并不仅限于上述举例,一切不脱离本发明的精神和范围的技术方案及其改进,其均应涵盖在本发明的权利要求范围中。It should be noted that: the above embodiments are only used to illustrate the present invention without limitation, and the present invention is not limited to the above-mentioned examples, and all technical solutions and improvements thereof that do not depart from the spirit and scope of the present invention should be included in the present invention. within the scope of the claims.

Claims (10)

1.一种自动化控制方法,其特征在于,包括:1. An automatic control method, characterized in that, comprising: 控制源设备生成包括控制源设备地址、目标设备地址、操作码的控制信号,并发送到目标设备控制器;The control source device generates a control signal including a control source device address, a target device address, and an operation code, and sends it to the target device controller; 所述目标设备控制器解析所述控制信号,将所述操作码对应的操作信息发送到所述目标设备地址对应的目标设备;The target device controller parses the control signal, and sends the operation information corresponding to the operation code to the target device corresponding to the target device address; 所述目标设备根据所述操作信息执行相应的操作。The target device performs a corresponding operation according to the operation information. 2.根据权利要求1所述的自动化控制方法,其特征在于,还包括:2. The automated control method according to claim 1, further comprising: 所述目标设备在完成相应的操作后,发送反馈信号至所述控制源设备。The target device sends a feedback signal to the control source device after completing the corresponding operation. 3.根据权利要求1所述的自动化控制方法,其特征在于,所述控制信号还包括:引导码、数据包长度、附加数据和校验码,3. automatic control method according to claim 1, is characterized in that, described control signal also comprises: pilot code, data packet length, additional data and check code, 所述目标设备控制器接收到所述引导码后取下一个数据作为数据包长度,开始接收整个控制信号的数据包;The target device controller takes the next data as the data packet length after receiving the boot code, and starts to receive the data packet of the entire control signal; 所述目标设备控制器根据所述操作码和所述附加数据确定所述操作信息;said target device controller determining said operational information based on said operational code and said additional data; 所述目标设备控制器根据所述校验码校验所述控制信号数据包是否出错。The target device controller checks whether the data packet of the control signal has an error according to the check code. 4.根据权利要求1所述的自动化控制方法,其特征在于,4. automatic control method according to claim 1, is characterized in that, 所述控制源设备地址包括:控制源子网ID和控制源设备ID;The control source device address includes: control source subnet ID and control source device ID; 所述目标设备地址包括:控制目标子网ID和目标设备ID。The target device address includes: a control target subnet ID and a target device ID. 5.根据权利要求2所述的自动化控制方法,其特征在于,通过RS232、RS482、RS485、TCP或UDP接口传输控制信号和/或反馈信号。5. The automatic control method according to claim 2, characterized in that the control signal and/or feedback signal are transmitted through RS232, RS482, RS485, TCP or UDP interfaces. 6.根据权利要求5所述的自动化控制方法,其特征在于,当通过UDP网络传输控制信号和/或反馈信号时,在所述控制信号和/或反馈信号的数据包之前加上发送者的IP和包头标志。6. The automatic control method according to claim 5, characterized in that, when the control signal and/or the feedback signal are transmitted through the UDP network, before the data packet of the control signal and/or the feedback signal, the sender's IP and header flags. 7.根据权利要求1至6中任意一项所述的自动化控制方法,其特征在于,所述控制源设备通过广播方式将控制信号发送到所述目标设备控制器。7. The automatic control method according to any one of claims 1 to 6, wherein the control source device sends the control signal to the target device controller by broadcasting. 8.一种自动化控制系统,其特征在于,包括:控制源设备、目标设备控制器和目标设备,其中,8. An automatic control system, characterized in that it comprises: a control source device, a target device controller and a target device, wherein, 所述控制源设备,用于生成包括控制源设备地址、目标设备地址、操作码的控制信号,并发送到目标设备控制器;The control source device is used to generate a control signal including a control source device address, a target device address, and an operation code, and send it to a target device controller; 所述目标设备控制器,用于解析所述控制信号,将所述操作码对应的操作信息发送到所述目标设备地址对应的目标设备;The target device controller is configured to parse the control signal, and send the operation information corresponding to the operation code to the target device corresponding to the target device address; 所述目标设备,用于根据所述操作信息执行相应的操作。The target device is configured to perform a corresponding operation according to the operation information. 9.根据权利要求8所述的自动化控制系统,其特征在于,还包括:路由器和交换机,所述控制源设备通过所述路由器和交换机将所述控制信号发送到所述目标设备控制器。9. The automation control system according to claim 8, further comprising: a router and a switch, the control source device sends the control signal to the target device controller through the router and the switch. 10.根据权利要求9所述的自动化控制系统,其特征在于,所述控制源设备通过TCP/IP网络将所述控制信号发送到所述路由器,所述路由器通过TCP/IP网络将所述控制信号发送到所述交换机,所述交换机通过485总线将所述控制信号发送到所述目标设备控制器。10. The automation control system according to claim 9, wherein the control source device sends the control signal to the router through a TCP/IP network, and the router sends the control signal to the router through a TCP/IP network. The signal is sent to the switch, and the switch sends the control signal to the target device controller through the 485 bus.
CN201110123081A 2011-05-12 2011-05-12 A kind of automatic control method and system Pending CN102323796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110123081A CN102323796A (en) 2011-05-12 2011-05-12 A kind of automatic control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110123081A CN102323796A (en) 2011-05-12 2011-05-12 A kind of automatic control method and system

Publications (1)

Publication Number Publication Date
CN102323796A true CN102323796A (en) 2012-01-18

Family

ID=45451546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110123081A Pending CN102323796A (en) 2011-05-12 2011-05-12 A kind of automatic control method and system

Country Status (1)

Country Link
CN (1) CN102323796A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103025008A (en) * 2012-12-03 2013-04-03 深圳华智测控技术有限公司 Street lamp control method
CN103713549A (en) * 2013-12-17 2014-04-09 吉林大学 Relay control card for controlling interaction system
CN103953959A (en) * 2014-04-01 2014-07-30 福建省科正智能科技有限公司 Hot water circulation supply control system
CN103957624A (en) * 2014-03-31 2014-07-30 福建省科正智能科技有限公司 Villa lamplight guest greeting management system
CN104929383A (en) * 2015-07-08 2015-09-23 盛玉伟 Landscape villa managed through router and management method
CN105959140A (en) * 2016-04-29 2016-09-21 北京东土科技股份有限公司 Online debugging method and device of non-network-management type switching equipment
CN106506296A (en) * 2016-11-17 2017-03-15 腾讯科技(深圳)有限公司 A kind of control method of smart machine and control system
CN109656167A (en) * 2018-12-14 2019-04-19 广州河东科技有限公司 A kind of communication control system and method based on smart machine

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240822A (en) * 1997-02-28 1998-09-11 Hitachi Ltd Process management method of electronic information creation and editing system
CN1369990A (en) * 2002-03-27 2002-09-18 北京长信嘉信息技术有限公司 Digital family network system
CN101860463A (en) * 2010-04-30 2010-10-13 中山大学 A method and system for centrally controlling smart home devices
CN101951333A (en) * 2010-09-17 2011-01-19 中山大学 Digital home intelligent terminal control system
CN101958818A (en) * 2010-09-17 2011-01-26 中山大学 An Interconnected Digital Home System

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240822A (en) * 1997-02-28 1998-09-11 Hitachi Ltd Process management method of electronic information creation and editing system
CN1369990A (en) * 2002-03-27 2002-09-18 北京长信嘉信息技术有限公司 Digital family network system
CN101860463A (en) * 2010-04-30 2010-10-13 中山大学 A method and system for centrally controlling smart home devices
CN101951333A (en) * 2010-09-17 2011-01-19 中山大学 Digital home intelligent terminal control system
CN101958818A (en) * 2010-09-17 2011-01-26 中山大学 An Interconnected Digital Home System

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张家驰 等: "基于SAB82525和AM7960介质附件单元的实现", 《测试技术学报》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103025008A (en) * 2012-12-03 2013-04-03 深圳华智测控技术有限公司 Street lamp control method
CN103025008B (en) * 2012-12-03 2015-04-08 深圳华智测控技术有限公司 Street lamp control method
CN103713549A (en) * 2013-12-17 2014-04-09 吉林大学 Relay control card for controlling interaction system
CN103957624A (en) * 2014-03-31 2014-07-30 福建省科正智能科技有限公司 Villa lamplight guest greeting management system
CN103953959A (en) * 2014-04-01 2014-07-30 福建省科正智能科技有限公司 Hot water circulation supply control system
CN104929383A (en) * 2015-07-08 2015-09-23 盛玉伟 Landscape villa managed through router and management method
CN105959140A (en) * 2016-04-29 2016-09-21 北京东土科技股份有限公司 Online debugging method and device of non-network-management type switching equipment
CN106506296A (en) * 2016-11-17 2017-03-15 腾讯科技(深圳)有限公司 A kind of control method of smart machine and control system
CN109656167A (en) * 2018-12-14 2019-04-19 广州河东科技有限公司 A kind of communication control system and method based on smart machine
CN109656167B (en) * 2018-12-14 2022-02-22 广州河东科技有限公司 Communication control system and method based on intelligent equipment

Similar Documents

Publication Publication Date Title
CN102323796A (en) A kind of automatic control method and system
CN103092172B (en) Wire arrangement type intelligent home integrated control device based on cloud service platform
CN103438548B (en) Based on the system and method for the Long-distance Control central air-conditioning of mobile terminal
CN203896554U (en) Indoor illumination control system and indoor intelligent control system
CN104613589B (en) A kind of air conditioner wireless network-building method and device
CN103245038A (en) Remote air conditioning voice-control system and remote air conditioning voice-control method
CN105049540B (en) master-slave control system and addressing method thereof
CN104791940A (en) Multi-online indoor unit and outdoor unit wireless communication method and multiple online
CN106155009A (en) Intelligent home control device and method
CN108572554A (en) A smart home control system, method and related equipment
US20100256787A1 (en) Building equipment system and control method thereof
CN108758987A (en) A kind of air-conditioner control system
CN203573142U (en) Intelligent home system based on Internet of things
KR20130037116A (en) Air conditioner and communication method of the same
JP5316477B2 (en) Air conditioning controller
CN104917654B (en) Elastic network building method for remote programmable monitoring control system
CN101418980A (en) Air conditioning system
CN104633852A (en) Method for controlling air conditioner and controller
CN105202696A (en) Air conditioner as well as remote control method and system thereof
CN203275958U (en) Wiring intelligent home integrated control device control device based on cloud service platform
CN202535392U (en) Protocol conversion device
CN104731072A (en) Domestic appliance control system
CN204946294U (en) Indoor air quality monitor and system
CN203552516U (en) A knx bus experiment box
CN104575164A (en) KNX (Konnex) bus experimental box and experimental method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Firasi.Mazloom

Inventor after: Tracy mazlum

Inventor after: Florian Felesh

Inventor before: Firasi.Mazloom

Inventor before: Lin Weiyong

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: MAZLOOM FIRASI LIN WEIYONG TO: MAZLOOM FIRASI MAZLOOM TRAS FLESCH FLORIAN

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120118