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

21 results about "Code writing" patented technology

Writing Code. Writing code is similar to academic writing in that when you use or adapt code developed by someone else as part of your project, you must cite your source. However, instead of quoting or paraphrasing a source, you include an inline comment in the code.

Code writing, checking and modifying method based on large model

The invention particularly relates to a code writing, checking and modifying method based on a large model. According to the code writing, checking and modifying method based on the large model, a fine-tuning large language model is adopted to analyze user requirements, and multi-language initial codes are generated; executing deep code review through a static analysis engine, wherein the deep code review comprises syntax tree verification, security vulnerability mode matching and API dependency chain detection; executing the automatically generated test case set in an isolation environment, monitoring operation indexes in real time, and generating a defect thermodynamic diagram; and driving the large model to perform iterative code reconstruction based on a defect analysis result until it is confirmed that a preset quality standard is met. The code writing, checking and modifying method based on the large model is suitable for multiple languages, the defect rate of codes is reduced, the software development period is prolonged, the labor cost is reduced, and the vulnerability detection rate is greatly increased.
Owner:浪潮智慧城市科技有限公司

Interactive real-time loop feedback programming teaching method and system based on large language model

The invention provides an interactive real-time loop feedback programming teaching system based on a large language model, and the system comprises a task driving module which is used for generating a multi-language exercise library based on the large language model and dynamically recommending tasks in combination with the programming capability of a user and an interest label; the code writing and debugging module is used for writing multi-language codes by a user, receiving the multi-language codes submitted by the user, executing multi-language compilation and generating compilation data, and the compilation data comprises execution logs, performance data and error information; the programming capability portrait module is used for analyzing the compiling data by utilizing a large language model to obtain programming behavior data, and processing the programming behavior data to obtain a user programming capability portrait; the intelligent interaction module is used for analyzing the programming ability portrait by adopting a large language model to generate targeted teaching feedback, and calling AI assistant teaching to execute five-step guide teaching based on the targeted teaching feedback; the reflection internalization module is used for generating a reflection log based on the user ability portrait generated by the programming ability portrait module, the reflection log comprises an error mode, a learning habit and a cognitive blind spot, and an internalization strategy is recommended according to the content of the reflection log. The internalization strategy refers to providing personalized learning methods, learning plans, learning guide, learning guidance and recommendation tasks of updating the task driving module for the user according to the current error type.
Owner:GUANGDONG POLYTECHNIC NORMAL UNIV

Script generation method and device, equipment, storage medium and product

The invention discloses a script generation method and device, equipment, a storage medium and a product, which are applied to the technical field of computer data processing, and the method comprises the following steps: obtaining business demand information corresponding to a target business function; semantic analysis is conducted on the service demand information, a template configuration file is generated, and the template configuration file at least comprises service parameters needed for achieving the target service function, attribute information of the service parameters and logic rules corresponding to the service parameters; analyzing the logic rule to generate an abstract syntax tree corresponding to the target service function; and performing data integration on the service parameters, the attribute information of the service parameters and the abstract syntax tree to generate an executable script for realizing a target service function. According to the scheme, manual code writing and manual template configuration are not needed, and the script generation efficiency is improved.
Owner:CHINA CONSTRUCTION BANK +1

New energy power system optimization regulation and control system and method based on large language model

The invention provides a new energy power system optimization regulation and control system and method based on a large language model, and belongs to the technical field of power system operation control. In the system, a new energy power system scheduling model knowledge base stores an objective function and a constraint condition of a new energy power system scheduling problem model; the information extraction agent generates a structured scheduling demand according to an input scheduling instruction based on a natural language and sends the structured scheduling demand to the problem modeling agent; the problem modeling agent calls an objective function and a constraint condition corresponding to the scheduling demand from the new energy power system scheduling model knowledge base to construct a corresponding constraint optimization problem; and the code writing agent converts the constraint optimization problem into an executable code. According to the method, the scheduling instruction based on the natural language can be automatically converted into the optimization code to be output, the optimization result can be obtained after the code is operated, automatic modeling and solving of the new energy power system scheduling problem are achieved, and therefore the threshold of new energy power system scheduling is greatly reduced.
Owner:TSINGHUA UNIVERSITY

Intelligent code writing and quality assurance system for multi-language code analysis

The invention discloses an intelligent code writing and quality assurance system for multi-language code analysis, which relates to the technical field of intelligent code development and quality control and comprises a multi-language code analysis engine, an intelligent engineering management module, a self-adaptive compiler, an interactive console, a multi-dimensional instance library and a personalized configuration center, each module realizes real-time data interaction through a distributed data bus; the system supports more than 15 mainstream programming languages, new language support can be expanded through plug-ins, and the multi-language code analysis engine integrates static analysis, dynamic tracking and cross-language call detection functions. Static analysis identifies grammar errors and undefined variables through abstract syntax tree analysis. According to the intelligent code writing and quality assurance system for multi-language code analysis, the single-language limitation of a traditional system is broken through, conjoint analysis of programming languages is achieved, cross-language defect recognition accuracy is improved, and potential risks of multi-language projects are remarkably reduced.
Owner:SHANGHAI YIDAO INFORMATION TECH

Low-code application rapid construction system based on visual dragging

The invention discloses a low-code application rapid construction system based on visual dragging, and relates to the technical field of application software construction, which comprises a code acquisition module, an action vector marking module, a demand vector acquisition module and an application software construction module, the method has the advantages that the core link of code writing in traditional development is bypassed, application software is generated after demand input is achieved, the code writing link is bypassed, non-technical users can obtain available applications only by describing demands without mastering programming skills, complex installation is not needed, operation is extremely simple, national development becomes possible, and the method is worthy of popularization and application. The speed is greatly increased depending on code reuse, basic codes accumulated by the code collection module can be directly called, repeated coding is omitted, it is ensured that the retrieved codes are highly matched with requirements, common requirements are quickly responded, personalized scenes are covered, and the problem that functions are not matched or missing is solved.
Owner:GUANGDONG FOOD & DRUG VOCATIONAL COLLEGE

Industrial control programming language implementation method based on text coding

The invention discloses an industrial control programming language implementation method based on text coding, relates to an information processing technology, and is used for solving the problems of low manual code writing efficiency, high error rate and high threshold in traditional control logic development. Comprising the steps of pre-constructing an explanation text and a language prompt text; loading the description text and the language prompt into an AI dialogue model; inputting a demand and a purpose to the AI dialogue model; the AI dialogue model analyzes the demand and the purpose, carries out processing based on the description text and the language prompt text, generates a corresponding final code, and constructs the final code into a text document; and performing corresponding equipment control based on the text document. According to the method, automatic analysis and code generation are performed through the AI dialogue model, the manual coding time is shortened, and the response is faster.
Owner:JINGJIANG XINGHUO MICROCOMPUTER APPLICATION RESEARCH INSTITUTE

A code templating generation method and system based on annotated markup language

ActiveCN120045187BNatural language data processingEnergy efficient computingCode writingTree traversal
The application provides a code templating generation method and system based on an annotation markup language, and relates to the technical field of code development. The generation method comprises the following steps: creating a project framework template; constructing a meta object; reading a global template file; parsing annotation marks in the global template file to form a global template syntax tree; executing the global template syntax tree to traverse a code template file; reading the code template file; parsing annotation marks in the code template file to form a code template syntax tree; executing the code template syntax tree to generate code; creating a code file and writing the code; and the generation system comprises a meta object, an annotation markup language, a framework template specification, a meta object controller, a generator, a dialect controller, a file reader, an annotation markup language parser and an annotation markup language executor. The application has the beneficial effects that a project framework template is provided, unified research and development standards are provided, the efficiency and quality of code writing are improved, and the application is suitable for various computer languages.
Owner:CHINACCS INFORMATION IND

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

A code generation method and apparatus

PendingCN122308792ACode generationCode writing
This disclosure provides a code generation method and apparatus, relating to the field of computer technology, and particularly to the field of artificial intelligence technology. It includes: acquiring code development tasks corresponding to development requirements information and corresponding multi-level state information, the multi-level state information including multiple stages of code generation, state information contained in each stage, and transition rules between states; during the execution of the code development task, in response to determining that the transition rules are met, executing a transition action for the current state corresponding to the current stage, and then switching to the next state; wherein, when the current stage is the planning stage, the transition action includes calling a first coding agent to generate execution planning information based on the development requirements information; when the current stage is the code writing stage, the transition action includes calling a second coding agent to generate code based on the development requirements information and the execution planning information. This disclosure improves development efficiency, flexibility, and scalability.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Code analysis method and device, electronic equipment and readable storage medium

ActiveCN115809066BCode compilationCode writingSoftware engineering
The application relates to a code analysis method and device, electronic equipment and a readable storage medium. The method comprises the following steps: if an analysis instruction is received, obtaining a code to be analyzed corresponding to the analysis instruction; obtaining a preset code rule, and performing an analysis operation on the code to be analyzed based on the preset code rule to obtain an analysis result; and determining a writing problem of the code to be analyzed according to the analysis result. The preset code rule is set in advance, and the writing problem in the code to be analyzed is determined by analyzing the code to be analyzed based on the preset code rule. The writing problem of the code to be analyzed can be determined after the code is written, so that the user can modify the writing problem in time, the correctness of the code in the formal application stage is ensured, and the use efficiency of the equipment is ensured.
Owner:BEIJING HUAFENG TEST & CONTROL TECH CO LTD

System and method for compiling and running codes on line and applied to visual development

The invention provides an online code compiling and running system and method applied to visual development, and relates to the technical field of development, the method comprises the following steps: using a code editor with code formatting capability and code error checking capability to display codes, and providing an editing function; analyzing the code in the code editing module, and persistently storing the code and a data structure obtained by analysis; configuring a data structure stored in the code storage module; and combining the code in the code editing module, the code in the visual designer and the code published last time to obtain a finally published code. According to the method, the user can be supported to write codes on line, the written codes can be compatible with the current visual development method, code conflicts caused by modification of raw codes are avoided, and increasingly complex visual development requirements in enterprise informatization are efficiently met.
Owner:金现代信息产业股份有限公司

Code generation method and device based on large language model, equipment and storage medium

The invention relates to the technical field of computers and artificial intelligence, and discloses a code generation method, device and equipment based on a large language model.The method comprises the steps that a software development guidance model is utilized to respond to a code generation request, and a target software function decomposition diagram of a target source code is generated; and reasoning a target sub-module for realizing a target demand from the target software function decomposition diagram by utilizing a software development guidance model, and generating an interface function calling code for realizing the target demand. According to the method, a complex software development task is decomposed into modular sub-tasks, codes meeting target requirements are reasoned based on the reasoning ability of a large language model, manual code writing is not needed, the method is suitable for code customization by any person, the threshold is low, the period is short, the workload of manual code writing is reduced, and meanwhile, the efficiency is improved. And the software development guidance model can quickly infer the override path of the sub-module, so that the development efficiency is improved, and the code generation is more systematized and efficient.
Owner:SHENZHEN NEOWAY TECH

Public component development management method

The invention provides a public component development management method. The method comprises the following steps: establishing a code writing specification, a dynamic expansion mechanism, a code annotation specification and a version control strategy for developing a public component; establishing a development team training mechanism and a code review mechanism based on the code writing specification; designing dynamic parameters based on a dynamic expansion mechanism; optimizing the annotation document based on the code annotation specification; and managing the version of each public component in the public component library based on the version control strategy. By establishing a series of management specifications and optimization mechanisms, the development efficiency, quality and maintainability of the public component are improved, and the flexibility and expandability of the public component are enhanced. Through the implementation of the steps, it is ensured that developers can rapidly and easily integrate and call the public components, and meanwhile customized configuration and expansion can be conducted according to specific requirements of the project, so that the development efficiency is improved, the maintenance cost is reduced, and successful implementation of the project is promoted.
Owner:TUS CLOUD CONTROL (BEIJING) TECH LTD

coding device

ActiveCN309753917SCode writingSoftware engineering
1. Name of the product in this design: Code writing device. 2. Purpose of this design: To write ID numbers to scramblers and decoders. 3. The key design feature of this product is its shape. 4. The image or photograph that best illustrates the design's key points: a 3D model.
Owner:深圳汇菁科技有限公司

Code writing and reading equipment assembly and printing supplies

The utility model discloses a code writing and reading equipment assembly and a printing consumable, and belongs to the technical field of printing. The code writing and reading device assembly is used for data reading and writing of a chip of a printing consumable and comprises a code writing and reading device and a positioning support, and the code writing and reading device comprises a device body and an elastic needle connected with the device body. The positioning support is used for being detachably connected with the printing supplies, a fixing groove is formed in the positioning support, and part of the equipment body is embedded into the fixing groove; the equipment body and the groove wall of the fixing groove can be in limiting fit in the direction from the elastic needle to the equipment body so that the elastic needle can be electrically connected with a contact on a chip of the printing supplies. According to the scheme, the two hands of an operator can be liberated, the state of the code writing and reading equipment is not easily interfered by external factors and is not easily separated from the contact of the chip, the stability and integrity of data transmission can be ensured, and the success rate of data upgrading and updating is improved.
Owner:HANGZHOU CHIPJET TECH CO LTD

Code writing method for compatibility with multiple air quality monitor models

This application relates to the field of embedded systems and discloses a method for writing code to adapt to multiple models of air quality monitors, addressing issues such as high development and maintenance costs and complex firmware versions in existing technologies. The method includes the following steps: loading the complete source code; parsing functional requirements based on the target device's configuration file; trimming functional modules irrelevant to the target device; performing dependency analysis and logic repair on the trimmed code; recombining the trimmed code to generate a streamlined code project adapted to the target device; and compiling to generate a firmware file, which is then burned to the target device. This invention can dynamically generate firmware according to different target device models, achieving flexible adaptation to multiple device models, reducing development costs, optimizing code size, and improving device function deployment efficiency. It is suitable for the rapid production and maintenance of multiple models and small batches of air quality monitors.
Owner:TONGDY CONTROL TECH

Code generation method and device based on dynamic adoption closed-loop system, storage medium and server

The embodiment of the invention discloses a code generation method and device based on a dynamic adoption closed-loop system, a storage medium and a server, and relates to the field of office automation. The method comprises the following steps: firstly, receiving a code generation request sent by a user through an IDE plug-in; then responding to the request, retrieving code writing knowledge in an enterprise special code knowledge base, and obtaining a context of a code output position; a current code generation model is then utilized, and code snippets are output in combination with the aforementioned knowledge and context. Afterwards, monitoring the interactive operation of the user on the code snippets to obtain code adoption information, and writing the code adoption information into a code adoption data set; and when a preset updating period arrives, generating a user programming habit map according to the code adoption data set, and updating the network parameters of the current code generation model according to the user programming habit map. According to the dynamic closed-loop system, the code generation model is continuously optimized along with the programming habit of the user, and the individuation and accuracy of code generation are effectively improved.
Owner:YGSOFT INC

Code writing and reading equipment

The utility model discloses code writing and reading equipment, and belongs to the technical field of printing. The code writing and reading device comprises a device body and a code writing and reading assembly, the device body is provided with a fixing groove, and the fixing groove is used for at least part of the printing supplies to be inserted. The code writing and reading assembly is arranged on the equipment body, under the condition that at least part of the printing supplies are inserted into the fixing groove, the groove wall of the fixing groove is matched with the printing supplies in a limiting mode in the first direction, chips of the printing supplies are electrically connected with the code writing and reading assembly, and the first direction is perpendicular to the insertion direction of the printing supplies and the width direction of the printing supplies. According to the scheme, the code writing and reading assembly can be in good contact with the chip of the printing consumables so as to guarantee the stability of data transmission, meanwhile, the two hands of an operator can be liberated, the code writing and reading assembly of the code writing and reading equipment is not prone to being interfered by external factors and disconnected from the chip, then the stability and integrity of data transmission can be guaranteed, and the data transmission efficiency is improved. Therefore, the success rate of data upgrading and updating is improved.
Owner:HANGZHOU CHIPJET TECH CO LTD