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

14 results about "Java bytecode" patented technology

Java bytecode is the instruction set of the Java virtual machine (JVM).

AI service intelligent fault tolerance and degradation method and device based on Java bytecode enhancement technology, equipment, medium and product

The invention discloses an AI service intelligent fault tolerance and degradation method, device and equipment based on a Java bytecode enhancement technology, a medium and a product, and relates to the technical field of AI service integration. According to the method, in a class loading period of Java application starting, a loaded class is scanned to identify target methods marked with declarative fault-tolerant annotations, a bytecode operation framework is utilized to enhance the target methods so as to implant a unified fault-tolerant logic interception entry, and then in a running period, when the target methods are called, the target methods are subjected to fault-tolerant annotation processing. And triggering a fault-tolerant interceptor through the interception entrance to analyze the annotation to obtain a fault-tolerant strategy, allocating an independent fault-tolerant component instance to the fault-tolerant interceptor based on the unique identifier of the method, constructing and executing an enhanced call chain containing a fusing check and retry mechanism, and finally, if the execution of the call chain fails, executing the fault-tolerant interceptor. And if yes, a preset degradation method in the fault-tolerant strategy is automatically executed, so that complete non-intrusive decoupling of AI service fault-tolerant management and service logic can be realized, and the reliability of the system is remarkably improved.
Owner:BEIJING INSIGHT NETWORK CO LTD

A decompilation processing method and device, electronic equipment and storage medium

The application discloses a decompilation processing method and device, electronic equipment and a storage medium, and relates to the field of computers.The method comprises the following steps: creating three dynamic arrays in the form of class objects, namely a first dynamic array, a second dynamic array and a third dynamic array; traversing each Java Card bytecode, and based on the operation code and the operand of the Java Card bytecode, dynamically filling the Java Card bytecode and the generated Java bytecode information after conversion into the first dynamic array, the second dynamic array and the third dynamic array; and reading the Java Card bytecode in the dynamic array in sequence, and performing linkage address conversion mapping of the Java Card bytecode, so as to realize decompilation processing of the Java Card bytecode.The application can normally process decompilation operations in a scenario where the length of an operation object exceeds the agreed length.
Owner:WUHAN TIANYU INFORMATION IND

Java bytecode injection methods and apparatuses, electronic devices, and storage media

This specification provide example Java bytecode injection methods, apparatuses and machine-readable storage media, which can be applied to a Javaagent framework deployed in a Java virtual machine. In an example, a to-be-injected Java bytecode submitted by a target service module in at least one service module is obtained, and a target implementation class corresponding to the to-be-injected Java bytecode is determined. A target injection point type corresponding to the target implementation class is determined, and the target injection point type is respectively matched with mapping relationships maintained in the Java virtual machine to determine a target injection mode corresponding to the target injection point type. A globally unique class transformer is invoked so that the class transformer injects, based on the target injection mode, the Java bytecode into a class file that corresponds to the target service module and that is to be loaded by the Java virtual machine.
Owner:ALIPAY (HANGZHOU) INFORMATION TECH CO LTD

Online pricing method, device, equipment and storage medium

The application relates to an online pricing method, device, equipment and storage medium, and particularly relates to the field of financial calculation. The method comprises the following steps: obtaining target transaction data and a target formula statement; when it is detected that a JAVA class of the target formula statement exists in a cache, calling the JAVA class corresponding to the target formula statement, processing the target transaction data to obtain a target pricing result, and the JAVA class corresponding to the target formula statement is obtained by loading a JAVA bytecode file corresponding to the target formula statement; the JAVA bytecode file is generated based on the arrangement order of operators and operation components in a reverse polish expression of the target formula statement. The above scheme separates the compiling process and the calculation process, avoids the tedious operation of interpreting a sentence and then executing the sentence by the computer equipment, simplifies the calculation logic, and improves the operation speed of online pricing.
Owner:GLODON CO LTD

A test method for an application system

The application relates to the technical field of testing, and discloses a test method for an application system, which comprises the following steps: acquiring a system configuration file, a local application program package and a corresponding local Java bytecode file of a local application system, and determining a target full-amount corresponding relationship of the local application system; acquiring different Java bytecode files of different versions of application program packages, and determining a program difference list; acquiring an outbound configuration file, and combining the target full-amount corresponding relationship and the program difference list to determine a first full-amount test range of the local application system and a plurality of second full-amount test ranges of a plurality of other application systems, and then testing the application system to obtain a target test result of the application system, which realizes bidirectional accurate analysis of a test range of a local program change on itself and other systems and of other system changes on the local system, comprehensively covers transaction interface and business function test requirements among multiple systems in an enterprise, and guarantees the overall operation stability of the application system.
Owner:BEIJING RONGXIN YIAN INFORMATION TECH CO LTD

Semi-random automatic testing method and system for Android local library

PendingCN121364997AError detection/correctionProgramming languageJava bytecode
The embodiment of the invention provides a semi-random automatic testing method and system for an Android local library, and the method comprises the steps: taking an Android APK as input, and generating a local library function list; c / C + + codes in the APK are converted into Java byte codes, and the Java byte codes are repackaged to obtain a cross-language unified APK; based on the cross-language unified APK, constructing a composite call relation graph containing App states, UIs and cross-language function calls; according to the composite calling relation graph, guiding random testing so as to generate a state transition event library; based on the state transition event library, generating a test case pool by adopting a permutation and combination strategy; and selecting a test case from the test case pool, and executing a semi-random automatic test on the Android local library function. According to the invention, the pertinence, the coverage rate and the efficiency of the test can be obviously improved.
Owner:BEIJING UNIV OF TECH

Log tracking method and device based on bytecode enhancement, equipment and medium

The embodiment of the invention provides a log tracking method and device based on bytecode enhancement, equipment and a medium, and relates to the technical field of data processing. The method comprises the following steps: determining a log tracking rule; obtaining a Java bytecode file, and converting the Java bytecode file into an abstract syntax tree structure by utilizing the bytecode operation framework; inserting a log recording instruction at a position corresponding to the log content of the target method in the abstract syntax tree structure, and converting the abstract syntax tree structure in which the instruction is inserted into an enhanced Java bytecode file by utilizing a bytecode operation framework; and running a Java application program according to the enhanced Java bytecode file, and when a log recording instruction is executed, collecting log contents of the target method to obtain a log tracking result. Therefore, the method can improve the log tracking efficiency and improve the stability and availability of the Java application program on the basis of not influencing the readability and maintenance cost of the code.
Owner:ABC FINANCIAL TECH CO LTD

Function call analysis method and device based on ASM bytecode and medium

The invention discloses a function call analysis method and device based on ASM byte codes and a medium, belongs to the technical field of computer software code development, and aims to solve the technical problem of how to analyze Java byte codes and accurately deduce a call relation between functions on the premise of not running a program.The technical scheme includes that a Jav a program analysis configuration file is newly added; function method calling information is collected; regular matching of function method calling information is carried out, wherein an InvokeMetal Matcher class is newly added to define a function matching expression; the method comprises the following steps of: analyzing function method substitute information: calling a newly added InvokeMedia Analyser class analysis function, and calling the newly added InvokeMedia Analyser class analysis function; a function method is output to call an information analysis result; an InvokeMetal ResultOutput class output function call result is newly added to a specified file; and a Java program code analysis process is executed, specifically, the InvokeMedia AnalyserUtils tool class is newly added to load the corresponding configuration file, and the Java program code analysis process is executed.
Owner:SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD

Method and device for generating Java byte code hidden watermarking based on latent semantic adversarial

The invention discloses a Java byte code hidden watermarking method and device based on latent semantic adversarial generation, and belongs to the technical field of software watermarking. The method comprises the following steps: constructing a training data set containing a plurality of semantic equivalence code pairs; constructing a generative adversarial network based on a Transform architecture, wherein the generative adversarial network comprises a feature embedding layer, a generator, a latent semantic space virtual obfuscator and a discriminator; based on the training data set, applying disturbance to an output feature sequence of the generator by using a latent semantic space virtual obfuscator, performing watermark signal identification on the disturbed feature sequence by using a discriminator as a confrontation condition, and performing alternate confrontation training on the generator and the discriminator; and inputting the original Java bytecode instruction sequence to be protected and the target watermark information into the generative adversarial network, and outputting the Java bytecode instruction sequence which is semantically equivalent and embedded with the target watermark information by a generator. According to the invention, the concealment of the watermark is improved.
Owner:COLASOFT

Log desensitization method and system based on Java bytecode rewriting, storage medium and product

The invention discloses a log desensitization method and system based on Java bytecode rewriting, a storage medium and a product, and relates to the technical field of log desensitization, the log desensitization method based on Java bytecode rewriting comprises the following steps: scanning folder paths of all Java source files in a compiling stage, and temporarily storing scanned class files; when the character string conversion algorithm of the class file is traversed, updating byte codes in the character string conversion algorithm into a preset desensitization algorithm to obtain a target character string conversion algorithm; if the to-be-recorded log contains the sensitive information, matching a sensitive field corresponding to the sensitive information based on a desensitization configuration file of a configuration center; and when the configuration center does not contain the sensitive field, acquiring and calling a newly added desensitization strategy to perform desensitization processing on the sensitive field. On the basis, the code does not need to be put into production again, dynamic desensitization is carried out on the newly added desensitization content, and the efficient and timely desensitization effect is achieved.
Owner:CHINA MERCHANTS BANK

Java bytecode steganography method and device based on latent semantic adversarial generation

The application discloses a Java bytecode hidden watermarking method and device based on latent semantic generative adversarial, and belongs to the technical field of software watermarking. The method comprises the following steps: constructing a training data set comprising a plurality of semantic equivalent code pairs; constructing a generative adversarial network based on a Transformer architecture, wherein the generative adversarial network comprises a feature embedding layer, a generator, a latent semantic space virtual confuser and a discriminator; based on the training data set, applying disturbance to an output feature sequence of the generator by the latent semantic space virtual confuser, and performing watermark signal identification on the disturbed feature sequence by the discriminator as an adversarial condition, and alternately training the generator and the discriminator; inputting an original Java bytecode instruction sequence to be protected and target watermark information into the generative adversarial network, and outputting a Java bytecode instruction sequence which is semantic equivalent and embedded with the target watermark information by the generator. The application improves the concealment of the watermark.
Owner:COLASOFT

Java application program generation method and device, Java application program operation method and device, equipment and medium

The invention discloses a Java application program generation method and device, a Java application program operation method and device, equipment and a medium, which are used for enhancing the reverse analysis prevention capability of a Java application program, are safe and efficient in protection effect and have good service compatibility. The method comprises the following steps: acquiring a Java bytecode file to be encrypted from a target namespace; for each Java byte code file to be encrypted, generating an encryption parameter, and encrypting a Java byte code by using the encryption parameter to obtain a Java byte code ciphertext; function bodies of all functions in the Java bytecode file are emptied, declarations of all the functions are reserved, and for each function, a default return value of the function is filled according to the return type of the function; encrypting the encryption parameter to obtain an encryption parameter ciphertext; using the Java byte code ciphertext and the encryption parameter ciphertext to generate a Java byte code encryption file; and based on all the Java byte code encryption files, generating a Java application ciphertext program package.
Owner:ZHEJIANG DAHUA TECH CO LTD

Java cryptography static analysis tool and method based on Soot

The invention discloses a Soot-based Java cryptography static analysis tool and method, and belongs to the field of software static analysis, and the method comprises the following steps: S1, environment initialization: inputting a JAR file or class folder path by a user, and starting and initializing Soot configuration by using an Entry class main method; s2, traversing application program classes by using a Soot analysis worker, pre-loading byte code representation of a method body, and constructing a call graph by using the Soot analysis worker at the same time; s3, task allocation and parallel processing are carried out, a plurality of independent detectors are constructed, and the detectors execute the allocated task queues in parallel; s4, generating a vulnerability report; s5, cleaning and exiting; according to the method, the powerful analysis function of Soot on Java bytecodes is utilized, on the basis of key technologies such as data flow tracing, control flow analysis and call graph construction, the tool performance is optimized in combination with programming technologies such as method-level multithreading, and efficient cryptographic detection is conducted on the Java codes.
Owner:NANJING UNIV OF SCI & TECH

API (Application Program Interface) document generation method and system based on Java bytecode static analysis

The invention relates to an API (Application Program Interface) document generation method and system based on Java bytecode static analysis, which thoroughly get rid of the dependence on the environment when an application program runs by directly reading a JAR / WAR packet and carrying out static analysis on a bytecode file. This means that the API document can be generated immediately after the code is compiled and packaged, the efficiency and flexibility of document generation are greatly improved, and the API document can be more easily integrated into a DevOps process. All complex data types in the input parameter and the output parameter of the method can be recursively analyzed by utilizing the method signature, the field information and the generic information obtained by the byte code level. Through accurate analysis of method signatures and mapping of class generic parameters, even a deep nested generic structure can be accurately identified and analyzed to class definitions in a dependency library. And based on analysis of the annotations in the byte codes, the flexibility is high, and the expansibility is high.
Owner:SHANGHAI FINANCIAL FUTURES INFORMATION TECH CO LTD