Blackboard (design pattern)


In software engineering, the blackboard pattern is a behavioral design pattern that provides a computational framework for the design and implementation of systems that integrate large and diverse specialized modules, and implement complex, non-deterministic control strategies.
This pattern was identified by the members of the HEARSAY-II project and first applied to speech recognition.

Structure

The blackboard model defines three main components:
The first step is to design the solution space that leads to the blackboard structure. Then, knowledge sources are identified. These two activities are closely related.
The next step is to specify the control component; it generally takes the form of a complex scheduler that makes use of a set of domain-specific heuristics to rate the relevance of executable knowledge sources.

Applications

Usage-domains include:
The blackboard pattern provides effective solutions for designing and implementing complex systems where heterogeneous modules have to be dynamically combined to solve a problem. This provides non-functional properties such as:
The blackboard pattern allows multiple processes to work closer together on separate threads, polling and reacting when necessary.

Example

An example of the Blackboard pattern has been provided by Microsoft.
https://social.technet.microsoft.com/wiki/contents/articles/13461.blackboard-design-pattern-a-practical-example-radar-defense-system.aspx