Ship & Boat ›› 2025, Vol. 36 ›› Issue (03): 89-96.DOI: 10.19423/j.cnki.31-1561/u.2024.148

Previous Articles     Next Articles

Exploration on Cross Platform Migration of Message Mechanism for Ship Design Software

ZHANG Wenlong   

  1. Shanghai Zhongchuan NERC-SDT Co., Ltd., Shanghai 201114, China
  • Received:2024-09-12 Revised:2024-11-28 Online:2025-06-25 Published:2025-07-02

船舶设计软件消息机制跨平台迁移探索

张文龙   

  1. 上海中船船舶设计技术国家工程研究中心有限公司 上海 201114
  • 作者简介:张文龙(1995-),男,本科,助理工程师。研究方向:船舶数字化、信息化设计。

Abstract: The migration of China's ship design software to domestic platforms becomes crucial for enhancing national innovation autonomy and reducing technological dependence against intensifying international competition. However, conventional domestic cross-platform strategies, such as system reconstruction or Browser/Server (B/S) architecture conversion, remain incompatible with ship design software. The domestically developed NuCAS system is examined to explore a new cross-platform migration strategy for message mechanisms applicable to shipbuilding industrial software. Through in-depth analysis of the technical framework and code structure of the message mechanism of the NuCAS system, multiple migration strategies are evaluated to innovatively proposed a migration strategy that rewrites the underlying core message mechanism of MFC (Microsoft Foundation Classes, a Windows API class library) based on the cross-platform Qt framework while preserving the upper-layer application code. This strategy successfully resolves the challenge of the seamless conversion of message mechanisms between MFC and Qt frameworks. The results demonstrate that the modified NuCAS system operates stably on domestic platforms, meeting the localization requirements of ship design software. It provides a groundbreaking approach for the cross-platform migration of message mechanisms in shipbuilding industrial software.

Key words: NuCAS, ship design software, localization migration, Qt

摘要: 在国际竞争加剧的背景下,将我国船舶设计软件迁移到国产平台上,对增强国家自主创新能力、降低对外技术依赖意义重大。然而,国内传统跨平台方案(如系统重构或网页-服务器架构改造的跨平台迁移策略)对船舶设计软件并不适用。该文以国产自主研发的 NuCAS 系统为研究对象,探索适用于船舶工业软件的新型消息机制跨平台迁移策略。文中通过深入分析 NuCAS 系统的消息机制技术框架与代码结构,评估多种迁移策略,创新性地提出基于跨平台的 Qt 框架重写MFC(Microsoft foundation classes)底层核心消息机制,在保持上层应用代码基本不变的前提下,成功应对了MFC与Qt间消息机制无缝转换的挑战。结果表明:改造后的 NuCAS 系统能在国产平台上稳定运行,满足船舶设计软件国产化需求,为船舶工业软件消息机制跨平台迁移提供了新思路。

关键词: NuCAS, 船舶设计软件, 国产化迁移, Qt

CLC Number: