Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for loading classes and creating and accessing class objects

A technology of object and java virtual machine, which is applied in the direction of program control device, program loading/starting, electrical components, etc. It can solve the problems of affecting performance, class loading directory is out of control of the system, and the source is an untrusted place, etc.

Inactive Publication Date: 2010-06-30
爱思开电讯投资(中国)有限公司
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But this is not worth the candle for NGMS cards with limited resources. In other words, it is very likely that the resources occupied by a network application are not as much as the resources consumed by the security manager and user-defined class loader implemented by the network application. it's not worth the candle
[0012] The second problem is a performance problem
Each user-defined class loader will entrust its own parent class before searching for the class to be loaded according to the user-defined class loading directory, and will eventually trace back to the system class loader for processing, and then delegate down layer by layer To the user-defined class loader, this process is cumbersome and affects performance
In addition, the user-defined class loading directory may be a remote server or database, so when loading the class that needs to be loaded, it will go through a traversal search and remote loading process, which will also seriously consume resources
[0013] The third problem is security
The user-defined class loader mechanism allows different class loaders to load classes with the same name but different contents. However, the user-defined class loading directory is beyond the control of the system, so the class may come from an untrusted place
Therefore, when the user-defined class loader mechanism of the JavaSE platform is implemented on the JavaME platform, it may happen that the user-defined class maliciously overwrites the original system class of the JavaME platform, thus causing the system code in the JavaME platform to be executed. Violation of original class behavior

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for loading classes and creating and accessing class objects
  • Method and device for loading classes and creating and accessing class objects
  • Method and device for loading classes and creating and accessing class objects

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] According to one aspect of the present invention, each class of the network application is loaded into the Java virtual machine when the network application is deployed (started), instead of dynamically loading the various classes of the network application into the Java virtual machine when each class of the network application needs to be used. machine, so that various classes of network applications can be loaded with high performance.

[0027]According to one aspect of the present invention, when loading each class of the network application into the Java virtual machine, modify the name of the class used only by the network application in the various classes, so that other applications cannot attempt to use the class name according to the original class name. These classes, thus controlling the safe use of classes,

[0028] According to one aspect of the present invention, when each class of the network application is loaded into the Java virtual machine, an owner ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method and a device for loading classes and creating and accessing class objects, wherein the method used for loading the classes of network applications on a Java platform comprises the following steps: loading all the classes of the network applications into a Java virtual machine of the Java platform when deploying the network applications on the Java platform; and changing names of the classes which are loaded into the Java virtual machine and only used by the network applications. The utilization of the method and the device can load all the classes of the network applications with high performance and control the safe use of the classes and the safety access of the class objects.

Description

technical field [0001] The invention relates to a method and a device for loading classes and creating and accessing objects of the classes. Background technique [0002] With the continuous development of microelectronics technology, the integration of integrated circuits is increasing rapidly, and smart card technology is also developing faster and with greater capacity. NGMS (Next Generation Mega SIM: Next Generation Large-Capacity Subscriber Identity Module) card already has 1-2G flash memory, 64-128M RAM and 200MHz CPU, and corresponding high-speed communication mechanism, and the corresponding software system is also changing with each passing day. improvement. [0003] The biggest problem currently facing is that NGMS cards do not have user interface (UI) devices such as display screens, keyboards, speakers, etc. that are inherent in mobile terminals, which makes it very complicated for applications on NGMS cards to interact with users. , that is, the NGMS card need...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F9/455H04L29/06
Inventor 李华炜李丞倍金亨一罗栋元李相研
Owner 爱思开电讯投资(中国)有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More