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

79 results about "Assembly language" patented technology

In computer programming, assembly language (or assembler language), often abbreviated asm, is any low-level programming language in which there is a very strong correspondence between the instructions in the language and the architecture's machine code instructions. Assembly language may also be called symbolic machine code.

Abnormality detection method and device, electronic equipment and computer program product

The invention discloses an anomaly detection method and device, electronic equipment and a computer program product. The method comprises the steps that operation information generated by executing a memory operation instruction is collected through a monitoring hook inserted into a webpage assembly language module in advance, the webpage assembly language module is an executable unit written by using a webpage assembly language byte code, and the webpage assembly language byte code at least carries the memory operation instruction; and performing anomaly detection on the operation information by using a preset anomaly detection condition. According to the method and the device, the technical problem of poor accuracy of performing anomaly detection on the WASM module in the prior art is solved.
Owner:CHINA TELECOM CORP LTD

Automatic assembly language generation method for reconfigurable flexible assembly line

The invention discloses automatic generation of an assembly language (A-code) for a reconfigurable flexible assembly line. The automatic generation comprises the following steps: extracting geometric, topological and material information from a three-dimensional model of a product; constructing an assembly process knowledge graph, and defining assembly objects, resources and programs; instantiating the storage data to form a knowledge base; sub-assemblies are divided by using a community detection algorithm, and assembly sequence planning is simplified; generating an optimal assembly sequence based on the sub-assemblies and the priority relation matrix; optimizing assembly process distribution and assembly unit layout; an SWRL rule and an SPARQL query statement are formulated; a-code is generated through reasoning by means of a semantic network tool. And the correctness of the program is ensured through automatic generation and verification of the A-code. By directly and automatically extracting the assembly information from the three-dimensional model of the product and generating the assembly program, the step of manually rewriting the assembly program according to the change of the product in the traditional method is omitted, the assembly line reconstruction time is remarkably shortened, the production line stability and the product quality are improved, and the production efficiency is improved. And the production efficiency and the market change response capability are improved.
Owner:TSINGHUA SHENZHEN INTERNATIONAL GRADUATE SCHOOL

Malicious code detection method, system and equipment based on multilevel feature fusion

The invention relates to the technical field of computer malicious software detection, and provides a malicious code detection method, system and equipment based on multilevel feature fusion. The malicious code detection method based on multi-level feature fusion comprises the following steps: constructing an RGB image based on a byte code file, and extracting to obtain RGB image features; traversing the byte code file to obtain an N-Gram feature; performing Hash mapping on the N-Gram features to generate sparse feature vectors with unified dimensions, and obtaining statistical features of the byte code data; based on the assembly language source file, adopting a word embedding model to obtain instruction sequence features; fusing the RGB image features, the byte code data statistical features and the instruction sequence features to obtain fused features; and based on the fusion features, adopting a classifier to obtain a detection result. The malicious code detection accuracy and response speed are improved.
Owner:QILU UNIVERSITY OF TECHNOLOGY (SHANDONG ACADEMY OF SCIENCES) +1

LLVM compiler-oriented RISC-V program vectorization optimization method and system

The invention discloses an LLVM compiler-oriented RISC-V program vectorization optimization method and an LLVM compiler-oriented RISC-V program vectorization optimization system. The method comprises the steps that a high-level language, an inline assembly language and an assembly language are utilized, manual vectorization optimization is controlled from different levels for a target RISC-V program, a first vector optimization result is obtained, and an assembly instruction is directly embedded into the high-level language through inline assembly; performing automatic vectorization optimization by using an LLVM compiler, and inserting a vectorization instruction based on the loop structure information to obtain a second vector optimization result; and for the target application scene and the target data type, integrating the first vector optimization result and the second vector optimization result to obtain an overall vectorization optimization result. According to the method, a comprehensive vectorization optimization solution is provided for the RISC-V platform, and more calculations can be completed within the same time, so that the performance and efficiency of a program are improved.
Owner:SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI

Methods and systems for generating description for assembly functions

A method for creating a model to add a code summary to functions of assembly language code, the method including tokenizing an assembly code dataset; inputting the tokenized assembly code dataset to a pre-trained transformer-based model; using an encoder to create fixed length embeddings; and using a decoder on the fixed length embeddings to generate the code summary.
Owner:BLACKBERRY LTD

Instructions to configure coarse-grained reconfigurable array to execute program of data stream

The coarseness reconfigurable array is controlled during execution of an assembly language program that identifies a data stream through memory locations represented by memory variables. For example, a degradation program may be configured to receive the assembly language program, a hardware profile of the coarseness reconfigurable array, and an instruction execution schedule to generate a configuration that can be used to control the coarseness reconfigurable array. The degradation program may identify in the assembly language program a tile memory to implement the memory locations represented by the memory variables, and track the data stream specified in the assembly language program. Using the timing of instruction execution identified in the schedule, the downgrading program may determine timing and control of dispatch interfaces of the coarseness reconfigurable array, memory interfaces, and internal connections within tiles of the coarseness reconfigurable array during execution of the assembly language program.
Owner:MICRON TECHNOLOGY INC

Distributed quantum-classical hybrid control system with accurate time sequence

The invention relates to a distributed quantum-classical hybrid control system with an accurate time sequence, which is based on a single-core single FPGA board card capable of executing a quantum assembly language eQASM, based on GTX resources, takes local FPGA full interconnection as a control cluster, the control clusters are interconnected in a network-on-chip-like mode, and a single device sends a start signal to other devices to perform multi-core synchronization on multiple FPGAs; when the compiler compiles the quantum programs according to a correct sequence and then issues the quantum programs to the RAMs of all the FPGAs, precise time sequence control under a distributed condition is realized by adding a time sequence control mechanism based on a time queue; realizing a quantum cache mechanism to realize synchronization of quantum bit state information among a plurality of FPGA board cards; a receiving and transmitting model is used for interaction between quantum programs, a compiler of a quantum processor respectively sends out sending and receiving instructions for information interaction, the sending and receiving instructions are distributed to RAMs in different FPGAs, and information is sent to FIFO components in other FPGA board cards through a GTX channel until a result of a Send instruction is received.
Owner:NAT UNIV OF DEFENSE TECH

Methods and systems for generating description for assembly functions

A method for creating a model to add a code summary to functions of assembly language code, the method including tokenizing an assembly code dataset; inputting the tokenized assembly code dataset to a pre-trained transformer-based model; using an encoder to create fixed length embeddings; and using a decoder on the fixed length embeddings to generate the code summary.
Owner:BLACKBERRY LTD

Block chain smart contract privacy protection method based on trusted execution environment and assembly comparison calculation

The invention discloses a blockchain smart contract privacy protection method based on comparative calculation of a trusted execution environment and an assembly language, and the method comprises the steps: carrying out the execution process of a smart contract in the trusted execution environment, and verifying and recording a generated transaction through a blockchain. A block chain user can retrieve and query data related to the smart contract and the trusted execution environment instance at any time, and submit smart contract state update. According to the method, an assembly language comparison algorithm is embedded into a trusted execution environment to replace conventional high-level language comparison calculation, so that a memory access mode of a program is hidden; the contract transaction can realize contract operation management and rule definition in an executable environment, so that a contract owner can register and log out a contract and add / delete an enclave capable of running the contract; the enclave registration transaction can realize enclave operation management and rule definition, and the method can realize credible and forced execution of the block chain smart contract, and ensures privacy and consistent execution requirements of the smart contract.
Owner:SOUTHEAST UNIV

Transaction transmission method and device in circuit design file, equipment and storage medium

The invention provides a transmission method and device for transactions in a circuit design file, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a first transaction constructed by an assembly language in a verification platform, analyzing the first transaction to obtain a corresponding first transaction attribute, converting the first transaction into a byte stream based on the first transaction attribute, and storing the byte stream in a verification platform; constructing a target language transaction attribute and an interface file, calling a transaction-level modeling interface of the verification platform to transmit the byte stream to the target platform, calling a communication interface of the verification platform to transmit the target language transaction attribute and the interface file to the target platform, and verifying the target language transaction attribute according to the interface file and the target language transaction attribute. The received byte stream is analyzed into the second transaction attribute through the target platform, the second transaction attribute is imported into the transaction template, the second transaction corresponding to the target language is obtained and displayed, the target language is used for verification, the language learning difficulty can be reduced, and the application scene of the verification platform is widened.
Owner:BEIJING INSTITUTE OF OPEN SOURCE CHIP

Hierarchical translation between low-level programming languages and high-level programming languages

Techniques are described herein for translating between low-level languages and high-level languages. A method includes: receiving first source code in assembly language, the first source code including a plurality of code blocks, and each code block of the plurality of code blocks including a plurality of lines of assembly code; for each of the plurality of code blocks: for each of the plurality of lines of assembly code in the code block, processing the line of assembly code to generate a natural language description of the line of assembly code; and processing the code block and the natural language descriptions of the plurality of lines of assembly code in the code block to generate a natural language description of the code block; and processing the natural language descriptions of the plurality of code blocks to generate a natural language description of the first source code.
Owner:GOOGLE LLC

Codegen-based operator framework, construction method and operator generation method

The embodiment of the invention provides an operator framework based on a code generator Codegen, a construction method and an operator generation method. The operator framework comprises a preset code unit which is configured to obtain a thread bundle group index and perform global configuration; the at least one first code unit is configured to carry function codes, and different first code units correspond to different thread bundle groups; and a first selection unit configured to select a first code unit to be executed according to the thread bundle group index. According to the operator framework and the construction method thereof provided by the embodiment of the invention, a series of designed and verified operator frameworks can be generated in advance, and developers can utilize the preset operator frameworks and perform development on the basis of the preset operator frameworks when developing operators, so that the development process of assembly language operators can be simplified, the development efficiency can be improved, and the development cost can be reduced. The error probability is reduced, and the universality and maintainability of an operator generation program can be enhanced.
Owner:北京壁仞科技开发有限公司 +1

MCU upgrading method and device, equipment and storage medium

The invention provides an MCU upgrading method and device, equipment and a storage medium, and belongs to the field of computers. The method comprises the steps that an MCU receives a data writing instruction, the data writing instruction is an assembly language instruction and is used for indicating that a frame of first target data is written into a flash memory, the frame of first target data comprises N bytes of data, and N is an integer larger than 1; receiving the frame of first target data according to the data writing instruction, and storing the frame of first target data to a cache; and writing the frame of first target data into a flash memory of the MCU from the cache so as to upgrade the MCU. The method is beneficial to improving the upgrading efficiency of the MCU.
Owner:ANHUI MINSI MICROELECTRONICS CO LTD

Code compilation method, device, equipment and medium

The present invention relates to the field of compiler technology, and discloses a code compilation method, apparatus, device, and medium. The method comprises: obtaining assembly code to be compiled; obtaining target code variable blocks that meet preset standards in the assembly code based on a preset search algorithm; encapsulating the target code variable blocks and determining corresponding macro functions; and executing code compilation based on the macro functions. The present invention optimizes the assembly code to be compiled by merging identical target code variable blocks, using a preset search algorithm to determine consistent target code variable blocks, and encapsulating and determining macro functions to be compiled based on the target code variable blocks. This greatly improves the speed of program search, reduces the total number of code instruction bytes, reduces program memory, speeds up execution, and further improves the compilation efficiency of assembly language.
Owner:FORTIOR TECHNOLOGY (SHANGHAI) CO LTD

An executable engineering dynamic loading and debugging method based on RISC-V

The present application relates to a kind of executable engineering dynamic loading and debugging method based on RISC-V, based on the original engineering containing static library generates main engineering and independent executable engineering;Increase the dynamic call running interface function written with assembly language in main engineering, so that main engineering can load the executable file generated by executable engineering;Executable engineering establishes a function pointer table for calling main engineering function, realizes the call to main engineering function;The main engineering and independent executable engineering are dynamically debugged respectively;In debugging engineering, create adaptive processing function of debugging print information, so that program can automatically identify current environment, such as in debugging environment, then carry out normal output debugging information, such as in non-debugging environment, program can skip output debugging information interrupt instruction and continue running. Realize the flexible inter-module function call mode based on RISC-V processor and realize the environment adaptive processing function of debugging print information.
Owner:ZHEJIANG DALI TECH

Programming coarse-grained reconfigurable arrays by description of dataflow diagrams

An assembly language program for a coarseness reconfiguration array (CGRA), having: dispatch interface information indicating an operation to be performed via a dispatch interface of the CGRA to receive an input; memory interface information indicating operations to be performed via one or more memory interfaces of the CGRA; tile memory information indicating a memory variable that references a memory location to be implemented in a tile memory of the CGRA; a stream description specifies one or more synchronized data streams for the memory locations referenced via the memory variables in the tile storage information to generate results from the input using the CGRA.
Owner:MICRON TECHNOLOGY INC

Code compilation method and related device

The present application provides a code compilation method and related devices, which are applied to the central processing unit of an electronic device, the electronic device includes a central processing unit and a parallel processor, the parallel processor includes a scalar instruction processing unit and a vector instruction processing unit, and the method includes: obtaining a target intermediate code to be compiled, the code type of the target intermediate code is a target type, and the target type is used to indicate an intermediate code whose code format is the same as the code format corresponding to any assembly language in a preset assembly language set; compiling the target intermediate code into a target instruction set that can be executed by a parallel processor. In this way, when developers are engaged in related development work on the above-mentioned parallel processor, they can use a simple and easy-to-understand intermediate code type as an intermediate representation of the compilation process, which reduces the development difficulty and promotes the development of software applications on the above-mentioned parallel processor to achieve a parallel processing process with faster processing speed and lower power consumption.
Owner:AZURENGINE TECH ZHUHAI INC

A medical privacy data security calculation method based on CKKS homomorphic encryption

This invention relates to the field of information security technology, specifically to a secure computation method for medical privacy data based on CKKS homomorphic encryption. The method involves initializing a polynomial multiplication module and a CKKS module; the user end collects medical data, performs CKKS encoding and encryption, and uploads the ciphertext to the cloud; the server end deploys a disease risk prediction model, performs homomorphic inference analysis based on the ciphertext, and obtains the ciphertext result; the user end decrypts and decodes the ciphertext result, outputs a disease risk score, and obtains health data. This method makes the computation process more compatible with the GPU hardware architecture and scheduling mechanism, directly manipulates registers using assembly language to improve bit reversal efficiency, and designs a resource pool so that threads can place data into the resource pool after processing the current stage. Idle threads can find the data needed for the next stage in the resource pool without waiting and can directly execute the next stage's computation, reducing synchronization time.
Owner:GUILIN UNIV OF ELECTRONIC TECH

Implementation method of a virtual simulation system with redundancy characteristics

This invention discloses a method for implementing a virtual simulation system with redundancy characteristics: Executable code is compiled using an instruction set simulator to obtain an executable file. Horizontal processing is performed: data exchange occurs between virtual machines, and the data acquisition elements of each virtual machine are compared and judged. Based on the redundancy characteristics, a redundancy voting result is obtained. Vertical processing is performed: based on the redundancy voting result, each virtual machine performs corresponding tasks, either running the executable file or copying data. A first queue and a second queue are established. The first queue stores the data acquisition elements to be compared, and the second queue stores the data acquisition elements of the comparison modules that have not yet produced results. This invention relies on object code assembly language comparison, storing the data acquisition elements as arrays for comparison and copying. Simultaneously, two queues are allocated for storing process data during the comparison process, thereby realizing a redundant architecture in the virtual simulation system.
Owner:SHANGHAI AEROSPACE COMP TECH INST

Fast path interrupt injection

PCT designated stage expiredWO2024253849A1Software simulation/interpretation/emulationFast pathPathPing
The state of an interrupt is identified. An eligibility value corresponding to the interrupt is generated based on the state of the interrupt. The eligibility value is indicative of whether the interrupt should be processed by a first processing path or a second processing path, the second processing path being lower latency than the first processing path, and the second processing path bypassing operations performed in the first processing path. When an interrupt is received at an assembly language processing system, from a hardware device, the assembly language processing system accesses the eligibility value corresponding to the interrupt and routes the interrupt to the first or second processing path based on the eligibility value.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Qubit mapped diamond dependency recommendation service

Embodiments of the present disclosure provide techniques for performing a quantum computing-based diamond dependency analysis. A classical diamond dependency service may analyze a service and determine a set of dependencies that the service requires to execute. The classical DDS may then generate a quantum assembly language (QASM) file comprising a diamond dependency algorithm (DDA) and a mapping of a configuration file of the service and a configuration file of each of the set of dependencies to a respective qubit among a plurality of qubits. The classical DDS may interface with one or more quantum DDSs (QDDSs) that are each part of a respective quantum environment in order to determine qubits that are available to be mapped to the configuration files of the service and its dependencies. The classical DDS may execute the QASM file using the one or more QDDSs to detect one or more diamond dependencies.
Owner:RED HAT LLC

File processing method, device, electronic device and storage medium

The embodiment of the present invention provides a file processing method and device, the method comprising: obtaining a module file in a firmware interface system, and an entry address of the module file at runtime, compiling and decompiling the module file, and obtaining source code instructions in assembly language corresponding to the module file; wherein the source code instructions carry a corresponding address offset, and according to the entry address and the address offset, the source code instructions are processed into source code instructions with link information, so that the module file is automatically processed to obtain source code instructions with link information, avoiding the problem of being unable to fully simulate the real environment when debugging on a virtual machine, thereby helping developers to quickly and directly find the address where the code of each module file is actually running, so as to accurately locate problems such as freezing at a certain address.
Owner:LOONGSON ZHONGKE (XIAN) TECH CO LTD

IOS application time consumption monitoring method and device, equipment and storage medium

The invention discloses an IOS application time consumption monitoring method and device, equipment and a storage medium. The IOS application time consumption monitoring method comprises the steps that an objcmsgSend function customized in a C language layer is determined; when the IOS application system layer calls any method in the OC layer, calling of any method is mapped into calling of an objcmsgSend function of the C language layer; and calling the hook function through the assembly layer according to a pointer of the objcmsgSend function to obtain calling information of any method. According to the method, the calling time consumption of all Objective-C methods of the main thread and the sub-thread can be captured; besides, the hook function is called in the assembly layer according to the pointer of the objcmsgSend function, the assembly language is more underlying than a high-level language, the hook in the assembly language level can reduce extra function calling overhead, and the method calling time can be more accurately measured in the assembly level.
Owner:SHENZHEN YISHIHUOLALA TECH CO LTD

Dynamic library loading method and device, equipment and storage medium

This application discloses a method, apparatus, device, and storage medium for loading a dynamic library, belonging to the field of computer programs. The method includes: generating assembly language intermediate-level code corresponding to a first function in the dynamic library based on the interface signature of the first function; compiling and linking the source code, linking the calls to the first function in the source code to the assembly language intermediate-level code, obtaining an executable file of the source code; executing the assembly language intermediate-level code when the executable file calls the first function; the assembly language intermediate-level code is used to dynamically load the dynamic library and execute the first function; wherein, the assembly language intermediate-level code is used to cache the parameter context of the function call before dynamically loading the dynamic library and restore the parameter context before executing the first function. This method can improve the generation efficiency of intermediate-level code and reduce the maintenance cost of intermediate-level code.
Owner:GUANGZHOU SHIYINLIAN SOFTWARE TECH CO LTD

Randomized compiler optimization selection for improved computer security

A method and system provide the ability to compile computer source code. The source code is pre-processed to generate pure source code that includes definitions required for interpretation. The pure source code is formalized in a compiler, into assembly language that is processor specific. The formalization includes determining a set of two or more optimization routines, randomly selecting a selected optimization routine from the set of two or more optimization routines, and applying the selected optimization routine to each segment of the pure source code in a serialized manner. An executable binary file is then output and executed based on the formalized pure source code.
Owner:CALIFORNIA INST OF TECH

Predicting and Minimizing Quantum Decoherence in Quantum Computer Systems

In one example described herein a system can receive, by a gate analysis service, a quantum assembly language (QASM) file. The QASM file can define a quantum algorithm that can include logic gates that can be executed on a quantum computer system. The system can access, by the gate analysis service, a data repository that can include an estimated amount of quantum decoherence associated with each logic gate of a plurality of logic gates that includes the logic gates. The system can determine, by the gate analysis service, a prediction of an amount of quantum decoherence associated with executing at least one logic gate of the logic gates on the quantum computer system. Additionally, the system can adjust, by the gate analysis service, the QASM file to modify the prediction associated with executing the logic gates on the quantum computer system.
Owner:RED HAT INC

Programming language conversion system, programming language conversion method, and program

The object is to provide a system that can appropriately convert assembly language into other programming languages. [Solution] A programming language conversion system that converts an original program written in assembly language into a converted program written in a programming language different from assembly language, comprising: a generation unit that generates an intermediate program including original description items corresponding to the description of the original program, register items that are descriptions corresponding to each of a predetermined number of registers in the assembly language, and a first linkage item that is a description for reserving address space for a first instruction that specifies a displacement using a first register among the predetermined number of registers; and a conversion unit that converts the intermediate program into the converted program.
Owner:유겐가이샤티아이에스

Malicious software interception method for flexible gray calculation in host security protection

The invention discloses a malicious software interception method for flexible gray calculation in host security protection, and relates to the technical field of network security. Obtaining an assembly language source file and an executable file of the target access software, and performing feature extraction to obtain a frequency feature, a semantic feature and a byte feature; updating a preset malicious software detection model according to the frequency features, the semantic features and the byte features to obtain a target malicious software detection model; simulating log data when the target access software is operated; generating a grayscale image according to the log data, and substituting the grayscale image into the target malicious software detection model to obtain the malicious level of the target access software; and performing related interception on the target access software according to the malicious level. According to the method, the frequency, semantic and byte features are extracted, the malicious software detection model is updated according to the features, the log data are acquired through the simulation running software, and the gray level image is generated for malicious software recognition, so that the interception efficiency of the malicious software is improved.
Owner:GUANGXI POWER GRID CORP

A data processing method and device, electronic equipment and readable storage medium

The application discloses a data processing method, which comprises the following steps: generating a plurality of initial matrices with the same size based on a key seed; performing a plurality of rounds of first operation on the plurality of initial matrices respectively through a vector instruction of an assembly language until a preset number of operations is reached, so as to obtain a target matrix corresponding to each initial matrix; generating a key stream corresponding to the key seed based on the plurality of target matrices; and respectively encrypting plaintext data to be encrypted through the key stream, so as to obtain ciphertext data corresponding to the plaintext data, thereby improving the efficiency of generating the key and the efficiency of encryption and decryption.
Owner:LOONGSON ZHONGKE (XIAN) TECH CO LTD

A blockchain smart contract privacy protection method based on trusted execution environment and assembly comparison calculation

The application discloses a blockchain smart contract privacy protection method based on a trusted execution environment and an assembly language comparison calculation, and the method comprises the following steps: placing a smart contract execution process in a trusted execution environment, and verifying and recording a generated transaction by a blockchain. A user of the blockchain can retrieve and query data related to the smart contract and the trusted execution environment instance at any time, and submit a smart contract state update. The method embeds an assembly language comparison algorithm into the trusted execution environment, replaces a conventional high-level language comparison calculation, and thus conceals a memory access mode of a program; a contract transaction can realize contract operation management and rule definition in the executable environment, enables a contract owner to register and deregister a contract, and adds / delugs an enclave capable of running the contract; an enclave registration transaction can realize operation management and rule definition of the enclave, the method can realize trusted and compulsory execution of the blockchain smart contract, and guarantees privacy and consistent execution requirements of the smart contract.
Owner:SOUTHEAST UNIV