Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

6 results about "Code migration" patented technology

Code migration is the movement of programming code from one system to another. There are three distinct levels of code migration with increasing complexity, cost and risk. Simple migration involves the movement from language to a newer version.

Code migration analysis methods, apparatus, equipment, storage media, and program products

PendingCN122332240ACode migrationAlgorithm
This application provides a code migration analysis method, apparatus, device, storage medium, and program product, which can be applied to the field of financial technology. The method includes: splitting code change content into multiple source difference blocks; filtering multiple candidate codes based on multiple change features corresponding to the multiple source difference blocks to obtain multiple target codes, each candidate code having a multi-level index corresponding to a change feature, the change feature indicating at least one of the code content, change location, and change type of the corresponding source difference block; calculating multiple similarities between the multiple source difference blocks and the corresponding target codes; obtaining multiple code migration states corresponding to the multiple source difference blocks based on multiple similarity levels and a preset state mapping rule; and obtaining a code migration coverage rate based on the multiple code migration states, the state mapping rule indicating the correspondence between similarity levels and code migration states.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Method and system for migrating source code from source programming language to target programming language

PendingUS20260178296A1Source to sourceCode migrationObject code
A method and a system for migrating a source code from a source programming language to a target programming language using a Large Language Model (LLM) is disclosed. A processor receives a set of user instructions comprising a number of iterations and a set of code migration instructions. A preliminary target code is determined in the target programming language based on prompting the LLM using one or more of a set of optimized prompts and the source code. An evaluation report is determined for the preliminary target code based on prompting the LLM using one from the set of optimized prompts, the set of code migration instructions and the preliminary target code of a current iteration. The preliminary target code of the current iteration is rendered as a target code on an output device.
Owner:WIPRO LTD

A method for PLM system inter-custom code automation migration

PendingCN122285073AComprehensive understanding of structureComprehensive understanding of operabilityCode migrationDomain (software engineering)
This application relates to the field of software engineering technology and discloses a method for automated migration of customized code between PLM systems. The method includes: constructing a program profile containing a static semantic dependency graph and a dynamic execution trajectory graph; mining behavioral patterns in the dynamic execution trajectory graph and introducing intent entropy for quantitative evaluation to dynamically allocate migration strategies of overall behavior reconstruction or conservative step-by-step mapping; performing code transformation based on the allocated strategy; verifying the transformed code and triggering a feedback mechanism by identifying non-habitual migrations to achieve self-learning optimization of migration rules. Furthermore, this invention supports incremental migration, determining the impact domain of code changes through graph difference operations and migrating only the affected parts to adapt to version iterations. By deeply analyzing the business intent of the code and combining self-learning and incremental migration mechanisms, this invention significantly improves the automation level, accuracy, and version iteration efficiency of code migration.
Owner:SHANGHAI PAI RUI INFORMATION TECH CO LTD

Cross-platform migration method and device of code, electronic equipment and readable storage medium

PendingCN122331954ACode migrationGraphics
This disclosure provides a method, apparatus, electronic device, and readable storage medium for cross-platform code migration, relating to the technical fields of graphics processors, code migration, and code compilation. The method includes: obtaining source code from a source platform; replacing the source code with preprocessed code from the target platform using preset mapping rules during the preprocessing stage of compilation; wherein the mapping rules describe the code replacement rules between the source and target platforms; and continuing to compile the preprocessed code to obtain an executable file adapted to the target platform. This method, by using pre-prepared mapping rules during the preprocessing stage of compilation to replace platform-related code, not only eliminates the need for any manual modification of the source code but also directly produces an executable file adapted to the target platform. Furthermore, because the preset mapping rules can be abstracted and reused, it significantly improves the overall efficiency and versatility of the migration work.
Owner:MOORE THREADS TECH CO LTD

Method, device and equipment for improving code migration quality based on differential testing

ActiveCN121764479BCode migrationAlgorithm
The application provides a method, device and equipment for improving code migration quality based on differential testing, relates to the technical field of machine learning, and aims to solve the defect that the quality of migration code generated by code agent for code migration is poor and improve the quality of the generated migration code. The method comprises the following steps: inserting log code into the source code and the migration code respectively; obtaining a first log file corresponding to the source code and a second log file corresponding to the migration code based on the log code in the process of running the source code and the migration code; comparing and analyzing the first log file and the second log file to determine abnormal log information, wherein the abnormal log information is used to indicate that the characteristic variables corresponding to the logic segments at the same position in the source code and the migration code are not matched; determining the difference code segment from the source code and the migration code based on the abnormal log information; and repairing the migration code based on the abnormal log information and the difference code segment to obtain the repaired migration code.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

Code data migration method, system and electronic device

PendingCN122285077AComputer hardwareCode migration
This application discloses a method, system, and electronic device for code data migration, relating to the field of integrated circuit technology. Based on migration project data, this application constructs a task graph, which represents each task in the code data migration process, facilitating control of the migration progress based on the state of each node in the task graph. This application also establishes a shared space through which various tool agents transfer data, decoupling the individual tool agents and improving the portability of the data migration. Furthermore, this application updates the task graph based on the execution results of each node, enabling adjustments to the migration logic and improving the efficiency of code migration. Therefore, this application can solve the technical problem of low code migration efficiency and achieve the technical effect of highly efficient code migration.
Owner:INSPUR SUZHOU INTELLIGENT TECH CO LTD