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

55 results about "Program transformation" patented technology

A program transformation is any operation that takes a computer program and generates another program. In many cases the transformed program is required to be semantically equivalent to the original, relative to a particular formal semantics and in fewer cases the transformations result in programs that semantically differ from the original in predictable ways.

Generating new software code from legacy software code using large language models

Computer-implemented systems and methods use a Large Language Model (LLM) for converting a legacy computer program in a first language to a human-language description of the legacy computer program, which description can be validated as being an accurate description of the legacy computer program. Once validated, the human-language description can be converted, again using an LLM, to a computer program in a target programming language. An LLM can also be used to generate test scripts for the new target-language program to test the performance of the target-language program in a production environment. An LLM can also be used to reconcile outputs from the legacy program to the new target program, such as on a function-by-function basis. If the differences between the outputs (if any) are sufficiently negligible, the legacy computer program can be decommissioned, and the new, target language program can be used in production.
Owner:MORGAN STANLEY SERVICES GROUP INC

Traceable data conversion method and system based on declarative rule

The invention discloses a traceable data conversion method and system based on declarative rules, and relates to the technical field of data processing. The method comprises the following steps: acquiring a conversion rule file written by adopting a PTL (Program Transfer Language), and defining a mapping relationship between a target data column and a source data field in a declarative manner; analyzing the rule file to generate an operation instruction set, and processing the source data line by line based on the instruction set to generate a target data file; and meanwhile, outputting the traceability metadata, and recording the corresponding relationship between the target data and the source fields and the rule statements in a machine readable form. Flexible and accurate conversion between various data sources and target formats is achieved, complexity of manual operation and script development is avoided, data processing efficiency and reliability are improved, a complete traceable mechanism is established, transparency and compliance of the data exchange process are enhanced, the method is suitable for conversion of various formats such as Excel, databases, XML and JSON, and the method has wide application prospects. The method has universality and application prospects.
Owner:JIANGSU INST OF QUALITY & STANDARDIZATION

Program conversion method and compiling device

The embodiment of the invention provides a program conversion method and a compiling device, and relates to the technical field of computers, in the method, an IR file of a GPU program is obtained to serve as a to-be-converted file, for a function parameter of any function in the to-be-converted file, the function parameter is converted into a function parameter matched with a CPU, and the converted parameter is obtained. And determining the IR statement having data dependence with the converted parameter as a statement to be adapted. And for any statement to be adapted, adjusting the statement to be adapted based on the parameter type of the converted parameter and the thread execution mask of the CPU. And compiling the adjusted to-be-converted file to obtain an executable file adaptive to the CPU. The GPU programs written by different high-level languages can be converted into the IR file, so that the conversion is carried out from the dimension of the IR file, and the support for different high-level languages can be realized. Therefore, the limitation is lower.
Owner:LOONGSON TECH CORP

Form file and graphic program conversion method, storage medium and electronic equipment

The invention belongs to the technical field of vehicle software development, and particularly relates to a method for converting a form file into a graphic program, which is used for converting the form file into the graphic program and comprises the following steps of: reading the form file so as to read text contents and coordinate information of all cells in at least one page of the form file into a corresponding two-dimensional object array, the name of each two-dimensional object array is set as a corresponding page name; analyzing each two-dimensional object array into a flow chart area and an attribute area in sequence according to pages; constructing a graphic program according to an analysis result; and / or converting the graphic program into a table file, including creating table empty pages, the number of the table empty pages being equal to the sum of the number of the main program and the number of the nested subprograms of the graphic program; corresponding table pages are sequentially constructed according to program categories in the graphic program, one page corresponds to the main program, and the other pages correspond to the corresponding nested subprograms; and storing the constructed form file.
Owner:SHANGHAI TOSUN TECH LTD

Method for quickly generating simulation sample library

The invention relates to the technical field of computer-aided engineering, and discloses a rapid simulation sample library generation method, which is executed by a computer system and comprises the following steps: modeling scheme design: dividing a modeling range into a core area and a transition area, extracting coordinates and geometric parameters of the core area and the transition area, and abstracting simulation model parameters; obtaining a core area model file: modeling a core area through pre-processing software, exporting an input file, and converting the input file into an FLAC3D readable. Flaac3d file through an interface program; and defining a generation class: creating simulation scheme parameters, an initialization function and model resetting method, a model generation method, a constitutive model and parameter assignment method and a boundary condition loading method. According to the method, the modeling range is divided into the core area and the transition area, so that the problems that a traditional modeling mode only depends on FLAC3D built-in tool modeling, complex grids need to be manually defined one by one, the modeling efficiency is low, and the precision is difficult to guarantee are solved.
Owner:ZHENGZHOU INST OF TECH

Interrupt recovery method and system for machine tool processing file

The invention relates to the technical field of machine tool machining, and discloses an interrupt recovery method and system.The interrupt recovery method for the machine tool machining file comprises the steps that G code semantic analysis and graph structure conversion are conducted, and a G code machining program is converted into a structured knowledge graph with semantic association; processing intention reasoning is carried out based on neural symbol reasoning, and a deep processing intention behind a program is understood; self-evolution learning of processing experience is realized, and continuous learning and optimization are carried out from historical experience; carrying out interruption recovery point positioning based on the intention map, and accurately finding out an optimal recovery position; generating and executing an interrupt recovery strategy to realize stable recovery of the machining process; by deeply understanding G code semantics and machining intention, the optimal recovery point is accurately recognized, the success rate and precision of interruption recovery are improved, and the method is suitable for high-value part machining scenes.
Owner:昆山台功精密机械有限公司

Method and system for converting a single-threaded software program into an application-specific supercomputer

The invention comprises (i) a compilation method for automatically converting a single-threaded software program into an application-specific supercomputer, and (ii) the supercomputer system structure generated as a result of applying this method. The compilation method comprises: (a) Converting an arbitrary code fragment from the application into customized hardware whose execution is functionally equivalent to the software execution of the code fragment; and (b) Generating interfaces on the hardware and software parts of the application, which (i) Perform a software-to-hardware program state transfer at the entries of the code fragment; (ii) Perform a hardware-to-software program state transfer at the exits of the code fragment; and (iii) Maintain memory coherence between the software and hardware memories. If the resulting hardware design is large, it is divided into partitions such that each partition can fit into a single chip. Then, a single union chip is created which can realize any of the partitions.
Owner:GLOBAL SUPERCOMPUTING CORP

Deep learning machine instruction generation method and device supporting multiple types of backend computing hardware

The present invention relates to a deep learning machine instruction generation method and device supporting multiple types of backend computing hardware. The method comprises the following steps: obtaining a deep learning model program, and converting the deep learning model program into a series of computational graphs; comparing each computational graph with target hardware support information, determining whether an operator which is not supported by the target hardware exists in the computational graph, if yes, partitioning the current computational graph to obtain second-level sub-graphs, and if not, directly using the current computational graph as a second-level sub-graph, wherein a corresponding sub-graph type is marked on each second-level sub-graph; generating a corresponding operator code on the basis of the sub-graph type marked on each second-level sub-graph; and connecting the operator codes to generate a complete machine instruction set. Compared with the prior art, the present invention has the advantages of being compatible with various hardware scenarios and the like.
Owner:SHANGHAI ARTIFICIAL INTELLIGENCE INNOVATION CENT

Code generation method and device, storage medium and electronic equipment

The invention provides a code generation method and device, a storage medium and electronic equipment, and relates to the technical field of industrial control, the method comprises the following steps: receiving programming intention data, the programming intention data comprising at least one of a natural language text and an industrial control program of a first programming language; analyzing the programming intention data to obtain a control logic description of the programming intention data; generating an abstract syntax tree based on the logic control description; and in response to a code generation instruction, converting the abstract syntax tree into a program code of a second programming language corresponding to the code generation instruction. By applying the method provided by the embodiment of the invention, program conversion can be quickly and accurately carried out.
Owner:SUPCON TECH CO LTD

Method and system for cobol to java program conversion based on syntax tree

PendingCN122411953APathPingSource code file
The application discloses a COBOL-to-Java program conversion method and system based on a syntax tree, belongs to the technical field of computer program language conversion, and comprises the following steps: obtaining a COBOL source program file to be converted and configuration rules; performing lexical analysis and syntax analysis to generate an abstract syntax tree; converting COBOL syntax elements into corresponding Java semantic representations according to pre-defined semantic mapping rules; establishing an accurate access chain of a main program and COPYBOOK internal variables through variable path tracking; detecting and solving naming conflicts of COBOL different-level same-name variables based on a scope tree, and renaming variables by adding a parent class name prefix; and generating the converted Java semantic representations into a Java source code file. The application realizes high-fidelity and high-automation COBOL-to-Java conversion, significantly reduces the migration cost of a legacy system, and generates code with strong readability and excellent performance.
Owner:SHANDONG CITY COMMERCIAL BANK COOP ALLIANCE CO LTD

Computer-readable recording medium, conversion method, and conversion apparatus

To provide a conversion program, a conversion method and a conversion device for improving processing capability.SOLUTION: Acquiring a mapping result including a predetermined DFG and information on assignment of operations to respective computing units and wiring between the computing units determined so as to correspond to the predetermined DFG for a CGRA having a plurality of computing units, and extracting a portion corresponding to a predetermined DFG pattern from the predetermined DFG; A computer is made to execute processing for determining a conversion candidate DFG from among DFGs corresponding to a pattern of an extraction place on the basis of a position to which the extraction place in a mapping result is assigned and the number of transmission paths of data to be used between arithmetic units, and generating a converted DFG by converting a predetermined DFG on the basis of the conversion candidate DFG.SELECTED DRAWING: Figure 6
Owner:FUJITSU LTD

Program conversion method

Provided is a program conversion method that can transfer a predetermined program using AI to information processing devices with different execution environments and can effectively utilize the predetermined program in various environments. 【Solution means】 A Using I te ok A processing execution unit that executes processing on the activation opportunity, and Includes A certain predetermined program Mu is an interface for referring to external data used by the AI, and , the includes information regarding the OS implemented on the information processing device of one environment. Also Ta, P The program conversion method is the predetermined program executable on the OS of the information processing device of the first environment source code compiled by the information processing device of the first environment , the A program generation step of generating an execution program in an execution format executable on the OS of the information processing device of the second environment, exporting the execution program from the information processing device of the first environment and importing it into the information processing device of the second environment, and implementing the execution program on the information processing device of the second environment This makes it possible to execute the predetermined program on the OS of the information processing device in the second environment. A program transfer step, and has.
Owner:D4ALL CO LTD

Program compiling method, electronic equipment and program product

The invention provides a program compiling method. The program compiling method comprises the steps that a P4 program is converted into a first control flow diagram; edges in the first control flow graph comprise control edges for representing control relations, and node attributes in the first control flow graph comprise definition variables and use variables; according to a matching relationship between the definition variable and the use variable, constructing a data dependence edge in the first control flow diagram to obtain a second control flow diagram; and converting the second control flow graph into a program corresponding to the target compiling language according to a translation rule, a control edge and a data dependence edge between the elements of the P4 language and the corresponding elements of the target language. The disclosure also provides an electronic device and a computer program product.
Owner:XIAMEN UNIV

Conversion device, relay device, control device, and control system

A control system according to the present disclosure is provided with: a conversion device having a model conversion unit that creates model information comprising one or more nodes and correlation information for the nodes on the basis of model node information comprising one or more nodes and the correlation information for the nodes, and a program conversion unit that converts the model information into a program information comprising one or more nodes and the correlation information for the nodes; a program conversion unit that creates program information including a process associated with the node by one or more pieces of association information and the association information on the basis of a source code including the process associated with the node by one or more pieces of association information and the association information; and a relay device having a data processing execution unit that executes a predetermined process on the basis of the model information and the program information.
Owner:FANUC LTD

Program conversion device and computer-readable storage medium

This program conversion device acquires a pre-conversion machining program and information pertaining to the syntax of a post-conversion machining program, creates a prompt for instructing a language model to generate a machining program obtained by converting the pre-conversion machining program into the syntax of the post-conversion machining program, transmits the prompt to the language model, receives a response from the language model, and outputs a post-conversion machining program that has been received by a reception unit.
Owner:FANUC LTD

Cross-platform Matlab real-time calculation method

The invention discloses a cross-platform Matlab real-time calculation method, which comprises the following steps of: 1) defining a function signature of a matlab algorithm function under a c / c + + language specification and a data structure of interaction between the function signature and an application program; 2) defining a function pointer, and initializing the function pointer to be null; 3) writing codes of the application program; 4) writing a script program of a matlab algorithm function; 5) converting a script program of the matlab algorithm function into a c / c + + code; 6) modifying a function pointer to point to an entry function address of the c / c + + code; 7) copying the c / c + + code and the code of the application program to a new directory, scanning all source files in the new directory, and compiling the source files into an executable program in the target running environment; 8, the executable program is transmitted to the target operation environment to be executable. According to the calculation method, the strong calculation capacity of Matlab is achieved, real-time data processing is achieved, the data processing performance is greatly improved, and the popularization value is high.
Owner:AVIC GENERAL TECH CO LTD

Lightweight program conversion method and device and terminal equipment

The invention provides a lightweight program conversion method and device and terminal device.The lightweight program conversion method comprises the steps that firstly, a project file set and a conversion configuration set are obtained, and then a first source code file and a second source code file in the project file set are divided according to file types; and converting the first source code file and the second source code file based on the conversion configuration set, and finally integrating to obtain a target lightweight program. According to the method, the source code file is converted on the basis of the conversion configuration set, so that the problem of rigidity of existing simple character string replacement is avoided, meanwhile, manual intervention links are greatly reduced, high dependence on experience of developers is avoided, and the conversion efficiency and accuracy of lightweight programs are remarkably improved.
Owner:ZHUHAI KINGSOFT OFFICE SOFTWARE +2

Information processing device

This information processing device suppresses the increase in man-hours required for converting application source code, even when the number of frameworks to be converted increases. [Solution] The program conversion device 10, which is an information processing device 10, includes a first source code acquisition unit 101 that acquires a first source code corresponding to a first framework, and a second source code acquisition unit 106 that creates a prompt by incorporating the first source code acquired by the first source code acquisition unit into a prompt template for converting the first source code into a second source code corresponding to a second framework different from the first framework, and acquires a second source code created by executing a generative artificial intelligence using the prompt.
Owner:HITACHI LTD

Program conversion device, numerical control device, and program conversion method

The program conversion device (1) is used when controlling the tool attitude, which is the attitude of the tool relative to the workpiece, using a rotary axis, and includes a defective block extraction unit (131) that refers to a machining program (31) including a plurality of command blocks indicating the tool attitude, and extracts defective blocks, which are command blocks that cause defects in machining due to the tool attitude, from the machining program, and a command block correction unit (132) that corrects the defective blocks so that an increase in the movement time of the rotary axis is suppressed and the tool attitude indicated by the extracted defective blocks falls within a preset tolerance range with respect to a reference position indicating a reference tool attitude.
Owner:MITSUBISHI ELECTRIC CORP

CUDA (Compute Unified Device Architecture) source program compiling method based on general compiler and related equipment

The invention provides a CUDA (Compute Unified Device Architecture) source program compiling method and related equipment based on a universal compiler, and the method comprises the following steps: executing preprocessing operation on source codes of a CUDA source program, and respectively generating a first intermediate file and a second intermediate file; scanning a host side code in the first intermediate file to identify a target function identifier representing equipment side execution semantics, and executing a reconstruction operation on a function containing the target function identifier to generate a proxy function used for triggering equipment side execution; scanning a device side code in the second intermediate file to identify a target function identifier, and performing semantic removal processing on the target function identifier to generate a device side executable function code; generating a host side target file, generating a device side target file, and further generating a device side dynamic link file; and forming a target file. By the adoption of the scheme, the CUDA program can be converted into the target program capable of running on the CPU, and the running environment construction cost is reduced.
Owner:SHANGHAI SMARTLOGIC TECHNOLOGY LTD

Techniques for converting SQL dialect application programs to dataflow graphs

Techniques for converting application programs written in a source structured query language (SQL) dialect to respective computer programs embodied by dataflow graphs, the method comprising using at least one computer hardware processor to perform: obtaining a source SQL dialect (SSD) application program comprising one or more SSD scripts, the one or more SSD scripts comprising a plurality of SSD statements; translating the plurality of SSD statements into a respective plurality of target SQL dialect (TSD) statements; converting the plurality of TSD statements into a respective plurality of dataflow graphs; and merging dataflow graphs in the plurality of dataflow graphs to obtain one or more merged dataflow graphs.
Owner:AB INITIO TECHNOLOGY LLC

A method and system for recovering interrupted machine tool processing files

The present invention relates to the field of machine tool processing technology, and discloses a method and system for recovering machine tool processing files from interruption, wherein a method for recovering machine tool processing files from interruption comprises: performing G-code semantic analysis and graph structure conversion to convert a G-code processing program into a structured knowledge graph with semantic association; performing processing intent reasoning based on neural symbolic reasoning to understand the deep processing intent behind the program; realizing self-evolutionary learning of processing experience, and continuously learning and optimizing from historical experience; locating interruption recovery points based on intent graphs to accurately find the optimal recovery position; generating and executing interruption recovery strategies to achieve smooth recovery of the processing process; the present invention improves the success rate and accuracy of interruption recovery by deeply understanding the G-code semantics and processing intent, and is suitable for high-value parts processing scenarios.
Owner:昆山台功精密机械有限公司

Program conversion device, program conversion method, and program

PCT designated stageWO2026042241A1Source to sourceSoftware engineeringSource code
This program conversion device (1, 2) comprises: a source code analysis unit (12) that analyzes a first source code before conversion and outputs, as an analysis result, a processing content and a type of computing resource to be used; a conversion method database (13) that stores, for each processing content, a source code conversion method corresponding to a combination of the type of computing resource used by the first source code before the conversion and the type of computing resource used by a second source code after the conversion; and a source code conversion unit (14) that refers to, on the basis of the analysis result passed from the source code analysis unit (12) and the type of computing resource used by the second source code after the conversion, the conversion method database (13), and acquires and applies, for each processing content, the source code conversion method for each processing content to convert the first source code into the second source code.
Owner:NT T INC

Conversion device, relay device, control device, and control system

PCT designated stage expiredWO2025009169A9Model driven codeSource to sourceControl systemTrunking
A control system according to the present disclosure comprises: a conversion device provided with a model conversion unit that, from model node information composed of one or more nodes and linking information for said nodes, creates model information composed of one or more nodes and linking information for said nodes, and a program conversion unit that, from a source code including a process associated with the node by one or more pieces of linking information, and said linking information, creates program information including the process associated with the node by the one or more pieces of linking information, and said linking information; and a relay device provided with a data process execution unit that executes a prescribed process on the basis of the model information and the program information.
Owner:FANUC LTD

Techniques for converting SQL dialect application programs to dataflow graphs

Techniques for converting application programs written in a source structured query language (SQL) dialect to respective computer programs embodied by dataflow graphs, the method comprising using at least one computer hardware processor to perform: obtaining a source SQL dialect (SSD) application program comprising one or more SSD scripts, the one or more SSD scripts comprising a plurality of SSD statements; translating the plurality of SSD statements into a respective plurality of target SQL dialect (TSD) statements; converting the plurality of TSD statements into a respective plurality of dataflow graphs; and merging dataflow graphs in the plurality of dataflow graphs to obtain one or more merged dataflow graphs.
Owner:AB INITIO TECHNOLOGY LLC

Generating new software code from legacy software code using large language models

Computer-implemented systems and methods use a Large Language Model (LLM) for converting a legacy computer program in a first language to a human-language description of the legacy computer program, which description can be validated as being an accurate description of the legacy computer program. Once validated, the human-language description can be converted, again using an LLM, to a computer program in a target programming language. An LLM can also be used to generate test scripts for the new target-language program to test the performance of the target-language program in a production environment. An LLM can also be used to reconcile outputs from the legacy program to the new target program, such as on a function-by-function basis. If the differences between the outputs (if any) are sufficiently negligible, the legacy computer program can be decommissioned, and the new, target language program can be used in production.
Owner:MORGAN STANLEY SERVICES GROUP INC

Programming language conversion system, programming language conversion method, and program

The object is to provide a system that can appropriately convert assembly language into other programming languages. [Solution] A programming language conversion system that converts an original program written in assembly language into a converted program written in a programming language different from assembly language, comprising: a generation unit that generates an intermediate program including original description items corresponding to the description of the original program, register items that are descriptions corresponding to each of a predetermined number of registers in the assembly language, and a first linkage item that is a description for reserving address space for a first instruction that specifies a displacement using a first register among the predetermined number of registers; and a conversion unit that converts the intermediate program into the converted program.
Owner:유겐가이샤티아이에스

Program conversion device, numerical control device, and program conversion method

A program conversion device (1) comprises: a defective block extraction unit (131) that refers to a processing program (31) that is used when the tool posture, which is the posture of a tool relative to a workpiece, is controlled by a rotary shaft and that includes a plurality of command blocks indicating the tool posture, and extracts, from the processing program, a defective block that is a command block causing a defect in processing due to the tool posture; and a command block correction unit (132) that corrects the defective block such that an increase in the movement time of the rotary shaft is suppressed and the tool posture indicated by the extracted defective block falls within a preset allowable range with respect to a reference position indicating the tool posture serving as a reference.
Owner:MITSUBISHI ELECTRIC CORP

Automated program conversion for heterogeneous and FaaS computing with minimal human intervention

Systems and methods are provided for implementing an iterative function deployment in a Function-as-a-Service (FaaS) computing environment. For example, the system may receive a request to execute a program and convert machine-readable code from the request into functions that are deployable in the FaaS computing environment. The system may determine a first deployment of the functions that defines scheduling and execution tasks, and also an execution metric by a trained prediction model. The system may adjust execution of the plurality of functions and also adjust the execution metric in a second deployment. The system may implement the second deployment at run-time, such that the machine-readable code from the request is executed by the computing components of the FaaS infrastructure in accordance with the second deployment.
Owner:HEWLETT PACKARD ENTERPRISE DEV LP

Method for automatically optimizing loop by fusing polyhedron and tensor compiler

The invention provides an automatic optimization loop method for fusing a polyhedron and a tensor compiler, and belongs to the field of high-performance calculation and parallel calculation. The method specifically comprises the following steps: S1, judging whether an automatic tuning condition is met or not according to a loop program which is input by a user and needs to be optimized; s2, constructing a legal affine scheduling set; s3, screening out a legal affine scheduling element with the shortest execution time as optimal affine scheduling; s4, mapping the corresponding polyhedral model to a new polyhedral model according to the optimal affine scheduling; and S5, generating a tensor calculation program for the new polyhedral model, and automatically adjusting and optimizing to obtain an executable file. According to the method, the non-trivial loop program is converted into the trivial loop program, the optimization range of the tensor compiler is expanded, efficient parallelism of the loop program is achieved, and the calculation efficiency of the non-trivial loop program is effectively improved.
Owner:CHONGQING INST OF GREEN & INTELLIGENT TECH CHINESE ACAD OF SCI