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

30 results about "Program behavior" patented technology

BEHAVIOR - what is the actual behavior that results CONSEQUENCE - what happens in response to the behavior. A behavior program can work on all three of these steps, such as minimizing the triggers for a behavior, shaping more appropriate behavior in the child,...

Industrial robot programming teaching method and system

The invention discloses an industrial robot programming teaching method and system, and belongs to the technical field of programming teaching, and the method specifically comprises the steps: collecting programming behavior data and industrial robot operation data in real time, generating learning state data of students according to the programming behavior data and the industrial robot operation data, and storing the learning state data of the students; the learning state data of the student comprises a programming behavior, a knowledge mastering degree and a learning style of the student, determining a knowledge point node embedding offset in combination with a preset dynamic knowledge graph according to the learning state data of the student, and updating the current dynamic knowledge graph according to the knowledge point node embedding offset, determining a current knowledge difficulty of the student based on the current dynamic knowledge graph, and pushing difficulty analysis data to a learning terminal of the student based on the current knowledge difficulty; according to the invention, accurate knowledge feedback for individual differences is realized, and the pertinence and efficiency of industrial robot programming teaching are effectively improved.
Owner:ZHEJIANG HENGRUI ROBOT TECH CO LTD

Intelligent Optimization of Software Performance Through Generative Artificial Intelligence

Arrangements for optimizing software performance through generative artificial intelligence are provided. Execution data associated with a user interacting with an application programming interface through a user interface on a computing device may be received. Trace data based on the execution data may be generated. The trace data may indicate that a performance of an application is degraded. One or more performance prompts specifying program behavior may be generated. Application source code and the performance prompts may be sent to an artificial intelligence engine for performing key performance indicator driven code analysis. The one or more performance prompts may have been executed in the artificial intelligence engine for pretraining a large language model. Optimized source code may be received from the artificial intelligence engine. Performance testing may be executed on the optimized source code. An action may be performed to address the performance of the application.
Owner:SAP SE

Program error tracing method, electronic equipment, storage medium and program product

The embodiment of the invention provides a program error tracing method, electronic equipment, a storage medium and a program product. The method comprises the following steps: acquiring behavior data when a program runs; comparing the behavior data with a reference behavior model, and identifying abnormal behavior nodes; based on the abnormal behavior nodes, constructing a correlation graph of program behaviors; and based on the association map, positioning the root cause of the program error through bidirectional tracing. According to the method, the transformation from experience-dependent and isolated phenomenon analysis to systematic and automatic root cause mining is realized, and the problem of cross-module and hidden complex error tracing is solved.
Owner:BEIJING TOPSEC NETWORK SECURITY TECH +2

Privacy protection method and system for preventing misbehavior app based on deep learning

This invention provides a privacy protection method and system for preventing misbehavior in mini-programs based on deep learning. It utilizes the collaborative efforts of deep learning and program analysis techniques to detect inconsistencies between the expected and actual behavior of mini-programs. This invention provides a novel mini-program analysis technique that associates UI information of widgets with corresponding program behaviors and determines the actual behavior of widgets based on program analysis, thereby enabling the construction of large-scale, high-quality training datasets. Based on the results of program analysis, deep learning techniques are used to learn an icon-behavior model from unstructured datasets to infer the expected behavior of widgets. This invention uses a defined three-layer standard model to detect differences between actual and expected behavior by calculating outlier scores. If any inconsistency is found, it indicates the presence of a misbehaving mini-program. The risk level of the inappropriate behavior can then be estimated, and countermeasures can be proactively implemented.
Owner:NANJING UNIV

Method and apparatus for detecting API behavior across resource pools

This application discloses a method and apparatus for cross-resource pool API behavior detection. The method includes: acquiring historical code corresponding to API behavior in the source and destination resource pools and related network performance loss data; constructing sine / cosine functions based on this data and determining the positional encoding of the historical code; acquiring the code corresponding to the API behavior in the source and destination pools and determining the corresponding word segmentation encoding; determining the positional vector corresponding to the source and destination code based on the word segmentation encoding and the stored positional encoding; detecting whether the positional vector matches the stored sine / cosine functions; and determining whether the API behavior in the source and destination pools is abnormal based on the detection result. This application improves the uniqueness of consistency analysis results by expanding the code dimension features through multiple sine / cosine functions, solving the problem of low accuracy in consistency analysis of program behavior using distance similarity in related technologies, and avoiding the problem that consistency analysis results in related technologies are easily manipulated and corrupted by malicious nodes.
Owner:CHINA TELECOM CORP LTD

SOC verification optimization method, device, computer equipment, and medium based on instruction stream analysis

The present application relates to a SOC verification and optimization method, apparatus, computer equipment, and medium based on instruction stream analysis, which uniformly samples subroutines of a program and extracts Basic Block sequence information in the subroutines; extracts instruction information of each Basic Block; aggregates instruction information and Basic Block sequence information to obtain an instruction sequence, and constructs an instruction semantic sequence model based on an autoregressive language model based on the instruction sequence; constructs a Basic Block program behavior representation model based on the instruction semantic sequence model and using a comparative learning method; reads several sliced ​​subroutines to be run, and obtains the semantic representation of the sliced ​​subroutines through the Basic Block program behavior representation model; constructs a subroutine similarity matrix based on the semantic representation of the sliced ​​subroutine, and performs program selection based on the subroutine similarity matrix.
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

Method and system for evaluating influence of quantitative code change on program implementation effect

The invention relates to the technical field of software engineering and software quality assurance, and provides a method and a system for evaluating influence of quantitative code change on a program implementation effect. The method comprises the following steps: acquiring code difference information between a to-be-tested code branch and a baseline branch, analyzing and extracting structured information of a changed code through a large language model, and calculating a basic influence value of the structured information of the changed code; calling a program behavior feature library based on the structured information of the change code, and calculating a dynamic adjustment coefficient; calculating the final influence score of each dimension according to the product of the basic influence value of the structured information of the change code and the dynamic adjustment coefficient; the final influence score of each dimension comprises a core function influence score, a performance efficiency influence score, a data consistency influence score, an interface compatibility influence score and a security influence score; and generating an influence analysis report according to the final influence score of each dimension. According to the method, the basic influence value determined by the change type is multiplied by the dynamic adjustment coefficient determined by the module criticality and the historical risk, so that the code change influence is accurately and dynamically quantified.
Owner:SHAN DONG MSUN HEALTH TECH GRP CO LTD +2

Precise test service system based on software code analysis reasoning

PendingCN122654006ARegression testingAlgorithm
The application belongs to the technical field of automatic software testing and program analysis, and relates to a precise testing service system based on software code analysis reasoning, which comprises a data acquisition and initial graph construction module, an initial context-aware probability execution graph being constructed in combination with static potential call edges; a syntax change semantic analysis module, a structured syntax disturbance signature being generated; a probability disturbance instruction generation module, conditional probability disturbance instructions and polymorphic distribution disturbance instructions being generated, and a probability disturbance instruction set being aggregated; a graph real-time reconstruction module, a reconstructed probability execution graph being generated; an influence domain propagation analysis module, affected nodes being determined and an affected function set being generated; and a regression test subset generation module, a minimized regression test subset being generated. The application solves the problem that, when a traditional regression test selection method faces context-related program behaviors, the actual runtime influence probability of changes cannot be quantified, resulting in inaccurate test range selection.
Owner:SHANGHAI HIISO INFORMATION TECH CO LTD

Communication behavior prediction method based on runtime program behavior analysis and code patches

The invention provides a runtime program behavior analysis and code patch-based communication behavior prediction method, which comprises the following steps of: inserting a code patch in a program code, the code patch comprising an instrumentation point; when the program runs to the instrumentation point for the first time, program behavior analysis is triggered, and the program behavior analysis comprises the steps of discovering a communication function according to a predefined analysis rule, reversely tracking and identifying a data relationship among parameters on which the communication function depends along a program path, and analyzing execution time of each communication point in the communication function; and according to the data relationship and the execution time, predicting the communication data volume and the communication occurrence time from the current program position to the communication point. According to the method, the program behavior of distributed machine learning can be observed, and the next communication behavior is speculated according to the program behavior. As one backstepping process is omitted, the method has higher prediction precision.
Owner:FUDAN UNIVERSITY

Leveraging publisher profile and reputation to mitigate malicious activity

The techniques disclosed herein enable systems to leverage publisher profile and reputation to detect malware and block malicious actors. This is accomplished by obtaining a description of a software application that is pending release from the publisher. The description defines the nominal functionality of the software application such as expected program behaviors and device driver accesses. The system then catalogues the actual functionality of the software application by analyzing the program code implementing the software application. Accordingly, the generative model can detect inconsistencies between the actual functionality and the nominal functionality. In response, the generative model can initiate an interaction with the publisher to resolve the inconsistency. The publisher can respond with a justification of the inconsistency which is evaluated by the generative model in accordance with a reputation score associated with the publisher. The generative model optionally approves or blocks the software application based on the reputation score.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

A method, device, and medium for constructing a semantic feature library of industrial control protocols based on program behavior analysis.

This application belongs to the field of industrial control protocols and discloses a method, device, and medium for constructing an industrial control protocol semantic feature library based on program behavior analysis, including: S1: constructing typical industrial control field tags to form a unified set of field semantic tags; S2: acquiring execution context data; S3: performing symbolic execution analysis of protocol message processing to extract symbolic expressions related to protocol field processing; S4: dividing protocol field boundaries and classifying symbolic expressions by field as the original dataset; S5: extracting field program behavior features; S6: filtering field semantic features to select the most distinguishable field semantics from the original features; S7: constructing a semantic feature library by statistically analyzing the filtered features of each field in the original dataset, selecting filtered features that appear more frequently than a preset frequency and combining them to form composite features that can describe field semantics, and forming a complete industrial control protocol semantic feature library by constructing composite features for all fields.
Owner:NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP

Hybrid mitigation of speculation-based attacks based on program behavior

Apparatuses and methods for mitigating speculative based attacks on a processor are disclosed. In one example of the disclosed technology, an apparatus includes a processor, the apparatus having a memory positioned to store profiler data to measure at least one performance criterion for an instruction stream executed by the processor, and having control logic configured to select one of a plurality of mitigation schemes to mitigate a speculative based attack on the apparatus based on the measured performance criterion. The apparatus can include a remediation unit that can prevent a speculative side effect by implementing a delay scheme, a redo scheme, or a rollback scheme, which prevents side effect data generated by a mis-speculative instruction from becoming visible to an attacker.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Industrial control protocol semantic feature library construction method and device based on program behavior analysis and medium

The invention belongs to the field of industrial control protocols, and discloses an industrial control protocol semantic feature library construction method and device based on program behavior analysis, and a medium, and the method comprises the steps: S1, constructing typical industrial control field tags, and forming a unified field semantic tag set; s2, executing context data acquisition; s3, performing symbolic execution analysis in a protocol message processing process, and extracting a symbolic expression related to protocol field processing; s4, dividing protocol field boundaries, classifying symbol expressions according to fields, and taking the symbol expressions as an original data set; s5, field program behavior feature extraction; s6, field semantic feature screening: screening out screening features which can distinguish field semantics most from the original features; and S7, constructing a semantic feature library, counting the screening features of each field in the original data set, selecting the screening features appearing at a frequency greater than a preset frequency, combining the screening features to form composite features capable of describing field semantics, and constructing the composite features for all fields to form a complete industrial control protocol semantic feature library.
Owner:NO 30 INST OF CHINA ELECTRONIC TECH GRP CORP

Formal protocol generation and verification method for ESBMC

The invention discloses a formalized protocol generation and verification method for an ESBMC, which reduces manual intervention by combining a large language model and an ESBMC tool, can significantly improve the verification efficiency and accuracy of a complex program, and can fully reflect the real behavior of the program by an automatically generated protocol when processing the program containing a complex control structure. The method comprises the following steps: analyzing extracted program information by using a large language model, automatically generating a precondition, a postcondition and a loop invariant formalized protocol, and inputting the precondition, the postcondition and the loop invariant formalized protocol into an ESBMC tool for verification to obtain a verification result. The verification result of the ESBMC is fed back to the protocol generation module, the generated protocol is refined and repaired, the generation strategy is dynamically adjusted, optimization is carried out according to different program behaviors, and it is ensured that the generated formalized protocol is accurate and effective. The capability of continuously optimizing the large language model through supervision fine tuning and enhanced training enables the model to automatically adapt to the characteristics of different programs, and a more accurate protocol is generated.
Owner:ZHEJIANG UNIV

A learning analysis system and method for online programming learning

This invention relates to the field of educational technology, specifically to a learning analysis system and method for online programming learning, comprising a programming behavior collection module, a code semantic quantification module, a cognitive load assessment module, a learning stage discrimination module, and a cognitive adaptation resource library; wherein: the programming behavior collection module is used to collect operational behavior data; the code semantic quantification module is used to parse the abstract syntax tree of user-submitted code; the cognitive load assessment module is used to output a three-dimensional load index; the learning stage discrimination module is used to determine the user's current stage; and the cognitive adaptation resource library matches resources based on the discrimination results of the learning stage discrimination module. This invention, by collecting learners' programming behavior data in real time and combining it with cognitive load assessment, accurately determines the learner's learning stage, thereby providing personalized teaching resources, thus improving programming learning efficiency and reducing cognitive load.
Owner:QINGDAO RUIKE INTELLIGENT ROBOT TECH CO LTD

Test case processing method and device, storage medium and electronic equipment

The invention discloses a test case processing method and device, a storage medium and electronic equipment, and relates to the technical field of software testing, and the method comprises the following steps: firstly, obtaining code files corresponding to a plurality of test cases; performing structured analysis on the code file, and extracting key operation nodes, natural language clauses and input parameters respectively corresponding to the plurality of test cases; on the basis of the key operation nodes, the natural language clauses and the input parameters, the mixing similarity of the multiple test cases is calculated; determining the test cases with the mixing similarity higher than a similarity threshold as redundant test cases; according to the method, duplicate removal processing is carried out on redundant test cases through the deep learning model, the capability of understanding program behavior semantics is remarkably improved, then test scripts with equivalent functions in different languages can be recognized, meanwhile, the accuracy and processing efficiency of duplicate removal of the test cases are improved, and the test efficiency is improved. And the actual requirements of multi-language and large-scale test scenes in software testing can be better met.
Owner:HANGZHOU HAILIANG DIGITAL TECH CO LTD

Verification method and system for anti-quantum cryptography hybrid programming language program

The invention relates to an anti-quantum cryptography hybrid programming language program verification method and an anti-quantum cryptography hybrid programming language program verification system. The method comprises the following steps: inputting a password protocol program to be verified in Rocq based on a hybrid programming language; subprograms in the cryptographic protocol program are modeled in a formalized mode through a module system, and classic program behaviors and quantum program behaviors in the cryptographic protocol program are described based on a unified grammar framework of a hybrid programming language; performing type checking and grammar checking on a program written based on a unified grammar framework and a module system; generating semantics of the program according to grammar for the program passing the check; protocol properties needing to be proved are described in a formalized mode according to grammar; establishing an inference rule based on program rewriting on the basis of grammar; and carrying out interactive certification on the formally described protocol property in the Rocq by using a certification strategy of the Rocq. According to the method, the security of the complex password protocol can be completely and accurately described and automatically verified, and the verification reliability and efficiency are remarkably improved.
Owner:INST OF SOFTWARE - CHINESE ACAD OF SCI

Program behavior intervention method based on quantum state

The invention discloses a program behavior intervention method based on a quantum state, particularly relates to the technical field of computer security protection, and is used for solving the problems of resource conflict and stability reduction caused by systematic mismatching when quantum randomness is directly introduced into a classical computing system. A quantum random number sequence is obtained in real time, system state parameters of a target program are monitored synchronously, then a clustering mode in the random sequence is recognized, the system state is coupled to determine an intervening scheduling gap of an operating system, and then the matching degree of the clustering mode and the scheduling gap is evaluated to judge the compatibility relation. On the basis of the relation and the system state parameters, constructing a Pareto leading edge of intervention efficiency and system stability and determining an optimal solution set, selecting an adaptive operation point by evaluating the cumulative effect of optimal solutions and historical intervention, and finally modulating a quantum random number sequence according to the operation point to generate an intervention instruction and injecting the intervention instruction into a target program; and adaptive cooperation of quantum randomness and system certainty is realized.
Owner:CHINA NAT INST OF STANDARDIZATION

A formal specification generation and verification method for esbmc

The application discloses a formal specification generation and verification method for ESBMC, which reduces manual intervention by combining a large language model with an ESBMC tool, can significantly improve the verification efficiency and accuracy of complex programs, and can fully reflect the real behavior of the program when processing programs containing complex control structures. The automatically generated specification can fully reflect the real behavior of the program when processing programs containing complex control structures. By using a large language model to analyze and extract program information, the preconditions, postconditions and loop invariant formal specification are automatically generated, which are input into the ESBMC tool for verification to obtain the verification result. The verification result of ESBMC is fed back to the specification generation module, the generated specification is refined and repaired, and the generation strategy is dynamically adjusted to optimize different program behaviors, so that the generated formal specification is accurate and effective. Through supervised fine-tuning and reinforcement training, the ability of the large language model is continuously optimized, so that the model can automatically adapt to the characteristics of different programs and generate more accurate specifications.
Owner:ZHEJIANG UNIV

A semi-automatic firmware refinement relationship verification method and system

This invention relates to a semi-automatic method and system for refining firmware relationships, comprising: S1, formal verification of the firmware abstract specification layer: First, modeling the firmware requirement interface document and performing attribute reduction, i.e., formal reduction; then, constraining the attribute reduction using first-order theory to generate an SMT expression file for the abstract specification layer; S2, formal verification of the firmware program execution specification layer; S3, SMT-LIB theory unification: through a semi-automatic method, converting both the SBI standard and program behavior into SMT expressions, and performing theoretical conversion and syntax unification on the converted SBI standard and program behavior; S4, formal verification of the SMT solver; S5, generating a verification report; S6, visualizing the verification report. This invention can effectively verify whether firmware meets requirement specifications and discover potential errors and security vulnerabilities.
Owner:SHANDONG UNIV

Method for the automated performance of software tests for a program to be tested in an embedded system

ActiveUS12639198B2Error detection/correctionSoftware engineeringProgram behavior
A method for the automated performance of software tests for a program to be tested in an embedded system. The method includes: ascertaining, using an emulation-based fuzzer, a program behavior of the program to be tested, wherein at least one emulation-based result is derived on this basis; ascertaining, using a hardware-based fuzzer, the program behavior of the program to be tested, wherein at least one hardware-based result is derived on this basis; providing, using a monitoring component, the derived results, wherein the emulation-based result is provided to the hardware-based fuzzer, and / or the hardware-based result is provided to the emulation-based fuzzer.
Owner:ROBERT BOSCH GMBH

GPU kernel execution time prediction method

The invention discloses a GPU (Graphics Processing Unit) kernel execution time prediction method, which comprises the following steps of: 1, performing a round of quick simulation on a GPU kernel, counting the execution frequency of each basic block, and establishing a global state vector G; 2, performing periodic accurate simulation on the GPU kernel, and constructing a local state vector L; step 3, if the similarity of L and G in a plurality of consecutive rounds of sampling exceeds a set threshold value, determining that the program behavior of the GPU kernel tends to be stable; 4, training a lightweight machine learning model, learning a distribution rule of basic block execution time along with global state change, and constructing a dynamic prediction model; and step 5, predicting the execution time by using the trained model, and accumulating the execution time of all the basic blocks to obtain the total execution time of the GPU kernel. The lightweight machine learning model is introduced, the method can dynamically adapt to stage change and non-stationary features of basic block execution time, prediction errors are effectively reduced, and simulation precision is improved.
Owner:UNIV OF ELECTRONICS SCI & TECH OF CHINA

Quantum state-based program behavior intervention method

The application discloses a quantum state-based program behavior intervention method, and particularly relates to the technical field of computer security protection, and is used for solving the resource conflict and stability decline caused by systematic mismatch when quantum randomness is directly introduced into a classical computing system; through real-time acquisition of a quantum random number sequence and synchronous monitoring of system state parameters of a target program, a cluster mode in the random sequence is identified, and the system state is coupled to determine an intervenable scheduling gap of the operating system; subsequently, the matching degree of the cluster mode and the scheduling gap is evaluated to determine a compatibility relationship; based on the relationship and the system state parameters, a Pareto frontier of intervention efficiency and system stability is constructed, and an optimized solution set is determined; through evaluation of the cumulative effect of the optimized solution and historical intervention, an adaptive operation point is selected; finally, an intervention instruction is generated according to the operation point by modulating the quantum random number sequence, and the intervention instruction is injected into the target program; and the adaptive cooperation of quantum randomness and system determinism is realized.
Owner:CHINA NAT INST OF STANDARDIZATION

Program behavior control method and device, system, equipment and medium

The invention provides a program behavior control method and device, a system, equipment and a medium, and the method comprises the steps: generating a check code of a target server associated with an unlogged program in response to a request of jumping from a logged program to the unlogged program; sending the check code to the logged-in program; wherein the check code is used for enabling the logged-in program to jump to the unlogged-in program by adopting the check code, and enabling the unlogged-in program to initiate a check request by adopting the check code; under the condition that a verification request of not logging in the program is received, verifying the validity of a verification code in the verification request; generating an access token and sending the access token to the unlogged program under the condition that the validity verification of the check code in the check request is passed; wherein the access token is used for accessing the target server. According to the method and the device, the flexible login-free skipping between the programs can be realized on the premise of ensuring the safety.
Owner:GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Code behavior analysis method for steel rolling process control system

The invention discloses a code behavior analysis method for a steel rolling process control system. The code behavior analysis method comprises the following steps: determining an instruction set architecture used by a program in the steel rolling process control system; performing instruction identification and binary processing, dividing a program into basic blocks, and establishing a mapping relation from the basic blocks to functions; analyzing parameter information transmitted to the sub-function by the parent function, and analyzing parameter and variable information of the sub-function through a stack top and stack bottom pointer to obtain a data transmission path in a function calling process; taking the input function as a start point of taint analysis, taking the output function as an end point of taint analysis, performing bidirectional taint analysis on the program, and constructing a program execution chain; performing code semantic analysis on the program, analyzing the typical field of the message, and constructing a weak supervised learning mode combining unsupervised learning and supervised learning to obtain a field identification and classification result. According to the method, program behaviors can be comprehensively mastered, and solid technical support is provided for system debugging, function verification, safety evaluation and potential vulnerability detection.
Owner:WISDRI ENG & RES INC LTD

Static analysis guided program behavior association monitoring and dynamic analysis method

The invention discloses a static analysis-guided program behavior association monitoring and dynamic analysis method, which comprises the following steps of: analyzing a function call structure diagram of a program source code by adopting a static analysis technology, and constructing a static program behavior diagram template in combination with an operating system behavior statement knowledge base; analyzing the dynamic behavior of the program based on the guidance of the static program behavior graph template, and expanding and perfecting the static program behavior graph template according to the related function interacting with the system behavior to obtain a static and dynamic fused expanded program behavior graph; and performing dynamic analysis on the program running process based on the extended program behavior graph, detecting whether the program deviates from the running expectation in real time, and performing clustering and chained recognition on abnormal behaviors. According to the method, collection of behavior information of the program in each dimension and systematic construction of program behaviors are realized, so that behavior characteristics of the program can be comprehensively analyzed, and the accuracy and reliability of an analysis result are improved.
Owner:XIDIAN UNIV

Online binary continuous optimization system and method supporting multi-instruction-set architecture and application

The invention discloses an online binary continuous optimization system supporting a multi-instruction-set architecture. The online binary continuous optimization system comprises a program behavior information acquisition module, an offline binary optimization module, an online code replacement module, an old version code recovery module and a program stage change detection and decision module, the program behavior information acquisition module realizes information acquisition during general operation through a self-adaptive dual-mode design; the offline binary optimization module converts the collected dynamic information into an intermediate representation, and performs optimization on the intermediate representation; the online code replacement module controls the process to start and stop and replaces the optimized fragment; the old version code recovery module detects and recovers old version codes through a runtime memory management mechanism; the program stage change detection and decision-making module monitors program performance index changes, identifies stage behavior switching and realizes continuous adaptive optimization of a closed loop. The invention also discloses an optimization method realized by using the system, and the method has a wide application prospect.
Owner:EAST CHINA NORMAL UNIV