Code Change Apparatus for Simultaneous Multi-Type Software Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current software code change methods can only perform changes of a single type at a time, lacking the capability to simultaneously handle multiple change types, which limits flexibility and efficiency in software development and maintenance.

Innovation Solution

A code change method and apparatus that allow for simultaneous performance of multiple change types on software code by selecting and sequencing appropriate changers based on user-provided configuration information, and applying direct and delayed change content accordingly.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If only monotonous changes are supported in current software code change manner, then the system is simple to operate, but the adaptability and versatility are poor

Engineering Contradiction:
Improvechange type flexibilityVSAvoidchange system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The code change system is designed to perform multiple types of changes (library upgrade changes, code format changes, and other custom changes) through a unified platform. Different changers are implemented to handle various change types, allowing the system to be versatile while maintaining a consistent operational interface.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The change system is divided into multiple independent changers, each responsible for a specific type of change. This segmentation allows the system to handle diverse change types through modular components, improving adaptability while keeping each changer's complexity manageable.

Inventive Principle:
Principle #1Segmentation

2Productivity

If multiple change types are performed sequentially one at a time, then the device complexity is low, but the productivity is reduced

Engineering Contradiction:
Improvecode change efficiencyVSAvoidchange process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Multiple changers are merged into a single code change apparatus that can execute multiple change types in one operation. The system combines library upgrade changes, code format changes, and other changes into a unified process, improving productivity by eliminating sequential execution overhead.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system performs preliminary analysis of the codebase to identify all necessary changes across different change types before execution. This preliminary action allows the system to plan and execute multiple changes efficiently in a coordinated manner, improving productivity without excessive complexity.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If multiple changers are called in parallel mode, then the productivity is improved, but the reliability may be affected due to potential conflicts

Engineering Contradiction:
Improvechange execution speedVSAvoidchange conflict consistency
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The system dynamically determines the execution mode (parallel or serial) based on the specific changers involved and their potential conflicts. This dynamic approach allows the system to maximize productivity by using parallel execution when safe, while automatically switching to serial execution when conflicts are detected, thus maintaining reliability.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The system incorporates conflict detection and resolution mechanisms that provide feedback during the change execution process. When conflicts are detected between parallel changers, the system adjusts the execution plan to resolve conflicts while minimizing impact on overall productivity, ensuring reliable change outcomes.

Inventive Principle:
Principle #23Feedback

Data Source

PatentEP4009162B1Code change method and device
Publication Date: 2025.05.21 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • EP4009162B1 patent drawingFigure 1A
  • EP4009162B1 patent drawingFigure 1B
  • EP4009162B1 patent drawingFigure 1C

AI summary

This application provides a code change method and apparatus. The change apparatus determines to-be-changed software code and change configuration information according to an instruction sent by a user, selects, from stored changers based on the change configuration information, a plurality of changers that need to be called, and determines a calling sequence of the plurality of changers and sets attributes of each changer. The change apparatus may sequentially call the plurality of changers based on the calling sequence, and change, based on the attributes of each changer, software code input into the changer. The change apparatus can flexibly call a plurality of different changers based on a requirement of the user.