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

39 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.

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

High performance code parallelization compiler with loop level parallelization

PendingCN121399576ACode compilationHandling CodeComputer architecture
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

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

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

ActiveCN114528204BError detection/correctionHandling CodeSoftware engineering
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

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

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

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

PendingCN121879833ACode refactoringCode generationHandling Code
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

Code editing method and apparatus, device, and storage medium

PCT designated stageWO2025222808A1Intelligent editorsProgramming languageHandling Code
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

ActiveUS12430124B2Program documentationProgramming languageHandling Code
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

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

Task processing method and apparatus, electronic device, and storage medium

PendingCN122332063AExecution planHandling Code
This disclosure provides a task processing method, apparatus, electronic device, storage medium, and computer program product, relating to the field of artificial intelligence technology, and particularly to the fields of data processing and intelligent agents. The method includes: using a first intelligent agent to parse at least one of natural language instructions and spreadsheet documents to determine a main task objective; dividing the main task into multiple subtasks with sequential and dependent relationships; for each subtask, using the first intelligent agent to determine an execution plan for the current subtask based on the main task objective and the execution result of the previous subtask; using a second intelligent agent to generate and execute processing code related to the spreadsheet based on the execution plan to obtain the execution result of the current subtask; using a third intelligent agent to match the execution result of the current subtask with the expected objective to determine a valid processing result for the current subtask; and using the first intelligent agent to determine a target processing result based on the valid processing results of each of the multiple subtasks.
Owner:BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD

Detection method for infrared movement program exception and storage medium

PendingCN120687342ARedundant data error correctionHandling CodeExternal storage
The invention relates to a detection method for infrared movement program exception and a storage medium, and belongs to the field of embedded software. Comprising the steps that a guide information structure is arranged in an infrared movement soft core code, and the guide information structure comprises a mark head, a running address, a code length and a check code; detecting whether an external memory is normal or not by judging screen data, detecting whether a nonvolatile chip is normal or not by reading nonvolatile chip data, detecting whether a soft core code is complete or not based on the boot information structure, and calling a resident code by interrupting an exception handling code to obtain exception information. According to the method, whether system hardware is normal or not is quickly judged by detecting whether an external memory and a nonvolatile chip are normal or not, whether program exception is caused by software or hardware or not is quickly judged by setting a boot information structure in codes to detect whether the codes are complete or not, and exception information is obtained by calling resident codes to judge program exception reasons. The problem is quickly positioned, and the program exception detection efficiency is improved.
Owner:ZHEJIANG DALI TECH

Code package detection processing method and device, electronic equipment and storage medium

The embodiment of the invention provides a code package detection processing method and device, electronic equipment and a storage medium. The method comprises the steps that code package attribute information corresponding to a to-be-processed code package is determined, the to-be-processed code package corresponds to a first version code package and a second version code package, and the code package attribute information is used for indicating functions included in the code package and source files to which the functions belong; according to the code package attribute information of the first version code package and the code package attribute information of the second version code package, target positioning information corresponding to the first version code package is determined, and the target positioning information is used for indicating a source classification result causing the size increment change of code packages generated by the first version code package compared with the second version code package; and performing code optimization on the first version code package according to the target positioning information. According to the scheme, the unnecessary code quantity can be reduced, the code execution efficiency and maintainability can be improved, the code development and maintenance cost can be reduced, and the code adaptability and stability are enhanced.
Owner:BEIJING ZITIAO NETWORK TECH CO LTD

Code processing method, code repairing method and model request processing method

ActiveCN120950373AError detection/correctionProgramming languageHandling Code
The embodiment of the invention provides a code processing method, a code repairing method and a model request processing method.The code processing method comprises the steps that a to-be-processed code is obtained; calling a code processing model, analyzing the to-be-processed code, and obtaining code debugging information which is used for debugging the code logic of the to-be-processed code; calling a code debugging component, and debugging and running the to-be-processed code based on the code debugging information to obtain a code running result; and according to the code operation result, processing the to-be-processed code to obtain a processed target code. Therefore, the code processing model can actively interact with the code debugging component based on the code debugging information to obtain the code running result, and the code to be processed is flexibly, deeply and dynamically analyzed based on the code running result and the code logic of the code to be processed is debugged like experienced human developers. And the to-be-processed code is efficiently and accurately processed.
Owner:ALIBABA (CHINA) CO LTD

Code positioning method and related equipment

The embodiment of the invention discloses a code positioning method and related equipment, and relates to the technical field of computers. According to the embodiment of the invention, after a trigger action aiming at a target page is detected, a trigger event is obtained, the trigger event carries position information of the trigger event, then at least one code calling instruction is generated based on the trigger event, and an event processing code corresponding to the trigger event is called based on the code calling instruction. According to the event processing code and the position information, a code jump instruction corresponding to the trigger event is screened out from a preset code calling instruction set, then based on the code jump instruction, a target code corresponding to the trigger event is positioned in the code of the target page, and finally a code positioning page is displayed. The code positioning page comprises the code position of the code associated with the trigger action. According to the method and the device, the code position corresponding to the current page element can be quickly positioned.
Owner:SHENZHEN WANGYU COMPUTER NETWORK CO LTD

Hot patch implementation method and system based on program defect dynamic detection and redirection replacement

The invention discloses a hot patch implementation method and system based on program defect dynamic detection and redirection replacement, and belongs to the technical field of computer software security. According to the method, a dynamic addressing technology for a fault code in a memory space during terminal operation is adopted, a fault code address is positioned by aggregating process memory mapping and byte code signature information, code loading is processed in combination with a memory patch fragmentation injection mechanism, so that isolation and independence of patches are realized, a patch instance in a memory state is obtained, and the service life of the patch is prolonged. A hot patch execution model based on dynamic redirection replacement is constructed, and a complete execution context is aggregated by backing up and reusing an original instruction. Compared with a traditional shutdown updating or static patch tool, the method can more comprehensively adapt to different platforms, the problems of repair failure and service interruption caused by dependence on a fixed address and a specific environment in a traditional method are solved, and the repair precision and the system availability are improved.
Owner:NANJING UNIV OF SCI & TECH

A method for reducing code coupling based on abstract policy

ActiveCN117573086BCode compilationCreation/generation of source codeHandling CodeCode coupling
The application provides a method for reducing code coupling based on an abstract strategy, and belongs to the technical field of data processing, and specifically comprises the following steps: determining the reference business data source and the reference business data of a logical judgment code block based on the recognition result of a keyword, and determining the coupling evaluation result of the logical judgment code block in combination with the use data of a logical statement; determining the coupling evaluation result of the to-be-processed code through the coupling evaluation results of different logical judgment code blocks and the initial coupling evaluation result, determining the evaluation result of the to-be-processed code according to the coupling evaluation result and the code amount, and when the evaluation result does not meet the requirement, performing abstract processing on the reference business data of the logical judgment code block to obtain a parent class interface, and performing decoupling processing on the logical judgment code block of the to-be-processed code according to the parent class interface, so that the coupling of the to-be-processed code is reduced.
Owner:HANGYIN CONSUMER FINANCE CO LTD

Formalized verification method and device based on intelligent model interaction

PendingCN122046360Aensure certaintyensure provabilityPlatform integrity maintainanceInference methodsHandling CodeLinguistic model
The invention provides a formalized verification method and device based on intelligent model interaction, and relates to the technical field of computer data processing.The method comprises the steps that security constraint conditions input by a tester in a natural language are received, and a user security attribute constraint file is generated according to the security constraint conditions; according to the user security attribute constraint file, generating a source code preprocessing request through the thinking chain template; wherein the source code preprocessing request at least comprises multi-dimensional information of a preprocessing target, code function description, a to-be-processed code text, a thinking chain cue word and a format requirement; according to the source code preprocessing request and a to-be-verified source code, generating a preprocessed source code inserted with a safety assertion through large language model reasoning; performing formalized verification on the preprocessed source code, and generating an intermediate file in the formalized verification process; and according to the intermediate file, performing analysis based on the semantic analysis prompt word template, and outputting a natural language prompt corresponding to the optimization direction to a tester.
Owner:CHINA ACADEMY OF INFORMATION & COMM

A hybrid quantum computer and a method of processing code on a hybrid quantum computer

PendingGB2638956AQuantum computersHandling CodeQuantum circuit
Processing code for a hybrid quantum computer with a classical and quantum processor comprises: processing hybrid code using the classical processor to extract a data structure, e.g. a graph, with quantum and classical instructions; processing the data structure using symbolic execution; determining the presence of an instruction in the data structure to perform a quantum operation; preparing a quantum circuit corresponding to the quantum operation S205; continuing to process the data structure using symbolic execution S209 to identify an instance of the use of the result of the quantum operation; and running the quantum circuit on the quantum processor, such that the running of the quantum circuit is deferred S207 until at least one further instance of the use of the result of the quantum operation has been determined S211. After determining, it is selected: running the quantum circuit to concretize the result S215; enlarging the quantum circuit to incorporate instructions defining the use of the further instance of the result by folding the instructions into the quantum circuit S217. Selecting may depend on a threshold related to size (e.g. number of gates) of the quantum circuit and coherence time of the qubits.
Owner:OXFORD QUANTUM CIRCUITS LTD

Method and system for automatically managing micro-service API (Application Program Interface) based on directory tree and configurable code

The embodiment of the invention provides a micro-service API automatic management method and system based on a directory tree and a configurable code, and relates to the technical field of computer software development and micro-service architecture.The method comprises the steps that firstly, the directory tree and a configurable code file under a micro-service preset root directory are monitored in real time, and change information is generated; extracting directory path features and code file content features, and generating API interface associated data; constructing an API interface address according to the associated data, binding code file content features, submitting the code file content features to a micro-service registration center to complete automatic registration, and generating a registration information set; receiving an API access request of an external client, analyzing the target interface address and matching the target configurable code file; and calling a code analysis execution module to process the code file, generating a response result and feeding back the response result to the client. According to the invention, the automatic management of the micro-service API is realized, and the efficiency and the accuracy are improved.
Owner:GUANGDONG MAISHI INTERNET TECH CO LTD

Systems and methods for reviewing code

PendingUS20260133779A1Error detection/correctionMachine learningProgramming languageStructural representation
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 reports.
Owner:KORBIT TECHNOLOGIES INC

Webpage processing with large language models

A method for processing computer code in order to identify an attribute of the code may comprise receiving a block of code; processing the block of code to identify at least one relevant chunk, generating a set of prompts, each of the set of prompts comprising a respective relevant chunk, and an instruction for a machine learning model configured to cause the machine learning model to generate an output based on the respective relevant chunk. From there, the method may include transmitting the set of prompts to the machine learning model, and generating a conclusion regarding the received block of code based on a set of outputs received from the machine learning model in response to the set of prompts.
Owner:PAYPAL INC

File handle coding method and device, equipment, storage medium and program product

The invention relates to a file handle coding method and device, equipment, a storage medium and a program product. The method comprises the following steps: determining basic metadata corresponding to a file; determining a version number of a target advanced characteristic of the file; first coding is carried out on the basic metadata to obtain first coding data, second coding is carried out on a version number of a target advanced characteristic of the file to obtain second coding data corresponding to the target advanced characteristic, and the first coding and / or the second coding are / is variable-length coding; and generating a file handle of the file based on the first coded data and second coded data corresponding to the target advanced characteristic. By adopting the method, the file access efficiency can be improved while the space is saved.
Owner:SUGON INFORMATION IND +1

Code generating process for generating stream processing code

A method of improving a code generating process for generating stream processing code. A user input is received and a user intent to generate a stream processing code is extracted from the user intent by a supervising agent. The user input is routed to a code-generating workflow based on the user intent by the supervising agent. The stream processing code and a test file generated by the code-generating workflow are received by a validation agent. The stream processing code is validated using the test file by the validation agent. A validation report indicating whether the stream processing code is valid is generated by the validation agent. The validation report is received and the stream processing code is transmitted to a user by the supervising agent in response to the validation report indicating that the stream processing code is validated.
Owner:INTUIT INC

Code checking and repairing method and device

PendingCN121209881AError detection/correctionCode compilationStatic checkHandling Code
The embodiment of the invention provides a code checking and repairing method and device, and relates to the field of data processing, the method comprises the steps of obtaining a to-be-processed code, compiling the to-be-processed code, determining a compiling result, when the compiling result is that compiling fails, repairing the to-be-processed code through a large language model to obtain a first code, and when the first code is successfully compiled, performing static check on the first code to obtain a static check result, when the static check result is that the static check fails, repairing the first code through the large language model to obtain a second code, and when the static check of the second code is qualified, testing the second code to obtain a test result. And when the test result is that the test fails, repairing the second code through the large language model to obtain a third code, and when the third code is tested to be qualified, outputting the third code as a target code of the to-be-processed code. And the code repair accuracy is improved.
Owner:BEIJING KNOWNSEC INFORMATION TECHNOLOGY CO LTD

Method for processing a code based on a large model, electronic device, and storage medium

A method for processing a code based on a large model in a human-machine interaction system is performed by an electronic device and includes: obtaining a first dialog text for describing a code processing task; determining at least one of a newly added code file or an original code file as a target code file corresponding to the code processing task; inputting the first dialog text into a large model, and outputting, via the large model, a code processing result of the target code file and a second dialog text corresponding to the first dialog text; and displaying the code processing result and a target dialog text on an interaction interface, wherein the target dialog text comprises at least one of the first dialog text or the second dialog text.
Owner:BEIJING BAIDU NETCOM SCI & TECH CO LTD