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

5 results about "Java Native Interface" patented technology

The Java Native Interface (JNI) is a foreign function interface programming framework that enables Java code running in a Java virtual machine (JVM) to call and be called by native applications (programs specific to a hardware and operating system platform) and libraries written in other languages such as C, C++ and assembly.

An HDMI audio acquisition method based on AUDIOTRACK

This application provides an HDMI audio acquisition method based on AUDIOTRACK. The method includes: obtaining a Java Virtual Machine instance in the Java native interface initialization function of the native library, obtaining a reference to the target callback method in the Java layer based on the Java Virtual Machine instance, responding to the start of audio acquisition, calling the target audio acquisition method in the Native layer to initialize the HDMI capture card and configure the corresponding acquisition parameters, acquiring the corresponding audio data from the HDMI capture card, calling the set callback function in the Native layer, and transmitting the audio data in real time to the target player of the Android system running in the Java layer based on the callback function, receiving the audio data through the target player of the Android system, and outputting the audio data to the audio device after resampling and clock synchronization processing by the target player.
Owner:BEIJING TRICOLOR TECH

An Android application hardening method, system and device

The application provides an Android application reinforcement method, comprising the following steps: receiving a custom interpreter file generated by an interpreter file in a Dalvik virtual machine source code; selecting a plurality of protected functions from an executable file to construct local methods and generate Java native interface functions; extracting all instructions of the protected functions from each local method; sequentially performing metadata collection, code disordering and offset correction processing on all instructions of the protected functions to obtain virtual codes which can be transferred to the custom interpreter for interpretation execution through the Java native interface functions; saving all obtained virtual codes in a resource file; and encrypting the custom interpreter file and the resource file containing the virtual codes and then compiling them into an application package file to obtain a reinforced application package file. The application aims to solve the problem that reverse analysis personnel can quickly obtain effective semantics of the reinforced Android application and expose security risks of the Android application.
Owner:INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES

Java application control method and management platform

This application provides a Java application control method and management platform. The method includes: receiving a user-input image, the image including the bytecode of the Java application and runtime dependency files of the Java application; the bytecode of the Java application is compiled from the source code of the Java application; based on the usable Java native interfaces in the bytecode of the Java application, identifying the set of usable system calls of the Java application in the runtime dependency files; the usable Java native interfaces are Java native interfaces that the Java application can use when running in the target container; when the Java application runs in the target container, controlling the system calls actually used by the Java application to be within the set of usable system calls. This method can efficiently and accurately limit the system calls that an application can use without affecting the application's business logic.
Owner:HUAWEI TECH CO LTD

Java local interface memory security protection method and device based on memory label extension

The invention discloses a Java local interface memory security protection method and device based on memory tag extension in the technical field of computer security, and the method comprises the following steps: when a Java virtual machine calls a local method code through a JNI interface, and when a jump function for transferring a control flow to the local method code is completed, starting an MTE debugging function by using a TCO register; mTE represents memory tag extension; and when the control flow of the local method code is transferred to the springboard function of the Java virtual machine, closing the MTE debugging function by using the TCO register. MTE debugging start and stop are controlled through a thread level, and errors caused by the fact that a correct label is not set when a garbage collection thread accesses an object are solved; the ARM MTE hardware characteristics are used for safety protection of JNI memory operation, so that the safety and performance problems of an existing method for coping with large-scale Java applications are effectively improved, and meanwhile, the reliability and safety of the whole system are improved.
Owner:WUHAN UNIV

Data Protection Method and Data Protection Device

A data protection method and a data protection device are provided according to the disclosure. The method includes: obtaining original data; generating, by a secret key generator, secret key information according to a plurality of parameters, wherein the secret key generator is implemented based on a native code and stored in a Java native interface (JNI) native library, and the parameters includes at least certificate information and signature validity information related to a package file; encrypting the original data by using the secret key information to obtain cipher data; and storing the cipher data in the package file.
Owner:ASUSTEK COMPUTER INC