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

27 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.

LLM command line generation tool and transplantation method based on OpenHarmony

The invention provides an LLM command line generation tool based on OpenHarmony and a transplantation method, belongs to the technical field of industrial Internet of Things, and aims to solve the problems that a traditional TypeScript / Node. Js scheme has limitation, is insufficient in local reasoning performance, safety performance and reliability and is high in deployment cost. The tool comprises an ETS development environment module, a code migration module, a dependency library adaptation module, a security enhancement module certificate and a deployment and operation module, a zero-dependency transplantation scheme is designed for special environments of unpacked management tools such as OpenHarmony, the problem of strong coupling of a traditional Node.js application to the environment during operation is solved, and the safety of the Node. Js application is improved. And the deployment threshold of the heterogeneous system is further reduced.
Owner:HARBIN INST OF TECH

Code migration method and system based on holographic environment perception and dependent coevolution

The invention provides a code migration method and system based on holographic environment perception and dependent coevolution, and relates to the technical field of code migration. Comprising the following steps: analyzing a Java source code and a configuration condition of the Java source code; determining a target JDK version, combining a JDK compatibility rule and a knowledge base, identifying a part needing to be modified in the Java source code based on a large language model, and generating a modified code; modifying the configuration condition of the Java source code to obtain a modified configuration condition; the modified codes and configuration conditions are applied and verified; generating a migration report based on the verification result; and obtaining feedback of the developer to the migration report, and circulating until the modified code and the configuration condition are confirmed by the developer to obtain the target Java item after code migration. According to the method, the JDK upgrading efficiency is improved, the upgrading success rate and quality are improved, and upgrading failures caused by configuration omission or dependency problems are reduced.
Owner:HAIER CONSUMER FINANCE CO LTD

Low-resource programming language corpus enhancement method based on cross-language migration

The invention discloses a cross-language migration-based low-resource programming language corpus enhancement method, which comprises the following steps of: receiving a source language code, and driving a large language model to generate an initial target language code through a two-way retrieval mechanism fusing example guidance and knowledge constraint; secondly, constructing an automatic iterative repair closed loop by utilizing the feedback of a compiler, and carrying out self-correction on codes which fail to be compiled; thirdly, high-quality codes are screened out through automatic quality gating and fed back to a corpus and a knowledge base, and self-enhancement circulation of data and knowledge is formed; finally, the method further comprises an offline model evolution step based on grammar and semantic alignment driven by a compiler, a big language model is trained by collecting preference data generated by an online process, and the ability of the big language model to understand a target language is improved fundamentally. According to the method, the core problems of low quality, poor efficiency and lack of self-evolution ability of a low-resource programming language in code migration are solved.
Owner:NANJING UNIV

Code processing method and device and storage medium

The invention discloses a code processing method and device and a storage medium. The method relates to the field of artificial intelligence and comprises the steps of receiving a to-be-processed code file; analyzing the code file by using a syntactic analyzer to extract label information, style information and program logic information of the code file; and generating a target project file corresponding to the code file according to the label information, the style information and the program logic information. Through the method and the device, the problem of relatively low efficiency of migrating the JSP code to the Vue project in related technologies is solved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Power grid analysis program code migration method and system based on large model

The invention relates to a power grid analysis program code migration method and system based on a large model, and belongs to the technical field of software development and intellectualization. The method comprises the steps that preprocessing of structuralization, semantization and information density optimization is conducted on MATLAB source codes, and standardized codes are generated; disambiguation anchor point cue words are constructed based on a power grid calculation scene, wherein the disambiguation anchor point cue words comprise index, operation and return value mapping rules and examples; the standardized codes and the cue words are input into a large model, four-layer semantic alignment migration is conducted by the large model according to the sequence of an algorithm layer, a data layer, a control layer and a calculation layer, verification logic is executed after migration of each layer to ensure semantic alignment, and Python codes are obtained; and finally, verifying the migration code and iteratively optimizing the cue word until the core index is consistent with the MATLAB source code. According to the method, the problems of semantic ambiguity and nesting overload existing when a large model migrates a power grid program are solved through the integrated design of preprocessing, migration and verification, and high-precision and automatic code migration is achieved.
Owner:FUJIAN AGRI & FORESTRY UNIV

Code migration and deployment in an internet-of-things (IOT) environment

Disclosed herein are system, apparatus, article of manufacture, method, and / or computer program product embodiments, and / or combinations and sub-combinations thereof, for code migration and deployment in an Internet-of-Things (IoT) environment. A system server (e.g., a server of a cloud-based platform, etc.) may receive a codebase and operational information for a target device (e.g., an IoT device, a mobile device, a smart device, etc.). The codebase may be modified for compatibility with the target device based on functionality for libraries of the codebase mapped to functional elements that define the functional capabilities of the target device. A codebase migration window may be identified based on an indication that an operation of the target device satisfies an operational threshold and the operational information received from the target device. The modified codebase may be transferred to the target device during the codebase migration window.
Owner:ROKU INC

A migration code processing method and device, electronic equipment and storage medium

The application discloses a code migration processing method and device, electronic equipment and a storage medium. The method comprises the following steps: obtaining a code migration instruction; the code migration instruction comprises indication information of to-be-migrated code; the code migration instruction is used for indicating that the to-be-migrated code is migrated from a first device to a second device; in response to the code migration instruction, the to-be-migrated code corresponding to the indication information is determined from a code block corresponding to the first device; a topic name code block corresponding to the first device in the to-be-migrated code is converted into a topic name code block corresponding to the second device; a first type of connection port code block corresponding to the first device in the to-be-migrated code is converted into a second type of connection port code block corresponding to the second device; and a data code block in a first code format corresponding to the first device in the to-be-migrated code is converted into a data code block in a second code format corresponding to the second device. A feasible technical means is provided for code migration between different devices.
Owner:CHINA AUTOMOTIVE INNOVATION CORP

Code migration method and device based on large language model, equipment, storage medium and program product

PendingCN121704900ASemantic analysisBiological modelsCode migrationObject code
The invention provides a code migration method and device based on a large language model, equipment, a storage medium and a program product, and relates to the technical field of computers. The method comprises the following steps: acquiring a non-standard format configuration file, wherein the non-standard format configuration file is a configuration file which does not conform to a standard grammar specification; analyzing the non-standard format configuration file through a large language model and generating a target code structure, wherein the target code structure is a code structure conforming to a target framework specification; and outputting the target code structure to the target framework. The method is used for achieving the effects of improving migration efficiency and enhancing adaptability.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Code migration and merging methods, devices, electronic devices, and readable storage media

This invention provides a code migration and merging method, apparatus, electronic device, and readable storage medium. The method includes: responding to a code merging instruction, running a preset merging script, and obtaining first engine code and second engine code; determining a first engine format for the first engine code based on first resource information; parsing the second resource information according to the first engine format, and migrating and merging the first engine code to the second engine code based on the parsed second resource information. By running the preset merging script and parsing the second resource information according to the first engine format, it is possible to merge not only the corresponding resource statements while merging functional code, but also to unify the format during code merging. In the case of automatically merging localized functional code of the old engine to achieve a one-time merging purpose, the automation based on the preset merging script reduces labor costs and improves merging efficiency.
Owner:NETEASE (HANGZHOU) NETWORK CO LTD

Code migration method and device, electronic equipment and storage medium

The embodiment of the application belongs to the field of cryptography, and relates to a code migration method and device, an electronic device and a storage medium. When code related to protected password operations in the source code of a password application program needs to be migrated to a target secure running environment, the method automatically identifies the code related to the protected password operations in the source code through an intelligent agent, and converts the code into a programming language supported by the target environment. Subsequently, the converted code is compiled, function consistency is verified, and compatibility is adjusted to generate final code highly adapted to the target environment and complete deployment. The application realizes full-process automation from password operation identification, code conversion, verification to deployment, significantly improves the accuracy and efficiency of password application migration, reduces the technical threshold and labor cost of manual modification, and ensures the function consistency, environment compatibility and running safety of the code after migration, thereby guaranteeing the safety, continuity and reliability of the password service.
Owner:BEIJING INFOSEC TECH CO LTD +1

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

Code migration method and device, equipment, medium and product

PendingCN121326401AProgram code adaptionCode migrationSoftware engineering
The invention discloses a code migration method and device, equipment, a medium and a product. Relates to the field of cloud storage, can be applied to the technical field of finance, and comprises the following steps: acquiring public program input parameters including a migration region identifier and a migration interface identifier; and determining a target calling interface according to the migration region identifier and the migration interface identifier, so as to perform code migration based on the target calling interface. Through the technical scheme of the invention, the migration region identifier and the migration interface identifier in the public program input parameters can be flexibly configured so as to be accurate to the specific region and the specific interface which can call the platform branch, the problem that a calling party cannot provide high-availability service in the interface migration process can be solved, and the high availability of the system is realized.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Cross-architecture code change synchronization method and system, electronic equipment and storage medium

The invention provides a cross-architecture code change synchronization method and system, electronic equipment and a storage medium, and relates to the technical field of computers.The method comprises the steps that a to-be-modified data block in a first code file of a reference computer architecture and a to-be-modified data block in an adaptive code file of a target computer architecture are obtained according to the to-be-modified data block in the first code file of the reference computer architecture and the to-be-modified data block in the adaptive code file of the target computer architecture; constructing an association mapping table between each node in the abstract syntax tree corresponding to the first code file and each node in the abstract syntax tree corresponding to the adaptive code file; determining a target node which is subjected to operation change between the first code file and the second code file and corresponding difference operation information of the target node; according to the association mapping table and the difference operation information, updating a target node in the abstract syntax tree corresponding to the adaptive code file to obtain an updated abstract syntax tree; the updating operation comprises a node updating operation and / or an identifier updating operation. According to the method and the device, the code change synchronization efficiency and consistency in cross-architecture code migration are improved.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

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

Compiler-based automatic code upgrade method and apparatus, and storage medium

PCT designated stageWO2026056340A1Semantic analysisSoftware deploymentCode migrationLexical analysis
The present invention relates to the technical field of computer code upgrades. Disclosed are a compiler-based automatic code upgrade method and apparatus, and a storage medium. The method comprises: first, performing lexical analysis, syntactic analysis and semantic analysis on a source code, so as to generate an abstract syntax tree; and then, constructing a syntactic rule mapping table for a new standard, traversing the abstract syntax tree, performing a query to determine whether nodes of the abstract syntax tree can be found in the mapping table, and for nodes that are found, outputting character strings to which the nodes are mapped, and for nodes that are not found, outputting normally codes that conform to node semantics. By means of automatically traversing an abstract syntax tree of original codes, and performing node matching and transformation on the basis of a syntactic rule mapping table for a new standard, the need for manual intervention is greatly reduced, and the level of automation of code migration from an old standard to a new standard is improved, thereby saving on substantial manpower and time costs, and mitigating the problem of migration that is caused by human errors.
Owner:SHANDONG INSPUR SCI RES INST CO LTD

Code migration and deployment in an internet-ofthings (IOT) environment

Disclosed herein are system, apparatus, article of manufacture, method, and / or computer program product embodiments, and / or combinations and sub-combinations thereof, for code migration and deployment in an Internet-of-Things (IoT) environment. A system server (e.g., a server of a cloud-based platform, etc.) may receive a codebase and operational information for a target device (e.g., an IoT device, a mobile device, a smart device, etc.). The codebase may be modified for compatibility with the target device based on functionality for libraries of the codebase mapped to functional elements that define the functional capabilities of the target device. A codebase migration window may be identified based on an indication that an operation of the target device satisfies an operational threshold and the operational information received from the target device. The modified codebase may be transferred to the target device during the codebase migration window.
Owner:ROKU INC

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

Automatic Code Topology Determination and Migration

PendingUS20260099307A1Code compilationCode migrationAlgorithm
Methods, systems, devices, and non-transitory computer readable media for generating structural communities for code migration are provided. The disclosed technology can include receiving code data comprising code segments and generating a build dependency graph comprising nodes and edges. The nodes can correspond to the code segments and the edges can correspond to dependencies between the code segments. Over a plurality of iterations in which different combinations of the nodes are assigned to communities, based on maximizing a modularity score associated with a modularity of the communities, a structural community assignment comprising an assignment of the nodes to the communities that maximizes the modularity score can be determined. Code migration data based on the structural community assignment can be generated and can include migration tasks associated with migrating the code segments based on the structural community assignment. Furthermore, code migration data can be sent to a code review queue.
Owner:GOOGLE LLC

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 migration method and device, electronic equipment and storage medium

The embodiment of the invention belongs to the field of cryptography, and relates to a code migration method and device, electronic equipment and a storage medium. According to the method, when codes related to protected password operation in a password application program source code need to be migrated to a target safe operation environment, the codes related to the password operation needing to be protected in the source code are automatically recognized through an intelligent agent and converted into a programming language supported by the target environment. And then, compiling, functional consistency verification and compatibility adjustment are carried out on the converted codes, so that final codes highly matched with the target environment are generated, and deployment is completed. According to the application, the whole process automation from password operation identification, code conversion, verification to deployment is realized, the accuracy and efficiency of password application migration are remarkably improved, the technical threshold and the labor cost of manual transformation are reduced, meanwhile, the function consistency, the environment compatibility and the operation safety of the migrated codes are ensured, and the safety of password application migration is improved. Therefore, the security, continuity and reliability of the password service are ensured.
Owner:BEIJING INFOSEC TECH CO LTD +1

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

Architecture reconstruction method and device based on large model, electronic equipment and medium

The invention provides an architecture reconstruction method and device based on a large model, electronic equipment, a computer readable storage medium and a computer program product, and relates to the field of artificial intelligence, in particular to the technical field of code migration, agents and intelligent agents. According to the implementation scheme, the method comprises the steps of obtaining first original code data corresponding to a to-be-reconstructed first strategy; obtaining second original code data corresponding to the reconstructed second strategy and second reconstructed code data corresponding to the second original code data; and based on the first original code data, the second original code data and the second reconstructed code data, generating first reconstructed code data corresponding to the first original code data through a large language model.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Machine learning based code migration engine

PendingUS20250370725A1Semantic analysisOffice automationCode generationCode migration
The systems, methods, and computer-readable media disclosed herein relate generally to machine learning based code migration engines. In an example, a code generator can generate input chunks using legacy code, use the input chunks to generate a prompt, use the prompt to cause a neural network to generate output code, and monitor the output window size of the neural network. To ensure conversion accuracy and minimize code truncation, the code generator can progressively adjust the output window size of the neural network and / or progressively adjust the size of input chunks while preserving internal integrity of code units in the chunks.
Owner:EXLSERVICE HLDG

Vulnerability version verification method, system and equipment based on multi-source heterogeneous information

The invention discloses a vulnerability version verification method, system and equipment based on multi-source heterogeneous information, and the method comprises the steps: obtaining vulnerability information from a plurality of heterogeneous sources, extracting core elements, and carrying out formatting processing and verification to obtain structured vulnerability entries; collecting or generating a concept verification code, and positioning and generating through a vulnerability code if the concept verification code cannot be collected; performing automatic verification on the concept verification code, and recording a function call chain and a system behavior; and migrating the successfully verified concept verification code to other versions of the software, and determining the vulnerability influence range. The method further comprises the steps of selecting the core elements according to a preset priority rule, and processing the core elements by adopting a conflict resolution rule; vulnerability code positioning comprises similarity calculation, call graph analysis, symbolic execution and large language model generation; the automatic verification is executed and monitored in an isolated environment; code migration is realized by executing path tree representation, binary code comparison and path alignment. According to the method, the influence range of the vulnerability in different software versions can be accurately verified, and the vulnerability repairing efficiency is improved.
Owner:XI AN JIAOTONG UNIV

Method, device and equipment for improving code migration quality based on difference test

ActiveCN121764479ABiological modelsCode compilationCode migrationAlgorithm
The invention provides a method, a device and equipment for improving code migration quality based on differential testing, relates to the technical field of machine learning, and aims to overcome the defect that the quality of a generated migration code is poor when code migration is carried out through a code agent and improve the quality of the generated migration code. Comprising the following steps: respectively inserting log codes into a source code and a migration code; in the process of running the source code and the migration code, 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; the first log file and the second log file are compared and analyzed, abnormal log information is determined, and the abnormal log information is used for indicating that feature variables corresponding to logic fragments at the same position in the source code and the migration code are not matched; determining a difference code snippet from the source code and the migration code based on the exception log information; and repairing the migration code based on the abnormal log information and the difference code snippets to obtain the repaired migration code.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

Method and system for code migration

PendingUS20260079701A1Program code adaptionCode migrationAlgorithm
System and methods for migrating codes from one system to another system are provided. A rule repository receives a set of rules of a legacy system. A processor is connected to the rule repository. The processor performs de-duplication to identify and eliminate duplicated entries to produce de-duplicated rules. The processor uses a machine learning algorithm to generate clusters of rules in a clean state by arranging similar de-duplicated rules into groups that meets a similarity threshold. A migration module is provided to present a migration option that uses a recontextualization technique that replaces symbols in the clusters of rules in the clean state with table names and column names to create a set of reduced redundancy and clean rules that can be optionally returned to and executed on the legacy system and to map the clusters of rules in the clean state to a specific format, application, or language.
Owner:JPMORGAN CHASE BANK NA