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

78 results about "Handling Code" patented technology

A coded value specifying a special handling requirement for the material or object. EXAMPLE(S): keep at room temperature, store upright.

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

Intelligent code checking method and system based on DevOps

The invention provides an intelligent code checking method and system based on DevOps. The intelligent code checking method comprises the following steps that 1, a production line pulls a code; 2, obtaining a code checking type; 3, analyzing the language type of the code file; 4, calling a Prompt module interface to obtain a cue word; 5, constructing a query request by using the code language type, the code check type and the code content, and retrieving knowledge from the knowledge base; 6, processing the code content, the cue word and the knowledge base data to obtain model input data; 7, inputting the model input data into the LLM model to generate inspection content; 8, formatting the model generation content into an inspection result; and step 9, writing a check result into a database. According to the method, code checking is automatically carried out by integrating multiple LLM large models and knowledge bases, the accuracy and efficiency of code checking are improved, and the problems that in a traditional code checking method, the static checking effect is poor, checking rules are difficult to expand, and efficiency is low are solved.
Owner:GUANGZHOU CANWAY TECH CO LTD

Code modification method, system and equipment based on CURD scene and medium

The invention is applicable to the technical field of code development, and provides a code modification method based on a CURD scene, which comprises the following steps: acquiring a business demand of code modification, and acquiring a data model required by code modification according to the business demand; based on the data model, obtaining a code file related to a CURD scene during code modification; analyzing a calling relationship among functions related to the CURD scene in the code file, and constructing a function calling graph; on the basis of the service requirements and the data model, service code snippets are generated, the service code snippets are combined and modified to the code file, code modification of the service requirements can be processed, and development efficiency and code quality are further improved.
Owner:ANHUI SANQI JIYU NETWORK TECH CO LTD

Automated test identification and implementation in a database environment

A codebase system that maintains and utilizes a dynamic mapping between a collection of tests and files within a codebase to ensure error detection and code validity. The codebase system accesses a collection of tests configured to process files within the codebase to identify errors. It then generates a mapping by executing these tests to determine the specific files each test operates on. Upon detecting updates to the test collection, the codebase system updates this mapping by re-executing the updated tests, identifying the new set of files for each test, and aggregating these updates into the existing mapping. When changes to the files in the codebase are detected, the codebase system accesses the updated mapping to identify which tests relate to the altered files. The codebase system then executes this relevant subset of tests to validate the modifications made to the files.
Owner:GUSTO INC

Code generation method and device, equipment and storage medium

One or more embodiments of the invention provide a code generation method and device, equipment and a storage medium. The method comprises the following steps: acquiring content information related to code generation in a system analysis document; obtaining a set number of code files with the highest relevancy from a code library platform according to the content information; filtering the set number of code files by utilizing a text large language model to obtain code files to be processed; and changing the to-be-processed code file according to the content information to obtain a target code. According to the method, related code files are globally retrieved on a code library platform firstly, then a text large language model is used for filtering, context query of a warehouse level can be achieved, and the code files highly related to development requirements are obtained; the filtered code file is changed according to the system analysis document, the generated code better meets the actual requirement and can flexibly cope with the change of the requirement, and the code quality is improved.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Dynamic symbol execution and constraint analysis method based on automobile code abstract syntax tree

The invention relates to the field of code path analysis, in particular to an automobile code abstract syntax tree-based dynamic symbol execution and constraint analysis method, which comprises the following steps of: analyzing a programming language to generate an abstract syntax tree; initializing a dynamic symbol execution engine, traversing the abstract syntax tree by using the dynamic symbol execution engine, and accessing and analyzing nodes of the abstract syntax tree; performing simulation exploration on the instruction execution path according to a set operation instruction, and determining an executable code execution information transmission path according to code operation; processing codes through a constraint solver to execute information transmission path constraint, solving the path constraint, and judging whether a feasible solution exists or not; determining that an instruction path can be completed or giving an alarm for an instruction path with a problem; a signal transmission frequency is determined for a code execution information transmission path capable of instruction transmission. According to the method, the information capable of being executed in the code can reach the instruction target, and the code executable performance is improved.
Owner:BEIJING KEYWARE TECH CO LTD

High performance code parallelization compiler with loop level parallelization

A system and method for universal static multi-transmit CPU design with a static pipeline for automatically parallelizing code is presented. A multi-core and / or multi-processor integrated circuit (2) has a plurality of processing units (21) and / or processing pipelines (53) that simultaneously process instructions for data by executing parallel processing machine code (32). The execution of the parallelized processing code (32) by the parallel processing multi-core and / or multi-processor integrated circuit (2) comprises the occurrence of a delay time (26), wherein the delay time is given by an idle time between the processing unit (21) returning the data after processing a specific instruction block of the processing code (32) for the data and receiving the data required by the processing unit (21) to execute a consecutive instruction block of the processing code (32). The parallel pipeline (53) comprises means for: (i) forwarding by providing a data forwarding from a MEM stage as an EX / MEM register to an EX stage as an ID / EX-stage register; (ii) exchanging by making the results of the Ex-ME-phase registers accessible by the Ex phase of a parallel pipeline (53) to provide a result exchange between the pipelines; and (iii) implementing branch pipeline refresh by providing control conflicts by refreshing only those pipelines (53) dependent on one pipeline (53) based on branch address computation conditions.
Owner:MINATIX INC

Code running method and device for cross-platform programming language, equipment and medium

The invention discloses a code running method and device for a cross-platform programming language, equipment and a medium. The method comprises the steps of determining a script identifier of a to-be-run source code in response to a running operation on the to-be-run source code based on a second programming language; under the condition that the binary file associated with the script identifier is found in a preset cache library, deserializing the found binary file to obtain a to-be-processed code; and based on a target function library corresponding to the first programming language, performing annotation processing on the to-be-processed code, and running the to-be-processed code subjected to annotation processing on the target platform to obtain a target running result. The problems of low code processing efficiency, high cost and poor running result accuracy caused by rewriting a set of codes according to the programming language specification of another platform in the prior art are solved, and the effect of improving the code running efficiency and correctness of the cross-platform programming language is achieved while the code processing cost is reduced.
Owner:SUZHOU TONGYUAN SOFT CONTROL INFORMATION TECH CO LTD

Software development-oriented security processing method and device, equipment and medium

The invention relates to the technical field of data security, can be applied to business scenes of financial science and technology, medical health and the like, and discloses a security processing method, device and equipment oriented to software development and a medium. Obtaining an architecture design document to identify potential safety hazards and generate design improvement suggestions; generating a code based on the business logic description and the design improvement suggestion, and completing security detection and repair to obtain a processed code and a code repair record; performing security test on the processed code and recording a test result; collecting data of exception identification, hidden danger identification, code detection and repair and security test to update the security knowledge base; and generating a security analysis report based on the demand exception list, the design improvement suggestion, the code repair record and the test result. According to the invention, through a security identification and restoration process from demand to test, early discovery of security problems, linkage processing and knowledge self-updating are realized.
Owner:PING AN TECH (SHENZHEN) CO LTD

Code generation method, device and equipment based on AI, RPA and AI Agent

The invention provides a code generation method, device and equipment based on AI, RPA and AI Agent, and relates to the field of AI, RPA and AI Agent.The method comprises the steps that code description information is obtained; based on the AI processing code description information, at least one piece of reference instruction information is obtained, and the reference instruction information is used for describing a reference advanced instruction related to the target RPA code; processing the at least one piece of reference instruction information and the reference advanced instruction based on the AI to obtain at least one target advanced instruction; obtaining a code grammar of the target RPA code based on the AI Agent; and processing the code grammar and the at least one target advanced instruction based on the AI Agent to obtain a target RPA code. Therefore, on the basis of AI, RPA and AI Agent technologies, the generation convenience of the RPA code is improved, and the generation efficiency and effect are improved.
Owner:BEIJING BENYING NETWORK TECH CO LTD +1

Code task processing method and code repairing method

The embodiment of the invention provides a code task processing method and a code repairing method. The code task processing method comprises the steps of obtaining a to-be-processed code of a target code task; performing error analysis on the to-be-processed code, and running the to-be-processed code to obtain a running result under the condition of determining that the to-be-processed code does not comprise a code error based on an analysis result; when it is determined that the to-be-processed code fails to run based on the running result, a context code of the to-be-processed code is retrieved from a code warehouse; and processing the to-be-processed code according to the context code to obtain a code processing result. Through error analysis and operation of the to-be-processed code, the functionality of the to-be-processed code is ensured, the overall quality and stability of the to-be-processed code are further improved, warehouse-level code task processing is achieved by retrieving the context code in the code warehouse, the context code is utilized to process the to-be-processed code, automatic processing is achieved, and the processing efficiency of the to-be-processed code is improved. And the processing efficiency and accuracy are improved.
Owner:ALIBABA (CHINA) CO LTD

Method of processing code, method of processing exceptions and respective apparatuses

The embodiment of the present specification provides a method for processing code, a method for processing exceptions and respective devices, wherein the method for processing code comprises: reading a bytecode file generated after a program source code is compiled; locating a code region in a target method contained in the bytecode file which needs to capture an exception; and performing an exception capture block adding process on the code region based on a bytecode operation mode to obtain a processed bytecode file, wherein the exception capture block adding process comprises: adding a start label of a monitored block at the beginning of the code region, adding an end label of the monitored block at the end of the code region, and adding a corresponding exception processing block for the monitored block, wherein the exception processing block is used for processing an exception captured by the monitored block.
Owner:ALIBABA (CHINA) CO LTD

Code exception processing method and device

The invention discloses a code exception processing method and device. And a user-defined exception handling code segment corresponding to the at least one exception monitoring area is set in the WebAssessment byte code. And the virtual machine can execute the WebAssembly byte code corresponding to the application code. And then, according to the execution sequence of the code segment corresponding to the at least one abnormal monitoring area in the WebAssembly byte code, the information of the code segment starting from the at least one abnormal monitoring area is sequentially stored in a preset storage structure. And finally, in response to execution abnormity in any abnormal monitoring area, determining the depth of a virtual machine stack frame corresponding to the abnormal monitoring area from a preset storage structure, recovering the depth of the virtual machine stack frame, and pressing a variable used for identifying an execution abnormity processing code segment into the virtual machine stack frame. And skipping to an exception processing code segment corresponding to the exception monitoring area, and processing the exception.
Owner:BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD

A multi-position defect repair method based on repair sequence scheduling and multi-agent cooperation

PendingCN122633564AHandling CodeAlgorithm
The application discloses a multi-position defect repairing method based on repairing sequence scheduling and multi-agent cooperation. First, the defect analysis agent is used to identify the code error root cause and generate a defect analysis report. Then, the report, error code, local context, failed test cases and test error information are combined to build a repair context. Then, the multi-agent architecture is used to iteratively generate patches: the coordinator agent analyzes the dependency relationship between code blocks and schedules the repair sequence, the proposer agent generates a local candidate patch, and the coordinator evaluates and selects the optimal patch. Repeat the process until all repairs are completed and a complete patch is assembled. Finally, according to the compilation error and test failure report, the patch is executed in two stages of syntax and semantics refinement. The application overcomes the defects of the existing large model repairing method, such as lack of sequence scheduling and difficulty in handling code block dependencies, and realizes efficient repair of complex multi-position defects.
Owner:NANJING UNIV OF SCI & TECH

Code processing method and device, electronic equipment, storage medium and computer program product

The invention relates to a code processing method and device, electronic equipment, a storage medium and a computer program product. The code processing method comprises the following steps: performing word segmentation processing on a to-be-processed code to obtain a code sequence comprising at least one code unit; on the basis of the characteristic parameters of any code unit in the code sequence, the correlation degree between any code unit and other code units except any code unit in the code sequence is determined; wherein the correlation degree is used for representing the degree of dependence between any code unit and other code units; based on the correlation degree corresponding to each code unit, respectively determining a highlight parameter of each code unit; wherein the highlight parameter is used for performing highlight display on the code unit. According to the embodiment of the invention, code highlighting can be realized by using the same word segmentation rule in different programming languages, so that the universality of realizing code highlighting is improved.
Owner:BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Software development scheme generation method and system

The invention discloses a method and system for generating a software development scheme, and belongs to the technical field of software development, and the method comprises the steps: collecting system resource occupation data and thread operation data during multi-user concurrent operation, segmenting the system resource occupation data into resource fragments according to time dimensions, positioning resource competition points, and generating conflict mark data; constructing a thread execution graph based on the conflict mark data, identifying mutually exclusive resource points, constructing a double-layer distributed queue, setting a resource state monitor to dynamically allocate thread priorities, and generating scheduling processing codes; monitoring the running state of the scheduling processing code, and splitting the thread into a plurality of sub-threads for parallel execution when detecting that the thread is blocked; and collecting an execution result, recording the execution path with the shortest response time and the highest resource utilization rate as a scheduling template, and generating a software development scheme. According to the method, the utilization efficiency of system resources is improved through dynamic scheduling and parallel processing, and the thread blocking probability is reduced.
Owner:WUHAN PENTASTAR TECH CO LTD

A log collection method

PendingCN123114893AHandling CodePathPing
This application provides a log collection method, which includes: scanning the intermediate representation of the target assembly during the compilation phase; statically embedding start timestamp collection logic and input parameter serialization logic at the entry point in the intermediate representation of the target method; statically embedding output parameter and / or return value serialization logic at the exit points of each normal return path; and statically embedding logic for calculating execution time based on the start timestamp at the exit points of each normal return path and in the fallback exception handling code segment; enabling the target method to automatically output standardized logs at runtime. This application achieves automatic injection of log collection logic into the target method during the compilation phase, thereby automatically outputting standardized logs covering all dimensions of information such as function entry, exit, exceptions, and execution time without manual instrumentation, changes to business code, or runtime dynamic proxy / reflection overhead.
Owner:BEIJING SEMICON EQUIP INST THE 45TH RES INST OF CETC

Method, system, electronic device and storage medium for generating exception handling table

The present application provides a method, system, electronic device and storage medium for generating an exception handling table, the method comprising: obtaining a statement block to be parsed, the statement block to be parsed comprising an execution statement and an exception handling statement; based on a stack structure, respectively performing corresponding push marks on the execution statement and the exception handling statement to obtain a marked statement block containing marking information; according to the stack order of the stack structure, sequentially compiling and parsing the marked statement blocks to obtain an intermediate code containing marking information, the intermediate code comprising an execution code and an exception handling code; through the marking information and the stack order, filtering and removing the exception handling instructions from the execution code, generating an exception handling table, the exception handling instructions comprising the exception handling code. The embodiment of the present application aims to reduce the entries of the exception handling table and realize the operation of the exception handling mechanism on a resource-constrained device.
Owner:EASTCOMPEACE TECH

Code submission event processing method and device, equipment, medium and program product

The invention discloses a code submission event processing method, device and equipment, a medium and a program product, which are applied to the field of financial science and technology, and the method comprises the following steps: receiving each code submission event through each event processing node in a first cluster, and writing the monitored code submission event into a database; executing the code processing task through each task processing node in the second cluster; deleting the target code submission event after task processing from the database, and updating the processing state of the target code submission event; and additionally writing the abnormal code submission event into the database of the first cluster through the monitoring node in the first cluster when detecting that the abnormal code submission event which is not monitored exists. According to the embodiment of the invention, a distributed architecture that the first cluster processes the code submission event and the second cluster executes the code processing task is adopted, so that the code submission event can be ensured to be stored without omission even under the condition of high concurrency, and the stability and availability of the system are ensured.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

Data processing method and device, equipment and medium

The embodiment of the invention discloses a data processing method and device, equipment and a medium. The method can comprise the following steps: after obtaining data table information and task demand information for processing data corresponding to the data table information, determining a plurality of candidate links for processing the data; wherein the type of the code adopted by any candidate link in the plurality of candidate links is different from the types of the codes adopted by other candidate links; determining a first processing code set based on the task demand information and the plurality of candidate links; wherein the first processing code set comprises processing codes obtained by performing code conversion on the task demand information according to code types corresponding to the candidate links; afterwards, semantic consistency verification is conducted on simulation execution results of all the processing codes in the first processing code set, a second processing code set is obtained, and then a target processing code is determined from the second processing code set.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Python-based interface interaction method and device, equipment, storage medium and product

The invention discloses an interface interaction method and device based on Python, equipment, a storage medium and a product. The method comprises the steps of determining an interaction function component in response to an interaction operation on an interface component in a target interaction interface; the target interaction interface is obtained by performing interface rendering based on the script language character string; the script language character string is obtained by performing format conversion on a target character string; the target character string is obtained by performing template character string extraction operation on an obtained to-be-processed code realized based on Python; and determining and calling a component function corresponding to the interaction function component, generating a function execution result, and displaying the execution result in a code compiling area to which the to-be-processed code belongs. According to the technical scheme, the learning experience feeling based on python programming teaching is improved, the learning understanding degree of students in the teaching process is enhanced to a certain degree, and the interactivity and expressive force of the teaching process are enhanced.
Owner:BEIJING SIMING QICHUANG TECH CO LTD

Method and device for copying JAVA component, equipment and medium

The embodiment of the invention relates to the technical field of JAVA components, and discloses a copying method and device of a JAVA component, equipment and a medium, the method comprises the following steps: after obtaining the JAVA component to be copied, compiling the JAVA component to be copied into an abstract syntax tree; obtaining elements from preset annotation information, wherein the elements are modification codes for annotating and marking the abstract syntax tree by calling an annotation device by a user; and after codes of the abstract syntax tree are modified based on the elements, exporting a byte code file corresponding to the JAVA component to be copied according to the modified abstract syntax tree. By applying the technical scheme, the whole JAVA component to be copied can be directly processed, code content does not need to be processed line by line, the processing flow can be simplified, the processing time consumption can be shortened, and the processing efficiency can be improved; and the whole process does not need to additionally occupy a processing memory, computer resources can be released, and the utilization rate of the resources is improved.
Owner:AVATR CO LTD

Code management method and device, computer equipment, readable storage medium and program product

The invention relates to a code management method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the steps of obtaining a to-be-processed code text, and identifying a workflow node field identifier in the to-be-processed code text; reading code data between two adjacent workflow node field identifiers to obtain a row code; and generating a modified code text according to the line code. By adopting the method, the convenience of code management can be improved.
Owner:SHANGHAI PUDONG DEVELOPMENT BANK

Handling of lifecycle and delivery for code list values

A method, a system, and computer program product for managing data are provided. A request to access data from a table including the data and metadata associated with the data is received. The request to determine one or more relevant portions of the data is processed. A file corresponding to the one or more relevant portions of the data is generated by using the metadata. A repository object is generated from the file. A response to the request is transmitted. The response can provide access to update the relevant portions of the data in the repository object.
Owner:SAP SE

Code editing method and apparatus, device, and storage medium

The embodiments of the present disclosure relate to a code editing method and apparatus, a device, and a storage medium. The method provided herein comprises: based on a received code editing request, determining a first group of context information associated with a code editing request; constructing target information corresponding to the code editing request, wherein the target information at least represents an editing scenario of the code editing request; based on the target information, determining a second group of context information from among the first group of context information; and constructing prompt information of a target model based on the second group of context information, so as to process the code editing request by using the target model. In this way, the embodiments of the present disclosure allow for information collected from a code repository to be sorted and concatenated according to user coding intent, ultimately constructing prompt information for reasoning, so as to process the code editing request of the user, thereby improving the accuracy of code editing request processing.
Owner:DOUYIN VISION CO LTD

System and method for reducing context length in processing codebase using large language model

A method and system for reducing context length in processing a codebase using large language model (LLM) are disclosed. The method includes receiving the codebase including multiple files for processing, generating, via the LLM, summaries based on the multiple files, and subsequently organizing the summaries based on a structure of the codebase. The method further includes determining a downstream task, determining whether the downstream task requires a summary of a code or the code itself, and transmitting the summary or the code to the downstream task for executing the downstream task.
Owner:JPMORGAN CHASE BANK NA

Method, device, equipment, storage medium and program product for testing interface

The present disclosure provides a method, device, electronic device, computer-readable storage medium and computer program product for testing an interface, and relates to the fields of artificial intelligence technology such as data processing, code testing and cloud platforms. A specific implementation of the method includes: obtaining an interface name and a code set provided by a user for the interface to be tested; based on the interface name, determining the target code associated with the interface to be tested from the code set; generating a test case for the interface to be tested according to the test parameters indicated by the target code; using the test case to test the interface to be tested, and generating an interface test result. This implementation can test the interface after generating a test case based on the code parsing result, so that the user only needs to provide the interface name of the interface to be tested and the related code set, so as to achieve the purpose of testing the interface to be tested that needs to be tested in the code set, simplifying the difficulty of the user's testing of the interface and improving the testing efficiency.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD

Code processing method and device based on large language model, electronic equipment, storage medium and program product

The embodiment of the invention relates to the field of computer technologies, large model technologies, large language model technologies, intelligent agent technologies and artificial intelligence technologies, and discloses a code processing method and device based on a large language model, electronic equipment, a storage medium and a program product. The method comprises the steps of obtaining first code content associated with a to-be-processed code, and obtaining first performance detection data of the to-be-processed code; generating performance data information of the to-be-processed code according to the first code content and the first performance detection data; performance analysis is conducted on the to-be-processed code on the basis of the first code content and the performance data information through a large language model, a code optimization suggestion of the to-be-processed code is generated, and the code optimization suggestion is used for conducting optimization processing on the to-be-processed code. By means of the technical scheme, the accuracy and practicability of the code optimization suggestions generated by the large language model can be improved.
Owner:BEIJING VOLCANO ENGINE TECH CO LTD

Computer-aided design drawing rollover method, device and equipment, medium and product

The invention provides a computer-aided design drawing rollover method, device and equipment, a medium and a product, and relates to the technical field of computer-aided design drawing rollover. The method comprises the following steps: triggering an initialization operation by a drawing file; analyzing the drawing to obtain a rollover intermediate result; extracting and processing the drawing to obtain primitive structured information; establishing a knowledge network according to the structured information, and carrying out initialization storage on the structured information; responding to the user interaction operation to obtain verification input information and turnover result confirmation information; intelligent prompt information is obtained through input information and network verification; if the confirmation information is not passed, responding to the user question description operation to obtain a to-be-improved question; obtaining a target processing code according to the to-be-improved problem; and updating the intelligent agent through the processing code, and skipping to the step of analyzing the drawing to obtain a rollover intermediate result until the confirmation information passes, thereby obtaining a final rollover result. The intelligent agent is updated by the target processing code, and the efficiency and the accuracy of model turning are improved through an iteration process of problem detection-code generation-re-execution.
Owner:CHINA UNITED NETWORK COMM GRP CO LTD +1