用于大规模计算机软件与系统的状态机
State machines for large scale computer software and systems
AI总结:
本文提出使用特定原始递归函数和序列映射来规范与分析大规模计算机软硬件系统,证明其能自然描述分布式与并发行为,且比传统状态图更简洁并忠实于工程实践。
摘要:
计算机软件与硬件中存在的大规模离散状态系统的行为与架构,可以使用一类特定的原始递归函数进行规范说明与分析。本文首先通过若干小示例展示该方法的实用性,随后通过对Paxos分布式共识算法进行较长的规范说明与验证来进一步阐述。接着,本文表明序列映射可以提供确定性状态机及状态机代数积的另一种表示方法。分布式与复合系统、并行与并发计算以及实时行为,均可用这些方法自然地进行规范说明——这些方法既不需要对经典状态机模型进行扩展,也不需要任何公理化方法或形式化方法中的其他技术。与状态图、状态表或标准的集合-元组-转换映射相比,序列映射更加简洁,更适合描述计算机系统的行为与组合架构。严格保持在经典确定性状态机的边界内,使这些方法锚定于自动机的代数结构,并使规范说明忠实于工程实践。
英文摘要:
The behavior and architecture of large scale discrete state systems found in computer software and hardware can be specified and analyzed using a particular class of primitive recursive functions. This paper begins with an illustration of the utility of the method via a number of small examples and then via longer specification and verification of the Paxos distributed consensus algorithm. The sequence maps are then shown to provide an alternative representation of deterministic state machines and algebraic products of state machines. Distributed and composite systems, parallel and concurrent computation, and real-time behavior can all be specified naturally with these methods - which require neither extensions to the classical state machine model nor any axiomatic methods or other techniques from formal methods. Compared to state diagrams or tables or the standard set-tuple-transition-maps, sequence maps are more concise and better suited to describing the behavior and compositional architecture of computer systems. Staying strictly within the boundaries of classical deterministic state machines anchors the methods to the algebraic structures of automata and makes the specifications faithful to engineering practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。