CAR构件远程调用中服务器端线程池模型的研究与应用
刘振国1,陈榕1,张爱莲2
(,上海 200092;,安徽淮南 232001)
摘要:和欣操作系统是基于CAR构件技术、支持构件化应用的操作系统,是国家863支持的TD-SCDMA的操作系统标准。文中简要介绍了CAR构件进行远程调用的原理和过程,针对该过程中服务器端的效率问题提出了进程级线程池解决办法,构建了进程级线程池模型,实现了关键部分的代码。最后结合一个简单的构件远程服务示例说明了其工作过程。
关键词:CAR构件;进程级线程池;远程调用
中图法分类号: 文献标识码: A
Research and application of threadpool in the server of
ponent remote call
Liu Zhenguo1, Chen Rong1, Zhang Ailian2
( puter Science and Engineering, Tongji University, Shanghai, 200092; University of Technology, Huainan Anhui 232001)
Abstract: Elastos is an embedded operating system based on ponent technology, and the standard of TD-SCDMA operating system supported by the "863" Program. This paper briefly introdue the principle and process of ponent remote call,contrapose the efficiency problem in the server, bring forward the process level threadpool scheme, construct a process level threadpool model and realize the critical code, and show its work bining with a simple remote call service.
Key words: ponent; process level threadpool; remote call
1 引言
80年代以来,目标指向型软件编程技术有了很大的发展,为大规模的软件协同开发以及软件标准化、软件共享、软件运行安全机制等提供了理论基础。其发展可以大致分为面向对象编程、面向构件编程、面向中间件编程三个阶段。
CAR技术就是在总结面向对象编程、面向构件编程技术的发展历史和经验,为更好地支持面向以Web Service(WEB服务)为代表的下一代网络应用软件开发而发明的。CAR为构件软件和应用程序之间进行通信提供了统一的标准,它为构件程序提供了一个面向对象的活动环境。
2 CAR构件技术及CAR远程构件调用的基本原理
ponent Application Run-Time)是一个国内的自主知识产权的
CAR 构件远程调用中服务器端线程池模型的研究与应用 来自淘豆网www.taodocs.com转载请标明出处.