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

161 results about "Conditional branch" patented technology

Conditional Branches. A conditional branch instruction branches to a new address only if a certain condition is true. Usually the condition is about the values in two registers.

Building intelligent operation and maintenance workflow construction method and equipment

According to the building intelligent operation and maintenance workflow construction method and device, the user operation threshold is lowered, non-technical personnel are allowed to do not need to understand complex BMS interface and API interface details or professional programming skills by supporting multi-modal natural language interaction, and the user experience is improved. Fine control, data query and task scheduling can be directly performed on the building system through a daily language instruction; cross-system and multi-step operation and maintenance automation is realized, the system can intelligently analyze and convert a single natural language instruction into a complex API calling workflow which aims at a plurality of heterogeneous building systems, is logically coherent and has conditional branches and cycles, and the operation and maintenance efficiency and the response speed are greatly improved; the method has heterogeneous system integration capability and dynamic adaptability, various new and old building system APIs adopting different protocols and data formats can be flexibly integrated through a semantic API knowledge base and a dynamic adapter generation technology, and the problems that a traditional BMS is complex in integration and poor in compatibility are solved.
Owner:SHANGHAI CONSTRUCTION FOURTH CONSTRUCTION GROUP CO LTD

Branch prediction method, cyclic stack structure and related equipment

The invention provides a branch prediction method, a loop stack structure and related equipment, and the method comprises the steps: obtaining a branch instruction, determining whether the branch instruction belongs to a target instruction or not, and enabling the target instruction to be a backward jump condition branch instruction; if the branch instruction belongs to the target instruction, executing a first updating operation for a loop stack according to the branch instruction; if the branch instruction does not belong to the target instruction, the type of the branch instruction is determined, a second updating operation is executed on the loop stack according to the type of the branch instruction, and the type of the branch instruction comprises a calling function type, a loop jumping-out type and a returning type.
Owner:PHYTIUM TECH CO LTD

JAVA fuzzy testing method based on program analysis

The invention provides a JAVA fuzzy testing method based on program analysis. The JAVA fuzzy testing method comprises the steps that a binary file package of a tested program is obtained; aST analysis is carried out on the binary file package; all layers of nodes of a syntax tree of the binary file package are analyzed, and all conditional branches under all classes and all methods are obtained; analyzing a calling link relationship of each branch judgment parameter of the binary file package through reverse derivation of calling of each layer of nodes; and judging whether the calling link relationship is single-interface calling or cross-interface calling. According to the JAVA fuzzy test method based on program analysis provided by the invention, the interface parameters and the test case data of the interface calling sequence can be obtained through program analysis, and the service logic which is difficult to explore by fuzzy test can be greatly increased, so that the coverage rate of the tested object is increased, and the test efficiency is improved based on the improvement of the coverage rate. The number of paths explored by the fuzzy test is increased, and more non-overdue defects can be prompted to be found.
Owner:SHANGHAI ANBAN INFORMATION TECH CO LTD

Hand-eye cooperative robot control system and method based on dynamic operator arrangement

The invention discloses a hand-eye cooperative robot control system and method based on dynamic operator arrangement, an upper computer planning layer operates a master control computer to periodically trigger task scheduling, a joint controller of a lower computer execution layer receives an instruction through a redundant bus to perform servo control, hand-eye camera data triggers a visual assembly line through an interrupt event, and a visual assembly line is controlled through a control interface. According to the method, pressure is calculated through visual processing, motion planning and joint control in a load sharing mode, a double-buffering mechanism is adopted to enable current frame visual processing and previous frame motion control to be executed in an overlapping mode, real-time scheduling and parallel computing of tasks are completed, hot data are cached in a memory database, cold data are archived to an HDFS and migrated through an LRU strategy, and the real-time scheduling and parallel computing of the tasks are completed. Data type conversion is automatically derived and performed based on a feature type registry, and conditional branch execution is triggered according to real-time sensor data. According to the control system, cross-hardware plug and play, algorithm flow configurability and data flow real-time sharing are achieved, and the requirement for improving the efficiency of complex operation tasks is met.
Owner:SUPER HIGH VOLTAGE BRANCH OF STATE GRID JIANGXI ELECTRIC POWER CO LTD

Multi-condition branch instruction for conditional branch operations

Various embodiments of the present disclosure relate to the conditional execution of program code. In an example embodiment, a system including instruction fetch circuitry, decoder circuitry, and multi-condition branch circuitry is provided. The instruction fetch circuitry is configured to fetch a multi-condition branch instruction (MCBI) from memory. The MCBI identifies multiple status registers and multiple branch destinations. The multiple status registers of the MCBI are representative of registers which hold results of multiple condition evaluations, such that each status register corresponds to a different one of the multiple condition evaluations. Similarly, the multiple branch destinations of the MCBI also correspond to a different one of the multiple condition evaluations. The instruction fetch circuitry provides the MCBI to the decoder circuitry. In response, the decoder circuitry is configured to cause the multi-condition branch circuitry to execute the multi-condition branch instruction.
Owner:TEXAS INSTRUMENTS INC

Circuitry and methods for a conditional fence instruction

Circuitry and methods for implementing conditional fence instructions are described. In certain examples, a hardware processor (e.g., core) includes a branch predictor to predict one of a taken path and a not taken path for a conditional branch instruction; decoder circuitry to decode an instruction into a decoded instruction, the instruction comprising a field that indicates a condition to be set by execution of another instruction, and an opcode that indicates execution circuitry is to, in response to the condition being satisfied, implement an execution fence to delay execution of the instruction until prior instructions in program order execute and delay execution of instructions after the instruction in program order until the instruction executes; and the execution circuitry to execute the decoded instruction according to the opcode.
Owner:INTEL CORP

Branch conversion method and device for instruction compiling preprocessing

The invention provides a branch conversion method and device for instruction compilation preprocessing. The method comprises the following steps: determining a basic block actually having a control dependency relationship in an IR structure to be processed; converting the conditional branch instruction in the IR structure to be processed into a comparison assignment instruction of a corresponding prediction code; and based on the comparison assignment instruction, lifting the instruction of the basic block actually having the control dependency relationship into a predicate execution instruction. According to the method, the basic blocks actually having the control dependency relationship are determined, and then branch conversion is performed on the function having the control dependency and the data dependency at the same time in the processing process of the rear end of the compiler, so that the control dependency is converted into the data dependency, and more optimization space is provided for a scheduling algorithm for improving instruction level parallelism.
Owner:WUHAN UNIV

Analysis function imparting method, analysis function imparting device, and analysis function imparting program

An analysis function providing method executed by an analysis function providing device includes first analyzing a virtual machine of a script engine and acquiring a virtual program counter that is a variable indicating an instruction of the virtual machine to be executed next and a conditional branch flag that is an area for holding a flag as to whether or not branch is made at a time of conditional branch in an execution state, and providing an analysis function to the script engine by applying a hook including processing of detecting an instruction sequence a number of times of repeated execution of which is greater than or equal to a threshold and stopping execution of the instruction sequence by rewriting a condition related to a conditional branch at an end of the instruction sequence on a basis of the virtual program counter and the conditional branch flag.
Owner:NT T INC

Conditional branch prediction method and device, terminal and storage medium

The invention provides a conditional branch prediction method and device, a terminal and a storage medium, and belongs to the technical field of data processing, and the method comprises the steps: receiving a conditional branch to be processed; performing mode judgment on condition judgment rules in the condition branches; if the condition judgment rule is a fixed mode, a first predictor is utilized to predict the condition branch to obtain a first prediction result, and the first predictor is a condition predictor secondarily developed based on a TAGE predictor; if the condition judgment rule is a change mode, a TAGE predictor and a second predictor are used for predicting the condition branch to obtain a second prediction result, and the second predictor is a local historical predictor and has a variable matching mode length. Different predictors are used for prediction according to condition judgment rules of different modes, the prediction result is generated by combining the two predictors when the condition judgment rules are change modes, and the accuracy of the prediction result can be effectively improved.
Owner:SHENZHEN UNIV

Method, system, and device for designing experimental protocol

A method for designing an experimental protocol capable of coping with more advanced processing is provided. A system according to an aspect includes at least one experimental device, a controller, and a terminal device. The controller controls the at least one experimental device to execute an experimental protocol defining processing order of the at least one experimental device. The terminal device designs the experimental protocol in a form of an oriented graph in accordance with a GUI operation performed on a specific application by a user. A plurality of nodes are selectable in the terminal device as a vertex of the oriented graph and the plurality of nodes include a processing node corresponding to processing by each of the at least one experimental device and a conditional branch node corresponding to conditional branch processing.
Owner:SHIMADZU CORP

Production scheduling method and system based on multiple process branches

The invention discloses a production scheduling method and system based on multiple process branches. The method comprises the following steps of: analyzing a process route containing parallel or conditional branches, enumerating all complete process routes, respectively performing pre-scheduling simulation, allocating resources for a process and calculating time; evaluating and scoring each scheme by using a multi-target evaluation model; and finally, selecting and outputting an optimal scheduling scheme according to the score. According to the invention, by enumerating all complete process paths and simulation, the plan robustness is improved, conflict coordination of shared resources is realized, and idle equipment is reduced; the resource utilization rate, the order delivery time and the load balance are optimized through multi-target evaluation, so that the production cycle is shortened, the cost is reduced, and the scheduling automation level is enhanced.
Owner:RUIXI (SUZHOU) INTELLIGENT TECH CO LTD

Method, computer program, computer-readable data carrier and computing device for deterministic execution of an instruction set as well as apparatus comprising same

A method, computer program (3), computer-readable data-carrier (4), computing device (2), and apparatus (1), such as a vehicle, in particular an aircraft, for deterministic execution of an instruction set (I) containing instructions (M) to be carried out by a processing unit (11) of the computing device (2), are provided, the method comprising the steps of executing a predefined number of pre-branch instructions (A) up to a conditional branch (C) of the instruction set (I) containing at least one branch condition determining a subsequent instruction which is to be executed after the conditional branch (C); predicting at least one of the pre-branch instructions (A) and / or a target instruction (T) to be executed as the subsequent instruction if the at least one condition is met; and inserting the at least one predicted pre-branch instruction (A) and / or the target instruction (T) into the instruction set (I) after the conditional branch (C).
Owner:AIRBUS (SAS)

Network module verification process generation method and system and storage medium

The invention relates to a network module verification process generation method and system and a storage medium, and relates to the technical field of embedded communication, and the method comprises the steps: S1, obtaining a to-be-analyzed AT instruction document, and carrying out the preprocessing of the AT instruction document, and obtaining a plurality of plain text segments; s2, inputting the plain text segment into a preset semantic analysis engine for semantic extraction to obtain a semantic triple; s3, constructing an AT instruction knowledge graph according to the semantic triple; and S4, generating a network module verification process corresponding to the AT instruction document according to the AT instruction knowledge graph. Compared with the prior art, the method has the advantages that zero manual reading can be realized, multi-language and multi-format documents are supported, the time sequence, dependency and conditional branches among instructions are understood, an executable graphical verification process is automatically generated, and incremental updating is supported.
Owner:SOUTH SURVEYING & MAPPING INSTR

Operation support device, operation support method, and operation support program

An operation support apparatus acquires a value related to determination on a conditional branch in a PAD from configuration information of an apparatus to be operated, and detects a conditional branch node from the PAD using the acquired value. Then, the operation support apparatus determines whether the apparatus to be operated satisfies a condition indicated by the detected conditional branch node by using the acquired value. Thereafter, the operation support apparatus hides, from the PAD, a branch node when the apparatus to be operated does not satisfy the condition indicated by the conditional branch node.
Owner:NIPPON TELEGRAPH & TELEPHONE CORP

Computer-implemented workflow generation method, information processing apparatus, and non-transitory computer-readable recording medium

A computer-implemented workflow generation method in which a computer executes processing of calculating, in a case where a conditional branch item included in a workflow is acquired, an indicator value in a case where any one of a plurality of candidate items is used by using a machine learning model, by referring to a storage that stores the plurality of candidate items satisfying a condition of a branch destination corresponding to the conditional branch item and the machine learning model that calculates the indicator value of each of the plurality of candidate items, selecting an item of which the calculated indicator value satisfies a predetermined condition from among the plurality of candidate items, and generating a workflow in which the selected item is arranged at the branch destination of the conditional branch item.
Owner:FUJITSU LTD

Code processing method and device, electronic equipment and readable medium

The embodiment of the invention provides a code processing method and device, electronic equipment and a readable medium, and relates to the technical field of compilation, in the method, in the conversion process of source codes, any conditional branch statement contained in the source codes is detected. If it is detected that the code logic of the conditional branch statement conforms to the specified code logic, determining the conditional branch statement as a statement to be optimized; the code logic is used for representing the operation indicated by the conditional branch statement. And based on the related parameters defined by the to-be-optimized statement, converting the to-be-optimized statement into a non-branch instruction group for realizing code logic of the to-be-optimized statement. Compared with a mode of converting the conditional branch statements into the conditional branch instructions, the method and the device have the advantage that the statements to be optimized are converted into the non-branch instruction groups for realizing the code logic of the statements to be optimized. Therefore, the number of the generated branch instructions can be reduced under the condition of ensuring normal implementation of code logic, so that the subsequent execution performance can be improved.
Owner:LOONGSON TECH CORP

Malicious behavior detection method for detecting malicious behavior by analyzing program code, recording medium and apparatus for performing the same

A method of detecting malicious behavior in a malicious behavior detection apparatus that detects malicious behavior by analyzing the code of a program, comprises generating a first control flow graph (CFG) by performing dynamic analysis on the program, generating a second CFG by extracting a code block that is likely to be executed by a conditional branch instruction included in the program, and comparing the first CFG and the second CFG to detect hidden code included in the program, and detecting a malicious behavior of the program by determining whether the detected hidden code is a malicious code. According to the constitutions, the time it takes to discover and respond to new types of malicious code can be shorten by extracting hidden code related to the malicious behavior and detecting malicious behavior.
Owner:FOUND OF SOONGSIL UNIV IND COOP

Method, Computer Program, Computer-Readable Data Carrier And Computing Device For Deterministic Execution Of An Instruction Set As Well As Apparatus Comprising Same

A method for deterministic execution of an instruction set (I) containing instructions (M) to be carried out by a processing unit of the computing device includes the steps of executing a predefined number of pre-branch instructions (A) up to a conditional branch (C) of the instruction set (I) containing at least one branch condition determining a subsequent instruction which is to be executed after the conditional branch (C); predicting at least one of the pre-branch instructions (A) and / or a target instruction (T) to be executed as the subsequent instruction if the at least one condition is met; and inserting the at least one predicted pre-branch instruction (A) and / or the target instruction (T) into the instruction set (I) after the conditional branch (C). A computer program, computer-readable data-carrier, computing device, and apparatus, such as a vehicle, in particular an aircraft may be configured to perform the method.
Owner:AIRBUS (SAS)

Branch prediction method, device and system, computer device, medium and product

ActiveCN121029243AConcurrent instruction executionLogical depthSimulation
The embodiment of the invention discloses a branch prediction method, device and system, a computer device, a medium and a product. The branch prediction method comprises the following steps: at least dividing a jump threshold value of a first direction predictor into a first jump threshold value and a second jump threshold value which respectively correspond to an unconditional branch and a conditional branch of a zero-delay branch target buffer; according to the hit result, determining a jump threshold corresponding to the first direction predictor and jump thresholds of other direction predictors; if the determined jump threshold value corresponding to the first direction predictor is a first jump threshold value, determining a jump prediction result according to a symbol of the first jump threshold value; and if the determined jump threshold value corresponding to the first direction predictor is a second jump threshold value, performing addition operation on the second jump threshold value and jump threshold values of other direction predictors, and determining a jump prediction result according to a symbol of an addition operation result. According to the method, the logic depth of the ZBTB can be reduced, the capacity of the ZBTB can be improved, and the BP prediction speed can be improved.
Owner:HYGON INFORMATION TECH CO LTD

Multi-layer nested service visual scheduling engine and method based on graph structure

The invention relates to a multi-layer nested service visual scheduling engine and method based on a graph structure, and belongs to the technical field of visual programming. The engine comprises a visual design module, a graph analysis module and a logic judgment module which are in communication connection with one another; the visual design module is used for constructing a business flow chart by dragging nodes, drawing edges and setting nested nodes, and the chart analysis module is used for converting the business flow chart into a task execution plan. And the logic judgment module is used for determining a concurrent and serial execution sequence of a plurality of tasks and an execution path of a conditional branch according to the task execution plan, and generating a logic judgment result.
Owner:GUANGDONG NANGUO PHARM CO LTD +1

Instruction processing method and apparatus, processor, electronic device, and storage medium

Embodiments of this disclosure provide an instruction processing method and apparatus, a processor, an electronic device, and a storage medium. The instruction processing method includes, in response to identifying a first conditional branch instruction with a back jump from an instruction stream, recording instruction information of the first conditional branch instruction; in response to identifying the first conditional branch instruction with a back jump at least once more, determining that the first conditional branch instruction is an end branch instruction in a loop body instruction and performing a backfilling operation on the loop body instruction, the loop body instruction including at least one second branch instruction other than the first conditional branch instruction; performing the backfilling operation on the loop body instruction includes: backfilling the instruction information of the second branch instruction into an instruction information cache; invoking a branch predictor to obtain first prediction information of the second branch instruction, and backfilling the first prediction information into a branch instruction information cache. This instruction processing method expands the scope of loop body instruction recognition and reduces cache access power consumption.
Owner:BEIJING ESWIN COMPUTING TECH CO LTD

A method and device for processing instruction address misalignment exception

The present invention discloses a method and device for processing an instruction fetch address misalignment exception. The method of the present invention splits an unconditional jump instruction into a first operation of calculating a link address and writing the result into a destination register, and a second operation of calculating a branch target address and completing the jump, and executes them in an integer calculation unit and a branch unit respectively. The conditional branch instruction only includes the first operation of calculating a branch target address and determining whether to jump, which is executed in the branch unit. The branch unit only implements one calculation module and does not set a result write bus. A completion field and a misalignment field are set in the ROB, and these two fields are updated when the operation is dispatched and executed. After the operation is executed, the first operation checks the misalignment field of its corresponding item in the ROB to determine whether to report an instruction fetch address misalignment exception. The present invention aims to provide a method for processing an instruction fetch address misalignment exception with low area overhead for an out-of-order superscalar processor of the RISC‑V architecture.
Owner:NAT UNIV OF DEFENSE TECH

A dynamic patching-based evasion malware detection method and system

PendingCN122365490ATerm memoryMalware
The application discloses an evasive malicious software detection method and system based on dynamic plug-in. The method is as follows: deploying anti-anti-plug-in strategy, constructing trapping environment; inserting monitoring code in multiple levels of the trapping environment, establishing multi-level and fine-grained program behavior monitoring; for each target program in the trapping environment, after the probe instruction or function in the monitoring code is executed, the memory buffer area or register used for storing the probe result is dynamically identified and marked; the probe result is continuously monitored, when the probe result is tracked to be used for comparison instruction and affects the jump of subsequent conditional branch instruction, it is determined that the target program has a "probe-decision" logic chain; when the target program has one or more "probe-decision" logic chains, it is determined that the target program is evasive malicious software. The application can realize accurate, robust and automatic identification of evasive behavior.
Owner:INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES

Low-code service configuration engine and configuration method thereof

The invention relates to the technical field of low codes, in particular to a low-code service configuration engine and a configuration method thereof. The device comprises a relation unit execution module used for defining and executing an input-operation-output relation unit; the JSON configuration analysis module is used for analyzing a configuration file in a JSON format, the configuration file comprises version information, variable initialization configuration and task configuration, and system behaviors are defined in a declarative configuration mode; the hardware abstract interface module is used for providing an operation interface irrelevant to hardware and realizing complete abstraction of hardware operation through a callback mechanism; the backup storage module is used for storing and backing up the configuration file by adopting two storage slots, and each storage slot is provided with a configurable storage space; and the real-time multi-task execution module is used for task scheduling and execution based on RTOS and supports multi-task parallel execution, conditional branching and loop control. According to the invention, the development complexity of the industrial control system is reduced, and non-technical personnel can quickly configure complex control logic.
Owner:SHANGHAI SECOND POLYTECHNIC UNIVERSITY

Conditional branching for a federated graph query plan

Example solutions for optimizing an initial query execution plan for a federated database includes identifying a group of operations in the initial query execution plan that conform to a recognized pattern including fetching data from a data store. Based on detection of the pattern and of the presence of a condition, an optimized query execution plan is created from the initial query execution plan by replacing the group of operations with a first execution branch and a second execution branch, wherein the optimized query execution plan executes at least one of the first and second execution branches. The first execution branch includes first operations for fetching the data from a first data store and the second execution branch comprise second operations for fetching at least a subset of the data from a second data store.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Instruction processing method and device, electronic equipment, chip and storage medium

The invention provides an instruction processing method and device, electronic equipment, a chip and a storage medium, and the method comprises the steps: employing a first branch predictor to predict the branch direction of a current instruction in response to the current instruction being a conditional branch instruction, so as to obtain a first prediction result; wherein the first prediction result is used for indicating whether jumping occurs or not after the current instruction is executed; in response to the current instruction being a cyclic branch instruction, predicting the branch direction of the current instruction by adopting a second branch predictor to obtain a second prediction result; wherein the second prediction result is used for indicating whether jumping occurs or not after the current instruction is executed; and in response to the fact that the second prediction result is different from the first prediction result, the second prediction result is adopted to correct the first prediction result, so that the accuracy of the first prediction result is improved, and based on the accurate first prediction result, the performance loss caused by prediction errors can be reduced.
Owner:BEIJING X RING TECHNOLOGY CO LTD

Circuits and methods for conditional fence instructions

Circuits and methods for conditional fence instructions are described. In some examples, a hardware processor (e.g., a core) includes a branch predictor to predict one of an taken path and an untaken path of a conditional branch instruction; decoder circuitry to decode an instruction to a decoded instruction, the instruction including a field indicating a condition set by executing another instruction and an opcode indicating that the execution circuitry will implement an execution fence in response to the condition being satisfied to delay execution of the instruction prior to execution of a previous instruction in a program order, the opcode indicating that the execution circuitry will implement the execution fence in response to the condition being satisfied. And before the instruction is executed, delaying execution of an instruction following the instruction according to the program order; and the execution circuit is used for executing the decoded instruction according to the operation code.
Owner:INTEL CORP

Multiple conditional branching statement for conditional branching operations

Several embodiments of the present disclosure relate to the conditional execution of program code. In one exemplary embodiment, a system is provided comprising instruction call circuits, decoder circuits, and multiple conditional branch circuits. The instruction call circuits are designed to retrieve a multiple conditional branch instruction (MCBI) from memory. The MCBI identifies multiple status registers and multiple branch destinations. The multiple status registers of the MCBI represent registers that hold the results of multiple condition evaluations, such that each status register corresponds to a different one of the multiple condition evaluations. Similarly, the multiple branch destinations of the MCBI each correspond to a different one of the multiple condition evaluations. The instruction call circuits provide the MCBI to the decoder circuits.In response, the decoder circuits are designed to cause the multi-condition branch circuits to execute the multi-condition branch instruction.
Owner:TEXAS INSTRUMENTS INC