CN104965720B - Using installation method and device - Google Patents

Using installation method and device Download PDF

Info

Publication number
CN104965720B
CN104965720B CN201410314612.8A CN201410314612A CN104965720B CN 104965720 B CN104965720 B CN 104965720B CN 201410314612 A CN201410314612 A CN 201410314612A CN 104965720 B CN104965720 B CN 104965720B
Authority
CN
China
Prior art keywords
file
intended application
installation file
application
graphic code
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.)
Active
Application number
CN201410314612.8A
Other languages
Chinese (zh)
Other versions
CN104965720A (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

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of application installation method and devices, belong to network technique field.This method includes:Receive intended application information;According to the intended application information, base application information, base application installation file, intended application installation file is generated, which is used for installation targets application;Graphic code is generated, the graphic code is for downloading the intended application installation file;The first terminal is used to issue the intended application based on the graphic code, and second terminal is used to, by scanning the graphic code of publication, download the intended application installation file, by installing the intended application installation file, install the intended application.The present invention provides a kind of modes recommended using installation file, developer, which need to only issue graphic code, to recommend intended application installation file to user, it is initiatively scanned in a browser without user, it is easy to operate, the download probability for improving intended application installation file is conducive to the popularization degree and user volume that improve intended application.

Description

Using installation method and device
Technical field
The present invention relates to network technique field, more particularly to a kind of application installation method and device.
Background technology
With the development of intelligent terminal and universal, diversified application starts to occur, and terminal can install a variety of applications, To realize different functions.
And for the developer of application, developer generates using after installation file, the application can be pacified with Online release File is filled, this is applied using installation file for installing.When user wishes that installation should be in application, can be with using terminal in browser This applies installation file for middle search, downloads after this applies installation file and is installed.
Existing publication form needs user actively to scan for could downloading this using installation file, cumbersome, and, When user plane is against numerous in application, actively searching for the probability very little of one of which application installation file, this can cause to apply Popularization degree it is not high, user volume very little.
Invention content
In order to solve problems in the prior art, an embodiment of the present invention provides a kind of application installation method and devices.It is described Technical solution is as follows:
In a first aspect, provide it is a kind of apply installation method, the method includes:
Receive the intended application information that first terminal is sent;
According to the intended application information, base application information, the corresponding base application installation of the base application information File, generates intended application installation file, and the intended application installation file is used for installation targets application, the base application peace It fills file and is used for installation foundation application;
According to the intended application installation file, graphic code is generated, the graphic code is for downloading the intended application peace Fill file;
The first terminal is used to issue the intended application based on the graphic code, and second terminal is used for by scanning hair The graphic code of cloth downloads the intended application installation file, by installing the intended application installation file, installs the target Using.
Second aspect, provide it is a kind of apply installation method, the method includes:
Show application message input interface;
Obtain the intended application information that user inputs in the application message input interface;
The intended application information is sent to server so that the server is according to the intended application information, basis Application message, the corresponding base application installation file of the base application information generate intended application installation file, according to described Intended application installation file generates graphic code, returns to the graphic code;
Intended application is issued based on the graphic code so that terminal is downloaded the target and answered by scanning the graphic code The intended application is installed by installing the intended application installation file with installation file.
The third aspect, provide it is a kind of applying mounting device, described device includes:
Information receiving module, the intended application information for receiving first terminal transmission;
File generating module, for according to the intended application information, base application information, the base application information pair The base application installation file answered, generates intended application installation file, and the intended application installation file is answered for installation targets With the base application installation file is used for installation foundation application;
Graphic code generation module, for according to the intended application installation file, generating graphic code, the graphic code is used for Download the intended application installation file;
The first terminal is used to issue the intended application based on the graphic code, and second terminal is used for by scanning hair The graphic code of cloth downloads the intended application installation file, by installing the intended application installation file, installs the target Using.
Fourth aspect, provide it is a kind of applying mounting device, described device includes:
Interface display module, for showing application message input interface;
Data obtaining module, the intended application information inputted in the application message input interface for obtaining user;
Information sending module, for sending the intended application information to server so that the server is according to Intended application information, base application information, the corresponding base application installation file of the base application information generate intended application Installation file generates graphic code, returns to the graphic code according to the intended application installation file;
Release module, for issuing intended application based on the graphic code so that terminal by scanning the graphic code, under The intended application installation file is carried, by installing the intended application installation file, the intended application is installed.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
Method and apparatus provided in an embodiment of the present invention, by according to intended application information, base application information and basis Using installation file, intended application installation file is generated, graphic code is generated according to the intended application installation file so that first eventually End can be based on the graphic code and issue intended application, and other-end can download intended application installation by scanning the graphic code File, provides a kind of mode for recommending to apply installation file, and developer need to only issue the graphic code and can recommend to be somebody's turn to do to user Intended application installation file initiatively scans in a browser without user, easy to operate, improves intended application peace The download probability for filling file is conducive to the popularization degree and user volume that improve intended application.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow chart using installation method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart using installation method provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart using installation method provided in an embodiment of the present invention;
Fig. 4 is application message input interface schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of application mounting device structural schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of application mounting device structural schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of server architecture schematic diagram provided in an embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart using installation method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is server, and referring to Fig. 1, this method includes:
101, the intended application information that first terminal is sent is received.
102, it is installed according to the intended application information, base application information, the corresponding base application of the base application information File, generates intended application installation file, which is used for installation targets application, base application installation text Part is used for installation foundation application.
103, according to the intended application installation file, graphic code is generated, the graphic code is for downloading intended application installation File.
The first terminal is used to issue the intended application based on the graphic code, and second terminal is used for the figure by scanning publication Shape code downloads the intended application installation file, by installing the intended application installation file, installs the intended application.
Method provided in an embodiment of the present invention, by being pacified according to intended application information, base application information and base application File is filled, intended application installation file is generated, graphic code is generated according to the intended application installation file so that first terminal can be with Intended application is issued based on the graphic code, other-end can download the intended application installation file by scanning the graphic code, A kind of mode recommended using installation file is provided, developer, which need to only issue the graphic code, to recommend the target to answer to user With installation file, initiatively scanned in a browser without user, it is easy to operate, improve the intended application installation file Download probability, be conducive to improve intended application popularization degree and user volume.
Optionally, this is according to the intended application information, base application information, the corresponding base application of base application information Installation file, generating intended application installation file includes:
According to the intended application information and the base application information, the difference between the intended application and the base application is determined Different information;
According to the different information and the base application installation file, intended application installation file is generated.
Optionally, this includes according to the different information and the base application installation file, generation intended application installation file:
The base application installation file is unpacked, the corresponding file set of base application installation file is obtained;
According to the different information, determine that this document concentrates basic specified file to be replaced;
By the basis, specified file replaces with target specified file, which is the corresponding text of the intended application Part;
Replaced file set is packaged into the intended application installation file.
Optionally, this is according to the different information, determines that this document concentrates the basic specified file to be replaced to include:
According to the different information, the type belonging to the different information is determined;
It is concentrated from this document, chooses the file of the application message for preserving the type, it, should as the basis specified file Each file in file set is used to preserve the application message of at least one type.
Optionally, this is according to the different information, determines that this document concentrates the basic specified file to be replaced to include:
It according to the different information, is concentrated from this document, chooses the file for realizing the corresponding function of the different information, made For the basis specified file, each file that this document is concentrated is for realizing at least one function.
Optionally, before which is replaced with target specified file by this, this method further includes:
Using ant orders, which is written in the basis specified file, obtains the target specified file.
Optionally, this is according to the intended application information, base application information, the corresponding base application of base application information Installation file, after generating intended application installation file, this method further includes:
It according to the source-information of the intended application, signs to the intended application installation file, obtains signature target and answer Use installation file;
According to the signature intended application installation file, signature graphic code is generated, the signature graphic code is for downloading the signature Intended application installation file;
The signature graphic code is sent to the first terminal so that when the first terminal receives the signature graphic code, is based on The signature graphic code issues the intended application, by second terminal by scanning the signature graphic code issued, downloads the signature target Using installation file, which is installed;Or,
The signature graphic code is sent to the first terminal so that when the first terminal receives the signature graphic code, is based on The signature graphic code issues the intended application, by second terminal by scanning the signature graphic code issued, downloads the signature target Using installation file, obtains end side identical with the signature of the signature intended application installation file and apply installation file, with this Signature intended application installation file replaces the end side and applies installation file, installs the signature intended application installation file.
Optionally, which includes application icon, Apply Names, application link address, illustrates text, shares text At least one of in.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Fig. 2 is a kind of flow chart using installation method provided in an embodiment of the present invention.The execution master of the inventive embodiments Body is first terminal, and referring to Fig. 2, this method includes:
201, application message input interface is shown.
202, the application message that user inputs in the application message input interface is obtained.
203, the intended application information is sent to server so that the server is answered according to the intended application information, basis With information, the corresponding base application installation file of the base application information, intended application installation file is generated, is answered according to the target With installation file, graphic code is generated, the graphic code is returned.
204, it is based on the graphic code and issues intended application so that terminal downloads the intended application by scanning the graphic code Installation file installs the intended application by installing the intended application installation file.
Method provided in an embodiment of the present invention obtains user by the first terminal and is inputted on application message input interface Intended application information, send the intended application information to server, server is according to intended application information, base application information With base application installation file, intended application installation file is generated, graphic code is generated according to the intended application installation file so that First terminal can be based on the graphic code and issue intended application, and other-end can download the target by scanning the graphic code and answer With installation file, a kind of mode recommended using installation file is provided, developer need to only issue the graphic code can be to user Recommend the intended application installation file, is initiatively scanned in a browser without user, it is easy to operate, improve the target Using the download probability of installation file, be conducive to the popularization degree and user volume that improve intended application.
Optionally, should include based on graphic code publication intended application:
When receiving the graphic code, the graphic code is shown, the intended application is issued to be based on the graphic code.
Fig. 3 is a kind of flow chart using installation method provided in an embodiment of the present invention.The interaction master of the inventive embodiments Body is first terminal, second terminal and server, and referring to Fig. 3, this method includes:
301, the first terminal shows application message input interface, obtains user and is inputted in the application message input interface Intended application information.
In embodiments of the present invention, which can be supplied to the first terminal by the server, should First terminal shows the application message input interface.When user wishes to issue intended application, can be inputted in the application message Intended application information is inputted on interface, and the intended application information is sent to the server using the first terminal.Wherein, the target Application message may include the application icon of the intended application, Apply Names, application link address, illustrate text or share text This etc., the application link address are used to indicate the chained address of the code resource of the application, can according to the code resource of the application To generate the application installation file of the application, this illustrates text for being illustrated to the intended application, can be that the target is answered Brand, advertisement keyword or Apply Names etc., this illustrates that text can show that this is shared when the intended application starts Text is also used for illustrating the intended application, or brand, advertisement keyword or the application name of the intended application Claim etc., this, which shares text, to be shown when the intended application is shared with other-end by a certain terminal, the embodiment of the present invention pair The intended application information does not limit.Correspondingly, the application message input interface includes the corresponding input of each single item application message Column or selection key, the embodiment of the present invention also do not limit the application message input interface.
Fig. 4 is application message input interface schematic diagram provided in an embodiment of the present invention, referring to Fig. 4, application message input Interface include Apply Names input field, Apply Names Pinyin Input column, application icon selection key " select file ", using URL (Uniform Resource Locator, uniform resource locator) input field illustrates text entry field, shares text entry field And confirm button " confirm and submit ".This is used to input the application link address using URL input fields, when the server is got When the application link address, the code resource of the intended application can be obtained according to the application link address, by the code resource Also it is used as the intended application information, subsequently to generate the intended application installation file according to the code resource.When first end When end detects clicking operation of the user to " select file " button, shows file management catalogue, determine user in this document pipe The file selected in reason catalogue, using the picture in the file of the selection as application icon, when the first terminal detects user When " confirming and submit " clicking operation of button to this, the intended application letter that user inputs in the application message input interface is obtained Breath, the intended application information is sent to the server.
302, the first terminal sends the intended application information to the server.In order to obtain intended application installation file, The first terminal sends the intended application information to the server, so that the server is according to the intended application information, generates mesh Mark applies installation file.
303, when the server receives the intended application information, believed according to the intended application information and the base application Breath, determines the different information between the intended application and the base application, unpacks, obtain to the base application installation file The corresponding file set of base application installation file.
The server directly can generate the intended application installation file according to the intended application information, still, in this hair In bright embodiment, in order to save the time for generating the intended application installation file, which does not answer according to the target directly The intended application installation file is generated with information, but is believed according to the base application that the intended application information, the server preserve Breath and base application installation file, generate the intended application installation file.
Wherein, which is used for installation foundation application, can be APK (Android Application Package, Android application installation package) file, the embodiment of the present invention do not limit the format of the base application installation file.It should Server pre-saves the base application information and the base application installation file, and the base application installation file is as follow-up raw At intended application installation file basis, can be chosen from multiple application installation files of storage by the server, or Application installation file for generating other application installation file is specifically generated by the server, the embodiment of the present invention does not do this It limits.
Specifically, when the server receives the intended application information, by comparing the intended application information and the base Plinth application message determines the different information between the intended application and the base application, using APKTool (APK compilation tools), The base application installation file is unpacked, this document collection is obtained.
Wherein, which is used to indicate the difference between the intended application and the base application, is the intended application The part different from the base application information in information can know the base application and the intended application according to the different information Difference.The different information can be the Apply Names of the intended application, the intended application application icon etc., this hair Bright embodiment does not limit this.
Optionally, which is the file by Code obfuscation.When the base application installation file passes through When crossing Code obfuscation, though if the code of cracker's decompiling base application the None- identified base application code, improve Difficulty is cracked, is effectively protected the code of the base application.Further, subsequently in the base of the base application installation file The intended application installation file generated on plinth also passes through Code obfuscation, equally improves the difficulty that cracks of the intended application, effectively Ground protects the code of the intended application.
It should be noted that the intended application and the base application can be different applications, or same application Different editions, it is not limited in the embodiment of the present invention.
304, the server determines that this document concentrates basic specified file to be replaced according to the different information.
In embodiments of the present invention, each file that this document is concentrated is respectively used to preserve the application letter of at least one type Breath, then optionally, which determines the type belonging to the different information according to the different information, is concentrated from this document, chooses File for the application message for preserving the type, as the basis specified file.
Still optionally further, each file that this document is concentrated can be also used for realizing at least one function, then optionally, The server determines the function corresponding to the different information according to the different information, is concentrated from this document, chooses for realizing this The file of function, as the basis specified file.
It should be noted that the basis specified file is identical with the format for the target specified file subsequently replaced.And works as and be somebody's turn to do When type belonging to different information is different or corresponding function difference, the basis specified file of selection and the target are specified literary The format of part is also different.The basis specified file and the target specified file can be file, the resource file etc. of smali formats Deng it is not limited in the embodiment of the present invention.
Explanation is needed further exist for, the embodiment of the present invention is illustrated by taking a basic specified file as an example, in fact, The server may can determine whether multiple basic specified files, and in the follow-up process, with the different information according to the different information Corresponding multiple target specified files replace multiple basic specified file, and the embodiment of the present invention is to the basis specified file and is somebody's turn to do The number of target specified file does not limit.
305, the server uses ant orders, which is written in the basis specified file, the target is obtained and refers to Determine file, specified file replaces with target specified file by the basis.
In embodiments of the present invention, which can be directly enterprising in the basis specified file according to the different information Row modification, using ant orders, which is written in the basis specified file, the target specified file is obtained, with the mesh Mark specified file replaces the basis specified file.
Certainly, which can also be uploaded to the server by first terminal user, or by the service Device is generated previously according to the different information and other application information of the intended application, and the embodiment of the present invention is specified to obtaining the target The mode of file does not limit.
306, replaced file set is packaged into the intended application installation file by the server.
Optionally, which uses the APKTool tools, and replaced file set is packaged into intended application installation text Part.Still optionally further, which obtains the title of the intended application installation file, according to the title, by replaced text Part collection is packaged into the intended application installation file.The title of the intended application installation file can be advance by first terminal user It determines, or is generated according to the version information of the intended application installation file by the server, such as the base application installation file Entitled " Application1.0 ", when the server determines that the base application and the intended application are the difference of same application When application version, the title " Application2.0 " of the intended application installation file is generated, the embodiment of the present invention does not do this It limits.
In embodiments of the present invention, before replacement, this document concentration includes the specified text in the corresponding basis of the base application Part and multiple alternative documents, when the basis specified file is replaced with the target specified file by the server, this is replaced File set includes the target specified file and multiple alternative document, i.e. original concentrates include to remove the basis specified file File in addition does not change.
307, the server is signed to the intended application installation file, is obtained according to the source-information of the intended application To signature intended application installation file.
Wherein, which is used to indicate the developer of the intended application, the server according to the intended application come Source information and password input by user generate the corresponding certificate of the source-information, according to the password of the certificate, answer the target It is signed with installation file, obtains the signature intended application installation file.
In addition, the corresponding certificate of multiple developers can also be generated in advance in the server, when the server generates the target When using installation file, according to the source-information of the intended application, the corresponding certificate of the source-information is determined, according to the determination Certificate signs to the intended application installation file, obtains the signature intended application installation file.The embodiment of the present invention into The mode of row signature does not limit.
It in embodiments of the present invention, can be according to the intended application when the server receives the intended application information Information calls shell scripts by C Plus Plus, generates the signature intended application installation file, the shell scripts are for executing Above-mentioned unpacking, alternate file, packing process.
It should be noted that the step 307 is optional step, which can not also execute step 307, but according to The intended application installation file generates graphic code, sends the graphic code to the first terminal so that the second terminal passes through scanning The graphic code downloads the intended application installation file.
308, the server generates signature graphic code according to the signature intended application installation file, which uses In the download signature intended application installation file.
In embodiments of the present invention, which, directly should not after generating the signature intended application installation file Signature intended application installation file is sent to the first terminal, but according to the signature intended application installation file, generate signature Graphic code.The signature graphic code includes the address information of the signature intended application installation file, scans the signature graphic code The address information is obtained, which is downloaded according to the address information.Wherein, which can be with For Quick Response Code or bar code etc., it is not limited in the embodiment of the present invention.
309, the server sends the signature graphic code to the first terminal.After the server generates the signature graphic code, The signature graphic code is sent to the first terminal, so that the first terminal issues the intended application based on the signature graphic code.
In the embodiment of the present invention, the server is according to the intended application information, by calling script to generate the signature target Using corresponding graphic code, which is shown in the front end page of the first terminal, then the first terminal can To issue the graphic code, other-end can scan the graphic code, the signature intended application installation file be downloaded, to install the mesh Mark application.
310, when the first terminal receives the signature graphic code, which is issued based on the signature graphic code.
The first terminal can also be shown the signature graphic code, be printed the signature with the Online release signature graphic code It is issued under line after graphic code, it is not limited in the embodiment of the present invention.
As graphic code is using the universal of more and more extensive and intelligent terminal scanning figure shape code function, it is based on the signature When graphic code issues the intended application, it can largely improve user and download the general of the signature intended application installation file Rate improves and recommends success rate.
311, the signature graphic code of second terminal scanning publication.The developer of the intended application issues the signature graphic code Afterwards, user may browse to the signature graphic code on line or under line, when user is interested in the intended application, you can straight It connects and scans the signature graphic code using second terminal, to install the intended application.
312, the second terminal downloads the signature intended application installation file according to the signature graphic code, obtains and the label Installation file is applied in the identical end side of signature of name intended application installation file, is replaced with the signature intended application installation file Installation file is applied in the end side, installs the signature intended application installation file.
In embodiments of the present invention, the signature intended application installation file of server publication may be considered latest edition This application installation file.When second terminal scanning is to the signature graphic code, which is parsed, is obtained When the signature intended application installation file, judge in the second terminal whether to include label with the signature intended application installation file The identical end side of name indicates that the second terminal has been mounted with the intended application of legacy version using installation file if including, Then the second terminal replaces the end side with the signature intended application installation file and applies installation file, installs the signature target and answers With installation file, to install the intended application of the new version.If not including, indicate that the second terminal is not installed the target and answered With then the second terminal installs the signature intended application installation file.The embodiment of the present invention in the second terminal only to wrap It includes for installation file is applied in the end side and illustrates.
It should be noted that the intended application can be light application.Light application refers to being answered without what is downloaded, search and use immediately With when terminal searches light application in a browser, without being downloaded and installing, you can directly open the light application.And Using method provided in an embodiment of the present invention, which can generate according to the application message of light application and apply installation file, Graphic code is regenerated, then the developer of light application can issue the light application based on the graphic code so that the second terminal scans The graphic code downloads this using being installed after installation file, to install the light application.In a manner of identical with common application, Light application is installed in the second terminal, user need to only click the figure of the light application without searching for the light application in a browser Mark can open the light application, easy to operate, meet the application habit of user.And the application installation file of light application is general Very little, the data traffic very little which expends when downloading this using installation file.
Further, which may include a plurality of types of applications, as music application, Video Applications, news are answered With etc., then developer can send a plurality of types of application messages to the server respectively so that it is light that the server generates this Using corresponding multiple graphic codes, user only need to select the corresponding figure of the application type according to itself interested application type Shape code is scanned, you can the application for installing respective type meets user to light application without installing entire light application Vertical class demand, and light application information can be pulled from network, the update of light application is carried out in real time, reduces light application more New cost.
Method provided in an embodiment of the present invention, by the server according to intended application information, base application information and base Plinth application installation file generates intended application installation file, generates graphic code according to the intended application installation file, is sent to this First terminal, the first terminal can be based on the graphic code and issue intended application, and other-end is by scanning the graphic code The intended application installation file is downloaded, provides a kind of mode for recommending to apply installation file, developer only needs a key to submit should Intended application information, you can obtain the graphic code, the intended application installation file, nothing can be recommended to user by issuing the graphic code User is needed initiatively to scan in a browser, it is easy to operate, the download probability of the intended application installation file is improved, is had Conducive to the popularization degree and user volume of raising intended application.Further, it on the basis of the base application installation file, is solved The process of packet, alternate file and packing, obtains intended application installation file, without being compiled, saves generation application installation The time of file, improve formation efficiency.Further, it in a manner of identical with common application, generates this for light application and answers With installation file, light application is installed in terminal, user only need to click the light application without searching for the light application in a browser Icon can open the light application, it is easy to operate, meet the application habit of user.
Fig. 5 is a kind of application mounting device structural schematic diagram provided in an embodiment of the present invention, and referring to Fig. 5, which includes:
Information receiving module 501, the intended application information for receiving first terminal transmission;
File generating module 502, for according to the intended application information, base application information, the base application information pair The base application installation file answered generates intended application installation file, which is used for installation targets application, The base application installation file is used for installation foundation application;
Graphic code generation module 503, for according to the intended application installation file, generating graphic code, which is used for Download the intended application installation file;
The first terminal is used to issue the intended application based on the graphic code, and second terminal is used for by scanning hair The graphic code of cloth downloads the intended application installation file, by installing the intended application installation file, installs the target Using.
Device provided in an embodiment of the present invention, by being pacified according to intended application information, base application information and base application File is filled, intended application installation file is generated, graphic code is generated according to the intended application installation file so that first terminal can be with Intended application is issued based on the graphic code, other-end can download the intended application installation file by scanning the graphic code, A kind of mode recommended using installation file is provided, developer, which need to only issue the graphic code, to recommend the target to answer to user With installation file, initiatively scanned in a browser without user, it is easy to operate, improve the intended application installation file Download probability, be conducive to improve intended application popularization degree and user volume.
Optionally, this document generation module 502 includes:
Difference determining unit, for according to the intended application information and the base application information, determine the intended application and Different information between the base application;
File generating unit, for according to the different information and the base application installation file, generating intended application installation File.
Optionally, this document generation unit includes:
It unpacks subelement and obtains the base application installation file pair for being unpacked to the base application installation file The file set answered;
File determination subelement, for according to the different information, determining that this document concentrates basic specified file to be replaced;
Subelement is replaced, for the basis specified file to be replaced with target specified file, which is should The corresponding file of intended application;
It is packaged subelement, for replaced file set to be packaged into the intended application installation file.
Optionally, this document determination subelement is additionally operable to determine the type belonging to the different information according to the different information; It is concentrated from this document, chooses the file of the application message for preserving the type, as the basis specified file, this document is concentrated Each file be used to preserve the application message of at least one type.
Optionally, this document determination subelement is additionally operable to according to the different information, is concentrated from this document, choose for realizing The file of the corresponding function of the different information, as the basis specified file, each file that this document is concentrated is for realizing extremely A kind of few function.
Optionally, which further includes:
The different information is written in the basis specified file for using ant orders, obtains the target by writing module Specified file.
Optionally, which further includes:
Signature blocks are signed to the intended application installation file, are obtained for the source-information according to the intended application To signature intended application installation file;
Signature graphic code generation module, for according to the signature intended application installation file, generating signature graphic code, the label Name graphic code is for downloading the signature intended application installation file;
The first terminal is used to issue the intended application based on the signature graphic code;
Second terminal is used for the signature graphic code by scanning publication, downloads the signature intended application installation file, peace Fill the signature intended application installation file;Or, the second terminal is used for the signature graphic code by scanning publication, institute is downloaded Signature intended application installation file is stated, end side application peace identical with the signature signature of intended application installation file is obtained File is filled, the end side is replaced with the signature intended application installation file and applies installation file, the signature target is installed Using installation file.
Optionally, which includes application icon, Apply Names, application link address, illustrates text, shares text At least one of in.
The alternative embodiment that any combination forms the present invention may be used, herein no longer in above-mentioned all optional technical solutions It repeats one by one.
Fig. 6 is a kind of application mounting device structural schematic diagram provided in an embodiment of the present invention, and referring to Fig. 6, which includes:
Interface display module 601, for showing application message input interface;
Data obtaining module 602, the intended application information inputted in the application message input interface for obtaining user;
Information sending module 603, for sending the intended application information to server so that the server is according to the target Application message, base application information, the corresponding base application installation file of the base application information generate intended application installation text Part generates graphic code, returns to the graphic code according to the intended application installation file;
Release module 604, for when receiving the graphic code, issuing intended application based on the graphic code so that terminal By scanning the graphic code, the intended application installation file is downloaded, by installing the intended application installation file, which is installed Using.
Device provided in an embodiment of the present invention obtains user by the first terminal and is inputted on application message input interface Intended application information, send the intended application information to server, server is according to intended application information, base application information With base application installation file, intended application installation file is generated, graphic code is generated according to the intended application installation file so that First terminal can be based on the graphic code and issue intended application, and other-end can download the target by scanning the graphic code and answer With installation file, a kind of mode recommended using installation file is provided, developer need to only issue the graphic code can be to user Recommend the intended application installation file, is initiatively scanned in a browser without user, it is easy to operate, improve the target Using the download probability of installation file, be conducive to the popularization degree and user volume that improve intended application.
Optionally, which is used for when receiving the graphic code, the graphic code is shown, to be based on the figure Code issues the intended application.
It should be noted that:The application mounting device that above-described embodiment provides is in installation in application, only with above-mentioned each function The division progress of module, can be as needed and by above-mentioned function distribution by different function moulds for example, in practical application Block is completed, i.e., the internal structure of server and terminal is divided into different function modules, with complete it is described above whole or Person's partial function.In addition, the application mounting device that above-described embodiment provides belongs to same design with using installation method embodiment, Its specific implementation process refers to embodiment of the method, and which is not described herein again.
Fig. 7 is a kind of server architecture schematic diagram provided in an embodiment of the present invention, which can be because of configuration or performance It is different and generate bigger difference, may include one or more central processing units (central processing Units, CPU) 722 (for example, one or more processors) and memory 732, one or more storages apply journey The storage medium 730 (such as one or more mass memory units) of sequence 742 or data 744.Wherein, 732 He of memory Storage medium 730 can be of short duration storage or persistent storage.The program for being stored in storage medium 730 may include one or one With upper module (diagram does not mark), each module may include to the series of instructions operation in server.Further, in Central processor 722 could be provided as communicating with storage medium 730, be executed on server 700 a series of in storage medium 730 Instruction operation.
Server 700 can also include one or more power supplys 726, one or more wired or wireless networks Interface 750, one or more input/output interfaces 758, and/or, one or more operating systems 741, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
What is be somebody's turn to do in above-described embodiment can be based on the server architecture shown in Fig. 7 by the step performed by server.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.

Claims (18)

1. a kind of applying installation method, which is characterized in that the method includes:
Receive the intended application information that first terminal is sent;
According to the intended application information and base application information, the different information between intended application and base application is determined;
According to the different information and the corresponding base application installation file of the base application information, intended application installation is generated File, the intended application installation file is for installing the intended application, and the base application installation file is for installing institute State base application;
According to the intended application installation file, graphic code is generated, the graphic code is for downloading the intended application installation text Part;
The first terminal is used to issue the intended application based on the graphic code, and second terminal is used for by scanning publication Graphic code downloads the intended application installation file, by installing the intended application installation file, installs the target and answers With.
2. according to the method described in claim 1, it is characterized in that, described believe according to the different information and the base application Corresponding base application installation file is ceased, generating intended application installation file includes:
The base application installation file is unpacked, the corresponding file set of the base application installation file is obtained;
According to the different information, basic specified file to be replaced in the file set is determined;
The basic specified file is replaced with into target specified file, the target specified file is that the intended application is corresponding File;
Replaced file set is packaged into the intended application installation file.
3. according to the method described in claim 2, it is characterized in that, described according to the different information, the file set is determined In basic specified file to be replaced include:
According to the different information, the type belonging to the different information is determined;
From the file set, the file of application message for preserving the type is chosen, as the basic specified file, Each file in the file set is used to preserve the application message of at least one type.
4. according to the method described in claim 2, it is characterized in that, described according to the different information, the file set is determined In basic specified file to be replaced include:
According to the different information, from the file set, the file for realizing the corresponding function of the different information is chosen, As the basic specified file, each file in the file set is for realizing at least one function.
5. according to the method described in claim 2, it is characterized in that, described replace with target by the basic specified file and specify Before file, the method further includes:
The target specified file is obtained by the different information write-in basic specified file using ant orders.
6. according to the method described in claim 1, it is characterized in that, described according to the different information and the base application The corresponding base application installation file of information, after generating intended application installation file, the method further includes:
It according to the source-information of the intended application, signs to the intended application installation file, obtains signature target and answer Use installation file;
According to the signature intended application installation file, signature graphic code is generated, the signature graphic code is for downloading the label Name intended application installation file;
The first terminal is used to issue the intended application based on the signature graphic code, and second terminal is used for by scanning hair The signature graphic code of cloth downloads the signature intended application installation file, installs the signature intended application installation file;Or,
The first terminal is used to issue the intended application based on the signature graphic code, and second terminal is used for by scanning hair The signature graphic code of cloth downloads the signature intended application installation file, obtains and the signature intended application installation file Identical end side sign using installation file, the end side application installation is replaced with the signature intended application installation file File installs the signature intended application installation file.
7. according to claim 1-6 any one of them methods, which is characterized in that the different information includes application icon, answers With title, application link address, illustrate text, share in text at least one of.
8. a kind of applying installation method, which is characterized in that the method includes:
Show application message input interface;
Obtain the intended application information that user inputs in the application message input interface;
The intended application information is sent to server so that the server is according to the intended application information and base application Information determines the different information between intended application and base application, according to the different information and the base application information Corresponding base application installation file generates intended application installation file, according to the intended application installation file, generates figure Code returns to the graphic code, and the intended application installation file is used for installation targets application, and the base application installation file is used In installation foundation application;
The intended application is issued based on the graphic code so that terminal is downloaded the target and answered by scanning the graphic code The intended application is installed by installing the intended application installation file with installation file.
9. according to the method described in claim 8, it is characterized in that, described issue the intended application packet based on the graphic code It includes:
When receiving the graphic code, the graphic code is shown, the intended application is issued to be based on the graphic code.
10. a kind of applying mounting device, which is characterized in that described device includes:
Information receiving module, the intended application information for receiving first terminal transmission;
Difference determining unit, for according to the intended application information and base application information, determining that intended application is answered with basis Different information between;
File generating unit, for installing text according to the different information and the corresponding base application of the base application information Part generates intended application installation file, and the intended application installation file is for installing the intended application, the base application Installation file is for installing the base application;
Graphic code generation module, for according to the intended application installation file, generating graphic code, the graphic code is for downloading The intended application installation file;
The first terminal is used to issue the intended application based on the graphic code, and second terminal is used for by scanning publication Graphic code downloads the intended application installation file, by installing the intended application installation file, installs the target and answers With.
11. device according to claim 10, which is characterized in that the file generating unit includes:
It unpacks subelement and obtains the base application installation file pair for being unpacked to the base application installation file The file set answered;
File determination subelement, for according to the different information, determining basic specified file to be replaced in the file set;
Subelement is replaced, for the basic specified file to be replaced with target specified file, the target specified file is institute State the corresponding file of intended application;
It is packaged subelement, for replaced file set to be packaged into the intended application installation file.
12. according to the devices described in claim 11, which is characterized in that the file determination subelement is additionally operable to according to the difference Different information determines the type belonging to the different information;From the file set, the application letter for preserving the type is chosen The file of breath, as the basic specified file, each file in the file set is used to preserve answering at least one type Use information.
13. according to the devices described in claim 11, which is characterized in that the file determination subelement is additionally operable to according to the difference Different information is chosen the file for realizing the corresponding function of the different information, is referred to as the basis from the file set Determine file, each file in the file set is for realizing at least one function.
14. according to the devices described in claim 11, which is characterized in that described device further includes:
Writing module, by the different information write-in basic specified file, obtains the mesh for using ant orders Mark specified file.
15. according to the devices described in claim 11, which is characterized in that described device further includes:
Signature blocks are signed to the intended application installation file, are obtained for the source-information according to the intended application To signature intended application installation file;
Signature graphic code generation module, for according to the signature intended application installation file, generating signature graphic code, the label Name graphic code is for downloading the signature intended application installation file;
The first terminal is used to issue the intended application based on the signature graphic code;
Second terminal is used for the signature graphic code by scanning publication, downloads the signature intended application installation file, installs institute State signature intended application installation file;Or, the second terminal is used to, by scanning the signature graphic code of publication, download the label Name intended application installation file obtains end side application installation text identical with the signature signature of intended application installation file Part replaces the end side with the signature intended application installation file and applies installation file, installs the signature intended application Installation file.
16. according to claim 10-15 any one of them devices, which is characterized in that the different information include application icon, Apply Names application link address, illustrate text, share at least one in text.
17. a kind of applying mounting device, which is characterized in that described device includes:
Interface display module, for showing application message input interface;
Data obtaining module, the intended application information inputted in the application message input interface for obtaining user;
Information sending module, for sending the intended application information to server so that the server is according to the target Application message and base application information, determine the different information between intended application and base application, according to the different information Base application installation file corresponding with the base application information generates intended application installation file, is answered according to the target With installation file, graphic code is generated, returns to the graphic code, the intended application installation file is used for installation targets application, institute Base application installation file is stated for installation foundation application;
Release module, for issuing the intended application based on the graphic code so that terminal by scanning the graphic code, under The intended application installation file is carried, by installing the intended application installation file, the intended application is installed.
18. device according to claim 17, which is characterized in that the release module, which is used to work as, receives the graphic code When, it shows the graphic code, the intended application is issued to be based on the 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 CN104965720A (en) 2015-10-07
CN104965720B true 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)

Families Citing this family (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
CN112988284B (en) * 2021-05-13 2021-08-24 太平金融科技服务(上海)有限公司 Application program starting method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103885775A (en) * 2014-03-21 2014-06-25 贝壳网际(北京)安全技术有限公司 Method and device for obtaining driver file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687745B1 (en) * 1999-09-14 2004-02-03 Droplet, Inc System and method for delivering a graphical user interface of remote applications over a thin bandwidth connection
CN103701930A (en) * 2014-01-07 2014-04-02 浙江大学 Mobile application program real-time updating method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103885775A (en) * 2014-03-21 2014-06-25 贝壳网际(北京)安全技术有限公司 Method and device for obtaining driver file

Also Published As

Publication number Publication date
CN104965720A (en) 2015-10-07

Similar Documents

Publication Publication Date Title
EP2013575B1 (en) Communication device for emulating a behavior of a navigation device
US9864671B1 (en) Systems and methods of live experimentation on content provided by a web site
CN102362261B (en) Input content to application via web browser
TW201820168A (en) User information obtaining system, method and device
CN101473675B (en) Virtualization of mobile device user experience
US20080208853A1 (en) Processing device for detecting a certain computer command
US10007532B1 (en) Data infrastructure for cross-platform cross-device API inter-connectivity
JP6022215B2 (en) Posting information sharing system, information processing system, information processing method, program, and computer platform
CN104820668A (en) Compression of serialized data for communication from a client-side application
CN101389931A (en) Communication device with indirect command distribution
CN103476002A (en) Method and device for data interaction
CN106686200B (en) Mobile application program updating method, mobile terminal and updating system
CN106997298A (en) A kind of application resource acquisition methods and device
CN110928571A (en) Business program development method and device
JP2005327154A (en) Html file processing method and program
CN104965720B (en) Using installation method and device
CN102156650B (en) Method and device capable of implementing automatic analysis of patch
RU2435202C2 (en) Device for transmitting data for emulating behaviour of navigation device
CN104023073A (en) Resource pushing method, system and device
CN102135872A (en) Method and device for image configuration in login area
CN103139298A (en) Method for transmitting network data and device
CN107391132B (en) Method, device and equipment for target App to execute preset action
US20070260445A1 (en) Communication device for emulating a behavior of a navigation device
JP2013137687A (en) Generation method of application which does not need compilation
CN103997453B (en) A kind of method and apparatus to the related information processing of 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