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

125 results about "AN codes" patented technology

AN codes are error-correcting code that are used in arithmetic applications. Arithmetic codes were commonly used in computer processors to ensure the accuracy of its arithmetic operations when electronics were more unreliable. Arithmetic codes help the processor to detect when an error is made and correct it. Without these codes, processors would be unreliable since any errors would go undetected. AN codes are arithmetic codes that are named for the integers and that are used to encode and decode the codewords.

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

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

Code dynamic completion method for large language model

The invention provides a code dynamic completion method for a large language model. The method comprises the following steps: constructing a mixed training data set; the method comprises the following steps of: initializing a Transform model architecture fused with probability space topological transformation; based on the mixed training data set, executing model training of collaborative optimization of the main target and the auxiliary target; in each step of decoding, the model calculates the probability distribution of the next token according to the current context; the generated probability distribution is restrained in an effective probability subspace through spherical probability mapping, and grammar error candidates are filtered in real time and the probability distribution is adjusted in combination with a tabu table mechanism; and dynamically selecting a sampling strategy according to the current decoding depth, sampling from the adjusted probability distribution to obtain a next code snippet, and finally generating a code completion suggestion conforming to abstract syntax tree rules and semantic constraints. According to the method, the probability distribution constraint and the taboo table mechanism are combined, the model can dynamically adjust the generated probability distribution, the more appropriate candidate token can obtain the higher probability, and therefore the accuracy of code completion is improved.
Owner:SHENZHEN HAIYUNAN NETWORK SECURITY TECH CO LTD

Semiconductor memory device and operating method thereof

An example CXL (Compute eXpress Link)-based memory module includes a memory device and a controller. The memory device includes a plurality of volatile memory cells and stores data or reads the stored data. The controller communicates with a host device through a CXL interface and controls the memory device. The controller includes an error correction code (ECC) circuit that generates a first codeword by adding a parity vector generated based on Reed-Solomon encoding to data received from the host device, an error injecting circuit that generates an error symbol and generates a second codeword by injecting the error symbol into at least a portion of the first codeword, and a memory device interface that controls the memory device such that the second codeword where the error symbol is injected is stored in the memory device. The controller determines a number of error symbols to be injected into the second codeword.
Owner:SAMSUNG ELECTRONICS CO LTD

Method and device for determining code patch, equipment and storage medium

The invention provides a method and device for determining a code patch, equipment and a storage medium, and the method comprises the steps: generating a test case for a set fragment in a to-be-tested file by executing a first large language model; running the test case for the to-be-tested file; if the error description of the test failure is obtained, inputting the error description and the problem code block into a second large language model to obtain at least one code patch for the problem code block; wherein the at least one code patch is obtained by the second large language model according to at least one code repair strategy through a cluster search mode; the at least one code patch is in one-to-one correspondence with the at least one code repair strategy; a final patch is determined from the at least one code patch and the set segment is replaced. According to the method, the test case is automatically generated through the first large language model, the patch is automatically generated for the problem code block through the second large language model, and the automation degree and efficiency of the test are improved.
Owner:WEBANK (CHINA)

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

The invention provides a code annotation 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 a to-be-annotated RPA code is obtained from an initial RPA code based on a code annotation type, and the to-be-annotated RPA code comprises at least one code structure body; processing the at least one code structure body based on the AI and the code annotation type to obtain a target code annotation of the to-be-annotated RPA code; determining a code annotation position of the to-be-annotated RPA code; and inserting the target code annotation into the code annotation position in the initial RPA code. Therefore, on the basis of AI, RPA and AI Agent technologies, the generation time consumption of the code annotation is effectively shortened, and the generation accuracy of the code annotation is effectively improved.
Owner:BEIJING BENYING NETWORK TECH CO LTD +1

Automatically generating code using a codebase-specific structure configuration

A computerized method generates a structure configuration from a codebase and generates application code using the structure configuration. Code examples of the codebase are obtained, and a structure configuration is generated using the obtained code examples and a standard configuration dataset. The structure configuration includes code components specific to the codebase. Labels that are indicative of component attributes are assigned to the code components of the structure configuration. A code generation request is received, and the request is converted into a plurality of feature prompts. At least one code component is mapped to each feature prompt based on semantic similarity of the feature prompt to a label of the mapped code component. Application code is generated using the mapped code components. The generated application code is deployed for execution. This method enables the automatic generation of code that conforms to common patterns and accurately exhibits the features requested.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Method, device, apparatus and storage medium for code parameter verification

According to embodiments of the present disclosure, there are provided a method, an apparatus, a device and a storage medium for code parameter verification. In a method, a parameter verification request for target code is detected; in response to detecting a parameter verification statement, at least one code segment is extracted from the target code that matches at least one predetermined statement type of a plurality of predetermined statement types; and a verification statement for at least one parameter of the target code is generated, with a trained machine learning model, based on the at least one code segment, the verification statement being configured to verify validation of the at least one parameter, where the machine learning model is trained based on a sample code set and sample verification statement for parameters of sample code in the sample code set.
Owner:BEIJING VOLCANO ENGINE TECH CO LTD

Information transmission method and apparatus

This application provides an information transmission method and an apparatus. In the method, a sending device sends a first bit sequence to a receiving device. Optionally, the first bit sequence is an information bit sequence, or the first bit sequence is an information bit sequence obtained through first encoding. The sending device receives a second bit sequence from the receiving device. The sending device sends a first code block to the receiving device, where the first code block is obtained based on a first error pattern and a first check matrix. The first error pattern is determined based on the second bit sequence and the first bit sequence.
Owner:HUAWEI TECH CO LTD

Code detection method and related equipment

The embodiment of the invention provides a code detection method and related equipment. The method comprises the steps of obtaining a to-be-detected data code; the data code comprises a plurality of code blocks, and code content in one code block is used for describing one function service; constructing a graph structure based on the code content of each code block in the data code and the dependency relationship among different code contents; the graph structure comprises a plurality of vertexes and connecting edges, one vertex is used for storing code contents of one code block, and one connecting edge is used for indicating a dependency relationship between the code contents stored in the connecting vertexes; in the code detection processing process of the data code according to the graph structure, determining a reference vertex supporting parallel detection from the graph structure; and performing parallel detection processing on the code content stored in the reference vertex to obtain a detection result of the data code. Through the embodiment of the invention, the code detection efficiency can be effectively improved.
Owner:TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Code integrator

A method comprises: displaying a first code snippet from a first code in a first panel; displaying an annotation related to the first code snippet in a second panel; receiving a code customization request; customizing the first code snippet in response to the request; displaying a preview of executing the code having the customized first code snippet in a preview window; inserting and running the code having the customized first code snippet in an application; and completing a transaction with the application running the first code with the customized first code snippet.
Owner:STRIPE LLC

Code block identification method and apparatus

This application discloses a code block identification method and related apparatus. The method includes: obtaining a code block stream, where the code block stream includes a first code block; determining a to-be-identified bit pattern and comparing the to-be-identified bit pattern with a template bit pattern to obtain a quantity of inconsistent bits; and identifying the first code block as a first boundary code block when the quantity of inconsistent bits is less than or equal to a first threshold. The to-be-identified bit pattern includes a first bit pattern and corresponds to the first code block. The template bit pattern includes a first template bit pattern and corresponds to the first boundary code block.
Owner:HUAWEI TECH CO LTD

Data processing method and related equipment

The invention provides a data processing method and related equipment. The method comprises the steps of obtaining an original code file; determining a coding format corresponding to each code block in the original code file according to the compiling instruction; and compiling the at least one code block into a target execution file according to the coding format corresponding to each code block. The target execution file comprises at least one segment, and each segment comprises a segment identifier and at least one sub-module. The segment identifier is used for indicating the type of the code block corresponding to the segment. The sub-module includes a sub-module option and a sub-module code. The sub-module options are used for indicating coding formats corresponding to the sub-module codes. The sub-module code comprises at least one data sequence or identification information corresponding to the at least one data sequence, and each data sequence is determined according to a coding format indicated by the sub-module option and a corresponding code block. According to the method, the code blocks are coded in a standardized mode to generate the target execution file, so that cross-platform operation of the target execution file is realized, and the operation efficiency is improved.
Owner:HUAWEI TECH CO LTD

Joint context and application optimization HARQ

The invention relates to a hybrid automatic repeat request (HARQ) with joint context and application optimization. For example, an apparatus is disclosed that is configured to process a data unit comprising one or more representations based on a signal received from a base station, each of the representations comprising one or more data blocks, where each data block comprises a weight, and wherein each of the data blocks is assigned to a code block group (CBG) of a plurality of code block groups (CBG) based on the weight of the corresponding data block; determining the total weight of the successfully decoded data block; and comparing the total weight to a total weight threshold for the data unit.
Owner:APPLE INC

Code merging method and device, equipment and medium

The invention discloses a code merging method and device, equipment and a medium. The method comprises the following steps: acquiring a trunk code, and acquiring a to-be-merged code; detecting the to-be-merged codes to obtain at least one piece of code fault information; generating at least one piece of fault prompt information according to each piece of code fault information and the trunk code, and sending the fault prompt information to a code detection large model to obtain code repair information; and repairing the to-be-merged code according to the code repairing information, and merging the repaired to-be-merged code into the trunk code. According to the embodiment of the invention, the code merging accuracy can be improved.
Owner:INDUSTRIAL AND COMMERCIAL BANK OF CHINA

A code obfuscation effectiveness evaluation method and system based on LGF-Net

The present invention discloses a code obfuscation effectiveness evaluation method and system based on LGF‑Net, and the specific implementation steps are as follows: (1) First, the obfuscated code and the deobfuscated code corresponding to the source code of each program in the data set are obtained; then, features are extracted from the source code, the obfuscated code and the deobfuscated code to obtain a first feature set; then, an obfuscation effect level is assigned to the first feature set, and the first feature set and its obfuscation effect level are represented as a sequence pair; finally, all the sequence pairs constitute a code obfuscation effectiveness evaluation data set, which is called the first data set. (2) Construct a code obfuscation effectiveness evaluation model LGF‑Net: LGF‑Net performs feature selection and processing through a local feature module, and performs feature fusion through a global feature module. (3) Use the first data set to train and test LGF‑Net to obtain a trained LGF‑Net. (4) Use the trained LGF‑Net to evaluate the code obfuscation algorithm to obtain the obfuscation effect level of the algorithm.
Owner:杨国军

Code retrieval model training method and code retrieval method and device

ActiveCN118964689Aimprove accuracyEnhance feature grasping capabilitiesBiological modelsOther databases indexingFeature vectorAlgorithm
The embodiment of the invention provides a code retrieval model training method and device and a code retrieval method and device.The code retrieval model training method comprises the steps that code indexes in a target code library and similar indexes corresponding to the code indexes are obtained; analyzing the code index to obtain at least one piece of corresponding code retrieval query information; coding the code retrieval query information, the code index and the similar index by using a to-be-trained double-tower model to obtain a first feature vector, a second feature vector and a third feature vector; calculating a first similarity between the first feature vector and the second feature vector and a second similarity between the first feature vector and the third feature vector; and calculating comparison loss of the to-be-trained double-tower model based on the first similarity and the second similarity, and adjusting parameters of the to-be-trained double-tower model according to the comparison loss to obtain a trained code retrieval model. According to the embodiment of the invention, the code retrieval accuracy is improved.
Owner:ANT CLOUD TECH GRP CO LTD

Code generation method and device, electronic equipment and storage medium

The invention discloses a code generation method and device, electronic equipment and a storage medium, and relates to the field of artificial intelligence, and the main technical scheme comprises the steps of obtaining a first code demand text; inputting the first code demand text into a preset text expansion model to obtain a second code demand text; and inputting the second code demand text into a preset code generation model to obtain a code file corresponding to the second code demand text. Compared with the prior art, the method comprises the following steps: acquiring a first code demand text, inputting the first code demand text into a preset text expansion model to obtain a second code demand text, inputting the second code demand text into a preset code generation model to obtain a code file corresponding to the second code demand text, and generating the code file according to the code file. The code file comprises at least one code module and the execution sequence among different code modules, so that the code is automatically generated according to the first code demand text, and the code generation efficiency is improved.
Owner:CHINA MOBILE GROUP SICHUAN +1

Code generation method and device, electronic equipment and storage medium

The invention discloses a code generation method and device, electronic equipment and a storage medium, and belongs to the technical field of software development, in the method, operation granularity information of MMA and tensor information of input tensor and output tensor are determined in response to an instruction for performing MMA intermediate representation on tensor, the input tensor comprises a left tensor and a right tensor, and the right tensor comprises a left tensor and a right tensor; partitioning the output tensor according to the tensor information and the operation granularity information of each tensor, and generating a code segment based on a corresponding left data block in the left tensor and a corresponding right data block in the right tensor of each region in the output tensor so as to write a matrix multiplication result of the left data block and the right data block into the region, and fusing the code segments corresponding to the regions to obtain an MMA intermediate representation. Therefore, no matter how many dimensions of each tensor are, the MMA intermediate representation can be automatically generated according to the target information, and developers do not need to develop loop codes and understand the memory layout of the tensors, so that the development difficulty is relatively low.
Owner:SHANGHAI BIREN TECH CO LTD

Code annotation generation method and system based on token-level semantic matching

The invention belongs to the technical field of software engineering, and discloses a token-level semantic matching-based code annotation generation method and system, and the method comprises the following steps: obtaining a target code and a data set, carrying out the preprocessing and dividing, and obtaining a training set as a corpus; performing word segmentation on the codes in the corpus by using a word segmentation device of a pre-trained large language model, and extracting and storing a context semantic embedding vector of each token in the codes to form a code semantic warehouse; calculating the lexical similarity between the target code and the code in the corpus, and taking the top k high examples as candidate examples; according to the method, a target code and a candidate sample are subjected to token-level semantic matching, the most similar token in another code segment is matched, the accuracy rate and the recall rate are combined to obtain an F1 score, and the sample with the highest score is reused, the context semantic feature of fine granularity is considered in the aspect of retrieval, the code annotation generation precision is improved, extra training is not needed, and the retrieval efficiency is improved. And the method has good applicability to different scenes.
Owner:HANGZHOU DIANZI UNIV

Code detection method, system and device, electronic equipment, storage medium and program product

The embodiment of the invention provides a code detection method, system and device, electronic equipment, a storage medium and a program product. According to the scheme provided by the embodiment of the invention, the received change code data comprises at least one change code line, and the change code line is a code line of which the content is changed relative to the previous version source code in the current version source code. Based on the current version source code and the change code data, extracting at least one code program segment from the current version source code; one code program segment comprises one change code line or a plurality of change code lines with continuous line numbers or a plurality of change code lines with discontinuous line numbers. Furthermore, the change classification corresponding to the code program segment can be determined. And based on the code program segment and a risk rule associated with the change classification corresponding to the code program segment, determining a risk detection result of the change code line in the code program segment.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

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

Request processing method and device

The invention provides a request processing method and device, and the method comprises the steps: responding to a received current code merging request associated with a target branch, and obtaining the states of a plurality of code merging entrance guards associated with the current code merging request; on the basis of the weight and the state corresponding to each code merging entrance guard, determining a merging readiness score of the current code merging request; in response to the fact that the merging readiness score is smaller than a set score threshold value, determining a target access control with the maximum weight from at least one unpassed code merging access control; according to the access control failure log associated with the target access control and the first incremental code difference between the source branch and the target branch associated with the current code merging request, merging blocking information is generated and visually displayed, and therefore the automation and intelligence level of the code merging process is improved, and the code merging efficiency is improved. And the problem repairing period is shortened, so that the stability and delivery efficiency of the target branch are improved.
Owner:BEIJING PACTERA JINXIN TECH LTD

Priority based mapping of encoded bits to symbols

A new radio (NR) bit prioritization procedure that may be executed by a UE and a base station is disclosed, resulting in transmission and reception of modulation symbols having prioritized bits. For example, a transmitter may encode a code block using low-density parity-check code to generate a stream of encoded bits. The transmitter may arrange the encoded bits in one or more modulation symbols according to a relative priority of the encoded bits. The highest priority bits may be located in the most significant bits of the modulation symbol, and therefore be less likely to experience errors. A receiver may receive the modulation symbols and reorder the encoded bits according to the coding scheme based on the relative priority prior to decoding the encoded bits. The prioritization of the bits within the modulation symbols may provide improved block error rates over sequential mapping of encoded bits to symbols.
Owner:QUALCOMM INC

Project defect code determination method and device, equipment, medium and product

The invention discloses a project defect code determination method and device, equipment, a medium and a product, and the method comprises the steps: obtaining a current defect report and code change information of a current project, carrying out the word embedding coding processing of the current defect report and the code change information, and obtaining a defect report input vector and at least one code block input vector; performing language coding processing on the defect report input vector and each code block input vector by utilizing a pre-trained defect positioning model to obtain a defect report feature vector and at least one code block feature vector; and performing defect positioning classification processing on the defect report feature vector and each code block feature vector by using a pre-trained defect positioning model to obtain at least one association probability, and determining a defect code of the current defect report according to each association probability. According to the method, the current defect report can be automatically analyzed, and the defect code of the current defect report is accurately and efficiently determined according to the association probability of the current defect report and each code block.
Owner:AGRICULTURAL BANK OF CHINA

Error Correction Data Transmission Method, Communications Apparatus, and Storage Medium

PendingUS20260205229A1Programming languageCoding block
A data transmission method includes generating a first code block, where the first code block includes a first load and a first redundancy code, the first load includes N second code blocks, the first redundancy code is used to perform error correction on the first load, an ith second code block includes a second load and a second redundancy code, the second redundancy code is used to perform error detection on the second load in the ith second code block, a value of i is an integer ranging from 1 to N, and Nis an integer greater than or equal to 1; and sending the first code block to a receive end.
Owner:YINWANG INTELLIGENT TECHNOLOGIES CO LTD

Method, device and equipment for code parameter verification and storage medium

According to the embodiment of the invention, the invention provides a method, a device and equipment for code parameter inspection and a storage medium. In one method, a parameter verification request for a target code is detected; in response to the detected parameter verification statement, extracting at least one code snippet matched with at least one preset statement type in a plurality of preset statement types from the target code; and generating a verification statement for at least one parameter of the target code based on the at least one code snippet by using the trained machine learning model, the verification statement being configured to verify the legality of the at least one parameter, wherein the machine learning model is obtained by training based on a sample code set and sample verification statements for parameters of sample codes in the sample code set. Therefore, automatic identification and repair of the verification missing problem can be realized.
Owner:BEIJING VOLCANO ENGINE TECH CO LTD

A method for generating a defect code and related apparatus

The application discloses a defect code generation method and related device, and the method comprises the steps of: obtaining at least one code segment pair from a code library; analyzing the modification reason between the first code segment before modification and the second code segment after modification in each code segment pair through a first language model, and identifying the defect type of the first code segment in each code segment pair indicating defect repair; obtaining at least one code segment pair corresponding to each defect type as a target code segment pair, and calling a second language model to learn each target code segment pair with the generation of defect code as a learning target to obtain a learned second language model; and generating a defect code segment corresponding to the target code segment through the learned second language model. The method can realize the automatic generation of defect code, improve the generation efficiency of defect code, improve the generation quality of defect code, and enhance the comprehensiveness and authenticity of the generated defect code.
Owner:ZHIWEI CHUANGXIN (NANJING) TECHNOLOGY CO LTD

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

The present application relates to a code generation method, device and equipment based on a multi-agent language system. The method includes: obtaining a code generation task of a user. The code generation task includes: code task information and execution parameters of the code task information. The code task information is disassembled and judged by a planning engineer according to the complexity of the code generation task and the semantic understanding result to generate multiple sub-code tasks. After the sub-code task is converted into a Python code sequence by a code writing agent, the sub-code blocks of the Python code sequence are integrated into a standard running function by a code integration agent. Each Python code sequence is traversed and executed according to the standard running function to generate a standard code. After the standard code is corrected by a code testing agent, the corrected standard code is returned to the user. The use of this method can improve the efficiency of code generation under a large language model and reduce computing resource overhead.
Owner:NAT UNIV OF DEFENSE TECH

Coding method and apparatus for data communication

A coding method for data communication is provided, and may be applied to a plurality of scenarios such as a metro network, a backbone network, and a data center interconnection. The method includes: forming a first codeword, where the first codeword includes n image bits and n to-be-transmitted bits, the n image bits are selected from to-be-transmitted bits in m source codewords, the source codeword is a codeword formed before the first codeword, both n and m are positive integers, and n>m; and sending the n to-be-transmitted bits in the first codeword. The bit in the first codeword is protected by a plurality of codewords generated at different moments, and a coding gain effect is better. In addition, the bit in the codeword is protected by different quantities of codewords.
Owner:HUAWEI TECH CO LTD