首页> 外国专利> METHOD AND APPARATUS FOR PROVIDING REMOTE PROCEDURE CALL SERVICE USING COROUTINE

METHOD AND APPARATUS FOR PROVIDING REMOTE PROCEDURE CALL SERVICE USING COROUTINE

机译:使用协程提供远程过程呼叫服务的方法和装置

摘要

PURPOSE: A method for providing an RPC(Remote Procedure Call) service by using coroutines and a device thereof are provided to minimize block of a thread based on the coroutines, thereby a plurality of RPC requests by using the small number of threads. CONSTITUTION: A first thread starts a coroutine(330). The coroutine executes registered RPC logic. When a spot which calls a yield among codes of the coroutine is executed, the first thread stops execution of the coroutine. A second thread restarts the coroutine by executing a next spot. A CPU(310) manages a coroutine pool. The first thread selects the coroutine in the coroutine pool. [Reference numerals] (AA) Coroutine; (BB) Manual scheduling; (CC) Kernel; (DD) Thread; (EE) Kernel scheduling;
机译:目的:提供一种通过使用协程提供RPC(远程过程调用)服务的方法及其装置,以最小化基于协程的线程块,从而通过使用少量线程来进行多个RPC请求。组成:第一个线程启动协程(330)。协程执行已注册的RPC逻辑。当执行在协程代码中调用yield的点时,第一个线程停止协程的执行。第二个线程通过执行下一个点重新启动协程。 CPU(310)管理协程池。第一个线程在协程池中选择协程。 [附图标记](AA)协程; (BB)手动排程; (CC)内核; (DD)线程; (EE)内核调度;

著录项

  • 公开/公告号KR101357975B1

    专利类型

  • 公开/公告日2014-02-03

    原文格式PDF

  • 申请/专利权人

    申请/专利号KR20110105855

  • 发明设计人 이창현;김준현;

    申请日2011-10-17

  • 分类号G06F9/46;

  • 国家 KR

  • 入库时间 2022-08-21 15:41:36

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号