Software architecture style of software exam system architect series knowledge points (4)

Continuing from the previous article: Software Architecture Style (3) Knowledge Points in the Software Exam System Architect Series

This Eleven is destined to be an Eleven that cannot be relaxed and remains "tight". Since I have signed up for the National Computer Technology and Software Professional and Technical Qualification (Level) Examination, the exam will be held on November 4th, so the 8-day holiday must not be wasted and must be utilized well. Now refine and record each core knowledge point one by one.

Chapter:

Chapter 7. Basic knowledge of system architecture design

        Section 3. Software architectural style

2. Segmentation

(4) Virtual machine architecture style

The basic idea of ​​the virtual machine architecture style is to artificially build a running environment that can parse and run some customized languages, and can parse and run some customized languages, thus increasing the flexibility of the architecture.

Virtual machine architectural styles mainly include :

Interpreter architectural style and rule system architectural style .

  • Interpreter architectural style

An interpreter usually includes an interpretation engine that completes the interpretation work , a storage area containing the code to be interpreted , a data structure that records the current working status of the interpretation engine , and a data structure that records the progress of the source code being interpreted and executed .

Interpreter-style software contains a virtual machine that can simulate the execution process of the hardware and some key applications. Interpreters are often used to build a virtual machine that bridges the gap between program semantics and hardware semantics . Its disadvantage is low execution efficiency. A typical example is expert systems .

  • Rule System Architecture Style

Rule-based systems include: rule sets , rule interpreters , rule/data selectors , and working memory .

Guess you like

Origin blog.csdn.net/phmatthaus/article/details/133513545