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

3669 results about "Code generation" patented technology

In computing, code generation is the process by which a compiler's code generator converts some intermediate representation of source code into a form (e.g., machine code) that can be readily executed by a machine.

Intelligent programming auxiliary method and system based on multi-mode AI language model

The invention discloses an intelligent programming auxiliary method and system based on a multi-modal AI language model, and belongs to the technical field of programming auxiliary tools. The method comprises the following steps: a multi-modal input processing stage; a dynamic context modeling stage; a hierarchical semantic analysis stage; in the code generation stage, codes are generated in two stages by adopting a Codex-Plus large model; the reinforcement learning driven code optimization stage is used for carrying out multi-objective optimization and reward function design on the codes generated in the code generation stage; a multi-dimensional feedback stage; an interaction and visualization stage; code semantic deep analysis, dynamic context sensing, multi-target optimization generation and real-time interactive feedback are realized by fusing code texts, natural language description, developer behavior data and a domain knowledge graph, and programming efficiency and code quality can be remarkably improved.
Owner:积至(海南)信息技术有限公司

UI design system with automatic front-end / back-end code generator

Systems and methods for generating a web or mobile application by providing a front-end graphics editor to specify a user interface design; applying AI to generate human-readable front-end code for the user interface design as a co-pilot with a user in the user interface design; and applying a large language model (LLM) transformer to transform the generated human-readable front-end code into a machine-readable format and build the web or mobile application.
Owner:NATIVE PIXEL INC

Code automatic generation and optimization system based on multiple modes

The invention discloses an automatic code generation and optimization system based on multiple modes, which relates to the technical field of automatic programming, and comprises a task analysis module for analyzing task description and constraint conditions in combination with a CLIPS rule engine and a knowledge graph and original data, identifying task targets and requirements, and outputting a task risk assessment report and a task intention set; the optimization decision module is used for selecting an optimal modal data subset by using a particle swarm optimization algorithm and a path planning algorithm, performing optimization adjustment according to task requirements, and outputting a code generation strategy; and the test evaluation module is used for evaluating and improving the unit test and the integration test by utilizing the variation test, carrying out quality and performance evaluation on the code through continuous integration and continuous delivery, and outputting a code evaluation report and an optimization suggestion. According to the method, the optimal modal data subset is dynamically screened, and the data transmission path is optimized, so that the code performance is ensured, the computing resource consumption is reduced, and the global optimization of the code generation strategy is realized.
Owner:FUJIAN QIFEI FUTURE TECH CO LTD

Intelligent agent construction and application system based on large language model

The invention discloses an agent construction and application system based on a large language model, which provides a unified registration and release normal form of model service, deeply understands task business requirements through a large model, generates a service arrangement process aiming at user task requirements, and provides a service arrangement process for the user task requirements if the required service does not exist. And if not, driving the code generation capability of the large model to perform service definition and service implementation, continuously calling self iteration in the process, and finally forming an intelligent agent working process for the business. The method has the capabilities of problem semantic understanding and complex task decomposition and calling, and has the advantages that the large model can accurately understand the intention of a user, schedule or compile a plurality of different model tools on an immediate machine and combine to complete the complex task while the large model can be efficiently accessed to an application system, so that the system operation efficiency is greatly improved.
Owner:NANJING UNIV OF SCI & TECH

Zero-code software development and test system based on artificial intelligence

The invention relates to the technical field of software development, in particular to a zero-code software development and test system based on artificial intelligence, and provides the following scheme that the system comprises a natural language analysis module, a code generation module, a code optimization module, an intelligent test module and a cross-platform deployment module. The natural language analysis module analyzes the natural language description input by the user into a software development requirement document; the code generation module generates source codes based on the demand document and can select a programming language and a framework; the code optimization module is used for performing static analysis and reconstruction optimization on the generated codes; the intelligent test module automatically generates a test script through interface model extraction, case generation and case analysis logic, executes a test and feeds back a test result; and the cross-platform deployment module realizes automatic packaging, compatibility check, deployment configuration and release management of software. The invention aims to simplify the software development process and improve the development efficiency and quality.
Owner:JIANGSU LINGHAO NETWORK TECH CO LTD +1

Migration platform for legacy database migration with a large language model

A method, apparatus, and computer-readable medium of a migration platform for analyzing a legacy database based on applying a large language model to the legacy database and legacy application code to extract legacy database values and legacy application values, determining destination database values corresponding to a destination database based on the legacy database values and the legacy application values, generating migration code for migrating the legacy database to the destination database based on code generation templates, user preferences, and code generation procedures configured to create one or more files and one or more directories based on the code generation templates, validating the migration code based on generating mock data, storing the mock data in the legacy database, and applying the migration code to the mock data to migrate the mock data to the destination database, and executing the validated migration code to perform a migration of the legacy database.
Owner:PEERISLANDS HOLDINGS LLC

Systems, methods, and graphical user interfaces for training a code generation model for low-resource languages

A system, method, and computer-program product includes identifying a plurality of code synthesis items for a target programming language, generating a code synthesis prompt based on a first sampling of the plurality of code synthesis items, synthesizing, via a large language model, a plurality of raw code segments using the code synthesis prompt, executing the plurality of raw code segments with a code interpreter associated with the target programming language, determining one or more valid code segments of the plurality of raw code segments that the code interpreter successfully executed, aggregating, via a second sampling, the one or more valid code segments into one or more validated code synthesis training samples, and training a code generation model using the one or more validated code synthesis training samples. User interfaces may be provided to allow target coding tasks to be specified via text or speech.
Owner:SAS INSTITUTE INC

Unmanned aerial vehicle flight control system vulnerability detection method based on data flow analysis and LLM

The invention discloses an unmanned aerial vehicle flight control system vulnerability detection method based on data flow analysis and LLM, and belongs to the technical field of intelligent software testing. Comprising the following steps: extracting a code function module associated with user operation in an unmanned aerial vehicle flight control system through a data flow analysis method, and establishing an operation-code mapping relation library; generating a structured natural language semantic description for each function module code by adopting a large language model LLM, and forming a multi-dimensional semantic feature vector; based on correlation analysis of multi-module semantic features, a combined test scene is constructed, and a natural language test case is generated; the natural language test case is converted into an executable test code through reverse semantic mapping, and coding reconstruction of test logic is completed; and executing a test code and capturing a runtime log in an unmanned aerial vehicle simulation environment, and performing vulnerability feature extraction and root cause positioning by using a large language model. According to the method, the efficiency is improved, and meanwhile, the deep coverage test of a complex interaction scene is supported.
Owner:HUAZHONG UNIV OF SCI & TECH

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

Code generation method and system based on heterogeneous multi-agent cooperation and electronic equipment

The invention relates to a code generation method and system based on heterogeneous multi-agent collaboration and electronic equipment. According to the method, a special commentator agent instantiated by a heterogeneous large language model is added into a multi-agent collaboration process; according to the method, consistency and feasibility verification is carried out on a demand document given by an analyst agent by adopting a commentator agent, a modification suggestion is proposed in an early stage, deviation and problems are found in time in the early stage of a task, the cost and complexity of later correction are reduced, the robustness and reliability of codes are improved, and the method is suitable for large-scale popularization and application. And the generated result can still maintain high-level correctness under extreme conditions or specific boundary conditions. And the method has practical significance in improving software development efficiency, reducing project risks and improving the quality of an intelligent automatic solution.
Owner:NAT UNIV OF DEFENSE TECH

Large model code security review method based on control flow analysis and retrieval enhancement

The invention relates to the technical field of code security analysis, and discloses a control flow analysis and retrieval enhancement-based large model code security review method, which comprises the following steps of: analyzing an incremental code to generate an abstract syntax tree and data flow analysis information; retrieving local knowledge base association business rules and historical vulnerabilities based on grammatical features, and generating a context enhancement prompt; calling a large language model to jointly analyze codes and contexts, identifying vulnerabilities and outputting a structured report; and combining with a historical false alarm data optimization result and then integrating to a development assembly line. Multi-source information is fused through an RAG technology to enhance semantic understanding, and control flow node tracking and cross-version semantic association are combined, so that the problems of a traditional tool business logic vulnerability detection blind area, incremental code analysis failure and high false alarm rate are solved, synchronous improvement of security examination accuracy and efficiency is realized, and the method is adaptive to an agile development scene.
Owner:HANGZHOU BAIHA YIBAI INFORMATION TECHNOLOGY CO LTD

Code generation method based on graph alignment coding large model and multi-agent collaboration

The invention discloses an ST code generation method based on graph alignment coding large model and multi-agent collaboration, and the method comprises the steps: receiving an ST code programming demand inputted by a user through a demand analysis module, refining and analyzing the demand based on multiple rounds of interactive conversations of the user and insight agents, and generating a standardized ST code programming demand; the retrieval module receives a standardized ST code programming requirement, and retrieves and obtains related knowledge through a retrieval agent in combination with an ST code knowledge base; and the double-agent collaborative self-correction code generation module receives standardized ST code programming requirements and retrieved related knowledge, a graph alignment coding large model constructed based on a graph neural network and a cross-modal alignment technology serves as a coding agent to cooperatively work with a review agent, ST code structure information is injected into the large model, and a final ST code is generated. According to the method, high-accuracy and high-reliability ST code automatic generation can be realized, and the development efficiency of a PLC program in the industrial control field is improved.
Owner:CHINA JILIANG UNIV

Method and system for automatic workflow generation by large language models

A method for using a large language model to generate executable code for workflow execution in a manner that integrates user feedback and adjusts the workflow as needed while preserving data privacy is provided. The method includes: receiving first information that relates to a workflow context, second information that relates to at least one application programming interface (API), and third information that relates to a code generation request; using the received information to generate a lecture, and transmitting the lecture to a language model; receiving a user query that relates to performing a task, and transmitting the query to the language model; receiving a workflow that is automatically generated by the language model based on the lecture and the query; and executing the workflow in order to generate an output that is responsive to the query.
Owner:JPMORGAN CHASE BANK NA

Code generation method and device based on LLM multi-agent cooperation and computer equipment

The invention discloses a code generation method and device based on LLM multi-agent cooperation and computer equipment. The method comprises the following steps: acquiring a user programming demand; analyzing the user programming demand based on LLM and decomposing a programming task to generate a task tree; selecting a to-be-allocated sub-task from the task tree, and evaluating the matching degree of an intelligent agent in an intelligent agent pool and the to-be-allocated sub-task based on LLM to generate a task allocation instruction; sending the task allocation instruction to a corresponding target agent, so that the target agent executes the to-be-allocated sub-task, and feeding back an execution result; and outputting the execution result. By implementing the method provided by the invention, the programming efficiency and quality can be improved, the resource allocation can be optimized, and the efficient development of complex requirements and large projects can be supported.
Owner:HANGZHOU FRAUDMETRIX TECH CO LTD

Software architecture code generation method and system based on large language model

The invention relates to the technical field of computer processing, in particular to a software architecture code generation method and system based on a large language model, and provides the following scheme: obtaining demand information input by a user, analyzing demands by using a natural language processing technology, and extracting functional elements; performing classification processing on the functional elements through a clustering algorithm to generate a functional module group; mapping the function module group to a system architecture layer, and generating an architecture diagram represented by UML (Unified Modeling Language); and generating a corresponding source code according to the UML graph, and optimizing the source code. The optimization strategy comprises static analysis of format problems and potential vulnerabilities in identification codes and performance optimization of complex functions. Through combination of the large language model and the automatic code generation and optimization technology, the software development efficiency is improved, manual intervention is reduced, and the correctness and maintainability of the generated code are ensured.
Owner:未分类(SHANGHAI) TECHNOLOGY CO LTD

PLC code generation and verification method based on large language model

The invention discloses a PLC code generation and verification method based on a large language model, and the method comprises the steps: generating multi-stage multi-mode input data which is used for representing user demands and formulating a system design scheme according to a demand analysis result; the multiple stages comprise a demand analysis stage and a design stage of a complete engineering cycle; the multi-mode input comprises a Pamp (Passive Amplitude Point); an ID graph and a natural language; then, according to the multi-stage multi-mode input data, a PLC code is generated; then, verification testing is carried out on the generated PLC code, and the verification testing comprises code verification and compiler verification; and finally, after the verification test on the PLC code is completed, deploying the PLC code. The PLC code deployment method is high in accuracy and automation degree, an efficient and accurate PLC code deployment method can be provided for network security researchers, and the PLC code deployment method can be widely applied to the technical field of computers.
Owner:GUANGZHOU UNIVERSITY

CAPEC vulnerability management system based on large language model

The invention discloses a CAPEC vulnerability management system based on a large language model, and belongs to the technical field of network security. The system comprises three modules: a vulnerability-CAPEC dynamic mapping module jointly encodes vulnerability description and code context through a bimodal large language model, accurately associates vulnerability logic with a CAPEC attack mode in combination with comparative learning and knowledge graph construction, and breaks through semantic limitation of traditional rule matching; the adversarial repair code generation module is used for generating high-robustness repair codes through adversarial training and syntax tree verification by fusing CAPEC relieving suggestions and code features on the basis of the association result, so that the secondary vulnerability risk is remarkably reduced; and the full-process automatic verification and DevOps integration module performs multi-dimensional security verification such as symbolic execution, fuzzy testing and the like on the generated repair code, and deeply integrates a development tool chain to realize real-time pushing and closed-loop management of a repair scheme.
Owner:BEIJING SHIXING TECH CO LTD

Method and system for automating software development lifecycles

A method for automating a software development lifecycle by using artificial intelligence is disclosed. The method includes receiving a request to generate software components, the request including requirements in a natural language format; determining, by using a first model, tasks to generate the requested software components based on the request, each of the tasks including a sequence of subtasks, an acceptance criterion, and a predicted effort level; generating, by using a second model, sets of software code based on the tasks, the sets of software code corresponding to the requested software components; generating, by using a third model, unit tests for each of the sets of software code; initiating the unit tests for each of the sets of software code; and releasing, by using a fourth model, the sets of software code based on a result of the corresponding unit tests.
Owner:JPMORGAN CHASE BANK NA

Utility system for automated code generation and execution

Methods, systems, and computer programs are presented for implementing a tool that generates and executes the code in a controlled environment to satisfy user requests entered as text prompts. One method includes receiving a user prompt with a user request received in a user interface (UI), generating a first Large Language Model (LLM) prompt to create a plan, and receiving the plan from an LLM, the plan comprising text describing a sequence of operations. The method further includes generating a second LLM prompt, to create code, specifying which code instructions are permitted in the created code. Further, the method receives the code from the LLM that received the second LLM prompt, and executes the code in a controlled environment. Further, the results generated by executing the code are presented in the UI.
Owner:DEPENDABLE AI INC

Linux kernel scheduler parameter optimization system and method

The invention belongs to the technical field of Linux kernel schedulers, and particularly relates to a Linux kernel scheduler parameter optimization system and method.The Linux kernel scheduler parameter optimization system comprises a data collection module, a large model training and optimization module, a kernel scheduler module, a code generation and verification module, a small model training module and a small model reasoning module; the large model is responsible for periodically providing a visual angle of global optimization, generating an initial weight and a scheduler prototype of the small model, extracting a rule from long-term accumulated data, and ensuring that an optimization strategy has a global visual field. Meanwhile, the small model serves as a local adapter to process the dynamic scheduling requirement of a kernel mode in real time. The layered optimization mechanism can balance short-term adaptability and long-term performance improvement.
Owner:SHANDONG UNIV

Interactive code generation method and device, equipment and medium

The invention relates to the technical field of semantic recognition, can be applied to business scenes such as financial science and technology and medical health, and discloses an interactive code generation method, device and equipment and a medium. And a visual preview interface is generated in combination with the context, multi-round modification through interactive adjustment or text editing is supported, and finally user interface element codes are generated. According to the method, natural language processing, context sensing and visual interactive correction are combined, so that the closed-loop process of interface codes from generation to dynamic adjustment is realized, the customization degree and the service adaptability of a generated result are improved, and the problems that an existing tool template is rigid, semantic understanding is deviated, and a multi-round correction mechanism is lacked are solved.
Owner:CHINA PING AN PROPERTY INSURANCE CO LTD

Systems and methods for training a language model for code generation

Embodiments described herein provide a system for training a neural network model using a teacher-student framework. The system includes a communication interface configured to communicate with a teacher model; a memory storing a student model and a plurality of processor-executable instructions; and a processor executing the processor-executable instructions to perform operations. The operations include: generating, by the student model, a first task output in response to a task input; obtaining, from an evaluation environment, a feedback relating to an accuracy of the first task output; obtaining a refinement output generated by the teacher model based on an input of the first task output and the feedback; and training the student model based on a training input of the first task output and the feedback and a training label of the refinement output.
Owner:SALESFORCE INC

Business process construction method combining workflow engine and dynamic form

The invention provides a business process construction method combining a workflow engine and a dynamic form, which relates to the technical field of low-code platforms, and comprises the following steps of: establishing a data table according to a business, selecting and importing the data table in a code generation module, generating a basic code package, re-operating a main program compiling code package and loading the code package to a JVM (Java Virtual Machine) operating environment; creating a dynamic form on the basis of the entity class information of the code package through a visual form designer of the dynamic form module, and outputting dynamic form configuration in a JSON (JavaScript Object Notation) format; according to the method, the dynamic form and the process engine are combined, highly flexible business process design can be realized, a user can dynamically design the form and the process model as required to meet different business requirements, and the user-defined component can be designed according to a business data structure and common functions, so that the form can better adapt to a specific business scene, and the user experience is improved. And the user experience and the working efficiency are improved.
Owner:ZHONGJIN TECH (GUANGDONG) CO LTD

Source code vulnerability detection and repair through machine learning

A neural classifier model is used to detect cybersecurity vulnerabilities in the source code predicted by a deep learning code generation model having been trained on source code possibly containing security bugs. Upon the classifier model classifying a given source code snippet as likely containing a cybersecurity vulnerability, a proposed repair for the cybersecurity vulnerability is predicted from a neural decoder transformer model having been trained on non-vulnerable source code. The neural decoder transformer model is used to predict source code that repairs the cybersecurity vulnerability given the source code classified with a cybersecurity vulnerability.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Code generation method, device and equipment based on multi-agent language system

The invention relates to a code generation method, device and equipment based on a multi-agent language system. The method comprises the following steps: acquiring a code generation task of a user; the code generation task comprises code task information and execution parameters of the code task information. And the code task information is disassembled and judged by a plan engineer according to the complexity of the code generation task and a semantic understanding result to generate a plurality of sub-code tasks. And after the sub-code task is converted into a Python code sequence through the code writing agent, a sub-code block of the Python code sequence is integrated into a standard operation function through the code integration agent. And traversing and executing each Python code sequence according to the standard operation function to generate a standard code. And after the standard code is corrected through the code testing agent, the corrected standard code is transmitted back to the user. By adopting the method, the code generation efficiency under the large language model can be improved, and the computing resource overhead is reduced.
Owner:NAT UNIV OF DEFENSE TECH

Systems and methods for reviewing code

Provided herein is a method for reviewing code. The method can comprise parsing the code to generate a structural representation of the code, wherein the structural representation comprises a graph representative of the code. The method can comprise processing the code and the structural representation to generate a context for the code based at least in part on the graph. The method can comprise processing the context and a set of prompts to generate a set of contextualized prompts, wherein at least two prompts in the set of prompts are specific for different categories of issues. The method can comprise prompting a first set of language models with the set of contextualized prompts to generate a set of issue reports. The method can comprise prompting a second set of language models to generate a set of validated issue reports comprising a set of non-hallucinated issue report.
Owner:BOOSTSECURITY IO INC

No-code generation of integration applications

Disclosed herein are system, method, and device embodiments for programmatically generating and deploying an integration application based on a natural language request without requiring any coding by a user. The application generator infers the sources, targets, connectors, operations, entities, and data mappings needed to build the requested integration application. An exposed web service or API may receive natural language input, determine the meaning of the request, and generates and deploys the resulting integration application without requiring any coding by a user.
Owner:SALESFORCE INC

Automatic control code generation and verification method and device, equipment and storage medium

The invention discloses an automatic control code generation and verification method and device, equipment and a storage medium, and relates to the technical field of automatic control, the method is applied to a large language model, and a natural language command is received; performing matching retrieval on the vector database according to the natural language command to obtain an example code snippet; obtaining API structured information corresponding to the example code snippets from a knowledge graph database; generating an initial control code based on the example code snippet and the API structured information; and performing multi-stage virtual operation verification on the initial control code in the software motion control system, and generating a target control code according to a multi-stage verification result confirmed by a user for multiple times and the initial control code. According to the method, the initial control code is automatically generated through double-database retrieval based on the large language model, then multi-stage code verification is performed through the software motion control system, the target control code is generated in combination with verification results confirmed by a user for multiple times, and the code generation speed and reliability are improved.
Owner:HONG KONG UNIV OF SCI & TECH (GUANGZHOU) +1

Business module source code generation method and system based on large model business reasoning

The invention provides a business module source code generation method and system based on large model business reasoning, and belongs to the technical field of code generation. The business module source code generation method comprises the steps that semantic analysis is conducted on business requirements, and a business association graph with weights is constructed; performing module division, and decomposing a complete task into a plurality of sub-tasks; calling a coordination agent, distributing a corresponding module code generation agent based on a large model for each decomposed subtask, and injecting context information to generate a corresponding module code; wherein the module code generation agent learns a corresponding relationship between tasks and injected context information and codes in advance based on field self-adaptive staged training; and calling the verification agent to perform code quality verification. The method has the beneficial effects that the module division is performed based on the business association graph with the weight, the multi-agent collaborative code generation is constructed by adopting the field-adaptive staged training, and the quality of the generated code is verified, so that the code generation efficiency and quality are improved.
Owner:SHANGHAI RUICHENG SOFTWARE CO LTD

Programmatically generating evaluation data sets for code generation models

Evaluation data sets may be programmatically generated for code generation models. An evaluation data set is obtained that includes items that correspond to different evaluation tests for a code generation system. The individual items of the evaluation data set maybe converted, including the conversion of a function signature for the items, the test statements for the items and using a code generation system to generate the body of the function.
Owner:AMAZON TECH INC