Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Equipment control system and method based on rule files

A technology of equipment control and rules, applied in the field of Internet of Things, can solve the problems of long test program time, fixed number of parameters, high cost, etc., to achieve the effect of promoting industrial development and application, reducing iteration and maintenance costs

Active Publication Date: 2020-01-31
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF9 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, in response to this situation, the common practice is to modify the application program to meet the requirements. This method modifies the code and takes a lot of time to test the program, which makes the cost very high.
Another common method is to use a configuration file to meet the changes in requirements through the parameter settings of the configuration file. The disadvantage is that the number of parameters is fixed and can only meet simple application requirements. If new parameters are added, the code needs to be modified

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Equipment control system and method based on rule files
  • Equipment control system and method based on rule files
  • Equipment control system and method based on rule files

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention is aimed at the application scenarios of the Internet of Things and smart home, and in the face of ever-changing requirements, it breaks away from the modification of application program codes, realizes the requirements by writing rule files, and reduces development costs. A device control system based on a rule file provided by the present invention specifically includes: a rule base, a message acquisition module, a rule engine and a device set. The specific system architecture principles are as follows: figure 1 shown;

[0032] The rule library stores application rule files, which are composed of trigger messages (Inputs), conditional judgments (Conditions), execution actions (Actions), etc., and are stored in Json format. The content of the application rule files includes but is not limited to The following content:

[0033] (1) Rule name Name: the name of the rule;

[0034] (2) Trigger message Inputs: the input message that triggers the rule;...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of Internet-of-things, and discloses an equipment control system and a method based on a rule file, which are used for solving the problems of applicationiteration and maintenance cost in the conventional equipment control system and the method. The system comprises a rule base, a message obtaining module and a rule engine. An application rule file isstored in the rule base; the rule engine matches a trigger message rule in a rule base according to the trigger message, and determines a rule file corresponding to the trigger message rule after successful matching; generating a condition list and an execution action list according to the rule file; and obtaining a parameter value of the parameter name according to the combination sequence in thecondition list, carrying out logical operation on the parameter value and the condition value according to an operator, judging whether a decision condition is met, and when the decision condition ismet, determining equipment for specifically executing the instruction according to the equipment class name contained in the execution action list, and sending the instruction to the corresponding equipment. The method is suitable for Internet-of-things equipment control.

Description

technical field [0001] The invention relates to the technical field of the Internet of Things, in particular to a device control system and method based on rule files. Background technique [0002] With the rapid development of the Internet of Things, there are more and more smart devices, and the application scenarios for smart devices and smart homes of the Internet of Things are becoming more and more rich and complex, and the demand changes rapidly. To meet rapidly changing requirements and enable smart devices to operate normally according to requirements, it is necessary to continuously modify application codes and tests, and the cost of iteration and maintenance is high. [0003] At present, in response to this situation, the common practice is to modify the application program to meet the requirements. This method modifies the code and takes a lot of time to test the program, which makes the cost very high. Another commonly used method is to use configuration files ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/41
CPCG06F8/443
Inventor 王建国胡涛李俊刘明鸣
Owner SICHUAN CHANGHONG ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products