CN102981871A - Application installation method and device and terminal - Google Patents

Application installation method and device and terminal Download PDF

Info

Publication number
CN102981871A
CN102981871A CN2012104382947A CN201210438294A CN102981871A CN 102981871 A CN102981871 A CN 102981871A CN 2012104382947 A CN2012104382947 A CN 2012104382947A CN 201210438294 A CN201210438294 A CN 201210438294A CN 102981871 A CN102981871 A CN 102981871A
Authority
CN
China
Prior art keywords
application program
installation kit
data
url
server end
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.)
Pending
Application number
CN2012104382947A
Other languages
Chinese (zh)
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.)
Shenzhen Coship Electronics Co Ltd
Original Assignee
Shenzhen Coship Electronics 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 Shenzhen Coship Electronics Co Ltd filed Critical Shenzhen Coship Electronics Co Ltd
Priority to CN2012104382947A priority Critical patent/CN102981871A/en
Publication of CN102981871A publication Critical patent/CN102981871A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the field of communications, and provides an application installation method. The application installation method comprises obtaining data used for generating an application program in an application installation package from a server side through a two-way network, unzipping the obtained data through a decompression algorithm, and generating the application program when unzipping is finished. As the embodiment of the application installation method, an application installation terminal obtains a uniform resource locator (URL) of the application installation package stored in a server, when the judgment that the application installation package needs to be installed through the two-way network is yes according to the URL, the data used for generating the application program in the application installation package is obtained through the two-way network, then the data is unzipped, and at last the application program is generated when the unzipping is finished. Therefore, the local terminal is enabled to only store the data used for generating the application program and the application program generated based on the data, and the space of the local terminal is saved.

Description

The installation method of application program, device and terminal
Technical field
The invention belongs to the communications field, relate in particular to a kind of installation method, device and terminal of application program.
Background technology
Be illustrated in figure 1 as the method for terminal set up applications in the prior art, use installation kit and usually be stored in server end, be converted to application program and will use installation kit, need through following step:
In step S101, terminal is obtained the URL of the application installation kit of server end storage;
In step S102, terminal is downloaded described application installation kit according to described URL by bilateral network;
In step S103, terminal is obtained the data in the described application installation kit;
In step S104, generate application program according to described data.
Wherein the idiographic flow of step S103 is as shown in Figure 2:
In step S201, terminal is opened described application installation kit;
In step S202, terminal reads the data in the described application installation kit;
In step S203, terminal is closed described application installation kit data.
Description by Fig. 1 can know that user terminal needs the process through " using the data → application program in installation kit → application installation kit " in the process of set up applications.As shown in Figure 3, in this process, data 2, the application program 3 of use installation kit 1, using in the installation kit all can take storage space in terminal 4, and when the insufficient memory of terminal, then the problem that application program can't be installed may occur, the storage space of few occupied terminal of therefore trying one's best is to solve the necessary problem that application program is installed.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of installation method, device and terminal of application program, is intended to solve the problem of prior art a large amount of occupied terminal storage spaces when set up applications.
The embodiment of the invention is achieved in that a kind of installation method of application program, is applied to terminal, said method comprising the steps of:
Obtain the data that are used for generating application program the application installation kit by bilateral network from server end;
The described data of obtaining by the decompression algorithm decompress(ion), and when decompress(ion) is finished, generate application program.
Another purpose of the embodiment of the invention is to provide a kind of erecting device of application program, is applied to terminal, and described device comprises:
Data capture unit is used for obtaining the data that the application installation kit is used for generating application program by bilateral network from server end;
The application program generation unit for the described data of obtaining by the decompression algorithm decompress(ion), and generates application program when decompress(ion) is finished.
Another purpose of the embodiment of the invention is to provide a kind of terminal, and described terminal comprises aforesaid erecting device.
The embodiment of the invention, terminal is obtained the URL(uniform resource locator) of the application installation kit of storing on the server, when judging that according to URL(uniform resource locator) using the installation kit needs installs by bilateral network, obtain the data that are used for generating application program in the application installation kit by bilateral network, then described data are carried out decompress(ion), generate application program when decompress(ion) is complete.So that be used for generating the data of application program and the application program that generates according to described data local only need the storage of terminal, saved the space of terminal this locality.
Description of drawings
Fig. 1 is the process flow diagram of the application program installation method that provides of prior art;
Fig. 2 is the particular flow sheet of step S103 shown in Figure 1;
Fig. 3 is that the space takies synoptic diagram in the application program installation process that provides of prior art;
Fig. 4 is the process flow diagram of the application program installation method that provides of the embodiment of the invention;
Fig. 5 is that the space takies synoptic diagram in the application program installation process that provides of the embodiment of the invention;
Fig. 6 is the process flow diagram of implementing the application program installation method of the embodiment of the invention from end side;
Fig. 7 is the structural drawing of the application program erecting device that provides of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
The embodiment of the invention, terminal is obtained the URL(uniform resource locator) of the application installation kit of storing on the server, when judging that according to URL(uniform resource locator) using the installation kit needs installs by bilateral network, obtain the data that are used for generating application program in the application installation kit by bilateral network, then described data are carried out decompress(ion), generate application program when decompress(ion) is complete.So that be used for generating the data of application program and the application program that generates according to described data local only need the storage of terminal, saved the space of terminal this locality.
Embodiment one
Be illustrated in figure 4 as the process flow diagram of the application program installation method that the embodiment of the invention provides, described method is applied to terminal, said method comprising the steps of:
In step S401, obtain the URL(uniform resource locator) of the application installation kit of server end storage, and judge according to described URL(uniform resource locator) described application installation kit whether install by bilateral network by needs.
In embodiments of the present invention, terminal is obtained the URL(uniform resource locator) (URL) of the application installation kit of server end storage, and judges according to described URL(uniform resource locator) described application installation kit whether install by bilateral network by needs.Concrete, judge according to the protocol-identifier of URL(uniform resource locator): if the protocol-identifier of described URL(uniform resource locator) is the bidirectional protocols signs such as http, rtsp, can judge that then described application installation kit will install by bilateral network.Wherein, terminal is obtained the method for the URL(uniform resource locator) of using installation kit and is used prior art, does not repeat them here.
In step S402, obtain the data that are used for generating application program the application installation kit by bilateral network from server end.
In embodiments of the present invention, the terminal to server end sends the request of using the data that are used for the generation application program in the installation kit of obtaining, terminal is directly obtained for the data that generate application program from server end herein, rather than obtain the application installation kit from server end, its concrete acquisition methods is as follows:
A, when judge using installation kit and need to install by bilateral network, send the request of using the data that are used for generating application program in the installation kit of obtaining to server end.
In embodiments of the present invention, when terminal by the protocol-identifier in the URL(uniform resource locator) of described application installation kit, judge when described application installation kit will be installed by bilateral network, the starting terminal decompress(ion) is used the process of installation kit, and sends the request of using the data that are used for the generation application program in the installation kit of obtaining to server end.
The described data that b, reception server end send by bilateral network, described data are that server end reads from the application installation kit of this locality storage.
In embodiments of the present invention, server end is after the request of obtaining application installation kit data that receives the terminal transmission, the application installation kit of read local storage, from described application installation kit, read for the data that generate application program, and send described data for generating application program by bilateral network to terminal.
In step S403, the described data of obtaining by the decompression algorithm decompress(ion), and when decompress(ion) is finished, generate application program.
In embodiments of the present invention, be used for generating the data of application program in the application installation kit that terminal sends by bilateral network reception server end, and by the described data of decompression algorithm decompress(ion), so that described data are generated as application program.
Design sketch by Fig. 5 can find out, terminal storage be for the data that generate application program and the application program that generates according to described data, and application installation kit that can the storage of Download Server end.
For the ease of understanding, drawn the process flow diagram that application program is installed from terminal is one-sided, its effect as shown in Figure 6, its idiographic flow is identical with Fig. 4, does not do at this and gives unnecessary details.
The embodiment of the invention, terminal is obtained the URL(uniform resource locator) of the application installation kit of storing on the server, when judging that according to URL(uniform resource locator) using the installation kit needs installs by bilateral network, obtain the data that are used for generating application program in the application installation kit by bilateral network, then described data are carried out decompress(ion), generate application program when decompress(ion) is complete.So that be used for generating the data of application program and the application program that generates according to described data local only need the storage of terminal, saved the space of terminal this locality.
Embodiment two
Be illustrated in figure 6 as the structural drawing of the application program erecting device that the embodiment of the invention provides, for convenience of explanation, the part relevant with the embodiment of the invention only be shown, comprising:
Data capture unit 701 is used for obtaining the data that the application installation kit is used for generating application program by bilateral network from server end.
In embodiments of the present invention, the data capture unit 701 of terminal sends the request of using the installation kit data of obtaining to server end, in order to obtain the data that are used for generating application program the described application installation kit from server end.Wherein said data capture unit 701 specifically comprises:
The request of obtaining sends subelement 7011, is used for sending the request of using the data that are used for the generation application program in the installation kit of obtaining to server end when judgement application installation kit need to be installed by bilateral network.
In embodiments of the present invention, when terminal by the protocol-identifier in the URL(uniform resource locator) of described application installation kit, judge when described application installation kit can be installed by bilateral network that the request of obtaining sends subelement 7011 and sends the request of obtaining the data that are used for the generation application program in the described application installation kit to server end.
Data receiver subelement 7012, be used for the described request of obtaining send son send described obtain request after, the described data that the reception server end sends by bilateral network, described data are that server end reads from the application installation kit of this locality storage.
In embodiments of the present invention, server end is after the request of obtaining application installation kit data that receives the terminal transmission, the application installation kit of read local storage, from described application installation kit, read and use the installation kit data, and send described data for generating application program by bilateral network to terminal.
Application program generation unit 702 for the described data of obtaining by the described data capture unit 701 of decompression algorithm decompress(ion), and generates application program when decompress(ion) is finished.
In embodiments of the present invention, terminal is passed through the data that are used for generating application program in the installation kit of using of bilateral network reception server end transmission, and passes through the described data of decompression algorithm decompress(ion), so that described application installation kit data are generated as application program.
As an optional embodiment of the present invention, described device also comprises:
URL(uniform resource locator) acquiring unit 703 is used for obtaining the URL(uniform resource locator) of using installation kit.
Whether judging unit 704 is installed, for the URL(uniform resource locator) of obtaining according to described URL(uniform resource locator) acquiring unit 703, is judged whether described application installation kit needs to install by bilateral network.
In embodiments of the present invention, terminal is obtained the URL(uniform resource locator) (URL) of using installation kit, and judges according to described URL(uniform resource locator) whether described application installation kit will be installed by bilateral network.Concrete, judge according to the protocol-identifier of URL(uniform resource locator): if the protocol-identifier of described URL(uniform resource locator) is the bidirectional protocols signs such as http, rtsp, can judge that then described application installation kit can install by bilateral network.Wherein, terminal is obtained the method for the URL(uniform resource locator) of using installation kit and is used prior art, does not repeat them here.
The embodiment of the invention, terminal is obtained the URL(uniform resource locator) of the application installation kit of storing on the server, when judging that according to URL(uniform resource locator) using the installation kit needs installs by bilateral network, obtain the data that are used for generating application program in the application installation kit by bilateral network, then described data are carried out decompress(ion), generate application program when decompress(ion) is complete.So that be used for generating the data of application program and the application program that generates according to described data local only need the storage of terminal, saved the space of terminal this locality.
The embodiment of the invention also provides a kind of terminal, it is characterized in that, described terminal comprises the two described application program erecting devices such as embodiment.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (9)

1. the installation method of an application program is applied to terminal, it is characterized in that, said method comprising the steps of:
Obtain the data that are used for generating application program the application installation kit by bilateral network from server end;
The described data of obtaining by the decompression algorithm decompress(ion), and when decompress(ion) is finished, generate application program.
2. the method for claim 1 is characterized in that, described obtain the step of using the data that are used for generating application program in the installation kit to server end by bilateral network before, described method is further comprising the steps of:
Obtain the URL(uniform resource locator) of using installation kit, and judge according to described URL(uniform resource locator) described application installation kit whether install by bilateral network by needs.
3. method as claimed in claim 2 is characterized in that, judges whether that according to the protocol-identifier in the described URL(uniform resource locator) needs install by bilateral network.
4. the method for claim 1 is characterized in that, describedly obtains the step of using the data that are used for generating application program in the installation kit by bilateral network to server end, is specially:
When judgement application installation kit need to be installed by bilateral network, send the request of using the data that are used for the generation application program in the installation kit of obtaining to server end;
The described data that the reception server end sends by bilateral network, described data are that server end reads from the application installation kit of this locality storage.
5. the erecting device of an application program is applied to terminal, it is characterized in that, described device comprises:
Data capture unit is used for obtaining the data that the application installation kit is used for generating application program by bilateral network from server end;
The application program generation unit for the described data of obtaining by the described data capture unit of decompression algorithm decompress(ion), and generates application program when decompress(ion) is finished.
6. device as claimed in claim 5 is characterized in that, described device also comprises:
The URL(uniform resource locator) acquiring unit is used for obtaining the URL(uniform resource locator) of using installation kit;
Whether judging unit is installed, for the URL(uniform resource locator) of obtaining according to described URL(uniform resource locator) acquiring unit, is judged whether described application installation kit needs to install by bilateral network.
7. device as claimed in claim 6 is characterized in that, judges whether that according to the protocol-identifier in the described URL(uniform resource locator) needs install by bilateral network.
8. device as claimed in claim 5 is characterized in that, described data capture unit specifically comprises:
The request of obtaining sends subelement, is used for sending the request of using the data that are used for the generation application program in the installation kit of obtaining to server end when judgement application installation kit need to be installed by bilateral network;
The data receiver subelement is used for the described data that the reception server end sends by bilateral network, and described data are that server end reads from the application installation kit of this locality storage.
9. a terminal is characterized in that, described terminal comprises as where requiring each described erecting device of 5-8.
CN2012104382947A 2012-11-06 2012-11-06 Application installation method and device and terminal Pending CN102981871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104382947A CN102981871A (en) 2012-11-06 2012-11-06 Application installation method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104382947A CN102981871A (en) 2012-11-06 2012-11-06 Application installation method and device and terminal

Publications (1)

Publication Number Publication Date
CN102981871A true CN102981871A (en) 2013-03-20

Family

ID=47855933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104382947A Pending CN102981871A (en) 2012-11-06 2012-11-06 Application installation method and device and terminal

Country Status (1)

Country Link
CN (1) CN102981871A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111844A (en) * 2013-04-19 2014-10-22 腾讯科技(深圳)有限公司 Method and system for installing application programs into mobile terminals
CN105988834A (en) * 2015-02-12 2016-10-05 腾讯科技(深圳)有限公司 Application installation package generating and installing method and apparatus

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232562A (en) * 2007-01-25 2008-07-30 深圳市同洲电子股份有限公司 Method and system for updating set top box and software thereof
CN101299190A (en) * 2008-06-30 2008-11-05 深圳市同洲电子股份有限公司 Software upgrading method, system and built-in equipment of read-only file system
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232562A (en) * 2007-01-25 2008-07-30 深圳市同洲电子股份有限公司 Method and system for updating set top box and software thereof
CN101299190A (en) * 2008-06-30 2008-11-05 深圳市同洲电子股份有限公司 Software upgrading method, system and built-in equipment of read-only file system
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104111844A (en) * 2013-04-19 2014-10-22 腾讯科技(深圳)有限公司 Method and system for installing application programs into mobile terminals
CN105988834A (en) * 2015-02-12 2016-10-05 腾讯科技(深圳)有限公司 Application installation package generating and installing method and apparatus
CN105988834B (en) * 2015-02-12 2019-11-19 腾讯科技(深圳)有限公司 A kind of application installation package generates, installation method and device

Similar Documents

Publication Publication Date Title
CN102821161B (en) A kind of network security auditing method, Apparatus and system
CN101699822A (en) File uploading method and device, and mass storage system
CN103179460A (en) Method for binding mobile terminal to digital audiovisual terminal, bind controlling method and bind controlling system
CN103731493A (en) Page transmission method, device and system
CN104732285A (en) Performance optimizing strategy obtaining and terminal performance optimizing method, server and terminal
CN102447969A (en) Method and system for data interaction between mobile terminal and receiving terminal of digital television
CN102394880A (en) Method and device for processing jump response in content delivery network
EP2827258A1 (en) Embedded network proxy system, terminal device and proxy method
CN105354505A (en) Image adaption method and electronic device
CN103425647A (en) Method and system for webpage seamless browsing
CN101568191B (en) Data communication method between master device and slave device at mobile terminal and mobile terminal
CN102981871A (en) Application installation method and device and terminal
CN103944961A (en) Application sharing method, device and system
CN102404616A (en) Method and system for pushing data cloud based on digital television network
CN102916907A (en) Download method and system based on home gateway, and home gateway
CN103068052B (en) Dynamic resource allocation method, system and Portal server
CN104320447A (en) Medium and small-sized cloud stored data synchronization method, compute readable medium and system
CN103491393B (en) A kind of video traffic processing method and equipment
CN101945233A (en) Method for looking up PPT (Power Point) and PDF (Portable Document Format) documents and television adopting same
CN103561068A (en) Method and device for improving speed of web page browsing
CN104349202A (en) Video acquisition method and device thereof
CN103024533B (en) Control memory (CM) broadband access rate detection method and system
CN103491454A (en) Method, system and device for sharing audio and video resources
US20150135092A1 (en) Apparatus and method for exchanging data
CN102158765A (en) Method and system for updating user interface of digital television receiving terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130320