Check patentability & draft patents in minutes with Patsnap Eureka AI!

Reusable timing method for parallel time limit reasoning of real-time expert system

An expert system and system time technology, applied in the direction of reasoning methods, etc., can solve problems such as lack of parallel processing of multiple time limit reasoning, inability to adapt to the elastic demand of timer resources, etc., to achieve the effect of avoiding uncertainty and improving adaptability

Active Publication Date: 2019-12-13
BEIJING AEROSPACE AUTOMATIC CONTROL RES INST +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When in the rule set loaded by the real-time expert system, rules with multiple time-limit features enter the timing state at the same time, the expert system will face the problem of processing multiple timing events at the same time, and the design lacks support for parallel processing of multiple time-limit reasoning, although On some platforms, you can rely on the timing mechanism provided by the operating system to repeatedly apply for and start the timer, but such a processing mechanism has certain shortcomings in the allocation and use of timer resources, and the expert system software cannot adapt to the rules in its rule base. Elastic demand for timer resources

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
  • Reusable timing method for parallel time limit reasoning of real-time expert system
  • Reusable timing method for parallel time limit reasoning of real-time expert system
  • Reusable timing method for parallel time limit reasoning of real-time expert system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0050] (1) Assume that the real-time expert system has processed four timing events E1, E2, E3, E4, and inserted into the timing event queue Q;

[0051] (2) At time T0, the status of the timing event queue Q is as follows figure 1 As shown, the expiration time of E1=t1, the expiration time of E2=t1+t2,

[0052] The expiry time of E3=t1+t2+t3, the expiry time of E4=t1+t2+t3+t4, the timing event queue Q satisfies from the queue head to the queue end, and the expiration time of the timing events is arranged in ascending order; the timing event The expiration time of a node in the queue is the expiration time of zero after the time of the previous node in the queue expires;

[0053] (3) time interval x passes through from T0 moment, E1 does not expire, produces timing event E5, the expiration time=t5 of E5, E5 is inserted in the timing event queue Q, and insertion position is between E2 and E3;

[0054] (4) When inserting, only the expiration time ddl of the node where E3 is loc...

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 discloses a reusable timing method for parallel time limit reasoning of a real-time expert system. The method comprises the following steps that when a real-time expert system is started, a basic timer gTimer, a timing event queue Q, a timing event management thread tEventManager and a message queue msgQEvent for transmitting messages to the timing event management thread tEventManager are created; a timing event, a timing event queue Q and data items of nodes of the timing event queue Q are defined; whenever the time limit reasoning in any rule in the real-time expert system isstarted, the real-time expert system starts a timing event Ei, and sends the timing event Ei to the timing event management thread tEventManager through the message queue msgQEvent, and inserts the timing event Ei into the timing event queue Q after the timing event management thread tEventManager receives the processing request. The method provided by the invention effectively manages and allocates timer resources for a real-time expert system.

Description

technical field [0001] The invention relates to a reusable timing method for real-time expert system parallel time-limit reasoning, and the real-time expert system field of data support time-limit reasoning. Background technique [0002] When a rule-based real-time expert system deals with rules with time-limited features (time-related features), it needs to convert time-limited features into timed events, and the realization of a timed event depends on software timers. Software timers can be provided by the operating system or written by software developers themselves. When in the rule set loaded by the real-time expert system, rules with multiple time-limit features enter the timing state at the same time, the expert system will face the problem of processing multiple timing events at the same time, and the design lacks support for parallel processing of multiple time-limit reasoning, although On some platforms, you can rely on the timing mechanism provided by the operati...

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): G06N5/04
CPCG06N5/045
Inventor 丁万兵崔小磊崔宇李娜曹芳芳何波李辉王冲冯初彦王乐其刘鹏吕京伟韩翔宇江思荣孙鹏张红群范国梁童璐陈星宇
Owner BEIJING AEROSPACE AUTOMATIC CONTROL RES INST
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More