Unlock instant, AI-driven research and patent intelligence for your innovation.

A linkage rule testing method and device

A test method and rule technology, applied in the direction of electrical test/monitoring, test/monitoring control system, program control, etc., to achieve the effect of strong versatility and saving development cost

Active Publication Date: 2021-07-23
HANGZHOU TUYA INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, for these two detection schemes, when the data structure or execution logic of the linkage rule changes, the detection scheme 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
  • A linkage rule testing method and device
  • A linkage rule testing method and device
  • A linkage rule testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0048] see figure 1 It is a schematic flowchart of a linkage rule testing method provided by an embodiment of the present invention, and the method may specifically include the following steps.

[0049] Step 101, after starting the simulator, the simulator executes linkage rules.

[0050] In the embodiment of the present invention, a simulator is used to detect linkage rules. First, all the set linkage rules are input into the simulator. During implementatio...

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

Embodiments of the present invention provide a linkage rule testing method and device, the method comprising: after starting the simulator, the simulator executes the linkage rule; judging whether the simulator has finished executing the linkage rule within a preset time period. A linkage rule; if it has been executed, it is determined that there is no cyclic trigger in the linkage rule; if it is not executed, it is determined that there is a cyclic trigger in the linkage rule. The implementation of the present invention uses a simulator to detect the linkage rules, which can be independent of the data structure and execution logic of the linkage rules. That is to say, when the data structure or execution logic of the linkage rules is changed, the detection work can still be carried out without modifying the scheme. It has strong versatility and can save the development cost of the detection scheme.

Description

technical field [0001] The invention relates to the technical field of smart home, in particular to a linkage rule testing method and device. Background technique [0002] The current smart home products allow to set the linkage rules of the equipment during use, such as: when the A equipment is turned on, the linkage B equipment is turned on. In the process of increasing smart devices, in order to obtain a better user experience, the number and complexity of linkage rules will also increase accordingly. [0003] Since linkage rules are set individually, there may be multi-level linkage after the setting is completed. In complex multi-level linkage, there may be abnormal usage logic, such as mutually exclusive running status, that is, the running status of a certain device is used as a trigger condition, but its running status will be changed during the linkage process (A is on -> B is on ; B is on -> A is off); another example is a cycle trigger, that is, the runnin...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G05B23/02
CPCG05B23/0243G05B2219/24065
Inventor 邓力恺秦丰林
Owner HANGZHOU TUYA INFORMATION TECH CO LTD