首页> 外文期刊>Systems and Computers in Japan >Tracking Program States When Replacing Running Program Modules Using Dynamic Linking
【24h】

Tracking Program States When Replacing Running Program Modules Using Dynamic Linking

机译:使用动态链接替换正在运行的程序模块时跟踪程序状态

获取原文
获取原文并翻译 | 示例
           

摘要

It would be possible to provide uninterrupted service for 24 hours a day if it were possible to replace a program module without having to terminate processes which are providing services. We thus propose a method for controlling replacement of a program module while running. An essential condition for replacing a program module is that no processes be currently executing the program module. It is therefore necessary to track the execution state of the program module by processes. If our replacement method is considered from a practical standpoint, then it is undesirable to create an application program that need be aware of state tracking. However, a problem with conventional state tracking methods has been that the object files, executable files, and the source code of the application program need to be re-created in order for the state to be capable of being tracked. In the present paper, therefore, we propose a method that makes it possible to track state without having to re-create these files and code, by making it a prerequisite that dynamic linking be used as the method for creating the application program, and using the dynamic linking function. In particular, we demonstrate a method whereby during execution of an application program, the dynamic linker automatically detects calls and returns among program modules, which are triggers for transitions in execution state. The proposed method also shows a way to reduce the processing overhead accompanying state tracking. Furthermore, through a process of implementation and assessment, we demonstrate that our proposed method, when contrasted with a conventional method, does not require the creation of an application program that is aware of state tracking, and has a lower effective processing overhead associated with state tracking.
机译:如果可以更换程序模块而不必终止正在提供服务的进程,则可以一天24小时提供不间断的服务。因此,我们提出了一种用于在运行时控制程序模块替换的方法。替换程序模块的必要条件是当前没有进程在执行该程序模块。因此,有必要通过进程来跟踪程序模块的执行状态。如果从实用的角度考虑我们的替换方法,那么创建需要了解状态跟踪的应用程序是不可取的。但是,常规状态跟踪方法的问题在于,需要重新创建目标文件,可执行文件和应用程序的源代码,以便能够跟踪状态。因此,在本论文中,我们提出了一种方法,该方法可以通过将动态链接用作创建应用程序的方法,并使用它来跟踪状态而无需重新创建这些文件和代码。动态链接功能。特别是,我们演示了一种方法,通过该方法,在执行应用程序期间,动态链接程序将自动检测程序模块之间的调用和返回,这些调用和返回是执行状态转换的触发器。所提出的方法还示出了一种减少伴随状态跟踪的处理开销的方法。此外,通过实施和评估的过程,我们证明了与常规方法相比,我们提出的方法不需要创建知道状态跟踪的应用程序,并且与状态相关的有效处理开销较低跟踪。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号