×

Method for processing an expert system rulebase on a system having limited memory

  • US 4,809,219 A
  • Filed: 06/26/1985
  • Issued: 02/28/1989
  • Est. Priority Date: 06/26/1985
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a method of tracing a Rulebase of an expert system with a data processing system having a processing unit and a program which functions as an inference engine, a main memory unit which a memory capacity which is less than the size of the Rulebase and a storage unit having a storage media with a storage capacity capable of storing said entire Rulebase and connected to said processing unit for selectively transferring data there between, the improvement comprising the following steps in combination;

  • (1) segmenting said Rulebase into a plurality of contextual units each of which has a size less than said size of said main memory unit, each said contextual unit having a plurality of Rule trees having a Goal node at its root and a plurality of other nodes at the leaves of said tree, each said node of said Rulebase comprising a data record having a plurality of predefined fields, each said record including at least one field which is interrelated to an identical field in at least one other said record in said Rulebase, each set of said identical related fields defining a different linked list of interrelated records, with each of said sets including a different group of said records, said segmenting step including the step of,(A) inserting a Rulebase Call action in a preselected field of selected said records of said Rulebase to limit each said contextual unit to a size that can be accommodated by said main memory,(2) transferring a first contextual unit from said media to said main memory,(3) tracing in a predetermined order a plurality of said Rule trees in said first unit with said inference engine with each said tree being traced in a back chaining traversal of the nodes of said tree,(4) interrupting said step of tracing in response to said inference engine detecting said RULEBASE CALL during the processing of said preselected field of one of said selected said records,(5) transferring a second contextual unit to said main memory from said media in response to said detected RULEBASE CALL,(6) transferring said first contextual unit to said storage media when the amount of said memory available for said second unit being called is inadequate simultaneously to store said first and second units, and(7) updating selected nodes in said called second unit with data collected during said step of tracing of said first contextual unit prior to said interruption.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×