CN111061162A - KNX intelligent device control method and system - Google Patents

KNX intelligent device control method and system Download PDF

Info

Publication number
CN111061162A
CN111061162A CN201911367487.6A CN201911367487A CN111061162A CN 111061162 A CN111061162 A CN 111061162A CN 201911367487 A CN201911367487 A CN 201911367487A CN 111061162 A CN111061162 A CN 111061162A
Authority
CN
China
Prior art keywords
knx
script
control
smart device
control method
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
CN201911367487.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.)
Zhuhai Sation Technology Co ltd
Original Assignee
Zhuhai Sation Technology 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 Zhuhai Sation Technology Co ltd filed Critical Zhuhai Sation Technology Co ltd
Priority to CN201911367487.6A priority Critical patent/CN111061162A/en
Publication of CN111061162A publication Critical patent/CN111061162A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a KNX intelligent device control method and a KNX intelligent device control system, wherein the method comprises the following steps: receiving a sequence of control instructions of the KNX intelligent device from a user based on a graphical programming mode, wherein the control instructions represent programming content in a pattern block mode; generating a corresponding configuration control script according to the sequence of the control instruction; and analyzing the configuration control script and sending a corresponding operation instruction to the corresponding KNX intelligent equipment. The embodiment of the invention has at least the following beneficial effects: through the graphical programming mode, the configuration control script is automatically generated, the professional knowledge threshold of a user is reduced, the user can carry out configuration control on the KNX intelligent device according to the self requirement without deeply knowing the programming knowledge, and the operation is easy.

Description

KNX intelligent device control method and system
Technical Field
The invention relates to the field of intelligent home control, in particular to a KNX intelligent device control method and system.
Background
KNX is an open international standard in the field of home and building control that has been formally approved, providing a complete solution for home and building automation intelligence.
At present, strong professional knowledge is needed for configuring control logic for intelligent household equipment, the KNX protocol and the knowledge related to a database are needed to be understood, special KNX configuration tool software ETS can be used, and programs are needed to be written. Terminal users want to establish a relatively complex use scene and only can resort to equipment manufacturers, but professional technical personnel who manufacturers are relatively scarce cannot meet the requirements of numerous users on household intelligence, and no matter how troublesome is caused to the users or manufacturers.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a control method of KNX intelligent equipment, which can reduce the requirement of a user on professional knowledge threshold and is easy to operate.
The invention also provides a KNX intelligent device control system using the KNX intelligent device control method.
The control method of the KNX intelligent device comprises the following steps: receiving a sequence of control instructions of the KNX intelligent device from a user based on a graphical programming mode, wherein the control instructions represent programming content in a pattern block mode; generating a corresponding configuration control script according to the sequence of the control instruction; and analyzing the configuration control script and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
The control method of the KNX intelligent device provided by the embodiment of the invention at least has the following beneficial effects: through the graphical programming mode, the configuration control script is automatically generated, the professional knowledge threshold of a user is reduced, the user can carry out configuration control on the KNX intelligent device according to the self requirement without deeply knowing the programming knowledge, and the operation is easy.
According to some embodiments of the invention, the control instructions comprise one or more different said tiles.
According to some embodiments of the invention, the types of tiles comprise: judgment, operation, cycle, value, time, text, array, variable, and color.
According to some embodiments of the invention, the configuration control script is a lua script.
According to some embodiments of the invention, further comprising: and storing the relevant information of the KNX intelligent equipment in a database, and controlling the corresponding KNX intelligent equipment through an equipment table.
According to some embodiments of the invention, the device table comprises: device name, function name, group address, data type and corresponding values.
According to some embodiments of the invention, the KNX smart device comprises: air conditioner, new trend system, light and (window) curtain.
According to some embodiments of the present invention, the configuration control script edited or modified by the user is directly received, and the corresponding operation instruction is parsed and sent to the corresponding KNX smart device.
The control system of the KNX smart device according to the second aspect of the invention comprises: the graphic programming module is used for receiving a sequence of control instructions of the KNX intelligent device from a user based on a graphic programming mode, wherein the control instructions represent programming contents in a pattern block mode; the script generation module is used for generating a corresponding configuration control script according to the sequence of the control instruction; and the script analysis module is used for analyzing the configuration control script and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
The control system of the KNX intelligent device provided by the embodiment of the invention at least has the following beneficial effects: through the graphical programming mode, the configuration control script is automatically generated, the professional knowledge threshold of a user is reduced, the user can carry out configuration control on the KNX intelligent device according to the self requirement without deeply knowing the programming knowledge, and the operation is easy.
According to some embodiments of the invention, further comprising: and the script editing module is used for directly editing the configuration control script or modifying the configuration control script generated by the script generating module.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart illustrating steps of a method according to an embodiment of the present invention;
FIG. 2 is a graphical programming example of a method of an embodiment of the present invention;
FIG. 3 is an example device table for a method of an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a system of an embodiment of the present invention.
Reference numerals:
a graphic programming module 100, a script generating module 200, a script analyzing module 300, and a script editing module 400.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the technical features indicated.
Referring to fig. 1, some embodiments of the invention include the steps of: receiving a sequence of control instructions of the KNX intelligent device from a user based on a graphical programming mode, wherein the control instructions represent programming content in a pattern block mode; generating a corresponding configuration control script according to the sequence of the control instruction; and analyzing the configuration control script and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
Referring to fig. 2, an example of a sequence of control instructions for the KNX smart device according to an embodiment of the present invention is shown. Each control instruction sequence comprises one or more graphic blocks, and the graphic blocks are divided into the following types according to the functions of the graphic blocks: judgment, operation, cycle, value, time, text, array, variable, and color. The judgment, that is, the condition judgment, refers to "if the current time is 17", that is, the current time is 5 pm in fig. 2, and the corresponding operation content is executed if the condition is satisfied. The operation, i.e., the specific execution content, refers to "output day week" in fig. 2. The loop continuously executes the operation content in the loop body under the condition that the condition is satisfied, and referring to "repeat when the condition is satisfied" in fig. 2, true "indicates that the loop is a dead loop. A numerical value, i.e., a non-temporal numerical value, such as 1 of "delay 1 second" in fig. 2; time, a numerical value representing time, for example, "current week > Sunday" in FIG. 2. Text, see "output: "perform open living room lighting" in perform open living room lighting, "array see" device array "in fig. 2," variable see "DEV 1000" in "assign DEV 1000" in fig. 2, and so on. Color is not given as an example in fig. 2, and referring to fig. 3, it can be understood that when the RGB of the ambience lamp needs to be adjusted, the setting of its corresponding value is the color.
The user can operate the corresponding graphic block as shown in fig. 2 according to the requirement, and then the corresponding control instruction sequence can be obtained; after the control is finished, generating a corresponding configuration control script according to the control instruction sequence; and finally, deploying the configuration control script into related hardware, analyzing the configuration control script, and sending the configuration control script to the corresponding KNX intelligent equipment to execute corresponding operation. In an embodiment of the invention, the configuration control script is a lua script file. The Lua script file can be opened in a file mode, and is convenient to modify at any time. It will be appreciated that in other embodiments of the invention, the configuration control script may be in other languages.
In some embodiments of the present invention, the user obtains the relevant information of the KNX smart device stored in the database through the device table, refer to fig. 3. Each row includes: device name, function name, group address, data type, and corresponding value. It should be understood that a device may have multiple functions, but their group addresses are different, and the data types and values thereof are different. In an embodiment of the invention, the data types are divided by bits of the value. For example, in fig. 3, a living room air conditioner has three functions: switch, temperature, wind speed, their group address are different. For the switch of the air conditioner in the living room, only 1 bit is needed to represent the switch of the air conditioner in the living room, such as: 0 means off and 1 means on. The switch of the air conditioner can be controlled by changing the value of the corresponding value. For the temperature of the air conditioner in the living room, a multi-bit value is needed to represent, and the corresponding value represents the current temperature, and the temperature of the air conditioner in the living room is controlled by setting the value. Through the device table, the user can select the corresponding device, copy the graphical programming interface inserted into fig. 2 to set the corresponding function, and is convenient to use. Referring to fig. 2, data in the corresponding device array is assigned to DEV1000, then DEV1000 is sent to the device, and the script analysis finds the function of the corresponding device according to the group address in the device data, and sets the function as a preset value, thereby achieving the purpose of control. Referring to fig. 2 and 3, embodiments of the present invention include, but are not limited to, the following KNX smart devices: air conditioner, new trend system, music player, light and (window) curtain.
In the embodiment of the invention, a script editing interface is also provided for a user to directly edit the configuration script file or modify the configuration script file generated by the graphical editing interface. And after the file is stored, analyzing and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
Referring to fig. 4, a system of an embodiment of the invention includes: a graphic programming module 100, a script generating module 200, and a script parsing module 300. The graphic programming module 100 is configured to receive a sequence of control instructions of the KNX smart device from a user based on a graphic programming manner, where the control instructions represent programming contents in a tile manner. And the script generating module 200 is configured to generate a corresponding configuration control script according to the sequence of the control instruction. And the script analysis module 300 is configured to analyze the configuration control script and send a corresponding operation instruction to the corresponding KNX smart device. In some embodiments of the present invention, the script parsing module 300 is an embedded program written in c + +, and is configured to parse a configuration script generated by a logic configuration webpage and send operation information to the KNX smart device by being transplanted and run in various hardware systems, such as a gateway, a central control screen, a windows system, a linux system, and the like.
In the system of the embodiment of the present invention, referring to fig. 4, the method further includes: the script editing module 400 is used to directly edit the configuration control script or modify the configuration control script generated by the script generating module 200. In fig. 4, the script editing module 400 is indicated by a dashed box. It should be understood that in some systems of embodiments of the present invention, the script editing module is not included. In fig. 4, in a normal case (see the solid arrow portion), a general user uses the graphic programming module 100 to generate a tile-type control instruction sequence, the script generation module 200 generates a configuration control script, and after the configuration control script is deployed on corresponding hardware, the script analysis module 300 analyzes the configuration control script, and sends a corresponding operation instruction to a corresponding KNX smart device. In fig. 4, in some cases (see the dashed arrow portion), the user may also open the configuration control script generated by the script generating module 200 through the script editing module 400, and perform corresponding modification and saving; thereafter, processing is performed by the script parsing module 300. It should be understood that the user may also write the configuration control script module directly through the script editing module 400 (an example is not given in fig. 4).
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (10)

1. A control method of KNX intelligent equipment is characterized by comprising the following steps:
receiving a sequence of control instructions of the KNX intelligent device from a user based on a graphical programming mode, wherein the control instructions represent programming content in a pattern block mode;
generating a corresponding configuration control script according to the sequence of the control instruction;
and analyzing the configuration control script and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
2. The KNX smart device control method of claim 1, wherein the control instructions include one or more different of the tiles.
3. The KNX smart device control method of claim 2, wherein the type of tile includes: judgment, operation, cycle, value, time, text, array, variable, and color.
4. A KNX smart device control method according to claim 1, wherein the configuration control script is a.lua script.
5. The KNX smart device control method of claim 1, further comprising: and storing the relevant information of the KNX intelligent equipment in a database, and controlling the corresponding KNX intelligent equipment through an equipment table.
6. The KNX smart device control method of claim 5, wherein the device table includes: device name, function name, group address, data type, and corresponding value.
7. The KNX smart device control method of claim 1, wherein the KNX smart device comprises: air conditioner, new trend system, music player, light and (window) curtain.
8. The KNX smart device control method of claim 1, further comprising: and directly receiving the configuration control script edited or modified by the user, analyzing and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
9. A control system for a KNX smart device using the method of any one of claims 1 to 8, comprising:
the graphic programming module is used for receiving a sequence of control instructions of the KNX intelligent device from a user based on a graphic programming mode, wherein the control instructions represent programming contents in a pattern block mode;
the script generation module is used for generating a corresponding configuration control script according to the sequence of the control instruction;
and the script analysis module is used for analyzing the configuration control script and sending a corresponding operation instruction to the corresponding KNX intelligent equipment.
10. The KNX smart device control method of claim 9, further comprising: and the script editing module is used for directly editing the configuration control script or modifying the configuration control script generated by the script generating module.
CN201911367487.6A 2019-12-26 2019-12-26 KNX intelligent device control method and system Pending CN111061162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911367487.6A CN111061162A (en) 2019-12-26 2019-12-26 KNX intelligent device control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911367487.6A CN111061162A (en) 2019-12-26 2019-12-26 KNX intelligent device control method and system

Publications (1)

Publication Number Publication Date
CN111061162A true CN111061162A (en) 2020-04-24

Family

ID=70303918

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911367487.6A Pending CN111061162A (en) 2019-12-26 2019-12-26 KNX intelligent device control method and system

Country Status (1)

Country Link
CN (1) CN111061162A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950267A (en) * 2010-08-20 2011-01-19 深圳市共济科技有限公司 Monitoring device and control method and device thereof
CN101969383A (en) * 2010-09-27 2011-02-09 深圳市共济科技有限公司 Monitoring equipment and visual control method and device thereof
CN102541568A (en) * 2012-01-05 2012-07-04 北京工业大学 Graphic programming development method based on Cortex-M3-series microprocessor
CN104793506A (en) * 2015-04-13 2015-07-22 卢军 Internet-of-things intelligent household equipment control-oriented portability control method and system
CN106707784A (en) * 2016-12-30 2017-05-24 中科同德(北京)生态科技有限公司 Smart home control method and system based on KNX protocol
CN109752962A (en) * 2019-01-07 2019-05-14 佛山市新里图信息技术有限公司 A kind of Control System of Intelligent
CN110497412A (en) * 2019-08-26 2019-11-26 中科新松有限公司 Robot graphic programming interactive system based on webpage and mobile terminal
CN110543144A (en) * 2019-08-30 2019-12-06 天津施格自动化科技有限公司 method and system for graphically programming control robot
CN110601937A (en) * 2019-09-29 2019-12-20 青岛海信智慧家居系统股份有限公司 Method and device for simultaneously accessing multiple intelligent devices

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950267A (en) * 2010-08-20 2011-01-19 深圳市共济科技有限公司 Monitoring device and control method and device thereof
CN101969383A (en) * 2010-09-27 2011-02-09 深圳市共济科技有限公司 Monitoring equipment and visual control method and device thereof
CN102541568A (en) * 2012-01-05 2012-07-04 北京工业大学 Graphic programming development method based on Cortex-M3-series microprocessor
CN104793506A (en) * 2015-04-13 2015-07-22 卢军 Internet-of-things intelligent household equipment control-oriented portability control method and system
CN106707784A (en) * 2016-12-30 2017-05-24 中科同德(北京)生态科技有限公司 Smart home control method and system based on KNX protocol
CN109752962A (en) * 2019-01-07 2019-05-14 佛山市新里图信息技术有限公司 A kind of Control System of Intelligent
CN110497412A (en) * 2019-08-26 2019-11-26 中科新松有限公司 Robot graphic programming interactive system based on webpage and mobile terminal
CN110543144A (en) * 2019-08-30 2019-12-06 天津施格自动化科技有限公司 method and system for graphically programming control robot
CN110601937A (en) * 2019-09-29 2019-12-20 青岛海信智慧家居系统股份有限公司 Method and device for simultaneously accessing multiple intelligent devices

Similar Documents

Publication Publication Date Title
CN105704234B (en) The control method and device of smart machine
JP5850948B2 (en) Control of network lighting system
CN111176133A (en) Method and device for determining smart home scene
CN111142456A (en) Internet of things automation smart home linkage method and system
CN110531633B (en) Cooperative control method and device based on intelligent home operating system and storage medium
CN109168214A (en) LED lamp control method and system, LED control gateway
WO2020228041A1 (en) Scenario operating method and apparatus, electronic device, and computer readable medium
EP2111580A1 (en) Device for a networked control system
CN108366005A (en) The interlock method and device of electric room
CN109040752A (en) Automatic debugging system for smart television
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
EP3622785B1 (en) Forming groups of devices by analyzing device control information
CN111654844A (en) Device pairing method and related device and device
CN110460984B (en) Multi-Bluetooth control method, system, terminal and storage based on distributed storage
CN110989386A (en) Can-Bus-based intelligent home hybrid control system
CN111061162A (en) KNX intelligent device control method and system
CN106764965A (en) Lighting apparatus control method and lighting apparatus
CN105208085B (en) A kind of authority configuring method and device of the smart machine based on instant messaging
CN111176699A (en) Control method, control device, and computer storage medium
CN109752962A (en) A kind of Control System of Intelligent
EP3175586B1 (en) Residential automation system, equipment and process that is easy to install, configure and use
CN114879528A (en) Scene configuration method, device and system of intelligent household equipment
CN114114936A (en) Grouping method and grouping device for intelligent lamps, intelligent equipment and storage medium
CN113777939A (en) Intelligent household scene setting method and system
CN111464575A (en) Internet of things communication scheme for packaging monitoring interface to hardware equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200424

RJ01 Rejection of invention patent application after publication