CN104965720A - Method and apparatus for installing an application - Google Patents

Method and apparatus for installing an application Download PDF

Info

Publication number
CN104965720A
CN104965720A CN201410314612.8A CN201410314612A CN104965720A CN 104965720 A CN104965720 A CN 104965720A CN 201410314612 A CN201410314612 A CN 201410314612A CN 104965720 A CN104965720 A CN 104965720A
Authority
CN
China
Prior art keywords
file
intended application
installation file
application installation
information
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
CN201410314612.8A
Other languages
Chinese (zh)
Other versions
CN104965720B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410314612.8A priority Critical patent/CN104965720B/en
Publication of CN104965720A publication Critical patent/CN104965720A/en
Application granted granted Critical
Publication of CN104965720B publication Critical patent/CN104965720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and apparatus for installing an application, belonging to the field of network technology. The method comprises: receiving a target application information; generating a target application installation file on the basis of the target application information, a basic application information and a basic application installation file, the target application installation file being used for installing the target application; generating a graphic code for downloading the target application installation file; a first terminal for issuing the target application based on the graphic code, a second terminal for downloading the target application installation file by scanning the issued graphic code and installing the target application by installing the target application installation file. The invention provides a method for recommend the installation of the application, and developers can recommend the target application installation file to users by simply issuing the graphic code, which obviates a need for users to take the initiative to search in a browser. The method and apparatus are easy to operate, increase the downloading probability of the target application installation file and are conducive to increasing the popularity and the number of subscribers of the target application.

Description

Application installation method and device
Technical field
The present invention relates to networking technology area, particularly one application installation method and device.
Background technology
Along with the development of intelligent terminal and universal, diversified application starts to occur, terminal can install multiple application, to realize different functions.
And for the developer of application, after developer generates application installation file, can this application installation file of Online release, this application installation file is for installing application.When user wishes to install this application, terminal can be used to search for this application installation file in a browser, carry out installing after downloading this application installation file.
Existing issue form needs user, and initiatively carrying out search could download this application installation file, complex operation, and, when user is facing to numerous application, active searching wherein a kind of probability applying installation file is very little, and this can cause the popularization degree applied not high, and customer volume is very little.
Summary of the invention
In order to solve the problem of prior art, embodiments provide a kind of application installation method and device.Described technical scheme is as follows:
First aspect, provide a kind of application installation method, described method comprises:
Receive the intended application information that first terminal sends;
The base application installation file corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, described intended application installation file is used for installation targets application, and described base application installation file is used for installation foundation application;
According to described intended application installation file, generate graphic code, described graphic code is for downloading described intended application installation file;
Described first terminal is used for issuing described intended application based on described graphic code, and the second terminal is used for the graphic code issued by scanning, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
Second aspect, provide a kind of application installation method, described method comprises:
Display application information input interface;
Obtain the intended application information that user inputs in described application message inputting interface;
Described intended application information is sent to server, make the base application installation file that described server is corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, according to described intended application installation file, generate graphic code, return described graphic code;
Issue intended application based on described graphic code, making terminal pass through to scan described graphic code, download described intended application installation file, by installing described intended application installation file, described intended application being installed.
The third aspect, provide a kind of application erecting device, described device comprises:
Information receiving module, for receiving the intended application information that first terminal sends;
File generating module, for the base application installation file corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, described intended application installation file is used for installation targets application, and described base application installation file is used for installation foundation application;
Graphic code generation module, for according to described intended application installation file, generate graphic code, described graphic code is for downloading described intended application installation file;
Described first terminal is used for issuing described intended application based on described graphic code, and the second terminal is used for the graphic code issued by scanning, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
Fourth aspect, provide a kind of application erecting device, described device comprises:
Interface display module, for display application information input interface;
Data obtaining module, for obtaining the intended application information that user inputs in described application message inputting interface;
Information sending module, for sending described intended application information to server, make the base application installation file that described server is corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, according to described intended application installation file, generate graphic code, return described graphic code;
Release module, for issuing intended application based on described graphic code, making terminal pass through to scan described graphic code, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
The method and apparatus that the embodiment of the present invention provides, by according to intended application information, base application information and base application installation file, generate intended application installation file, graphic code is generated according to this intended application installation file, make first terminal can issue intended application based on this graphic code, other-end can download this intended application installation file by this graphic code of scanning, provide a kind of mode of exemplary application installation file, developer only need issue this graphic code can recommend this intended application installation file to user, search in a browser on one's own initiative without the need to user, easy and simple to handle, improve the download probability of this intended application installation file, be conducive to the popularization degree and the customer volume that improve intended application.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of process flow diagram applying installation method that the embodiment of the present invention provides;
Fig. 2 is a kind of process flow diagram applying installation method that the embodiment of the present invention provides;
Fig. 3 is a kind of process flow diagram applying installation method that the embodiment of the present invention provides;
Fig. 4 is the application message inputting interface schematic diagram that the embodiment of the present invention provides;
Fig. 5 is the one application erecting device structural representation that the embodiment of the present invention provides;
Fig. 6 is the one application erecting device structural representation that the embodiment of the present invention provides;
Fig. 7 is a kind of server architecture schematic diagram that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is a kind of process flow diagram applying installation method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is server, and see Fig. 1, the method comprises:
101, the intended application information that first terminal sends is received.
102, corresponding according to this intended application information, base application information, this base application information base application installation file, generate intended application installation file, this intended application installation file is used for installation targets application, and this base application installation file is used for installation foundation application.
103, according to this intended application installation file, generate graphic code, this graphic code is for downloading this intended application installation file.
This first terminal is used for issuing this intended application based on this graphic code, and the second terminal is used for the graphic code issued by scanning, downloading this intended application installation file, by installing this intended application installation file, installing this intended application.
The method that the embodiment of the present invention provides, by according to intended application information, base application information and base application installation file, generate intended application installation file, graphic code is generated according to this intended application installation file, make first terminal can issue intended application based on this graphic code, other-end can download this intended application installation file by this graphic code of scanning, provide a kind of mode of exemplary application installation file, developer only need issue this graphic code can recommend this intended application installation file to user, search in a browser on one's own initiative without the need to user, easy and simple to handle, improve the download probability of this intended application installation file, be conducive to the popularization degree and the customer volume that improve intended application.
Alternatively, this base application installation file corresponding according to this intended application information, base application information, this base application information, generates intended application installation file and comprises:
According to this intended application information and this base application information, determine the different information between this intended application and this base application;
According to this different information and this base application installation file, generate intended application installation file.
Alternatively, this is according to this different information and this base application installation file, generates intended application installation file and comprises:
This base application installation file is unpacked, obtains the file set that this base application installation file is corresponding;
According to this different information, determine that basic specified file to be replaced concentrated by this file;
This basic specified file is replaced with target specified file, and this target specified file is file corresponding to this intended application;
File set after replacing is packaged into this intended application installation file.
Alternatively, this is according to this different information, determines that this file concentrates basic specified file to be replaced to comprise:
According to this different information, determine the type belonging to this different information;
Concentrating from this file, choosing the file of the application message for preserving the type, as this basic specified file, each file that this file is concentrated is for preserving the application message of at least one type.
Alternatively, this is according to this different information, determines that this file concentrates basic specified file to be replaced to comprise:
According to this different information, concentrating from this file, choosing the file for realizing function corresponding to this different information, as this basic specified file, each file that this file is concentrated is used for realizing at least one function.
Alternatively, before this basic specified file is replaced with target specified file by this, the method also comprises:
Adopt ant order, this different information is write in this basic specified file, obtain this target specified file.
Alternatively, this base application installation file corresponding according to this intended application information, base application information, this base application information, after generating intended application installation file, the method also comprises:
According to the source-information of this intended application, this intended application installation file is signed, obtain signature intended application installation file;
According to this signature intended application installation file, generate signature map shape code, this signature map shape code is for downloading this signature intended application installation file;
This signature map shape code is sent to this first terminal, when making this first terminal receive this signature map shape code, this intended application is issued based on this signature map shape code, the signature map shape code issued by scanning by the second terminal, download this signature intended application installation file, this signature intended application installation file is installed; Or,
This signature map shape code is sent to this first terminal, when making this first terminal receive this signature map shape code, this intended application is issued based on this signature map shape code, the signature map shape code issued by scanning by the second terminal, download this signature intended application installation file, obtain the end side application installation file identical with the signature of this signature intended application installation file, replace this end side application installation file with this signature intended application installation file, this signature intended application installation file is installed.
Alternatively, this different information comprises application icon, Apply Names, application link address, explanatory text, at least one item shared in text.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is a kind of process flow diagram applying installation method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is first terminal, and see Fig. 2, the method comprises:
201, display application information input interface.
202, the application message that user inputs in this application message inputting interface is obtained.
203, this intended application information is sent to server, make the base application installation file that this server is corresponding according to this intended application information, base application information, this base application information, generate intended application installation file, according to this intended application installation file, generate graphic code, return this graphic code.
204, issue intended application based on this graphic code, making terminal pass through to scan this graphic code, download this intended application installation file, by installing this intended application installation file, this intended application being installed.
The method that the embodiment of the present invention provides, by the intended application information that this first terminal acquisition user inputs on application message inputting interface, this intended application information is sent to server, server is according to intended application information, base application information and base application installation file, generate intended application installation file, graphic code is generated according to this intended application installation file, make first terminal can issue intended application based on this graphic code, other-end can download this intended application installation file by this graphic code of scanning, provide a kind of mode of exemplary application installation file, developer only need issue this graphic code can recommend this intended application installation file to user, search in a browser on one's own initiative without the need to user, easy and simple to handle, improve the download probability of this intended application installation file, be conducive to the popularization degree and the customer volume that improve intended application.
Alternatively, intended application should be issued based on this graphic code to comprise:
When receiving this graphic code, show this graphic code, to issue this intended application based on this graphic code.
Fig. 3 is a kind of process flow diagram applying installation method that the embodiment of the present invention provides.The interaction agent of this inventive embodiments is first terminal, the second terminal and server, and see Fig. 3, the method comprises:
301, this first terminal display application information input interface, obtains the intended application information that user inputs in this application message inputting interface.
In embodiments of the present invention, this application message inputting interface can be supplied to this first terminal by this server, and this first terminal shows this application message inputting interface.When user wishes to issue intended application, intended application information can be inputted on this application message inputting interface, use this first terminal to send this intended application information to this server.Wherein, this intended application information can comprise the application icon of this intended application, Apply Names, application link address, explanatory text or share text etc., this application link address is for representing the chained address of the code resource of this application, the application installation file of this application can be generated according to the code resource of this application, this explanatory text is used for being described this intended application, it can be the brand of this intended application, advertisement keyword or Apply Names etc., this explanatory text can show when this intended application starts, this shares text also for being described this intended application, also can be the brand of this intended application, advertisement keyword or Apply Names etc., this is shared text and can show when this intended application is shared with other-end by a certain terminal, the embodiment of the present invention does not limit this intended application information.Accordingly, this application message inputting interface comprises input field corresponding to each application message or selection key, and the embodiment of the present invention does not also limit this application message inputting interface.
Fig. 4 is the application message inputting interface schematic diagram that the embodiment of the present invention provides, see Fig. 4, this application message inputting interface comprises Apply Names input field, Apply Names Pinyin Input hurdle, application icon selection key " select File ", application URL (Uniform Resource Locator, URL(uniform resource locator)) input field, explanatory text input field, shares text entry field and confirms that button " confirms to submit to ".This application URL input field is for inputting this application link address, when this server gets this application link address, can according to the code resource of this this intended application of application link address acquisition, using this code resource also as this intended application information, generate this intended application installation file so that follow-up according to this code resource.When this first terminal detects the clicking operation of user to " select File " button, display file administrative directory, determine the file that user selects in this file administrative directory, using the picture in the file of this selection as application icon, when this first terminal detects the clicking operation of user to this " confirm submit to " button, obtain the intended application information that user inputs in this application message inputting interface, send this intended application information to this server.
302, this first terminal sends this intended application information to this server.In order to obtain intended application installation file, this first terminal sends this intended application information to this server, so that this server is according to this intended application information, generates intended application installation file.
303, when this server receives this intended application information, according to this intended application information and this base application information, determine the different information between this intended application and this base application, this base application installation file is unpacked, obtains the file set that this base application installation file is corresponding.
This server directly can generate this intended application installation file according to this intended application information, but, in embodiments of the present invention, in order to save the time generating this intended application installation file, this server is not direct generates this intended application installation file according to this intended application information, but according to this intended application information, this server preserve base application information and base application installation file, generate this intended application installation file.
Wherein, this base application installation file is used for installation foundation application, and can be APK (AndroidApplication Package, Android application installation kit) file, the form of the embodiment of the present invention to this base application installation file limit.This server preserves this base application information and this base application installation file in advance, this base application installation file is as the basis of the intended application installation file of follow-up generation, can be chosen from the multiple application installation files stored by this server, or generate the application installation file for generating other application installation files specially by this server, the embodiment of the present invention does not limit this.
Particularly, when this server receives this intended application information, by comparing this intended application information and this base application information, determine the different information between this intended application and this base application, adopt APKTool (APK compilation tool), this base application installation file is unpacked, obtains this file set.
Wherein, this different information, for representing the difference between this intended application and this base application, is parts different from this base application information in this intended application information, can knows the difference of this base application and this intended application according to this different information.This different information can be the Apply Names of this intended application, the application icon of this intended application etc., and the embodiment of the present invention does not limit this.
Alternatively, this base application installation file is the file through Code obfuscation.When this base application installation file is through Code obfuscation, even if the code of this base application of cracker's decompiling, also the code of this base application of None-identified, improves and cracks difficulty, effectively protects the code of this base application.Further, the follow-up intended application installation file generated on the basis of this base application installation file is also through Code obfuscation, and what improve this intended application equally cracks difficulty, effectively protects the code of this intended application.
It should be noted that, this intended application and this base application can be different application, and also can be the different editions of same application, the embodiment of the present invention limit this.
304, this server is according to this different information, determines that basic specified file to be replaced concentrated by this file.
In embodiments of the present invention, each file that this file is concentrated is respectively used to the application message of preserving at least one type, then alternatively, this server is according to this different information, determine the type belonging to this different information, concentrating from this file, choosing the file of the application message for preserving the type, as this basic specified file.
Further alternatively, each file that this file is concentrated can also be used for realizing at least one function, then alternatively, this server, according to this different information, determines the function corresponding to this different information, concentrates from this file, choose the file for realizing this function, as this basic specified file.
It should be noted that, this basic specified file is identical with the form of the target specified file of follow-up replacement.And when the function that the type belonging to this different information is different or corresponding is different, the form of this basic specified file chosen and this target specified file is also different.This basic specified file and this target specified file can be the file, resource file etc. of smali form, and the embodiment of the present invention does not limit this.
It should be noted that further, the embodiment of the present invention is described for a basic specified file, in fact, this server is according to this different information, multiple basic specified file may be determined, and in subsequent process, replace the plurality of basic specified file with multiple target specified files that this different information is corresponding, the number of the embodiment of the present invention to this basic specified file and this target specified file does not all limit.
305, this server adopts ant order, is write by this different information in this basic specified file, obtains this target specified file, this basic specified file is replaced with target specified file.
In embodiments of the present invention, this server according to this different information, directly can be modified on this basic specified file, adopt ant order, this different information is write in this basic specified file, obtain this target specified file, replace this basic specified file with this target specified file.
Certainly, this target specified file also can be uploaded to this server by this first terminal user, or by this server in advance according to different information and the generation of other application messages of this intended application, the embodiment of the present invention does not limit the mode obtaining this target specified file.
306, the file set after replacement is packaged into this intended application installation file by this server.
Alternatively, this server adopts this APKTool instrument, and the file set after replacing is packaged into intended application installation file.Further alternatively, this server obtains the title of this intended application installation file, according to this title, the file set after replacing is packaged into this intended application installation file.The title of this intended application installation file can be pre-determined by this first terminal user, or generated according to the version information of this intended application installation file by this server, name as this base application installation file is called " Application1.0 ", when this server determines that this base application and this intended application are the different application version of same application, generate the title " Application2.0 " of this intended application installation file, the embodiment of the present invention does not limit this.
In embodiments of the present invention, before replacing it, this file is concentrated and is comprised basic specified file corresponding to this base application and multiple alternative document, when this basic specified file is replaced with this target specified file by this server, file set after this replacement comprises this target specified file and the plurality of alternative document, and namely original concentrates the file except this basic specified file comprised not change.
307, this server is according to the source-information of this intended application, signs to this intended application installation file, obtains signature intended application installation file.
Wherein, this source-information is for representing the developer of this intended application, the password that this server inputs according to the source-information of this intended application and user, generate the certificate that this source-information is corresponding, according to the password of this certificate, this intended application installation file is signed, obtains this signature intended application installation file.
In addition, this server can also generate certificate corresponding to multiple developer in advance, when this server generates this intended application installation file, according to the source-information of this intended application, determine the certificate that this source-information is corresponding, according to the certificate that this is determined, this intended application installation file is signed, obtain this signature intended application installation file.The embodiment of the present invention does not limit the mode of signing.
In embodiments of the present invention, when this server receives this intended application information, can according to this intended application information, pass through C Plus Plus, call shell script, generate this signature intended application installation file, this shell script above-mentioned to unpack for performing, alternate file, packing process.
It should be noted that, this step 307 is optional step, and this server can not also perform step 307, but generate graphic code according to this intended application installation file, send this graphic code to this first terminal, make this second terminal by this graphic code of scanning, download this intended application installation file.
308, this server is according to this signature intended application installation file, and generate signature map shape code, this signature map shape code is for downloading this signature intended application installation file.
In embodiments of the present invention, this signature intended application installation file, after this signature intended application installation file of generation, is not directly sent to this first terminal by this server, but according to this signature intended application installation file, generates signature map shape code.This signature map shape code comprises the address information of this signature intended application installation file, scans this signature map shape code and can obtain this address information, downloads this signature intended application installation file according to this address information.Wherein, this signature map shape code can be Quick Response Code or bar code etc., and the embodiment of the present invention does not limit this.
309, this server sends this signature map shape code to this first terminal.After this server generates this signature map shape code, send this signature map shape code to this first terminal, so that this first terminal issues this intended application based on this signature map shape code.
In the embodiment of the present invention, this server is according to this intended application information, this signature intended application graph of a correspondence code is generated by invoke script, this signature map shape code is shown in the front end page of this first terminal, then this first terminal can issue this graphic code, other-end can scan this graphic code, downloads this signature intended application installation file, to install this intended application.
310, when this first terminal receives this signature map shape code, this intended application is issued based on this signature map shape code.
This first terminal can this signature map shape code of Online release, and also can show this signature map shape code, issue under line after printing this signature map shape code, the embodiment of the present invention does not limit this.
Along with graphic code application more and more extensively and the scanning patter code function of intelligent terminal universal, when issuing this intended application based on this signature map shape code, the probability that user downloads this signature intended application installation file can be improved largely, improve and recommend success ratio.
311, the signature map shape code of this second terminal scanning issue.After the developer of this intended application issues this signature map shape code, user on line or may browse to this signature map shape code under line, when user is interested in this intended application, this signature map shape code of the second terminal scanning directly can be used, to install this intended application.
312, this second terminal is according to this signature map shape code, download this signature intended application installation file, obtain the end side application installation file identical with the signature of this signature intended application installation file, replace this end side application installation file with this signature intended application installation file, this signature intended application installation file is installed.
In embodiments of the present invention, this signature intended application installation file that this server is issued can think the application installation file of latest edition.When this second terminal scanning is to this signature map shape code, this signature map shape code is resolved, when obtaining this signature intended application installation file, judge in this second terminal, whether to comprise the end side application installation file identical with the signature of this signature intended application installation file, if comprised, represent that this second terminal has installed this intended application of legacy version, then this second terminal replaces this end side application installation file with this signature intended application installation file, this signature intended application installation file is installed, to install the intended application of this redaction.If do not comprised, represent that this second terminal does not install this intended application, then this second terminal installs this signature intended application installation file.The embodiment of the present invention only comprises this end side application installation file for this second terminal and is described.
It should be noted that, this intended application can be light application.Light application refers to without the need to downloading, namely searching application namely, when terminal search in a browser gently apply time, download without the need to carrying out and install, can directly open this and gently apply.And the method adopting the embodiment of the present invention to provide, this server can according to the application message of light application, generate application installation file, regeneration graphic code, the developer then gently applied can issue this based on this graphic code and gently apply, make this this graphic code of the second terminal scanning, install after downloading this application installation file, gently apply to install this.In the mode identical with common application, this second terminal is installed light application, and user gently applies without the need to searching for this in a browser, only need click this gently icon of application can open this and gently apply, easy and simple to handle, meet the application habit of user.And the application installation file of light application is general very little, and the data traffic expended during this application installation file of this second terminal downloads is very little.
Further, this is gently applied may comprise polytype application, as music application, Video Applications, news application etc., then developer can send this polytype application message respectively to this server, this server is made to generate this multiple graphic codes that gently application is corresponding, user only need according to self interested application type, this application type graph of a correspondence code is selected to scan, the application of respective type can be installed, and without the need to installing whole light application, meet the vertical class demand of user to light application, and light application message can be pulled from network, carry out the renewal of light application in real time, reduce light application and upgrade cost.
The method that the embodiment of the present invention provides, by this server according to intended application information, base application information and base application installation file, generate intended application installation file, graphic code is generated according to this intended application installation file, send to this first terminal, this first terminal can issue intended application based on this graphic code, other-end can download this intended application installation file by this graphic code of scanning, provide a kind of mode of exemplary application installation file, developer only needs a key to submit this intended application information to, this graphic code can be obtained, issue this graphic code and can recommend this intended application installation file to user, search in a browser on one's own initiative without the need to user, easy and simple to handle, improve the download probability of this intended application installation file, be conducive to the popularization degree and the customer volume that improve intended application.Further, on the basis of this base application installation file, carry out unpacking, the process of alternate file and packing, obtain intended application installation file, without the need to compiling, saving the time generating application installation file, improve formation efficiency.Further, in the mode identical with common application, this application installation file is generated for gently applying, terminal is installed light application, user gently applies without the need to searching for this in a browser, only need click this gently icon of application can open this and gently apply, easy and simple to handle, meet the application habit of user.
Fig. 5 is the one application erecting device structural representation that the embodiment of the present invention provides, and see Fig. 5, this device comprises:
Information receiving module 501, for receiving the intended application information that first terminal sends;
File generating module 502, for the base application installation file corresponding according to this intended application information, base application information, this base application information, generate intended application installation file, this intended application installation file is used for installation targets application, and this base application installation file is used for installation foundation application;
Graphic code generation module 503, for according to this intended application installation file, generate graphic code, this graphic code is for downloading this intended application installation file;
Described first terminal is used for issuing described intended application based on described graphic code, and the second terminal is used for the graphic code issued by scanning, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
The device that the embodiment of the present invention provides, by according to intended application information, base application information and base application installation file, generate intended application installation file, graphic code is generated according to this intended application installation file, make first terminal can issue intended application based on this graphic code, other-end can download this intended application installation file by this graphic code of scanning, provide a kind of mode of exemplary application installation file, developer only need issue this graphic code can recommend this intended application installation file to user, search in a browser on one's own initiative without the need to user, easy and simple to handle, improve the download probability of this intended application installation file, be conducive to the popularization degree and the customer volume that improve intended application.
Alternatively, this file generating module 502 comprises:
Difference determining unit, for according to this intended application information and this base application information, determines the different information between this intended application and this base application;
File generating unit, for according to this different information and this base application installation file, generates intended application installation file.
Alternatively, this file generating unit comprises:
Unpacking subelement, for unpacking this base application installation file, obtaining the file set that this base application installation file is corresponding;
File determination subelement, for according to this different information, determines that basic specified file to be replaced concentrated by this file;
Replace subelement, for this basic specified file is replaced with target specified file, this target specified file is file corresponding to this intended application;
Packing subelement, for being packaged into this intended application installation file by the file set after replacement.
Alternatively, this file determination subelement, also for according to this different information, determines the type belonging to this different information; Concentrating from this file, choosing the file of the application message for preserving the type, as this basic specified file, each file that this file is concentrated is for preserving the application message of at least one type.
Alternatively, this file determination subelement, also for according to this different information, is concentrated from this file, chooses the file for realizing function corresponding to this different information, and as this basic specified file, each file that this file is concentrated is used for realizing at least one function.
Alternatively, this device also comprises:
Writing module, for adopting ant order, writing this different information in this basic specified file, obtaining this target specified file.
Alternatively, this device also comprises:
Signature blocks, for the source-information according to this intended application, signs to this intended application installation file, obtains signature intended application installation file;
Signature map shape code generation module, for according to this signature intended application installation file, generate signature map shape code, this signature map shape code is for downloading this signature intended application installation file;
Described first terminal is used for issuing described intended application based on described signature map shape code;
Second terminal is used for the signature map shape code issued by scanning, downloads described signature intended application installation file, installs described signature intended application installation file; Or, described second terminal is used for the signature map shape code issued by scanning, download described signature intended application installation file, obtain the end side application installation file identical with the signature of described signature intended application installation file, replace described end side application installation file with described signature intended application installation file, described signature intended application installation file is installed.
Alternatively, this different information comprises application icon, Apply Names, application link address, explanatory text, at least one item shared in text.
Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 6 is the one application erecting device structural representation that the embodiment of the present invention provides, and see Fig. 6, this device comprises:
Interface display module 601, for display application information input interface;
Data obtaining module 602, for obtaining the intended application information that user inputs in this application message inputting interface;
Information sending module 603, for sending this intended application information to server, make the base application installation file that this server is corresponding according to this intended application information, base application information, this base application information, generate intended application installation file, according to this intended application installation file, generate graphic code, return this graphic code;
Release module 604, for when receiving this graphic code, issuing intended application based on this graphic code, making terminal pass through to scan this graphic code, download this intended application installation file, by installing this intended application installation file, installing this intended application.
The device that the embodiment of the present invention provides, by the intended application information that this first terminal acquisition user inputs on application message inputting interface, this intended application information is sent to server, server is according to intended application information, base application information and base application installation file, generate intended application installation file, graphic code is generated according to this intended application installation file, make first terminal can issue intended application based on this graphic code, other-end can download this intended application installation file by this graphic code of scanning, provide a kind of mode of exemplary application installation file, developer only need issue this graphic code can recommend this intended application installation file to user, search in a browser on one's own initiative without the need to user, easy and simple to handle, improve the download probability of this intended application installation file, be conducive to the popularization degree and the customer volume that improve intended application.
Alternatively, this release module 604, for when receiving this graphic code, shows this graphic code, to issue this intended application based on this graphic code.
It should be noted that: the application erecting device that above-described embodiment provides is when installing application, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, inner structure by server and terminal is divided into different functional modules, to complete all or part of function described above.In addition, the application erecting device that above-described embodiment provides belongs to same design with application installation method embodiment, and its specific implementation process refers to embodiment of the method, repeats no more here.
Fig. 7 is a kind of server architecture schematic diagram that the embodiment of the present invention provides, this server 700 can produce larger difference because of configuration or performance difference, one or more central processing units (central processing units can be comprised, CPU) 722 (such as, one or more processors) and storer 732, one or more store the storage medium 730 (such as one or more mass memory units) of application program 742 or data 744.Wherein, storer 732 and storage medium 730 can be of short duration storages or store lastingly.The program being stored in storage medium 730 can comprise one or more modules (diagram does not mark), and each module can comprise a series of command operatings in server.Further, central processing unit 722 can be set to communicate with storage medium 730, and server 700 performs a series of command operatings in storage medium 730.
Server 700 can also comprise one or more power supplys 726, one or more wired or wireless network interfaces 750, one or more IO interface 758, and/or, one or more operating systems 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc.
The step performed by server of being somebody's turn to do in above-described embodiment can based on the server architecture shown in this Fig. 7.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (20)

1. apply an installation method, it is characterized in that, described method comprises:
Receive the intended application information that first terminal sends;
The base application installation file corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, described intended application installation file is used for installation targets application, and described base application installation file is used for installation foundation application;
According to described intended application installation file, generate graphic code, described graphic code is for downloading described intended application installation file;
Described first terminal is used for issuing described intended application based on described graphic code, and the second terminal is used for the graphic code issued by scanning, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
2. method according to claim 1, is characterized in that, the described base application installation file corresponding according to described intended application information, base application information, described base application information, generates intended application installation file and comprise:
According to described intended application information and described base application information, determine the different information between described intended application and described base application;
According to described different information and described base application installation file, generate intended application installation file.
3. method according to claim 2, is characterized in that, described according to described different information and described base application installation file, generates intended application installation file and comprises:
Described base application installation file is unpacked, obtains the file set that described base application installation file is corresponding;
According to described different information, determine basic specified file to be replaced in described file set;
Described basic specified file is replaced with target specified file, and described target specified file is file corresponding to described intended application;
File set after replacing is packaged into described intended application installation file.
4. method according to claim 3, is characterized in that, described according to described different information, determines that basic specified file to be replaced in described file set comprises:
According to described different information, determine the type belonging to described different information;
From described file set, choose the file of the application message for preserving described type, as described basic specified file, each file in described file set is for preserving the application message of at least one type.
5. method according to claim 3, is characterized in that, described according to described different information, determines that basic specified file to be replaced in described file set comprises:
According to described different information, from described file set, choose the file for realizing function corresponding to described different information, as described basic specified file, each file in described file set is used for realizing at least one function.
6. method according to claim 3, is characterized in that, described described basic specified file is replaced with target specified file before, described method also comprises:
Adopt ant order, by the described basic specified file of described different information write, obtain described target specified file.
7. method according to claim 1, is characterized in that, the described base application installation file corresponding according to described intended application information, base application information, described base application information, and after generating intended application installation file, described method also comprises:
According to the source-information of described intended application, described intended application installation file is signed, obtain signature intended application installation file;
According to described signature intended application installation file, generate signature map shape code, described signature map shape code is for downloading described signature intended application installation file;
Described first terminal is used for issuing described intended application based on described signature map shape code, and the second terminal is used for the signature map shape code issued by scanning, downloads described signature intended application installation file, installs described signature intended application installation file; Or,
Described first terminal is used for issuing described intended application based on described signature map shape code, second terminal is used for the signature map shape code issued by scanning, download described signature intended application installation file, obtain the end side application installation file identical with the signature of described signature intended application installation file, replace described end side application installation file with described signature intended application installation file, described signature intended application installation file is installed.
8. the method according to any one of claim 1-7, is characterized in that, described different information comprises application icon, Apply Names, application link address, explanatory text, at least one item shared in text.
9. apply an installation method, it is characterized in that, described method comprises:
Display application information input interface;
Obtain the intended application information that user inputs in described application message inputting interface;
Described intended application information is sent to server, make the base application installation file that described server is corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, according to described intended application installation file, generate graphic code, return described graphic code;
Issue intended application based on described graphic code, making terminal pass through to scan described graphic code, download described intended application installation file, by installing described intended application installation file, described intended application being installed.
10. method according to claim 9, is characterized in that, describedly issues intended application based on described graphic code and comprises:
When receiving described graphic code, show described graphic code, to issue described intended application based on described graphic code.
11. 1 kinds of application erecting devices, it is characterized in that, described device comprises:
Information receiving module, for receiving the intended application information that first terminal sends;
File generating module, for the base application installation file corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, described intended application installation file is used for installation targets application, and described base application installation file is used for installation foundation application;
Graphic code generation module, for according to described intended application installation file, generate graphic code, described graphic code is for downloading described intended application installation file;
Described first terminal is used for issuing described intended application based on described graphic code, and the second terminal is used for the graphic code issued by scanning, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
12. devices according to claim 11, is characterized in that, described file generating module comprises:
Difference determining unit, for according to described intended application information and described base application information, determines the different information between described intended application and described base application;
File generating unit, for according to described different information and described base application installation file, generates intended application installation file.
13. devices according to claim 12, is characterized in that, described file generating unit comprises:
Unpacking subelement, for unpacking described base application installation file, obtaining the file set that described base application installation file is corresponding;
File determination subelement, for according to described different information, determines basic specified file to be replaced in described file set;
Replace subelement, for described basic specified file is replaced with target specified file, described target specified file is file corresponding to described intended application;
Packing subelement, for being packaged into described intended application installation file by the file set after replacement.
14. devices according to claim 13, is characterized in that, described file determination subelement, also for according to described different information, determines the type belonging to described different information; From described file set, choose the file of the application message for preserving described type, as described basic specified file, each file in described file set is for preserving the application message of at least one type.
15. devices according to claim 13, it is characterized in that, described file determination subelement is also for according to described different information, from described file set, choose the file for realizing function corresponding to described different information, as described basic specified file, each file in described file set is used for realizing at least one function.
16. devices according to claim 13, is characterized in that, described device also comprises:
Writing module, for adopting ant order, by the described basic specified file of described different information write, obtains described target specified file.
17. devices according to claim 13, is characterized in that, described device also comprises:
Signature blocks, for the source-information according to described intended application, signs to described intended application installation file, obtains signature intended application installation file;
Signature map shape code generation module, for according to described signature intended application installation file, generate signature map shape code, described signature map shape code is for downloading described signature intended application installation file;
Described first terminal is used for issuing described intended application based on described signature map shape code;
Second terminal is used for the signature map shape code issued by scanning, downloads described signature intended application installation file, installs described signature intended application installation file; Or, described second terminal is used for the signature map shape code issued by scanning, download described signature intended application installation file, obtain the end side application installation file identical with the signature of described signature intended application installation file, replace described end side application installation file with described signature intended application installation file, described signature intended application installation file is installed.
18. devices according to any one of claim 11-17, it is characterized in that, described different information comprises application icon, Apply Names, application link address, explanatory text, at least one item shared in text.
19. 1 kinds of application erecting devices, it is characterized in that, described device comprises:
Interface display module, for display application information input interface;
Data obtaining module, for obtaining the intended application information that user inputs in described application message inputting interface;
Information sending module, for sending described intended application information to server, make the base application installation file that described server is corresponding according to described intended application information, base application information, described base application information, generate intended application installation file, according to described intended application installation file, generate graphic code, return described graphic code;
Release module, for issuing intended application based on described graphic code, making terminal pass through to scan described graphic code, downloading described intended application installation file, by installing described intended application installation file, installing described intended application.
20. devices according to claim 19, is characterized in that, described release module is used for when receiving described graphic code, shows described graphic code, to issue described intended application based on described graphic code.
CN201410314612.8A 2014-07-03 2014-07-03 Using installation method and device Active CN104965720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410314612.8A CN104965720B (en) 2014-07-03 2014-07-03 Using installation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410314612.8A CN104965720B (en) 2014-07-03 2014-07-03 Using installation method and device

Publications (2)

Publication Number Publication Date
CN104965720A true CN104965720A (en) 2015-10-07
CN104965720B CN104965720B (en) 2018-10-19

Family

ID=54219755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410314612.8A Active CN104965720B (en) 2014-07-03 2014-07-03 Using installation method and device

Country Status (1)

Country Link
CN (1) CN104965720B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831578A (en) * 2019-01-21 2019-05-31 维沃移动通信有限公司 A kind of application sharing method and terminal
CN110267232A (en) * 2019-05-17 2019-09-20 浙江口碑网络技术有限公司 Application program installation method and device
CN112988284A (en) * 2021-05-13 2021-06-18 太平金融科技服务(上海)有限公司 Application program starting method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150486A1 (en) * 1999-09-14 2009-06-11 Franco Louis M System and method for delivering remotely stored applications and information
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software
CN103699410A (en) * 2013-12-20 2014-04-02 北京奇虎科技有限公司 Method and device for updating application programs
CN103701930A (en) * 2014-01-07 2014-04-02 浙江大学 Mobile application program real-time updating method and system
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103885775A (en) * 2014-03-21 2014-06-25 贝壳网际(北京)安全技术有限公司 Method and device for obtaining driver file

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090150486A1 (en) * 1999-09-14 2009-06-11 Franco Louis M System and method for delivering remotely stored applications and information
CN102707977A (en) * 2012-05-17 2012-10-03 江苏中科梦兰电子科技有限公司 Increment upgrading method based on Android application software
CN103699410A (en) * 2013-12-20 2014-04-02 北京奇虎科技有限公司 Method and device for updating application programs
CN103713928A (en) * 2013-12-31 2014-04-09 优视科技有限公司 Incremental file generating method, and application program installing file updating method and device
CN103701930A (en) * 2014-01-07 2014-04-02 浙江大学 Mobile application program real-time updating method and system
CN103885775A (en) * 2014-03-21 2014-06-25 贝壳网际(北京)安全技术有限公司 Method and device for obtaining driver file

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109831578A (en) * 2019-01-21 2019-05-31 维沃移动通信有限公司 A kind of application sharing method and terminal
CN110267232A (en) * 2019-05-17 2019-09-20 浙江口碑网络技术有限公司 Application program installation method and device
CN112988284A (en) * 2021-05-13 2021-06-18 太平金融科技服务(上海)有限公司 Application program starting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104965720B (en) 2018-10-19

Similar Documents

Publication Publication Date Title
CN108293081B (en) Deep linking of program playback to mobile application state through user interface events
CN105765527B (en) The method and apparatus of software development kit (SDK) for customization
CN102567516B (en) Script loading method and device
CN106686200B (en) Mobile application program updating method, mobile terminal and updating system
CN101473675B (en) Virtualization of mobile device user experience
CN103838573A (en) Application program generation method and device
CN101571876B (en) Script program operation logic expansion method, server and client
CN101504669B (en) Web application template issuing method, apparatus and system
CN105814539A (en) Method and apparatus for code virtualization and remote process call generation
CN103476002A (en) Method and device for data interaction
CN101853152B (en) Method and system for generating graphical user interface
CN104156243A (en) Application distribution and rapid loading and running system and method
CN104754062A (en) Internet based information popularization method, server and user terminal
CN102362261A (en) Input content to application via web browser
CN104580480A (en) Remote automatic deployment system and method for client end
CN105141972A (en) Video editing method and video editing device
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
US11640441B2 (en) Page displaying method and device, computer-readable storage medium and electronic device
CN108549537A (en) The method and system of user data acquisition based on Android terminal
CN108776592A (en) A kind of method, apparatus of page makeup, equipment and storage medium
CN104580378A (en) Installation package processing method and device
Brossier Developing Android Applications with Adobe AIR
CN106055375A (en) Application program installation method and device
CN101944017B (en) Method and device for producing Widget
CN104965720A (en) Method and apparatus for installing an application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant