RulesFest 2011 – Alan Moore: Deploying Knowledge Based Technologies in Embedded Systems

on October 26, 2011
SMARTS™ Data-Powered Decision Management Platform

Alan brings a different perspective to this show by providing insight on what it means to apply the knowledge technologies to embedded systems, where the architectural eco-system is quite different from that of workstations or servers. I am glad about this – it’s through the same path that I personally came to AI (embedded distributed diagnosis systems for distributed vehicle applications – tough, tough issues).

Leveraging CLIPS and later Java technologies, Alan created systems for Cal Poly (architectural CAD integrated with a distributed network of KB experts), Intel Smart-TV (short lived set-top box with user-behavior driven adjustments), Ten Square (that Alan describes as Groupon-meets-Facebook, an interesting combination…). Some of the challenges Alan faced in those projects:

  • conflict resolution is a challenge
  • modeling user behavior is hard
  • limitations on the client device (for example, gas pumps do not really have a lot of processing capabilities)

The most relevant application Alan presented is the embedding of a rules engine to provide device control, enhanced data collection and device calibration – the device being a spectrometer. In  essence, the implementation was based on a concurrent state machine where the rules specify the state transition conditions. The rules implementation was based on Jess, and leveraged code generation.

His key problems with these implementations related to the mix of Java and C++, and the challenges in debugging the resulting system.

At his current company, Alan works at a company manufacturing video equipment. He enumerated a number of embedded knowledge technology possibilities

  • alarms
  • dynamic configuration
  • feature control
  • etc

In my experience, applying standard rules engine technology to embedded systems with hard real time requirements – an area we did not really go into in the talk – presents additional challenges. For example, many of those systems do not leverage preemptive scheduling but cooperative scheduling, which means that the rules processing needs to fit a model where strict control on what happens on each scheduled cycle needs to be maintained. The way rules get created, managed and executed in this case is quite different – translations to lookup tables, etc are quite frequent.

Another interesting subject.

Learn more about Decision management and Sparkling Logic’s SMARTS™ Data-Powered Decision Manager

See our recap on Ronald Bowers’ talk or Andrew Ng’s talk

Search Posts by Category


Sparkling Logic Inc. is a Silicon Valley-based company dedicated to helping organizations automate and optimize key decisions in daily business operations and customer interactions in a low-code, no-code environment. Our core product, SMARTS™ Data-Powered Decision Manager, is an all-in-one decision management platform designed for business analysts to quickly automate and continuously optimize complex operational decisions. Learn more by requesting a live demo or free trial today.