应用架构重构方法、重构装置、电子设备和存储介质

By transforming and splitting the old and new data structures on the server side into read-only data models and business models on the client side, incremental refactoring is achieved, which solves the problems of poor code readability and maintenance difficulties caused by server-side refactoring, and ensures the stability and readability of the refactoring process.

CN116088826BActive Publication Date: 2026-07-17BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD
Filing Date
2023-02-01
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In a client-server separated architecture, changes in data structure caused by server-side refactoring require rewriting the entire client-side logic, resulting in poor code readability and long-term maintenance difficulties.

Method used

By converting the new data structure on the server side to the existing data structure on the client side, and splitting it into a read-only data model and a business model, the business logic is gradually migrated, and the view layer is progressively reconstructed. The data transformation layer is used to maintain stability during the reconstruction process.

Benefits of technology

While ensuring the stability of the refactoring process, the readability of the new data structure was improved, the refactoring workload was reduced, and the complexity and error rate of code modifications were decreased.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116088826B_ABST
    Figure CN116088826B_ABST
Patent Text Reader

Abstract

本公开提供了一种应用架构重构方法、重构装置、电子设备和存储介质,涉及架构技术领域。其中,应用架构重构方法包括:响应于服务端对指定应用架构的重构操作,将基于重构操作生成的第一数据结构转换为客户端现有的第二数据结构;基于第二数据结构将模型层拆分出第一只读数据模型和业务模型,以由第一只读数据模型解析第二数据结构的数据;基于第一数据结构创建第二只读数据模型;基于第一只读数据模型、第二只读数据模型和业务模型对视图层进行渐进式重构,以完成客户端的应用架构重构。通过本公开的技术方案,在保证重构过程中应用架构运行的稳定性的同时,实现了客户端的应用架构的可靠重构,从而保证了对新数据结构数据的可读性。
Need to check novelty before this filing date? Find Prior Art