Patents
Literature
Hiro is an intelligent assistant for R&D personnel, combined with Patent DNA, to facilitate innovative research.
Hiro

50 results about "Java class file" patented technology

A Java class file is a file (with the .class filename extension) containing Java bytecode that can be executed on the Java Virtual Machine (JVM). A Java class file is usually produced by a Java compiler from Java programming language source files (.java files) containing Java classes (alternatively, other JVM languages can also be used to create class files). If a source file has more than one class, each class is compiled into a separate class file.

System and methods for distributed execution of computer executable programs utilizing asymmetric translation

Dynamic program translation is utilized to convert an executable program in a first language executable representation to a second language executable representation that is either optimal or essentially required for execution within a defined execution environment on a client computer system. A dynamic translator, typically executed on a first computer system, is invoked in response to a request from a second computer system to provide an identified executable program. The dynamic translator performs an execution path analysis and optimized translation from a first representation, such as a Java class file, to generate executable code in the second representation, such as JavaScript. Optimizations include cross-language feature modifications, selective replacement of nominally un-translatable code portions, and insertion of call-back service requests to dynamically emulate services required in the execution of the program.
Owner:KAAZING CORP

JAVA compile-on-demand service system for accelerating processing speed of JAVA program in data processing system and method thereof

A JAVA program language compile-on-demand service system and method for accelerating a processing speed of a JAVA program in a data processing system having a relatively low performance is provided. The JAVA COD service system compiles a JAVA class file to be executed in a data processing system into a pattern which can be executed more speedily on the data processing system, and then transmits the compiled result, upon a request of the data processing system connected via a network in order to execute the JAVA program at a relatively faster speed. The system includes JAVA program providing servers, data processing systems, and a compile-on-demand server for receiving a service request, downloading a requested JAVA class file, compiling the downloaded JAVA class file, and transmitting the compiled result.
Owner:9FOLDERS INC

Method and system for dynamically loading services in service system

The invention discloses a method for dynamically loading services in a service system, which comprises the following steps: A, storing a JAVA type file applied by a new service or / and an updated service to a specified folder for the new service and the updated service, writing a configuration file of the JAVA type file of the new service or / and the updated service referring to a configuration template, and directly covering an old configuration file with the newly written configuration file; B, performing thread monitoring on the real-time new and update condition of the JAVA type file of the set type in the folder and extracting a new JAVA type file and storing the new JAVA type file to the memory in which the service system is positioned when the new JAVA type file is imported; and C, after the service system receives a service request of a user, acquiring and automatically resolving the configuration file of the system, calling a corresponding JAVA type file in the memory in which the service system is positioned according to the configuration file, executing the JAVA type file according to the logic of the JAVA type file, and providing an execution result to the user to make the service support available to the user. Simultaneously, the invention discloses a system for realizing the method. The method and the system realize the dynamic loading of the services.
Owner:BEIJING UNIV OF POSTS & TELECOMM

System and method for dynamically constructing synchronized business information user interfaces

Embodiments of the invention enable data that is synchronized between businesses to be displayed and interacted with by dynamically constructing graphical user interfaces to display the data. The graphical user interfaces are dynamically created via declarations that describe the data and how the data should be displayed along with the dependencies, validation and required characteristics of the data. The resulting dynamically created graphical user interfaces allow separate views of the data to be interacted with depending on the data pool that the data is intended for and a different data pool may be utilized by using a different declarative configuration at run time without recompiling and redistributing the application. The user interface files may be for example an XML file that may be parsed with any compliant schema based or DTD based XML parser. In at least one embodiment of the invention an N-tier architecture may be employed wherein a web server comprising Java Server Pages may utilize java class files that parse and construct the graphical user interface from an XML user interface configuration file. In this embodiment of the invention, HTML pages are output to a diverse array of computing devices capable of executing a HTML compliant browser. Another embodiment of the invention may utilize a standalone application utilizing the same java classes to construct java widgets instead of HTML widgets. Standalone applications may provide quicker responses than HTML applications since there are no round trips required for certain operations such as validation since the validation occurs directly in the application.
Owner:SAP AG

Method and a software product for adapting a .NET framework compliant reflection mechanism to a java environment

A method for adapting a .Net framework compliant reflection mechanism to a Java environment, wherein the reflection mechanism allows a user to discover class information and invoke data members solely at runtime. The method includes gathering reflection related metadata from a .Net assembly class of a respective .Net class that comprises the metadata. The method also includes the steps of generating an attributes class comprising at least the reflection related metadata and a plurality of conversion methods and integrating the attributes class in a Java class file of the respective .Net class, such that the reflection mechanism is capable of adapting the reflection mechanism as defined in the .Net framework to the Java environment. Also disclosed is a plurality of conversion methods. The attributes class is included in a Java class file rendered by a compiler capable of compiling a .Net class to a Java compliant programming code.
Owner:HARMON IE R&D

System and method for dynamically constructing synchronized business information user interfaces

Embodiments of the invention enable data that is synchronized between businesses to be displayed and interacted with by dynamically constructing graphical user interfaces to display the data. The graphical user interfaces are dynamically created via declarations that describe the data and how the data should be displayed along with the dependencies, validation and required characteristics of the data. The resulting dynamically created graphical user interfaces allow separate views of the data to be interacted with depending on the data pool that the data is intended for and a different data pool may be utilized by using a different declarative configuration at run time without recompiling and redistributing the application. The user interface files may be for example an XML file that may be parsed with any compliant schema based or DTD based XML parser. In at least one embodiment of the invention an N-tier architecture may be employed wherein a web server comprising Java Server Pages may utilize java class files that parse and construct the graphical user interface from an XML user interface configuration file. In this embodiment of the invention, HTML pages are output to a diverse array of computing devices capable of executing a HTML compliant browser. Another embodiment of the invention may utilize a standalone application utilizing the same java classes to construct java widgets instead of HTML widgets. Standalone applications may provide quicker responses than HTML applications since there are no round trips required for certain operations such as validation since the validation occurs directly in the application.
Owner:SAP AG

Code generation method and system

The invention discloses a code generation method and system. The code generation system comprises a static state sheet reading module, a Java server page (JSP) generation module, a data persistence layer generation module, a controller generation module and a configuration file generation module. The JSP generation module generates view JSP files, the data persistence layer generation module generates simple JAVA object (POJO) type files and data access object (DAO) type files, the controller generation module generates controller Java type files, and the configuration file generation file generates extensible markup language (XML) configuration files. By adopting the code generation method and system, service codes can be generated efficiently according to specific frameworks of different software to be developed, and development cost can be reduced.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Java-platform-based web service support method and device

The embodiment of the invention discloses a java-platform-based web service support method and a java-platform-based web service support device, and belongs to the field of computers. The method comprises the following steps of: newly building a custom class loader, and allowing the custom class loader to inherit a specified parent class loader; loading a java program class and a resource at a preset storage position by using the custom class loader; and replacing a specified loaded class loader in a java platform kernel with the custom class loader loaded with the java program class and the resource. Management personnel only need to load a java file at a specified position by using the custom class loader, an application server and a service system are separated, the possibility that the service system is not compatible with the application server is avoided, and new functions are sustainably added; and maintenance cost is minimized under the condition of requirement change, and the performance and service quality of the web service system are improved.
Owner:MOCHA SOFTWARE TIANJIN

Class pre-loading method and device based on embedded real-time Java virtual machine

The invention provides a class pre-loading method and device based on embedded real-time Java virtual machine. The method comprises modifying Java class files of a class loader, and setting a loading method for class loading according to class lists; modifying the jni class of a virtual machine kernel, and setting a class pre-loading method for calling the loading method to pre-load all classes required by application programs; acquiring the class list containing all classes required by the application programs; and pre-loading all classes required by the application programs based on the class list according to the class pre-loading method. The inventive method and device can avoid the defects of time jitter and embedded system resource limitation, and realize class pre-loading in an embedded real-time Java virtual machine.
Owner:PEKING UNIV

Method and device for template rendering

The invention discloses a method and a device for template rendering. The method includes the following steps: acquiring a corresponding template and generating a corresponding Java-type file according to a web page browsing request of a user, and calling a confirmed variable type and / or a confirmed variable operation method in the template by using a Java direct calling method; and then, executing the Java-type file to generate a corresponding web page, and returning the wed page to the user. Thus, code execution efficiency in template switching can be effectively improved, the number of query per second of a service platform can be improved, response time is shortened, and therefore garbage recovery of a Java virtual machine of a system can be reduced, then performance of a whole application system can be improved, and performance bottlenecks caused by the template rendering can be avoided.
Owner:ALIBABA GRP HLDG LTD

Java execution equipment and java execution method

A Java execution device, a Java class file configuration, a Java execution method, a method of precompiling a Java file, and an execution method in a Java Virtual Machine (JVM) are provided. The Java execution device includes an extended class library, which includes a class file of a machine code obtained by precompiling a class file included in a standard class library, and a Java Virtual Machine (JVM), which executes the class file of the machine code or an application file included in the extended class library. Thus, it is possible to improve the performance of the Java platform while assuring platform-independency and dynamic extensibility of the Java platform.
Owner:SAMSUNG ELECTRONICS CO LTD

A software authorization license implementing method and apparatus

The invention relates to the technical field of software authorization, in particular to a software authorization license implementing method and device. When the software is encapsulated as an installation file, the license analysis module and the license file themselves are double encrypted. When making a license, terminal-related information is bound to the license; the method comprises the following steps: before the software starts and enters the normal service loading, decrypting the license parsing module and the license file itself; read the license file by using the decrypted licenseparsing module, and then obtain the terminal-related information of license binding; the terminal-related information bound by license is matched with the relevant information local to the terminal. If it matches, the service of the software is loaded successfully. In a software licensing implementation method and apparatus provided by the present invention. The license encryption module is used to encrypt the license parsing module, and the license file is encrypted at the same time. The difficulty of directly decompiling the java class file is increased by double encryption, and the securitycontrol of the license file is realized to some extent.
Owner:WUHAN DAMENG DATABASE

Defect automatic positioning device based on control flow intersection and automatic positioning method thereof

The invention discloses a defect automatic positioning device based on control flow intersection and a method thereof. The device comprises a class file modification module, a test execution module, a success / failure sort module, a trace file analysis module, a failure execution intersection module, a sequencing module and a source code mapping module. The method comprises the following steps: the class file modification module modifies the Java class files to be tested; the test execution module executes the test cases to obtain trace files; the success / failure sort module and the trace file analysis module process the trace files; the failure execution intersection module and the sequencing module find out and sequence the defect suspectable points; and finally, the source code mapping module maps the suspectable defects to the corresponding positions of the Java source codes. The method executes the test cases on the modified Java class files, sorts and analyzes the obtained trace files, finds out and sequences the defect suspectable points, and finally maps the defect suspectable points to the corresponding positions of the Java source code files. The invention saves large amounts of human and material resources and enhances the debugging efficiency.
Owner:BEIHANG UNIV

Java file directory structure-based Android application repackaging detection method

The invention discloses a Java file directory structure-based Android application repackaging detection method. The method comprises the following steps of: for each known APK application program, carrying out decompression to obtain Java class file with a specific directory structure, wherein the directory structure can be considered as a tree structure; carrying out improved hash operation on each Java package name and each Java class name; taking obtained hash values as node signatures; connecting the node signatures by using a depth-first traversal algorithm so as to obtain a final application signature; calculating signatures of all the known applications and forming a signature library; and for a to-be-detected APK application program, obtaining a signature thereof according to a similar method, and calculating edition distances and similarities between the signature name and signatures in the signature library so as to obtain a detection result. According to the method, the influences caused by a code obfuscation technology and the insertion of malicious codes can be effectively avoided, so as to bring relatively good robustness and correctness.
Owner:SOUTHEAST UNIV

System and method for loading resolved java class files to a client device

The client loads an application class through a gateway server that preloades and preresolves a class, creates a binary representation of new portions of the preloaded and preresolved class, and sends only the new portion to the client.
Owner:TEXAS INSTR INC

Supporting applets on a high end platform

To execute legacy smart card applications in a next generation smart card environment, a mechanism converts the applications into a format executable by the next generation smart card platforms. For instance, in a Java-based environment, a normalizer tool translates a CAP file into a Java Class file. Additional mechanisms recreate, on next generation smart cards, a specialized environment that allows the legacy applications to execute without impacting legacy and non-legacy application performance. For example, mechanisms create new instances of previously shared objects so that legacy applications can continue to expect exclusive access to those objects. Moreover, mechanisms manage the communication between a legacy application and non-legacy applications by controlling how and when calls are sent to the legacy application.
Owner:SUN MICROSYSTEMS INC

Method and system for loading java class on virtual machine of android system

The invention discloses a method and a system for loading java class on a virtual machine of an android system. The method comprises the following steps that an external java class generator of the android system pre-loads and links required java class, and structural information corresponding to the java class is obtained; the external java class generator looks up the loading situation of the structural information in the virtual machine of the android system according to the structural information, if the structural information is loaded in the virtual machine, the virtual machine forbids memory allocation for the structural information, and if the structural information is not loaded in the virtual machine, the virtual machine establishes a corresponding C-language source file according to the structural information; the virtual machine obtains a corresponding binary-form java class file according to the C-language source file and saving the binary-form java class file in a read-only memory area; when the android system is started initially, the virtual machine looks up the binary-form java class file and performs direct loading. The java class in the virtual machine is pre-generated and memorized in a read-only memory (ROM) for usage, the loading and linking time of the java class in the virtual machine is shortened, and the execution efficiency of android programs can be improved.
Owner:ZHEJIANG UNIV CITY COLLEGE

Method and device for detecting robustness of JAVA application program

The embodiment of the invention discloses a method and a device for detecting robustness of a JAVA application program. The method comprises the following steps of scanning java class file attribute information contained in each jar packet on which a to-be-detected JAVA application program depends, and recording the java class file list of each jar packet; respectively comparing the java class file list of each jar packet with java class file lists of other jar packets to determine java class files of which the attribute information contained in two compared jar packets is same; outputting a robustness detection result according to the java class files of which the attribute information is same. By applying the method and the detection disclosed by the invention, the robustness of the JAVA application program can be detected before actual operation, and therefore, the robustness of the JAVA application program and the stability of a system based on the JAVA application program can be helped to be improved.
Owner:BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1

Application upgrading method and device

InactiveCN104156247AAchieve target application upgradesAvoid App Upgrade ModeProgram loading/initiatingThird partyOperational system
The embodiment of the invention discloses an application upgrading method and device and relates to the technical field of software. The method comprises the steps that an upgrading file of a target application is obtained; a third-party function parsing library Rhino is utilized for parsing the upgrading file of the target application, and a Java file corresponding to the target application is obtained; the Java file corresponding to the target application is operated, and the target application is upgraded. When the application is upgraded by the application of the scheme, as the obtained upgrading file is parsed through the third-party function parsing library Rhino instead of a relevant file provided by an Andriod operation system, the application upgrading mode specified by Google can be avoided, and developers can compile application upgrading files in combination with own practical situations.
Owner:GUANGZHOU KINGSOFT NETWORK TECH

System and methods for distributed execution of computer executable programs utilizing asymmetric translation

Dynamic program translation is utilized to convert an executable program in a first language executable representation to a second language executable representation that is either optimal or essentially required for execution within a defined execution environment on a client computer system. A dynamic translator, typically executed on a first computer system, is invoked in response to a request from a second computer system to provide an identified executable program. The dynamic translator performs an execution path analysis and optimized translation from a first representation, such as a Java class file, to generate executable code in the second representation, such as JavaScript. Optimizations include cross-language feature modifications, selective replacement of nominally un-translatable code portions, and insertion of call-back service requests to dynamically emulate services required in the execution of the program.
Owner:KAAZING CORP

Application of platform dependent routines in virtual machines by embedding native code in class files

The deployment of native methods in a virtual machine environment may be significantly simplified by incorporating a corresponding native code segment into the application file, such as a JAVA class file, and using the embedded native code segment for library bind operations of the corresponding class file.
Owner:ADVANCED MICRO DEVICES INC

Method, system and device for detecting HTTP response header and readable storage medium

The invention discloses a method for detecting an HTTP (Hyper Text Transport Protocol) response header, which comprises the following steps: (1) intercepting a Java class file corresponding to a processing request program of a server through a Java agent, and obtaining an instrumentation entrance from the Java class file; (2) injecting the detection byte code into an instrumentation entrance; (3)returning the Java class file injected with the detection byte code to the server; (4) acquiring response data returned to the client by the server; and (5) obtaining an HTTP response header in the response data through Java reflection so as to judge whether the HTTP response header is a safe HTTP response header. The invention further discloses a system and device for detecting the HTTP responseheader and a computer readable storage medium. According to the invention, HTTP response data is obtained based on a Java byte code instrumentation technology; according to the method, the HTTP response header in the HTTP response data is acquired through Java reflection, so that the HTTP response header is detected, the accuracy of a detection result is improved, and the problems of complex operation, low detection rate, low accuracy, poor real-time performance and high cost caused by manual analysis are avoided.
Owner:SECZONE TECH CO LTD

Method for generating instruction codes in Java software watermark virtualizing method

ActiveCN104200139ASolve the problems of manual writing, lack of versatility, and inconvenient practical applicationNo human intervention requiredProgram/content distribution protectionSoftware engineeringJava class file
The invention relates to a method for generating instruction codes in a java software watermark virtualizing method. On the basis of a BCEL ((byte code engineering library) class library, the method comprises the following steps of (1) loading a Java class file which is required to be embedded with instructions through the BCEL class library, analyzing the class file and transforming the class file into a Java class file object which meets BCEL processing requirements; (2) acquiring parameter information, which comprises a classifying method, of the class file from the Java class file object, and finding out and taking a virtualizing method from the acquired method; (3) creating a new virtualizing method according to the acquired virtualizing method and the parameter information and replacing the original virtualizing method by using the new virtualizing method; (4) generating instruction codes which are used for embedding watermark information and adding the instruction codes in an instruction set of the new virtualizing method; and (5) analyzing the Java class file by using the new virtualizing method. The method has the advantages that by the method, the instruction codes for embedding the watermark information are automatically generated in the virtualizing method through a computer program, and the problems that in the prior art, professionals require to manually write the instruction codes, and the manual instruction code writing mode is low in universality and does not facilitate actual application.
Owner:NANTONG UNIVERSITY

Java code encryption method and device

ActiveCN110309630AEnsure safetyAddresses the shortcomings of encryption methods that do not fully protect themselvesDigital data protectionProgram/content distribution protectionLocal methodJava class file
The invention provides a Java code encryption method and device. The method comprises the steps of registering a local method in a JVM; generating a header file for the N C programs by adopting a javah command, each header file being used for declaring a C function; compiling each C program into a dynamic link library file, and generating M dynamic link libraries; acquiring a dynamic link libraryencryption mode, and encrypting each dynamic link library by utilizing the dynamic link library encryption mode to obtain M encrypted dynamic link libraries; calling the C program matched with the C function to be called in the M dynamic link libraries, encrypting the Java class file to obtain the encrypted java file, wherein the encrypted Java file comprises the specified encrypted dynamic link library information of a specified encrypted dynamic link library, the specified encrypted dynamic link library is obtained after the encryption of the specified dynamic link library, and the specifieddynamic link library is a dynamic link library where the C program matched with the C function to be called is located.
Owner:南京冰鉴信息科技有限公司

Code compiling method and device

Embodiments of the present application provide a code compilation method and apparatus, which relate to the technical field of data processing. The method comprises the following steps: obtaining a Java bytecode to be compiled in a Java class file; Compiling the Java bytecode to be compiled into an intermediate expression to be compiled; Obtaining an analysis result according to the analysis of the intermediate expression to be compiled; According to the analysis results, the multi-line code in the intermediate expression to be compiled is compiled into one-to-one corresponding multi-line CPPcode line by line. Because the CPP code is difficult to be analyzed, the Java bytecode is finally converted into many lines of CPP code to run, which improves the security and solves the technical problem that the security of the user can not be guaranteed due to the very easy reverse analysis of the attacker of the Java code.
Owner:北京顶象技术有限公司

Method and system for dynamically loading services in service system

The invention discloses a method for dynamically loading services in a service system, which comprises the following steps: A, storing a JAVA type file applied by a new service or / and an updated service to a specified folder for the new service and the updated service, writing a configuration file of the JAVA type file of the new service or / and the updated service referring to a configuration template, and directly covering an old configuration file with the newly written configuration file; B, performing thread monitoring on the real-time new and update condition of the JAVA type file of theset type in the folder and extracting a new JAVA type file and storing the new JAVA type file to the memory in which the service system is positioned when the new JAVA type file is imported; and C, after the service system receives a service request of a user, acquiring and automatically resolving the configuration file of the system, calling a corresponding JAVA type file in the memory in which the service system is positioned according to the configuration file, executing the JAVA type file according to the logic of the JAVA type file, and providing an execution result to the user to make the service support available to the user. Simultaneously, the invention discloses a system for realizing the method. The method and the system realize the dynamic loading of the services.
Owner:BEIJING UNIV OF POSTS & TELECOMM

Initialization of Java classes in Java virtual machine environments

Techniques for initialization of Java classes are disclosed. As such, the techniques can be implemented in a Java virtual machine to initialize Java classes represented in Java class files. A Java class loader suitable for loading class files into the Java virtual machine is disclosed. As will be appreciated, the Java class loader facilitates loading and execution of the Java initialization methods that need to be executed in order to initialize Java classes. Moreover, the Java class loader operates to remove the Java initialization methods after they have been executed and no longer serve a useful purpose. This means that the virtual machine can utilize its memory space more efficiently. As a result, the performance of virtual machines, especially those operating with limited resources is improved.
Owner:ORACLE INT CORP

Java bytecode translating method

Provided is a Java bytecode translating method which includes: a bytecode fetch step (S1 10) that fetches a Java bytecode from a Java class file; a static field address detection and data processing step (S140) which gains access to a field (130) according to a first field address (FA1) and processes data; a static field address storage step (S 150) that stores a first upper field address (FAU1) including upper bits among bits of the first field address (FA1) in a first storage portion (110), and which stores a first lower field address (FAD1) including remainder lower bits excluding the first upper field address (FAU1) among the bits of the first field address (FA1) in an operand field (120b); a static operation code translating step (S 160) that translates an operation code stored in an operation code field (120a) into a new static field accessing operation code (NOPA); a first field address creation step (S240) that creates a second field address (FA2); and a first data processing step (S250) that gains access to the field (130) according to a second field address (F A2) and processes data.
Owner:ADVANCED DIGITAL CHIP

JAVA bytecode translating method

Provided is a Java bytecode translating method which includes: a bytecode fetch step (S1 10) that fetches a Java bytecode from a Java class file; a static field address detection and data processing step (S140) which gains access to a field (130) according to a first field address (FA1) and processes data; a static field address storage step (S 150) that stores a first upper field address (FAU1) including upper bits among bits of the first field address (FA1) in a first storage portion (110), and which stores a first lower field address (FAD1) including remainder lower bits excluding the first upper field address (FAU1) among the bits of the first field address (FA1) in an operand field (120b); a static operation code translating step (S 160) that translates an operation code stored in an operation code field (120a) into a new static field accessing operation code (NOPA); a first field address creation step (S240) that creates a second field address (FA2); and a first data processing step (S250) that gains access to the field (130) according to a second field address (F A2) and processes data.
Owner:ADVANCED DIGITAL CHIP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products