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

16 results about "Stencil code" patented technology

Stencil codes are a class of iterative kernels which update array elements according to some fixed pattern, called a stencil. They are most commonly found in the codes of computer simulations, e.g. for computational fluid dynamics in the context of scientific and engineering applications. Other notable examples include solving partial differential equations, the Jacobi kernel, the Gauss–Seidel method, image processing and cellular automata. The regular structure of the arrays sets stencil codes apart from other modeling methods such as the Finite element method. Most finite difference codes which operate on regular grids can be formulated as stencil codes.

Visual code rapid generation method and system based on template configuration

The invention discloses a visual code rapid generation method and system based on template configuration. The method comprises the steps of firstly carding code standards, and constructing a standard structure conforming to the code specifications; secondly, an engineering template, a code template, a view template and a layout template are defined, the engineering template is used for rapidly initializing and standardizing a front-end and rear-end foundation engineering structure, the code template manages various front-end and rear-end codes in a classified mode, the layout template conducts layout classification on the view template, and the view template generates a visual view designer Schema; then, a user carries out configuration according to service requirements through the visual configuration interface, and a visual view is generated; and finally, according to user configuration and a defined template, quickly generating scaffold engineering and front and rear end codes which are adaptive to business requirements. Dynamic visual configuration is adopted for code generation logic, the flexibility and efficiency of code generation are greatly improved, the method is suitable for various software development scenes, the development cost can be effectively reduced, and the development period is shortened.
Owner:AVICIT CO LTD

Microservice code automatic generation method, system and equipment based on multi-level model and medium

The invention provides a micro-service code automatic generation method, system and equipment based on a multi-level model and a medium, and relates to the technical field of software development, the method comprises the following steps: according to system development stage characteristics and information dimensions, the system is subdivided into a multi-level model description framework comprising a demand model, an architecture model, a design model and a deployment model; and based on a mapping rule between a predefined model and a code, converting the multi-level model into an executable template code based on a Spring micro-service framework through a hierarchical code generation mechanism, so as to realize an automatic multi-level code generation process from demand to a final system. According to the method, the problems that in existing model driving code generation, input is not standard, generated codes are not complete, a complete information system is difficult to generate during large language model code automatic generation, and the codes are possibly inconsistent are solved, and a more efficient, standard and complete code automatic generation scheme is provided.
Owner:BEIHANG UNIV

Code language model-based generative knowledge graph construction method and device

The application aims to provide a code language model-based generative knowledge graph construction method and device, comprising the following steps: designing a structure-aware code prompt template, the code prompt template comprising a schema prompt template and a text prompt template; given a sample data pair comprising input text and a known knowledge graph, converting the sample data pair into a code prompt using the code prompt template, and converting test data comprising only test text into a code prompt; inputting the code prompt sample data pair and the test data into a large code language model, generating code encoding triples based on a prompt learning method, converting the code into structure triples, and constructing a knowledge graph based on the structure triples. The method and device perform a relationship triple extraction task in a code generation manner, enhance the pre-training model by explicitly modeling structure information, improve the structure understanding ability of the model, and further improve the performance of relationship triple extraction.
Owner:ZHEJIANG UNIV

Memory management method and device, equipment and storage medium

The invention discloses a memory management method and device, equipment and a storage medium, and the method comprises the steps: analyzing a template code in an editing stage of the template code of a Vue single file component, so as to determine each piece of target data; generating a rendering function by each piece of target data; running the rendering function to create a virtual DOM, and in the creation process, determining each target object conforming to the static mark management range; and recovering each target object to a pre-obtained memory management library. According to the method, firstly, the template codes are analyzed, the target data in the template codes are determined, then the rendering function is generated, the virtual DOM is created, all the target objects conforming to the static mark management range are determined, which data need to be subjected to memory management are determined, and finally the data are migrated to the independent memory management library. According to the method, the number of large and complex object graphs in a JavaScript heap is greatly reduced, and the traversal depth and calculation burden of a garbage collector are reduced.
Owner:创优数字科技(广东)有限公司

Generating code templates using multimodal analysis

The subject technology includes a code generation system for generating code templates for programming tasks. The code generation system may use image analysis to determine a context and / or requirements of a programming task that are captured in an image associated with the task. The code generation system may train one or more object detection models and / or language models using an image ground truth determined using a code mapping tool. The code generation system may generate code templates by combining multiple code fragments generated by the language models into a cohesive file. The code generation templates may be provided to one or more devices that may uses the templates to perform an action such as, for example, generating a piece of content using the template and / or training a next iteration of a code generation model based on the template.
Owner:ZETA GLOBAL CORP

System and methods of generating previews for content migration

A computer-implemented method is disclosed. The method includes: obtaining a stack trace associated with an error detected in connection with execution of a computer program by a processor; determining a location of the error within source code of the computer program based on the stack trace, wherein the source code contains a template code section and a custom code section; generating an error message for the error, wherein the generating includes: in response to determining that the error is located in the custom code section, appending a first representation of the stack trace to the error message; and in response to determining that the error is located in the template code section, formatting the error message to indicate a generic template code error, and presenting the error message via a computing device.
Owner:SHOPIFY INC

OSLC-based life cycle software tool adapter automatic generation method

The application discloses a kind of based on OSLC's life cycle software tool adapter automatic generation method, belong to system engineering field, including the following steps: configuration and store the meta-information of resource class and attribute to be exposed of life cycle software tool, data source interactive interface information and service discovery information;Based on Velocity engine, the respective template code of adapter part function module is developed, and using named variable is substituted at dynamic parameter;Load the resource configuration information of life cycle software tool to Velocity engine, call engine calculation and replace all placeholder named variables, generate adapter source code;The generated adapter code is exported and deployed as executable service.The method is used to realize the quick integration of life cycle management tool and OSLC ecology, solve the technical problems of high development cost, long cycle, maintenance difficulty in prior art.
Owner:ZHEJIANG UNIV

Compilation period code generation method and system and electronic equipment

The invention provides a compiling period code generation method and system and electronic equipment, and the method comprises the steps: obtaining a source code, generating an abstract syntax tree of the source code, extracting annotation information based on the abstract syntax tree, carrying out the classified storage of the annotation information, and obtaining a first mapping relation corresponding to class annotations and a second mapping relation corresponding to field annotations, the structural bodies in the abstract syntax tree are subjected to description conversion in a classified mode according to the first mapping relation and the second mapping relation, metadata used for describing the structural bodies are obtained, the metadata is associated with corresponding preset template files according to the second mapping relation, and the preset template files comprise template codes of plain texts. Performing code format conversion on the metadata according to an associated preset template file to obtain a to-be-compiled code file, and compiling the to-be-compiled code file to obtain an executable file corresponding to the source code; according to the method, code generation is realized in a non-intrusive manner in the compiling period, and the consistency, efficiency and safety of code generation are improved.
Owner:SHANGHAI WENDIE NETWORK TECH CO LTD

System and methods for contextual debugging of computer programs

PendingUS20260023676A1Software testing/debuggingStencil codeSource code
A computer-implemented method is disclosed. The method includes: obtaining a stack trace associated with an error detected in connection with execution of a computer program by a processor; determining a location of the error within source code of the computer program based on the stack trace, wherein the source code contains a template code section and a custom code section; generating an error message for the error, wherein the generating includes: in response to determining that the error is located in the custom code section, appending a first representation of the stack trace to the error message; and in response to determining that the error is located in the template code section, formatting the error message to indicate a generic template code error, and presenting the error message via a computing device.
Owner:SHOPIFY INC

Interface testing method, system, computer device and storage medium

The application relates to an interface test method, system, computer device and storage medium in the field of financial technology or other related fields. The method comprises the following steps: loading an interface test script in an interface test page; splitting the interface test script to obtain a plurality of code segments; the plurality of code segments comprise a data preparation code segment and a message template code segment; converting the message template code segment into a test message according to the data preparation code segment; sending the test message to a test node corresponding to the interface test page, so as to instruct the test node to call a corresponding interface under test, and perform interface test on the interface under test according to the test message. The method can reduce the interface test cost.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Form construction method and form constructor

The invention relates to the technical field of business process processing, and discloses a form construction method and a form constructor, and the method comprises the steps: taking a visual editing canvas generated according to a target scene and a corresponding overall JOSN as a reference, sequentially determining an operation event of a user on the visual editing canvas, determining a target component corresponding to the operation event, and setting the target component according to the operation event; and determining the target components and / or a component logic relationship between different target components, updating the visual editing canvas and the overall JSON in real time, and finally analyzing the overall JSON, determining a layout mode and a component type of the target components, and rendering the visual editing canvas to obtain a target form. According to the method, the JSON data can serve as a core carrier, the rendering logic and the service logic are decoupled, a developer can adjust the form function or interface without modifying template codes, the problems of repeated compiling of controls, verification and other codes are avoided, the development workload is reduced, it is ensured that the form interface styles are consistent, and the user experience is improved.
Owner:CITIC TELECOM INTERNATIONAL CPC LIMITED +1

Automated Patching for Source Code Modification

A computer program executes an automated process comprising: accessing the source code of a component application within a software application composed of plural component applications, the accessed source code of the component application including an instance of template code being source code recurring at multiple component applications within the software application to implement functionality consistently across the software application and being instantiated in source code as an instance of one of plural sequential versions; maintaining a template repository comprising the plural sequential versions of the template code; determining whether or not the version of template code currently being instantiated in the source code is the most recent of the plural sequential versions, and if not, implementing one or a sequence of patches configured to target the template code to update the version of template code currently being instantiated in the source code to the most recent version.
Owner:XERO

Life cycle software tool adapter automatic generation method based on OSLC

The invention discloses an OSLC-based life cycle software tool adapter automatic generation method, which belongs to the field of system engineering, and comprises the following steps: configuring and storing meta-information of to-be-exposed resource classes and attributes of a life cycle software tool, data source interaction interface information and service discovery information; on the basis of a Velocity engine, template codes of part of function modules of the adapter are developed, and name variables are used at dynamic parameters for occupation; loading resource configuration information of the life cycle software tool to a Velocity engine, calling the engine to calculate and replace all placeholder name variables, and generating an adapter source code; and exporting the generated adapter code and deploying the adapter code as a runnable service. The method is used for realizing rapid integration of a life cycle management tool and OSLC ecology, and solves the technical problems of high development cost, long cycle and difficult maintenance of an adapter in the prior art.
Owner:ZHEJIANG UNIV

Prompt implementation method and device based on code editor, equipment and medium

PendingCN121635868AIntelligent editorsCode compilationDatabase interfaceCode editor
The invention provides a prompt implementation method and device based on a code editor, equipment and a medium, and relates to the field of database interface application, and the method comprises the following steps: obtaining editing context information of a position where an editing cursor is located according to an input operation of a user in the code editor; sending the editing context information to a back-end service, and receiving response data from the back-end service; inserting a template code text at the current cursor position of the code editor; based on the position information of the placeholders, creating a corresponding visual decoration mark for each placeholder in a code editor, and positioning an editing cursor to an initial placeholder; and when the preset trigger event is monitored, skipping the editing cursor from the current placeholder to the target placeholder, and correspondingly updating the visual decoration marks of all the placeholders. According to the invention, the experience of code input and editing in the Web environment is improved.
Owner:WUHAN DAMENG DATABASE

Applet automatic construction method and device, computer device and medium

This application relates to a method, apparatus, computer device, and medium for automated mini-program construction. The method includes: receiving a mini-program construction request from a mini-program configuration center, the mini-program construction request including a tenant identifier and a mini-program platform identifier; obtaining mini-program template code from a code repository, and obtaining mini-program customized data corresponding to the tenant identifier from the mini-program configuration center, denoted as target customized data; dynamically injecting the target customized data into the mini-program template code to generate customized mini-program code; performing multi-dimensional verification on the customized mini-program code; and after passing the verification, constructing a mini-program code package based on the customized mini-program code, and uploading the mini-program code package to the mini-program platform corresponding to the mini-program platform identifier. This application can achieve separation of tenant configuration and core code, support dynamic injection of differentiated configurations for different tenants, and improve the reliability of the construction operation through pre-verification.
Owner:CHENGDU SHUANGLIU GAOJIAN INTERNET HOSPITAL CO LTD

Code data processing method and device, computer device and storage medium

ActiveCN115756571Bavoid instabilityDevelopment and management autonomy and flexibilityBusiness PersonnelSoftware engineering
The embodiment of the application belongs to the field of artificial intelligence, and relates to a code data processing method, comprising the following steps: obtaining business line names corresponding to respective business lines; extracting single certificate template codes corresponding to the respective business lines from a business system; creating business line code repositories corresponding to the respective single certificate template codes; storing the respective single certificate template codes in the respective business line code repositories; obtaining business personnel information corresponding to the respective business lines, and creating a corresponding relationship between the business personnel information and the business line code repositories; and based on the corresponding relationship, performing one-to-one permission management configuration of the business line code repositories on business personnel corresponding to the business personnel information. The application also provides a code data processing device, a computer device and a storage medium. In addition, the application also relates to blockchain technology, and the single certificate template codes can be stored in the blockchain. The application improves the management intelligence and security of the single certificate template codes of different business lines.
Owner:PING AN HEALTH INSURANCE CO LTD