arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.05438cs.LO
收藏

Actor--一种基于进程代数的方法

Actors -- A Process Algebra Based Approach

Yong Wang

摘要:

我们基于真正的并发进程代数来建模Actor,并在以下特征中捕获Actor模型:(1)并发性:所有Actor并发执行;(2)异步性:Actor异步接收和发送消息;(3)唯一性:Actor具有唯一名称和关联的唯一邮箱名称;(4)集中性:参与者专注于处理消息,包括一些本地计算,一些新参与者的创建,以及向其他参与者发送一些消息;(5)通信依赖性:影响参与者的唯一方式是向其发送消息;(6)抽象:除了接收和发送消息以及创建新的角色之外,本地计算被抽象;(7)持久性:角色在处理消息之后不会消失。真并发进程代数具有丰富的表达能力,可以对上述角色的特性进行建模,更重要的是,它是真并发的模型。与其他角色模型相比,基于真并发进程代数的角色模型具有以下优点:(1)真并发进程代数具有丰富的表达能力,可以描述参与者的几乎所有特征,特别是对于异步通信,(2)真并发进程代数和角色都是真并发的模型,具有与生俱来的相似性;(3)真并发进程代数具有坚实的语义基础和强大的证明理论,角色系统的正确性可以很容易地得到证明。

英文摘要:

We model actors based on truly concurrent process algebra, and capture the actor model in the following characteristics: (1) Concurrency: all actors execute concurrently; (2) Asynchrony: an actor receives and sends messages asynchronously; (3) Uniqueness: an actor has a unique name and the associate unique mail box name; (4) Concentration: an actor focuses on the processing messages, including some local computations, creations of some new actors, and sending some messages to other actors; (5) Communication Dependency: the only way of affecting an actor is sending a message to it; (6) Abstraction: except for the receiving and sending message, and creating new actors, the local computations are abstracted; (7) Persistence: an actor does not disappear after processing a message. Truly concurrent process algebra has rich expressive ability to model the above characteristics of actors, and more importantly, they are models for true concurrency, Comparing with other models of actors, the truly concurrent process algebra based model has the following advantages: (1) The truly concurrent process algebra has rich expressive abilities to describe almost all characteristics of actors, especially for asynchronous communication, actor creation, recursion, abstraction, etc; (2) The truly concurrent process algebra and actors are all models for true concurrency, and have inborn intimacy; (3) The truly concurrent process algebra has a firm semantics foundation and a powerful proof theory, the correctness of an actor system can be proven easily.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑