CN100433872C - Method for supporting large JAVA application download in mobile terminal - Google Patents

Method for supporting large JAVA application download in mobile terminal Download PDF

Info

Publication number
CN100433872C
CN100433872C CNB2005100863670A CN200510086367A CN100433872C CN 100433872 C CN100433872 C CN 100433872C CN B2005100863670 A CNB2005100863670 A CN B2005100863670A CN 200510086367 A CN200510086367 A CN 200510086367A CN 100433872 C CN100433872 C CN 100433872C
Authority
CN
China
Prior art keywords
java
portable terminal
history file
downloaded
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB2005100863670A
Other languages
Chinese (zh)
Other versions
CN1929646A (en
Inventor
郭江鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LG Electronics China Research and Development Center Co Ltd
Original Assignee
LG Electronics China Research and Development Center Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LG Electronics China Research and Development Center Co Ltd filed Critical LG Electronics China Research and Development Center Co Ltd
Priority to CNB2005100863670A priority Critical patent/CN100433872C/en
Publication of CN1929646A publication Critical patent/CN1929646A/en
Application granted granted Critical
Publication of CN100433872C publication Critical patent/CN100433872C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This invention relates to one method to download JAVA application at mobile terminal, which comprises the following steps: a, mobile terminal sends download require to servo's, servo compresses JAVA according to its size into several limit JAVA file and sends JAVA application description files to terminal; c, mobile terminal receives the above files for analysis; d, mobile terminal downloads the said JAVA files from servo and storing mobile terminal.

Description

A kind of method of supporting that in portable terminal big JAVA application is downloaded
Technical field
The present invention relates to the field of mobile terminal data download technology, particularly download the technology of JAVA contents of program relevant for portable terminal.
Background technology
Portable terminal is downloaded the JAVA contents of program and is comprised two steps, the one, download JAD (JAVAApplication Descripter, JAVA uses description) file, the 2nd, confirm whether the JAVA contents of program meets the specified limit of portable terminal, meet, then begin to download and preserve.
Above-mentioned JAD file is as the file that contains the prior information (title, version, size, URL etc.) of JAVA content, JAR (JAVATM Archive can be described, the JAVA file) content of file can be before downloading the JAVA content, elder generation downloads the JAD file and analyzes, whether decision downloads actual content, be connected to the URL (Universal Resource Location, URL(uniform resource locator)) that above-mentioned JAD file contains then, download actual content.
Be existing JAD file example below, consult existing JAD file example, can notice for the JAD file of prior art, just whether there is this version in the analysing terminal, whether or it is suitable etc. analyze to download size, just had no idea for the big JAVA program that surpasses the mobile phone restriction, can only stop downloading.
Existing JAD file example:
MIDlet-1
MobileStock_Quote,,LG_G828_Quote
MIDlet-Jar-Size
67266
MIDlet-Jar-URL
MobileStock_Quote.jar
MIDlet-Name
MobileStock_Quote
MIDlet-Version
1.1
MicroEdition-Configuration
CLDC-1.0
MicroEdition-Profile
MIDP-2.0
When downloading the JAVA application in the mobile phone now, because general WAP (the Wireless ApplicationProtocol that uses, WAP (wireless application protocol)) mode is downloaded, because the unsteadiness of wireless network, with wap protocol be the fact that is used for downloading little application from network, so WAP supports the size of file in download that certain limitation is arranged, such as being restricted to 100K in the LG mobile phone, other company's mobile phones also have similar restriction, and the application that surpasses this restriction so can't download and install.The internal memory of distributing to the JAVA application in addition in the mobile phone also has certain restriction, so the download that big JAVA uses also is restricted.
Fig. 1 is that the JAVA content is downloaded flow chart in the prior art.As shown in Figure 1, may further comprise the steps: step 100, in by WEB browser display JAVA contents list, select to want downloaded contents; Step 110 selects to want the JAVA content of downloading; Step 120 receives the URL of the JAD file of above-mentioned chosen content, and the URL of the JAD file by above-mentioned reception receives and analyze the JAD file; Whether step 130 judges the JAVA program less than portable terminal specified limit size by analyzing the JAD file, if execution in step 140 is downloaded the JAVA program, is kept at portable terminal; If not, then stop downloading, reselect the JAVA program.
The method for down loading of therefore existing JAVA program has limited the download of those big JAVA application programs.
Be in " method that on low power cell phone, realizes seeing through PC downloaded data data " patent application (CN1642317A) in denomination of invention, disclose a kind of PC transmission picture or the tinkle of bells data treatment step to low power cell phone.At first, PC receives picture or the tinkle of bells data that user's selection will transmit; Then, these data are divided into the packet of appropriate length; Then, see through transmission medium and successively each data subpackage is sent to low power cell phone; Judge whether to send last data subpackage, if, then continue next step, if not, then continue to send next packet; Receive and download successful result data bag, last, finish this time download pictures or the tinkle of bells process data packet.Yet the disclosed PC of above-mentioned patent application is sent to step in the mobile phone with the data subpackage, and is not suitable for the download that JAVA uses in the mobile phone.Because using, JAVA is different from common data (picture/the tinkle of bells), JAVA needs one and compiles in mobile phone/verify/process of moving then is installed.Simultaneously, " subpackage " was just to the simple division of transmission data, to avoid losing or repeating transmission of data during the disclosed subpackage of above-mentioned patent application transmitted.
Summary of the invention
For solving the above-mentioned problem, the objective of the invention is to propose a kind ofly can download the method that big JAVA uses by WAP at portable terminal, overcome the restriction of portable terminal to WAP mode file in download.
For achieving the above object, the present invention proposes a kind of method of supporting that in portable terminal big JAVA application is downloaded, comprising:
Step 1, portable terminal sends JAVA to server and uses download request;
Step 2, server to downloading the restriction of JAVA application size, are packaged into a plurality of JAVA history files that meet described restriction with the JAVA applied compression according to portable terminal according to the MODEL ID of portable terminal, and send JAVA to portable terminal and use description document;
Step 3, portable terminal receive described JAVA and use description document and analysis;
Step 4, portable terminal is downloaded described JAVA history file from the server subpackage, and is stored in the portable terminal.
The above-mentioned big JAVA that supports in portable terminal uses the method for downloading, and wherein also includes the installation steps that JAVA uses, and comprises that specifically described JAVA history file decompression is synthesized described JAVA uses, and compiles then, verifies, installs.
The above-mentioned big JAVA that supports in portable terminal uses the method for downloading, and wherein this portable terminal is analyzed described JAVA application description document, specifically comprises the individual number attribute and corresponding size and the URL(uniform resource locator) that obtain described JAVA history file.
The above-mentioned big JAVA that supports in portable terminal uses the method for downloading, and the number property value of wherein said JAVA history file equals at 1 o'clock, and JAVA uses and do not compress packing.
The above-mentioned big JAVA that supports in portable terminal uses the method for downloading, wherein said JAVA history file number property value was greater than 1 o'clock, and the JAVA history file size attribute that described JAVA uses in the description document will be listed the size of compressing described each JAVA compressed file in back.
The above-mentioned big JAVA that supports in portable terminal uses the method for downloading, wherein said JAVA history file number property value was greater than 1 o'clock, and the JAVA history file URL(uniform resource locator) attribute that described JAVA uses in the description document will be listed the URL(uniform resource locator) of compressing described each JAVA history file in back.
What the present invention proposed downloads the method that big JAVA uses at portable terminal, can be according to the restriction of the mobile phone of different manufacturers to the JAVA content, the different JAD files of identical JAVA content are provided by server end, and provide according to the jar file after the size restriction packing, realized under the WAP mode, downloaded big JAVA application aims.
Description of drawings
Fig. 1 is that existing JAVA content is downloaded flow chart;
Fig. 2 is a schematic diagram of the present invention;
Fig. 3 is a download flow chart of the present invention.
Embodiment
Fig. 2 is a schematic diagram of the present invention, as shown in the figure, step 200, portable terminal at first sends the request that JAVA uses of downloading to server; Step 210, server obtains the MODEL.ID (model.dentity of this portable terminal from the request that portable terminal is sent out, the model identification sign indicating number), according to of the restriction of this portable terminal to the JAVA content size, packing is compressed in application to JAVA, changes into a plurality of jar files and provides JAD file to portable terminal; Step 220, portable terminal receives this JAD file and analyzes, therefrom obtain the piecemeal attribute of the jar file increase newly, and begin to download this jar file, send the request of downloading piecemeal one to server earlier, server is received request, begin to download, after piecemeal one download finished, portable terminal sent the request of downloading piecemeal two again, so subpackage is downloaded, and all downloads until all bags to finish; Step 230 downloads to the jar file in the portable terminal, is stored in the portable terminal, decompresses afterwards and synthesizes JAVA and use, and can compile then, verifies and install.
Fig. 3 is a download flow chart of the present invention.As shown in the figure, download the JAVA application and comprise: step 300, by WEB browser display JAVA contents list; Step 310 selects to want downloaded contents; Step 320, portable terminal receive the URL of the JAD file of JAVA application, receive the JAD file by above-mentioned URL, and analyze; Step 330, individual number attribute and the corresponding size and the URL of acquisition jar file from the JAD file; Step 340, portable terminal is downloaded jar file and preservation one by one according to the URL of above-mentioned jar file; Step 350 after whole jar files download preservations are finished, finishes to download.
JAD file of the present invention is for example following:
MIDlet-1
MobileStock_Quote,,LG_G828_Quote
MIDlet-Jar-Num
3(just?an?example)
MIDlet-Jar-Size
20000,20000,20000
MIDlet-Jar-URL
MobileStock_Quote0.jar,MobileStock_Quote1.jar,MobileStock_Quote2.jar,
MIDlet-Name
MobileStock_Quote
MIDlet-Version
1.1
MicroEdition-Configuration
CLDC-1.0
MicroEdition-Profile
MIDP-2.0
Be JAD file example of the present invention above, compare, can find that the present invention has increased an attribute MIDlet-Jar-Num in the JAD file by JAD file example with prior art, this attribute definition JAVA use and to be packaged as several jar files.If it is this property value is 1, then just the same with original JAD file.If this property value, then illustrates this application greater than 1 and merges generation by the jar file more than.In this attribute of MIDlet-Jar-Size, if MIDlet-Jar-Num is greater than 1, once list the size of each jar file below then, and separate with ", ".In this attribute of MIDlet-Jar-URL, if MIDlet-Jar-Num is greater than 1, once list the URL of each jar file below then, and separate with ", ".
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (6)

1. support that in portable terminal big JAVA uses the method for downloading for one kind, it is characterized in that, comprising:
Step 1, portable terminal sends JAVA to server and uses download request;
Step 2, server to downloading the restriction of JAVA application size, are packaged into a plurality of JAVA history files that meet described restriction with the JAVA applied compression according to portable terminal according to the MODEL ID of portable terminal, and send JAVA to portable terminal and use description document;
Step 3, portable terminal receive described JAVA and use description document and analysis;
Step 4, portable terminal is downloaded described JAVA history file from the server subpackage, and is stored in the portable terminal.
2. the method for supporting that in portable terminal big JAVA application is downloaded according to claim 1, it is characterized in that, also include the installation steps that JAVA uses, comprise that specifically described JAVA history file decompression is synthesized described JAVA uses, and compiles then, verifies, installs.
3, the method for supporting that in portable terminal big JAVA application is downloaded according to claim 1, it is characterized in that, portable terminal is used description document to described JAVA and is analyzed, and specifically comprises the individual number attribute and corresponding size and the URL(uniform resource locator) that obtain described JAVA history file.
4, according to claim 1 or the 3 described methods of supporting that in portable terminal big JAVA application is downloaded, it is characterized in that the number property value of described JAVA history file equals at 1 o'clock, JAVA uses and does not compress packing.
5, according to claim 1 or the 3 described methods of supporting that in portable terminal big JAVA application is downloaded, it is characterized in that, described JAVA history file number property value was greater than 1 o'clock, and the JAVA history file size attribute that described JAVA uses in the description document will be listed the size of compressing described each JAVA history file in back.
6. according to claim 1 or the 3 described methods of supporting that in portable terminal big JAVA application is downloaded, it is characterized in that, described JAVA history file number property value was greater than 1 o'clock, and the JAVA history file URL(uniform resource locator) attribute that described JAVA uses in the description document will be listed the URL(uniform resource locator) of compressing described each JAVA history file in back.
CNB2005100863670A 2005-09-07 2005-09-07 Method for supporting large JAVA application download in mobile terminal Expired - Fee Related CN100433872C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100863670A CN100433872C (en) 2005-09-07 2005-09-07 Method for supporting large JAVA application download in mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100863670A CN100433872C (en) 2005-09-07 2005-09-07 Method for supporting large JAVA application download in mobile terminal

Publications (2)

Publication Number Publication Date
CN1929646A CN1929646A (en) 2007-03-14
CN100433872C true CN100433872C (en) 2008-11-12

Family

ID=37859388

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100863670A Expired - Fee Related CN100433872C (en) 2005-09-07 2005-09-07 Method for supporting large JAVA application download in mobile terminal

Country Status (1)

Country Link
CN (1) CN100433872C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799757B (en) 2010-01-22 2013-01-16 华为终端有限公司 Method and device for integrating JAVA software to mobile terminal as well as mobile terminal
CN102480496B (en) * 2010-11-22 2015-08-26 ***通信集团北京有限公司 Method, system, service server and terminal that WAP business tine is shown
CN104717295A (en) * 2011-03-15 2015-06-17 广州市动景计算机科技有限公司 Method and system for downloading big file from target server through mobile terminal
CN102255939A (en) * 2011-03-22 2011-11-23 苏州阔地网络科技有限公司 Method and system for transmitting batch-processed files
CN103428676A (en) * 2012-05-17 2013-12-04 上海闻泰电子科技有限公司 Method for achieving mobile phone terminal network downloading system
EP3264265A4 (en) * 2015-03-20 2018-04-11 Huawei Technologies Co. Ltd. Application protection method, server and terminal
CN104991793B (en) * 2015-06-15 2019-04-02 上海海漾软件技术有限公司 A kind of method, apparatus and system for application program subpackage

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030191951A1 (en) * 2002-04-04 2003-10-09 International Business Machines Corporation Java applications for secured palm held cellular communications
CN1559030A (en) * 2001-11-12 2004-12-29 ��ʿͨ��ʽ���� Terminal apparatus, server, computer-executed information processing method, program and medium
CN1606268A (en) * 2003-10-10 2005-04-13 乐金电子(中国)研究开发中心有限公司 Java content download method for mobile communication terminal
CN1607520A (en) * 2003-10-15 2005-04-20 乐金电子(中国)研究开发中心有限公司 Report transmission method and system
CN1642317A (en) * 2004-01-13 2005-07-20 英华达(南京)科技有限公司 Method for low-power hand set down-loading document data through personal computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1559030A (en) * 2001-11-12 2004-12-29 ��ʿͨ��ʽ���� Terminal apparatus, server, computer-executed information processing method, program and medium
US20030191951A1 (en) * 2002-04-04 2003-10-09 International Business Machines Corporation Java applications for secured palm held cellular communications
CN1606268A (en) * 2003-10-10 2005-04-13 乐金电子(中国)研究开发中心有限公司 Java content download method for mobile communication terminal
CN1607520A (en) * 2003-10-15 2005-04-20 乐金电子(中国)研究开发中心有限公司 Report transmission method and system
CN1642317A (en) * 2004-01-13 2005-07-20 英华达(南京)科技有限公司 Method for low-power hand set down-loading document data through personal computer

Also Published As

Publication number Publication date
CN1929646A (en) 2007-03-14

Similar Documents

Publication Publication Date Title
CN100433872C (en) Method for supporting large JAVA application download in mobile terminal
CN105389222B (en) A kind of methods, devices and systems of dynamic call native interface
CN100396132C (en) Method for realizing programme update of wireless terminal
US20100312794A1 (en) Method for testing file transmission function of mobile phone
CA2517548A1 (en) Update system and method for updating a scanning subsystem in a mobile communication framework
US20040158829A1 (en) Downloading application software to a mobile terminal
CN1460213A (en) Updating capability negotiation information in communications system
KR20040004035A (en) Application catalog on an application server for wireless devices
US20030083055A1 (en) Local and remote access to radio parametric and regulatory data and methods therefor
AU2010229053A1 (en) Device dependent on-demand compiling and deployment of mobile applications
CN107734022B (en) Static resource file downloading method, mobile terminal and computer readable storage medium
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
CN1422405A (en) Apparatus and method for distributing content
JP2003330845A (en) Internal code control system and method for wireless data download
CN101699839A (en) Mobile terminal figure adaptive system and method thereof
CN113064685A (en) H5 page loading method and device
CN110191176B (en) Rapid electronic evidence obtaining method and system
CN100493111C (en) Device and method for automatically updating menu for mobile phone
CN106302604A (en) Data transmission method and device
CN102546273A (en) Test system and test method for WAP (wireless application protocol) website
CN201585139U (en) Mobile terminal graph adapting system
CN111209016B (en) Method for updating gray level of mobile application remote resource
CN104506616A (en) Method, device and system for sending information by browser client side
US7440752B2 (en) Mobile communication terminal, apparatus and system for delivering application software, method for controlling execution state display, program, and recording medium
CN107515763A (en) The processing method and server, terminal device of a kind of application program and its installation resource

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081112