刘杰, 常兴山, 孙锋, 等. 窗体类软件局部替换方法及在船舶行业的应用[J]. 中国舰船研究, 2021, 16(增刊 1): 1–8. doi: 10.19693/j.issn.1673-3185.02418
引用本文: 刘杰, 常兴山, 孙锋, 等. 窗体类软件局部替换方法及在船舶行业的应用[J]. 中国舰船研究, 2021, 16(增刊 1): 1–8. doi: 10.19693/j.issn.1673-3185.02418
LIU J, CHANG X S, SUN F, et al. Partial replacement method of windows software and its application in the shipbuilding industry[J]. Chinese Journal of Ship Research, 2021, 16(Supp 1): 1–8. doi: 10.19693/j.issn.1673-3185.02418
Citation: LIU J, CHANG X S, SUN F, et al. Partial replacement method of windows software and its application in the shipbuilding industry[J]. Chinese Journal of Ship Research, 2021, 16(Supp 1): 1–8. doi: 10.19693/j.issn.1673-3185.02418

窗体类软件局部替换方法及在船舶行业的应用

Partial replacement method of windows software and its application in the shipbuilding industry

  • 摘要:
      目的  随着软件系统的业务和使用场景发生变化,逐渐暴露出了其潜在的设计缺陷,从而需要对软件系统进行升级、扩展或缺陷修复。为降低实现上述需求的难度,
      方法  在操作系统消息机制的基础上,提出基于Hook技术捕获原软件系统的消息,再跳转至新开发的处理函数包处理的解决方法,进而用新开发的函数替换软件中的旧函数,实现对软件的局部替换,并设计辅助工具模块简化应用的复杂度。
      结果  结果显示:在实际工程中应用所提方法的效果良好,在确保软件系统独立性的基础上,其可方便地实现对原系统的局部升级、不同软件间的信息集成等,
      结论  为C/S模式应用程序缺乏原有开发方升级支持时的运维服务提供了一种可行的解决方案。

     

    Abstract:
      Objective  Due to the changes in business and usage scenarios of software systems, their potential design flaws gradually expose, etc., the software system need to be upgraded, extended or defect-repaired. In order to reduce the difficulty of implementing the above-mentioned requirements,
      Methods  based on the message mechanism of the operating system, a solution is proposed which involves using Hook technology to capture the messages of the original software system and then jump to the newly developed processing function package for processing. Thus, the replacement of the old function in the software with the newly developed function is realized, achieving the purpose of the partial replacement of the software. Meanwhile, an auxiliary tool module is designed and implemented to simplify the application complexity of this technology,
      Results  The proposed method achieves good results in engineering applications. Through this method, applications such as partial upgrades and information integration between different softwares can be easily realized while ensuring software independence.
      Conclusion  This is a feasible solution for operation and maintenance services when the C/S mode application lacks the original developer's upgrade support.

     

/

返回文章
返回