Method and device for deploying J2ME (Java 2 Micro Edition) application programs

A technology of application programs and configuration items, which is applied in the computer field, can solve the problems of increased maintenance and upgrade workload, and achieve the effect of reducing the number of versions, reducing workload and version operation workload, and reducing maintenance work

Active Publication Date: 2012-11-28
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

With the increase of porting adaptation version releases, the work of each work link will increase exponentially, and the workload of operation, maintenance and upgrade of each subsequent version will also increase greatly

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 deploying J2ME (Java 2 Micro Edition) application programs
  • Method and device for deploying J2ME (Java 2 Micro Edition) application programs
  • Method and device for deploying J2ME (Java 2 Micro Edition) application programs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Embodiment 1 of the present invention proposes a deployment method of a J2ME application program, the process of which is as follows figure 2 As shown, the method includes:

[0052] Step 101, obtain the characteristic information of the adapted mobile phone model, and summarize it into configuration items;

[0053] Step 102, write the feature information of the adapted mobile phone model into the configuration item in the Jad file corresponding to the adapted mobile phone model, and obtain the Jad file of the adapted version corresponding to the adapted mobile phone model;

[0054] Step 103, transplanting and adapting the common version of the Jar file according to the above configuration items, and establishing processing logic with the configuration items in the adapted version of the Jad file to obtain a common adapted version of the Jar file;

[0055] Step 104, deploying the adapted version of the Jad file and the adapted version of the Jar file corresponding to t...

Embodiment 2

[0058] Embodiment 2 of the present invention proposes a deployment method of a J2ME application program, which is improved on the basis of Embodiment 1, and its process is as follows image 3 shown.

[0059] In the present embodiment, the J2ME application program is published by the OTA download server as an example, and the J2ME application program release method specifically includes:

[0060] Step 201, deploying the general version of the J2ME application to the OTA download server;

[0061] It should be noted that the general version of the J2ME application program is provided for most mobile phones without model specificity, and the general version of the J2ME application program includes the general version of the Jad file and the general version of the Jar file.

[0062] Specifically, the Jar file is the main body of the MIDlet (Mobile Information Devices applet, mobile information device applet) program, and exists in the form of a file compression package, including ...

Embodiment 3

[0101] Embodiment 3 of the present invention proposes a deployment device for J2ME application program, its structure is as follows Figure 5 shown, including:

[0102] The configuration item obtaining module 301 is used to obtain the characteristic information of the adapted mobile phone model and summarize it into configuration items;

[0103] The first file acquisition module 302 is used to write the characteristic information of the adapted mobile phone model into the configuration item in the Jad file corresponding to the adapted mobile phone model, and obtain the Jad file of the adapted version corresponding to the adapted mobile phone model ;

[0104] The second file acquisition module 303 is used to transplant and adapt the Jar file of the general version according to the configuration items, and establish processing logic with the configuration items in the Jad file of the adapted version to obtain the Jar file of the common adapted version;

[0105] The first deplo...

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 provides a method and device for deploying J2ME (Java 2 Micro Edition) application programs, and belongs to the field of computers. The method comprises the following steps: acquiring characteristic information of the type of an adapted mobile phone, inducing into a configuration item, writing the characteristic information into a configuration item in a Jad file corresponding to the type of the adapted mobile phone, respectively obtaining the Jad file of an adaptation version, performing transplanting adaptation on a Jar file of a general version according to the characteristic information of the type of the adapted mobile phone, establishing a processing logic with the configuration item in the Jad file of the adaptation version to obtain a Jar file of the common adaptation version, and deploying the Jad file and the Jar file of the adaptation version to a downloading server. Therefore, the number of transplanted adaptation versions can be greatly reduced, and mobile phone type transplanting adaptation and publication can be implemented quickly; and when a mobile phone type is added, only the added Jad file is configured, so that the version test work is reduced, the publication workload and the version operation workload are reduced, and the maintenance work of code branches is reduced.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method and device for deploying J2ME application programs. Background technique [0002] When mobile phone software developers develop a general-purpose J2ME application (such as a mobile browser), they hope to run it on as many mobile phones as possible. Although J2ME programs can run across platforms, in actual situations, mobile terminal J2ME runs The environment is very complex, and it is actually impossible to develop J2ME applications that can run on all mobile phones. Because there are many mobile phone manufacturers and mobile terminals vary greatly, and mobile computing capabilities, screen sizes, keyboards, memory, file storage, virtual machines, etc. are all different, it is very difficult to make a J2ME application compatible with all mobile terminals. [0003] In order to make J2ME applications applicable to most mobile phones, the method adopted at the present stage is t...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
Inventor 周一民杨耿华
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products