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

208results about "Transformation of program code" patented technology

Generating transformed code using a large language model

The present disclosure relates to systems, non-transitory computer-readable media, and methods for generating and providing transformed code snippets using a large language model. In particular, the disclosed systems can determine a code snippet from a code, for instance, based on user selection of the code snippet. The disclosed system can analyze the code and / or the code snippet to generate a prompt comprising context. The context contains information about the functionality of the code. The disclosed systems further use a large language model to analyze the code snippet and the prompt comprising the context and generate transformed code. The disclosed systems may provide the transformed code snippet to one or more devices.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Discovery platform for modernization of legacy program code

Methods and systems for improving modernization of legacy software using an intelligent discovery platform are described herein. A client-based agent may generate metadata regarding the received legacy software. The code metadata may be analyzed by a code classifier module, which computes a plurality of score factors from the metrics from the legacy software metadata using a knowledge base from a modernization platform. The classified code metadata may be used by a project-specific model to derive a plurality of sub-scores based on the plurality of score factors associated with the legacy software. An analytics engine may then identify a code module from the legacy software having a greatest derived vulnerability score factor. A graphical interface including reconstructed code, corresponding modern code, and an explanation of vulnerabilities may then be generated by the analytics and reporting component for the identified code module.
Owner:IONATE INC

XML semantic editing system and method based on aviation knowledge graph

The invention belongs to the field of Web application technology, XML document processing technology and online editor technology, and discloses an XML semantic editing system based on an aviation knowledge graph. The system comprises a front-end application module, an XML processing engine module, a DTD rule verification module, a visual editing module, a plug-in extension module, a collaborative editing module and an aviation knowledge graph integration module. According to the method, professional and efficient editing of XML documents in the aviation field is achieved through the full-process design of front-end interaction, XML processing, DTD verification, visual editing, semantic assistance and collaborative management, and the Web technology, the XML processing technology, the DTD verification technology, the knowledge graph technology and the collaborative editing technology are integrated, so that the XML documents in the aviation field are edited in a professional and efficient mode. The problems that an existing XML editing tool is difficult to deploy, poor in compliance, low in efficiency and weak in cooperation in the aviation maintenance field are solved, and a specialized and efficient XML semantic editing scheme is provided for the aviation maintenance industry.
Owner:WUHAN YIFAN IOT TECHNOLOGY CO LTD

AI component calling method and device, medium and computer program product

The invention discloses an AI component calling method and device, a medium and a computer program product, and relates to the technical field of container mirroring, the method comprises the following steps: when a first calling request sent by a large model application through a gateway is detected, determining a target AI component container instance corresponding to the first calling request, the AI component container instance is a container instance obtained after containerization packaging processing is carried out on an AI component capable of being deployed independently, and comprises a model file and a protocol adapter; performing format conversion on the first calling request through a protocol adapter in the target AI component container instance according to a preset protocol format to obtain a second calling request; calling a model corresponding to the model file according to the second calling request for task processing to obtain a processing result; and packaging the processing result into a response message through the protocol adapter according to a preset protocol format, and sending the response message to the large model application through the gateway. According to the method, the calling efficiency of calling each AI component by the large model application is improved.
Owner:ZHONGDIAN DATA IND CO LTD

Programming language migration operation method and device

The invention relates to a programming language migration operation method and device, an M language function can be recognized from M language script codes and converted into a Python function, in addition, for other codes with complex M language grammar forms, the other codes can be uniformly mapped and converted into the Python function, and through the functions of context and the like in the Python function, the programming language migration operation can be achieved. Different functions are implemented or different processing logics are executed for different types. The realization difficulty is greatly reduced, complex functions can be quickly realized, and the M language can be effectively operated without depending on a core library of Matlab.
Owner:CHANGSHA KELIANG TECH CO LTD

General purpose command system and interface for a live broadcast

A GPI device includes a communication port for receiving a GPI signal from a first device, one or more processors; and a memory comprising program instructions. The program instructions, when executed by the one or more processors, cause the GPI device to assign a command to the GPI signal when the GPI device receives the GPI signal from the first device and transmit the command to a second device. The transmission of the command may be triggered by the received GPI signal. The command may include a script, such as a python script. The command may also include triggering transmission of a live broadcast, switching between graphics during the live broadcast, or a combination thereof.
Owner:PGA TOUR ENTERPRISES LLC

Warehouse level code translation method and device based on large model

The invention discloses a warehouse level code translation method and device based on a large model, and is used for solving the technical problem that the existing warehouse level code translation method only relates to a function translation pair, so that a code translation task in a warehouse level context is poor in performance. The method comprises the steps that a tree-shaped analyzer is utilized, a large model is preset, and a target language code sample self-evolution knowledge base, a dependent use example self-evolution knowledge base and a successful translation function pair self-evolution knowledge base are constructed according to an obtained open source project, a to-be-translated warehouse and a plurality of historical successful translation function pairs; and outputting the target triple translation knowledge corresponding to each to-be-translated function, and outputting a warehouse level code translation result in combination with the obtained implementation code corresponding to each to-be-translated function and the generated warehouse architecture.
Owner:SUN YAT SEN UNIV

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

Automatic test case generation method, system and equipment for Web component and medium

The invention relates to the technical field of Web component testing, in particular to an automatic test case generation method, system and device for a Web component and a medium, and the method comprises the following steps: extracting a front-end frame type and code features to which the Web component belongs, constructing a visual state transition network, and constructing a unified data flow diagram; based on the code features, the visual state transition network and the unified data flow diagram, semantic reasoning is carried out by utilizing a large language model to generate a test path combination, and a minimum complete test case set is generated by applying a combination test algorithm; generating a composite assertion logic; frame type conversion is executed, and the minimum complete test case set and the composite assertion logic are converted into test codes capable of being executed by a front-end frame type; the test code is executed, and the minimum complete test case set and the composite assertion logic are updated and circulated based on Web component change or test failure in the execution process. According to the method and the device, the Web component automatic test which is high in accuracy, cross-frame adaptive and capable of realizing continuous self-healing can be realized.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

General purpose command system and interface for a live broadcast

A GPI device includes a communication port for receiving a GPI signal from a first device, one or more processors; and a memory comprising program instructions. The program instructions, when executed by the one or more processors, cause the GPI device to assign a command to the GPI signal when the GPI device receives the GPI signal from the first device and transmit the command to a second device. The transmission of the command may be triggered by the received GPI signal. The command may include a script, such as a python script. The command may also include triggering transmission of a live broadcast, switching between graphics during the live broadcast, or a combination thereof.
Owner:PGA TOUR ENTERPRISES LLC

A general service method and system applied to a satellite platform

The application discloses a general service method and system applied to a satellite platform and belongs to the field of remote sensing / communication satellite platforms, and solves the technical problems that in the prior art, due to the need of new load access for new adaptability development and test work, a long development cycle is caused, and under the condition that test is not comprehensive, there is a risk of load service failure, and maintenance is difficult. Step 1, a general service template table is constructed; step 2, after the general service template table is filled in, the general service template table is converted into satellite on-service instructions; and step 3, a general service program is designed and is used for executing the satellite on-service instructions. The application is used for realizing the general service method without special customization development for different loads.
Owner:CHANGGUANG SATELLITE TECH CO LTD

Construction method and device of three-dimensional industrial modeling environment and computer equipment

The invention relates to a three-dimensional industrial modeling environment construction method and device and computer equipment. Comprising the steps of performing difference packaging on modeling files through file types and environment variables of the modeling files to generate a static file directory associated with a first type of language, so that file classification regularity and environment adaptation are realized, and use in an offline scene or a scene needing to be embedded into other ends is ensured. Subsequently, by means of a bidirectional communication channel and a target program file, a target function corresponding to the second type of language is called, different types of language resources are successfully connected, the modeling file is converted and then is built in a code of the second type of language, so that the modeling file does not need to be loaded in a request external resource mode, the problem of request cross-domain is avoided, and the modeling efficiency is improved. And efficient development of subsequent industrial modeling is ensured.
Owner:CHANGSHA KELIANG TECH CO LTD

Apparatus and method for distributed execution of a control program for a control device

According to various embodiments, a method for the distributed execution of a control program for a control device is described, comprising compiling source code of the control program into an intermediate representation of the control program, deciding, by analyzing the intermediate representation, to divide the control program into a first program module to be executed on the control device and into one or more second program modules to be executed on one or more processing devices that are located outside the control device and connected to the control device, inserting, into the intermediate representation, program parts for communication interfaces that implement communication interfaces between the first program module and the one or more second program modules,and providing and executing the first program module on the control device and the one or more second program modules on the one or more processing devices.
Owner:ROBERT BOSCH GMBH

Updating method and device of front-end framework, equipment and storage medium

The invention relates to a front-end framework updating method and device, equipment and a storage medium. The method is applied to a Vue framework. Comprising the following steps: determining an ecological dependency packet from dependency data packets according to a preset recursive relationship among the dependency data packets in a Vue framework; the dependency data packet represents a data packet of a project application in the Vue framework, and the ecological dependency packet represents a dependency data packet belonging to the Vue framework; if the ecological dependency package meets a preset condition, generating a first AST of the ecological dependency package according to a source code file of the first framework; the first framework represents a Vue framework before updating, the first AST represents an abstract syntax tree of the ecological dependency packet in the first framework, and the source code file comprises code information corresponding to each dependency data packet; according to the first AST of the ecological dependency package, obtaining code information of the ecological dependency package in a second framework; the second framework represents the updated Vue framework; and determining a source code file of the second framework according to the code information of each ecological dependency package in the second framework.
Owner:CHONGQING CHANGAN AUTOMOBILE CO LTD

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

Binary instrumentation method for LL / SC lock instruction

The invention provides a binary instrumentation method for an LL / SC lock instruction. The binary instrumentation method comprises the steps that S1, a DBI tool is prepared in advance and started; s2, loading an LL / SC atomic operation instruction sequence and distributing a corresponding memory; s3, decoding and translating a machine code corresponding to the LL / SC atomic operation instruction sequence by the DBI tool, and converting the machine code into an IR intermediate expression; s4, shadow memory instrumentation is carried out based on IR intermediate expression; and S5, converting the IR intermediate expression after instrumentation into a target machine code, and running in a simulation environment of a DBI tool to obtain execution information of the LL / SC atomic operation instruction sequence. According to the method, correct translation and code instrumentation can be carried out on the multi-thread application containing the LL / SC, correct translation of the LL / SC instruction pair in the binary instrumentation framework is ensured, and correctness and atomicity of modification of the translated instruction to the sharing state in the competition state are ensured.
Owner:WUXI CITY COLLEGE OF VOCATIONAL TECH

Programming language migration running method and apparatus

ActiveCN120950074BTransformation of program codeProgram code adaptionPython (programming language)MATLAB
The application relates to a programming language migration running method and device, which can recognize M language functions from M language script codes, convert the M language functions into Python functions, and uniformly map and convert the remaining codes with complex M language syntax forms into Python functions, so that different functions or different processing logics for different types are realized through the context and other functions in the Python functions. The implementation difficulty is greatly reduced, complex functions can be quickly realized, and the M language can be effectively run without depending on the core library of Matlab.
Owner:CHANGSHA KELIANG TECH CO LTD

A multi-source heterogeneous code conversion method and device for cross-language development

The application discloses a multi-source heterogeneous code conversion method for cross-language development, which comprises the following steps: constructing a code sample set by constructing each code sample and a unit code block separated from the code sample into a format of { 'code' x c , 'code type' y c , 'code description' x d}; then using the code sample set to sequentially perform first training of internal features of the model, second training of consistency of code semantics and third training of consistency of mixed codes; taking embedding mapping functions obtained by the model after the first training and the third training as embedding models, obtaining embedding representation vectors after embedding representation mapping by using the two embedding models; in actual use, inputting an initial prompt word into the two embedding models to obtain retrieval enhancement information; and finally inputting the initial prompt word and the retrieval enhancement information into a large language model after splicing to obtain a code conversion result. The application can improve the accuracy of code conversion.
Owner:ZHEJIANG UNIV

A method, system, device, and medium for visual component linkage based on a state relay engine.

This invention discloses a visualization component linkage method, system device, and medium based on a state relay engine. The method includes: constructing a global state repository in memory to store composite state objects containing state values, version stamps, and component subscription lists; the state relay engine performing debouncing processing on asynchronous state data reported by source components; performing multi-dimensional conflict suppression verification on the processed data; updating the state values ​​and version stamps after successful verification; based on the subscription list, calling a custom script through a multi-level transformation pipeline to logically process and asynchronously transform the state values, generating transformation data adapted to the target component; and accurately distributing the transformation data to the target component via a unidirectional data stream according to the trigger protocol type, driving updates to its interface parameters or attribute states. This invention achieves deep decoupling and reliable linkage between components, significantly improving the flexibility, performance, and stability of the configuration visualization platform in complex interactive scenarios.
Owner:JIANGSU ANKEREI MICROGRID RES INST CO LTD +2

Method for converting multiple scheduling settings of directed acyclic graph of programming model into program code with aid of graphical user interface

A method for converting multiple scheduling settings of a directed acyclic graph (DAG) of a programming model into a program code with aid of a graphical user interface (GUI) includes: displaying the DAG via the GUI; receiving a user input via the GUI, wherein the user input comprises scheduling information associated with the multiple scheduling settings; and converting the multiple scheduling settings into the program code according to the scheduling information.
Owner:MEDIATEK INC

Code conversion method and device, electronic equipment and storage medium

The embodiment of the invention provides a code conversion method and device, electronic equipment and a storage medium. The code conversion method comprises the steps that a frame and a frame version of an input code are recognized; converting the input code into a to-be-converted element based on a framework version of the input code; converting the element to be converted into an output code; the output code is the code of the target framework version of the target framework.
Owner:CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1

Language resource configuration and loading method and device, equipment and storage medium

The invention discloses a language resource configuration and loading method, device and equipment and a storage medium, and relates to the technical field of language loading.The language resource configuration and loading method comprises the steps that a language configuration file is obtained, and a key name format mapping relation between an interface component library and a time processing library is generated according to the language configuration file; receiving a language switching instruction, and extracting a corresponding language code according to the language switching instruction; determining a target language resource file according to the language code and the key name format mapping relation; and loading the target language resource file. According to the method, the loading efficiency of the language resources can be improved.
Owner:SHENZHEN DINSTAR TECH

Computational Dataflow Architecture

An exemplary integrated circuit comprises an array of circuit tiles and interconnects coupling the circuit tiles in the array, the interconnects including interconnect tiles each having a plurality of connections, the plurality of connections including a connection to at least one of the circuit tiles and a plurality of connections to at least one other interconnect tile, the integrated circuit comprising a plurality of local crossbars in each of the interconnect tiles, the plurality of local crossbars coupled to form a non-blocking crossbar, and each of the plurality of local crossbars comprising a handshake circuit for asynchronous communication.
Owner:XILINX INC

Systems and methods for hardware-in-the-loop ai feedback for processor-optimized code generation with selectable metrics

A computing system is disclosed with hardware-in-the-loop AI feedback for processor-optimized code generation with selectable objective metrics. The computing system includes one or more processors; and one or more non-transitory computer-readable media collectively storing instructions that are collectively executed by the one or more processors, to cause the computing system to perform operations. The operations instruct the computing system to: interface, via a profiling module, with hardware or emulated hardware to collect execution data of input source code; train a large language model (LLM) to propose code optimization strategies based on code logic generalization across multiple programming languages; employ, via an optimization strategy discovery module, LLM-generated strategies to generate code optimization tasks; and apply, via a code transformation module, the generated code optimization tasks to the source code to produce an optimized version of the source code that is tailored to specific processing platforms.
Owner:CODE METAL

Code extraction method and device, electronic equipment and storage medium

The invention provides a code extraction method and device, electronic equipment and a storage medium. The method comprises the following steps: receiving a code extraction request, wherein the code extraction request comprises server address information, a plurality of module identifiers and extraction field information corresponding to each target module identifier; according to the code extraction request, determining a code server corresponding to the server address information, and obtaining multiple pieces of target submission information from the code server; performing identification processing on the multiple pieces of target submission information according to the multiple pieces of target module identification, and determining multiple pieces of sub-submission information corresponding to each target module identification; and according to the extraction field information corresponding to each target module identifier, performing extraction processing on the multiple pieces of sub-submission information corresponding to each target module identifier to obtain a sub-code set corresponding to each target module identifier. According to the scheme, the code is automatically extracted from the code server through an automatic program, so that the code extraction accuracy is improved.
Owner:CHENGDU TD TECH LTD

Method and system for converting low-code deployment configuration into Kubernetes standard resource file

The invention discloses a method and system for converting low-code deployment configuration into a Kubernetes standard resource file, and relates to the technical field of cloud computing and software engineering.The method comprises the steps that when low-code deployment configuration data is received on a low-code operation page, data preprocessing is conducted on the low-code deployment configuration data to obtain corresponding target field data, and the corresponding target field data are sent to a Kubernetes standard resource file; and on the basis of a preset low-code rule base, generating a corresponding intermediate deployment model according to the target field data, rendering the intermediate deployment model according to a preset resource file template to obtain a corresponding Kubernetes standard resource file, and displaying the Kubernetes standard resource file on a low-code operation page. The technical problems that existing Kubernetes have high technical requirements for users, and use requirements of non-professional users for Kubernetes are difficult to meet are solved.
Owner:SHANGHAI DONGFANG HOPE SOFTWARE TECH CO LTD