CN101505339A - Implementation method for directly deploying mobile phone application program from computer onto mobile phone - Google Patents

Implementation method for directly deploying mobile phone application program from computer onto mobile phone Download PDF

Info

Publication number
CN101505339A
CN101505339A CNA2009100959597A CN200910095959A CN101505339A CN 101505339 A CN101505339 A CN 101505339A CN A2009100959597 A CNA2009100959597 A CN A2009100959597A CN 200910095959 A CN200910095959 A CN 200910095959A CN 101505339 A CN101505339 A CN 101505339A
Authority
CN
China
Prior art keywords
mobile phone
application program
computer
development environment
deployment
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.)
Granted
Application number
CNA2009100959597A
Other languages
Chinese (zh)
Other versions
CN101505339B (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.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
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 Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN2009100959597A priority Critical patent/CN101505339B/en
Publication of CN101505339A publication Critical patent/CN101505339A/en
Application granted granted Critical
Publication of CN101505339B publication Critical patent/CN101505339B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method for realizing the direct deployment of a mobile phone application program from a computer to a mobile phone. Firstly, a Web server is needed to be established in the computer running an integrated development environment; and a server path of a JAR file generated by compiling in an integrated deployment order is configured. Simultaneously, a virtual machine is operated at a mobile phone end receiving the deployment to wait the access of a computer end, wherein the mobile phone and the computer are connected through a USB wire; once the mobile phone end receives the connection of the computer end and resolves out a network path where the sent application program JAR is positioned; and the mobile phone end can download the JAR file of an appointed network path to the mobile phone, and the JAR file automatically is installed in the mobile phone. The method integrates the rapid deployment order in the integrated development environment for compiling the mobile phone application program in the computer, thereby directly deploying the mobile phone application program compiled in the development environment to the mobile phone needing to run the application program and rapidly verifying whether the compiling of the application program meets the requirement.

Description

Directly dispose the implementation method of application program of mobile phone to the mobile phone from computer
Technical field
The present invention relates in embedded device deploy application program technology, particularly relate to and a kind ofly directly dispose the implementation method of application program of mobile phone to the mobile phone from computer.
Background technology
Embedded system extensively has been penetrated in people's the live and work, and according to statistics, the quantity of flush bonding processor accounts for 94% of dispersion treatment device, and the processor that PC is used only accounts for 6%.According to U.S. embedded system technical magazine RTC report, in 10 years at the beginning of 21 century, global embedded system market demand has the business opportunity bigger 10 to 100 times than PC market.In the embedded system meeting that 1998 hold in Chicago, the participant expert is consistent to be thought, 21 century embedded system with omnipresent, it will bring revolutionary development for human being's production, realize the life dream of " PCs Everywhere ".
Entered since 21 century, along with the research of embedded system and further going deep into of application, thereby embedded system will form an omnibearing embedded system and use to networking, intellectuality, standardization, integrated direction development.With process that the concrete application of industry-by-industry combines in, embedded system will be carried out omnibearing infiltration to national economy, the huge progradation of performance in China's modernization of the country process.
Intelligent requirement height to software needs good software architecture and technology to reach.And software comprises operating system and application software, and how reducing software development cost is the task of top priority.For embedded development, the opening that J2ME provides reaches development environment cheaply, also is that J2ME is in mobile phone market welcome main cause like this.
Java adopts the method for JCP to come the suggestion of disclosed collection industry to formulate the standard of new J2ME jointly.New technology can be injected new vitality for J2ME, makes J2ME can meet the new functional requirement in market.Java also is the core technology of the Internet, and embedded device is if carry out good communication with the Internet, and using J2ME is best solution.Because the fail safe of Java on network and cross-platform characteristic are the important elements that connects the Internet.
Java has obtained on PC and the Internet using widely not only at giant brain, has also obtained swift and violent development in Embedded uses such as mobile phone and IC-cards, and the trend of attaining a yet higher goal in addition.Embedded market is because the speciality of its market flood tide makes that its business opportunity is unlimited.J2ME aims at embedded device and the Java version that designs, and according to the Sun Microsystems statistics, the achievement of J2ME has obtained in 2005 significantly increasing.The use of J2ME and Embedded market are gradually synchronous, are example with the mobile phone market, because the rapid progress in 3G market, the functional requirement of J2ME are more strengthened, and use the mobile phone of J2ME, in the whole world already above 1,000,000,000 ones.
PhoneME is increase income a sub-project in the Java project of SUN, and the HotSpot that has comprised CLDC and CDC realizes and a plurality of JSR., realizes phoneME that this just impels the Embedded Application developer to transplant phoneME to the enterprising enforcement usefulness of various embedded platforms because being the J2ME of a business level of increasing income.This has more quickened popularization and the expansion of J2ME on embedded device simultaneously.Application program with the J2ME platform development is called MIDlet, finally all operates in and realizes specific function in the embedded device.Because need earlier Midlet to be deployed on the mobile phone at test Midlet on the mobile phone, general commercial mobile phone all has data wire and software kit that Midlet on the computer is deployed on the mobile phone.
Summary of the invention
The object of the present invention is to provide and a kind ofly directly dispose the implementation method of application program of mobile phone to the mobile phone from computer.
The technical scheme that the present invention solves its technical problem employing is as follows:
1) build server:
The storing directory of the jar file that the Integrated Development Environment of application program of mobile phone on computer compiling application program of mobile phone is generated is mapped to server;
2) integrated deployment order:
The deployment order that will have config option is integrated in the Integrated Development Environment of application program of mobile phone;
3) configuration deployment option:
The server path that the application program of mobile phone Integrated Development Environment is compiled the jar file that generates is configured to deployment order;
4) mobile phone end operation virtual machine:
Mobile phone is crossed the USB line with the computer expert be connected, and will have the virtual machine that socket intercepts and on mobile phone, move, wait for the access of computer end;
5) computer end is initiated to dispose:
In the application program of mobile phone Integrated Development Environment of computer end, the application program of mobile phone compiling that writes is generated jar file, carry out deployment order then;
6) the mobile phone end downloads and installs the operation application program of mobile phone:
The mobile phone end is set up with computer end and is communicated by letter, and by the network path that parses application program of mobile phone application program of mobile phone is downloaded on the mobile phone, and has moved application program of mobile phone automatically.
The present invention compares with background technology, and the useful effect that has is:
The present invention is that a kind of application program of mobile phone of the application program of mobile phone Integrated Development Environment being write by computer end initiation deployment is deployed to the method on the mobile phone fast.The method that traditional mobile phone is disposed application program of mobile phone all is to initiate deployment by the mobile phone end.So, will need the user manually manually to download and install application program of mobile phone then from mobile phone end Connection Service device.And the present invention configures deployment option only need use first the time, and the application program of mobile phone that has well just write in the mobile phone deploy that just can settle at one go if think that application program of mobile phone does not get a desired effect, can be revised and be redeployed fast.
(1) reusability.The configuration of computer end of the present invention all is disposable, if the environment of computer end is not revised, configuration does not just need to revise.
(2) rapidity.What the present invention adopted is the deployment that settles at one go, is used to need not complicated deployment.
(3) authenticity.The mobile phone Application development environ-ment all is equipped with simulator to be used for the operational effect of testing mobile phone application program on computers.But simulator is not real hardware device after all, and still might there be difference in the effect moved on operational effect on the real handset and the simulator that carrying.The present invention copies the application program of mobile phone Integrated Development Environment to be deployed to the process of the simulator that carries, and what settle at one go is deployed on the real cell phone apparatus.
Description of drawings
Fig. 1 is a deployment flow process of the present invention.
Fig. 2 is the reciprocal process of mobile phone end and computer end information among the present invention.
Embodiment
The present invention a kind ofly directly disposes the implementation method of application program of mobile phone to the mobile phone from computer, and as shown in Figure 1, concrete realization flow is as follows:
1) build server:
Build Web server, server need provide the visit of http, and the storage of file on server is provided.For the Tomcat server, need in its configuration file web.xml, add identification for jad and jar file.For the jar file type, select File expansion .jar by name, mime type is application/java-archive.So far, Web server has been built successfully, the storing directory of the jar file that the Integrated Development Environment of application program of mobile phone on computer compiling application program of mobile phone is generated is mapped to the virtual route on the server then, makes the storing directory that can have access to the application program of mobile phone jar file by http.
2) integrated deployment order:
Write the plug-in unit of the Integrated Development Environment of an application program of mobile phone, submenu order that has config option of new interpolation, config option is used to dispose the network path of storing directory on Web server that compiles the application program of mobile phone jar file that generates on the one hand, this order will be used socket () thereby specify the IP as the mobile phone end of server end with port information computer to be set up a socket in order to communicate by letter with the mobile phone end, as the flow process of " as the computer end of client " on the right among Fig. 2 as client on the other hand.
3) configuration deployment option:
1) in the server virtual route of storing directory of the jar file that generates of the application program of mobile phone that obtains be filled up to 2) in the config option of integrated deployment order in.
4) mobile phone end operation virtual machine:
Mobile phone is crossed the USB line with the computer expert be connected, in the virtual machine of mobile phone end operation, also need to add intercepting of socket, the flow process of concrete " as the mobile phone end of server end " as the left side among Fig. 2; To have the virtual machine that socket intercepts then and on mobile phone, move, wait for the access of computer end.
5) computer end is initiated to dispose:
At first compile the generation jar file when having developed application program of mobile phone, directly carry out deployment order then in the application program of mobile phone Integrated Development Environment of computer end.
6) the mobile phone end downloads and installs the operation application program of mobile phone:
The socket of mobile phone end operation is intercepted the connection that receives computer end, obtains the packet that has the application program of mobile phone network path that computer end send () comes by recv () function, by unpacking the network path that obtains application program of mobile phone; Virtual machine call installmidlet order downloads to application program of mobile phone on the mobile phone by the mode of OVA (Over The Air), and calls the runmidlet order and moved the application program of mobile phone that download is finished automatically.
Therefore, the present invention is packaged into the connection and the operation of bottom with the user in traditional dispositions method in the operation of mobile phone, has improved user's operating efficiency and has significantly reduced the waste of user's operating time.

Claims (1)

1, a kind ofly directly dispose the implementation method of application program of mobile phone to the mobile phone, it is characterized in that from computer:
1) build server:
The storing directory of the jar file that the Integrated Development Environment of application program of mobile phone on computer compiling application program of mobile phone is generated is mapped to server;
2) integrated deployment order:
The deployment order that will have config option is integrated in the Integrated Development Environment of application program of mobile phone;
3) configuration deployment option:
The server path that the application program of mobile phone Integrated Development Environment is compiled the jar file that generates is configured to deployment order;
4) mobile phone end operation virtual machine:
Mobile phone is crossed the USB line with the computer expert be connected, and will have the virtual machine that socket intercepts and on mobile phone, move, wait for the access of computer end;
5) computer end is initiated to dispose:
In the application program of mobile phone Integrated Development Environment of computer end, the application program of mobile phone compiling that writes is generated jar file, carry out deployment order then;
6) the mobile phone end downloads and installs the operation application program of mobile phone:
The mobile phone end is set up with computer end and is communicated by letter, and by the network path that parses application program of mobile phone application program of mobile phone is downloaded on the mobile phone, and has moved application program of mobile phone automatically.
CN2009100959597A 2009-02-26 2009-02-26 Implementation method for directly deploying mobile phone application program from computer onto mobile phone Expired - Fee Related CN101505339B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100959597A CN101505339B (en) 2009-02-26 2009-02-26 Implementation method for directly deploying mobile phone application program from computer onto mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100959597A CN101505339B (en) 2009-02-26 2009-02-26 Implementation method for directly deploying mobile phone application program from computer onto mobile phone

Publications (2)

Publication Number Publication Date
CN101505339A true CN101505339A (en) 2009-08-12
CN101505339B CN101505339B (en) 2011-06-15

Family

ID=40977401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100959597A Expired - Fee Related CN101505339B (en) 2009-02-26 2009-02-26 Implementation method for directly deploying mobile phone application program from computer onto mobile phone

Country Status (1)

Country Link
CN (1) CN101505339B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917399A (en) * 2010-07-02 2010-12-15 大唐微电子技术有限公司 Method and system for deploying application of smart card, and security module
CN101931945A (en) * 2010-08-24 2010-12-29 武汉天喻信息产业股份有限公司 Download and installation method for realizing (U) SIM card application by using PC terminal
CN101950257A (en) * 2010-09-26 2011-01-19 中兴通讯股份有限公司 Mobile phone application development method and system
WO2012129870A1 (en) * 2011-03-31 2012-10-04 中兴通讯股份有限公司 Wireless communication device and working method therefor
CN103077058A (en) * 2013-01-06 2013-05-01 邓海勤 Method and device for installing application program
CN101751258B (en) * 2009-12-30 2013-06-26 大唐微电子技术有限公司 Intelligent card and developing method, system and deployment method for intelligent card application
CN106572128A (en) * 2015-10-09 2017-04-19 阿里巴巴集团控股有限公司 Method and device used for deploying applications in integrated development environment (IDE)
CN110049098A (en) * 2019-03-06 2019-07-23 长沙摩智云计算机科技有限公司 Mobile phone application distribution formula runs quickly starting system and method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1642316A (en) * 2004-01-13 2005-07-20 英华达(南京)科技有限公司 Method for hand-set down loading applied program through personal computer for use in personal handset system
CN1955971B (en) * 2005-10-27 2010-05-05 北京振戎融通通信技术有限公司 Safety installation method suitable for Java application program
CN101247585B (en) * 2007-02-13 2011-03-16 中兴通讯股份有限公司 Program downloading method of intelligent mobile phone wireless communication module based on AP structure
CN101330674A (en) * 2007-06-21 2008-12-24 上海美通无线网络信息有限公司 Method for dynamically updating mobile phone software menu

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751258B (en) * 2009-12-30 2013-06-26 大唐微电子技术有限公司 Intelligent card and developing method, system and deployment method for intelligent card application
CN101917399A (en) * 2010-07-02 2010-12-15 大唐微电子技术有限公司 Method and system for deploying application of smart card, and security module
CN101917399B (en) * 2010-07-02 2014-06-04 大唐微电子技术有限公司 Method and system for deploying application of smart card, and security module
CN101931945A (en) * 2010-08-24 2010-12-29 武汉天喻信息产业股份有限公司 Download and installation method for realizing (U) SIM card application by using PC terminal
CN101931945B (en) * 2010-08-24 2013-04-17 武汉天喻信息产业股份有限公司 Download and installation method for realizing (U) SIM card application by using PC terminal
CN101950257B (en) * 2010-09-26 2014-12-17 中兴通讯股份有限公司 Mobile phone application development method and system
CN101950257A (en) * 2010-09-26 2011-01-19 中兴通讯股份有限公司 Mobile phone application development method and system
WO2012129870A1 (en) * 2011-03-31 2012-10-04 中兴通讯股份有限公司 Wireless communication device and working method therefor
CN103077058A (en) * 2013-01-06 2013-05-01 邓海勤 Method and device for installing application program
CN103077058B (en) * 2013-01-06 2014-10-08 邓海勤 Method and device for installing application program
CN106572128A (en) * 2015-10-09 2017-04-19 阿里巴巴集团控股有限公司 Method and device used for deploying applications in integrated development environment (IDE)
CN110049098A (en) * 2019-03-06 2019-07-23 长沙摩智云计算机科技有限公司 Mobile phone application distribution formula runs quickly starting system and method
CN110049098B (en) * 2019-03-06 2021-11-23 湖南多行云计算机科技有限公司 Distributed operation quick starting system and method for mobile phone application

Also Published As

Publication number Publication date
CN101505339B (en) 2011-06-15

Similar Documents

Publication Publication Date Title
CN101505339B (en) Implementation method for directly deploying mobile phone application program from computer onto mobile phone
CN102917095B (en) A kind of method of the terminal test based on android system and device
US7337436B2 (en) System and method for cross platform and configuration build system
DK1476809T3 (en) Create mobile middleware services platform platform for mobile terminals
CN103530156B (en) Dynamic load and the method and device of caller
CN100498711C (en) Automatic translation program and program translation server
CN101986266B (en) Method for transplanting Android mobile phone operating system to Atom development board
CN102915247A (en) APK (Android Package) plug-in management method
CN102681893B (en) The cross-platform implementation method of executable program and mobile terminal
CN101382915B (en) Software debugging system and debugging method
US20040102187A1 (en) Method of and system for testing equipment during manufacturing
CN101137170A (en) Software automatic testing instrument and method of embedded equipment
CN101296458A (en) Function expression method, system and device for application program
CN103176899A (en) Mobile phone emulator and method for emulating mobile phone functions on host machine
CN102646056A (en) Function expansion method and device for grid GIS (geographic information system) platform based applications
CN102624967A (en) Method and system for realizing document downloading in mobile terminal
CN101763257B (en) Java preprocessing communication system and java preprocessing method
CN101800910A (en) Simulation system, PC side simulator and mobile phone side agent client
US20040157593A1 (en) Modularization for J2ME platform implementation
CN1320842C (en) Real-time simulation developing method and system for SIM toolkit
CN101296462A (en) Method and system for batch execution of mobile terminal software automatic test
CN103677767A (en) Method for processing application programs, operation system and electronic equipment
CN101419607A (en) Method for deploying JAR file in file system to simulator by using command line
CN102567070A (en) Mobile phone software debugging method and simulator for mobile phone software
CN101426022A (en) Implementation method for deploying JAD file in server onto mobile phone using graphical interface

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: 20110615

Termination date: 20120226