CN106357817A - Application installation method and server and client - Google Patents
Application installation method and server and client Download PDFInfo
- Publication number
- CN106357817A CN106357817A CN201610974669.XA CN201610974669A CN106357817A CN 106357817 A CN106357817 A CN 106357817A CN 201610974669 A CN201610974669 A CN 201610974669A CN 106357817 A CN106357817 A CN 106357817A
- Authority
- CN
- China
- Prior art keywords
- installation kit
- destination application
- application program
- application
- web page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009434 installation Methods 0.000 title claims abstract description 164
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000012545 processing Methods 0.000 claims description 13
- 230000008569 process Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000015572 biosynthetic process Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012856 packing Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72445—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting Internet browser applications
Abstract
The invention provides an application installation method and a server and a client. When applied to a server, the application installation method comprises the following steps of: showing at least one application through the first page currently displayed by a browser; receiving a download request of a client for downloading the target application in at least one application; obtaining the website address corresponding to the first page; writing the website address into an application installation package corresponding to the target application according to the download request to form a target application installation package, wherein the website address is used for displaying the first page when the installed target application is opened for the first time; and sending the target application installation package to the client. The scheme can be used for improving the experience of a user accessing product information by downloading an application.
Description
Technical field
The present invention relates to communication technical field, particularly to a kind of installation method of application program and service end and client
End.
Background technology
It is directed to the product information that some network companies are supplied to, user can be by clear on mobile phone or personal computer
Device of looking at logs in corresponding webpage and product information is conducted interviews, and user can also be public in mobile phone or personal computer upper and lower contained network network
The application program of department's exploitation, is conducted interviews to product information by the application program downloaded.
At present, when user is conducted interviews to product information by application program, after user downloads application program, application program
Show when being opened first is not that corresponding application program downloads the page, but the default homepage of application program.
Be directed to current user by way of application program conducts interviews to product information, due to application program first by
It is shown that default homepage when opening, be not that when downloading this application program, corresponding application program downloads the page, and apply
The download program page typically also includes other product informations, so leads to the interruption that user conducts interviews to product information, uses
Family needs the application program accessing on a web browser before again finding in the application to download the page, causes the experience of user
Poor.
Content of the invention
Embodiments provide installation method and service end and the client of application program, the body of user can be lifted
Test.
Embodiments provide a kind of installation method of application program, be applied to service end, comprising:
At least one application program is shown by the currently displaying first page of browser;
Receive the download request that client is downloaded to the destination application at least one application program described;
Obtain the corresponding web page address of described first page;
According to described download request, the described web page address write corresponding application program of described destination application is installed
Bag, forms destination application installation kit;Wherein, described web page address be used for described destination application install after first by
Described first page is shown when opening;
Described destination application installation kit is sent to described client.
Preferably,
Described application program installation kit includes: under windows operating system form be exe application program installation kit,
Under android operating system, form is the application program installation kit of apk, the application program of form ipa is installed under ios operating system
Bag, form is that under the application program installation kit of xap and linux operating system, form is rpm under windows phone operating system
Application program installation kit in any one or more.
Preferably,
When described destination application corresponding application program installation kit is apk form,
Described by described web page address write described destination application corresponding application program installation kit, formed target should
Use program installation kit, comprising:
Obtain the apk form application program installation kit corresponding with described destination application;
Described web page address is write the comment field of described apk form application program installation kit, forming described target should
Use program installation kit, wherein, described comment field is located at central directory record in described apk form application program installation kit
The end of central directory record.
The embodiment of the present invention additionally provides a kind of installation method of application program, is applied to client, comprising:
At least one application program that the currently displaying first page of browser is shown is passed through according to service end, sends to it
In the download request that is downloaded of destination application;
Receive the destination application installation kit that described service end sends according to described download request, wherein said target should
With having been written to the web page address of described first page in program installation kit;
By described destination application installation kit, described destination application is installed;
Obtain described web page address from described destination application installation kit;
Described destination application is run, and makes described destination application according to described web page address to described
First page is shown.
Preferably,
When described destination application installation kit is apk form, described obtain from described destination application installation kit
Take described web page address, comprising:
Read described web page address from the comment field of described destination application installation kit, wherein, described comment field
Domain is located at central directory record central directory record in the described destination application installation kit of apk form
End.
Preferably,
When described destination application installation kit is apk form, described obtain from described destination application installation kit
Take described web page address, comprising:
Instructed directly from described target by the getcomment () included by zipfile module under programming language java7
Described web page address is read in the comment field of application program installation kit.
Preferably,
When described destination application installation kit is apk form, described obtain from described destination application installation kit
Take described web page address, comprising:
By general input and output i/o instruction under the programming language java of self-defined acquisition, from described intended application journey
Described web page address is read in the comment field of sequence installation kit.
The embodiment of the present invention additionally provides a kind of service end, comprising: display unit, the first receiving unit, processing unit and
First transmitting element;
Described display unit, shows at least one application program for the first page currently displaying by browser;
Described first receiving unit, for receiving at least one application program that client is shown to described display unit
The download request that is downloaded of destination application;
Described processing unit, for obtaining the web page address of the first page shown by described display unit, and according to institute
State the described download request that the first receiving unit receives, answer corresponding for the described web page address described destination application of write
Use program installation kit, form destination application installation kit;Wherein, described web page address is used in described destination application peace
Described first page is shown when being opened first after dress;
Described first transmitting element, the described destination application installation kit for forming described processing unit is sent to
Described client.
Preferably,
When described destination application corresponding application program installation kit is apk form,
Described processing unit includes: obtains subelement and write subelement;
Described acquisition subelement, installs for obtaining the apk form application program corresponding with described destination application
Bag;
Said write subelement, for obtaining, by described for the write of described web page address, the described apk lattice that subelement gets
The comment field of formula application program installation kit, forms described destination application installation kit, and wherein, described comment field is located at institute
State the end of central directory record central directory record in apk form application program installation kit.
The embodiment of the present invention additionally provides a kind of client, comprising: the second transmitting element, the second receiving unit, installation are single
Unit and page synchronization unit;
Described second transmitting element, shows at least for passing through the currently displaying first page of browser according to server
One application program, sends the download request that destination application therein is downloaded;
Described second receiving unit, please according to the download that described second transmitting element is sent for receiving described service end
The destination application installation kit asked and return, has been written to described first page in wherein said destination application installation kit
Web page address;
Described installation unit, for the described destination application installation kit being received by described second receiving unit,
Described destination application is installed;
Described page synchronization unit, for obtaining from the described destination application that described second receiving unit receives
Described web page address;And the destination application of described installation unit installation is run, and make described intended application journey
Sequence is shown to described first page according to described web page address.
Preferably,
When described destination application installation kit is apk form, described page synchronization unit includes: it is single that son is read in address
Unit;
Subelement is read in described address, for by included by zipfile module under programming language java7
Getcomment () instruction directly reads described web page address from the comment field of described destination application installation kit.
Preferably,
When described destination application installation kit is apk form, described page synchronization unit includes: it is single that son is read in address
Unit;
Subelement is read in described address, for general input and output i/ under the programming language java by self-defined acquisition
O instructs, and reads described web page address from the comment field of described destination application installation kit.
Embodiments provide a kind of installation method of application program and service end and client, by first page
After showing at least one application program, receive client and be directed to the download request that wherein destination application is downloaded, according to
The web page address of first page is write destination application corresponding application program installation kit by download request, forms intended application
Program installation kit is simultaneously sent to client.Due to including the web page address of first page in destination application installation kit, visitor
After family end is installed to destination application by destination application installation kit, intended application can be made according to web page address
First page is shown when program starts first;So, user downloads application program from first page and product information is conducted interviews
When, do not result in the interruption of accessed product information, user can be continued by application downloaded before access, no
First page need to again be found in application program, such that it is able to improve the experience of user.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow process of application program installation method being applied to service end that one embodiment of the invention provides
Figure;
Fig. 2 is a kind of flow process of application program installation method being applied to client that one embodiment of the invention provides
Figure;
Fig. 3 is a kind of schematic diagram of service end that one embodiment of the invention provides;
Fig. 4 is a kind of schematic diagram of processing unit that one embodiment of the invention provides;
Fig. 5 is a kind of schematic diagram of client that one embodiment of the invention provides;
Fig. 6 is a kind of application program installation system schematic diagram that one embodiment of the invention provides;
Fig. 7 is a kind of installation method flow chart of application program that one embodiment of the invention provides.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment being obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of installation method of application program, it is applied to service end, the party
Method may comprise steps of:
Step 101: at least one application program is shown by the currently displaying first page of browser;
Step 102: receive client and the destination application at least one application program described is downloaded down
Carry request;
Step 103: obtain the corresponding web page address of described first page;
Step 104: according to described download request, described web page address is write the corresponding application of described destination application
Program installation kit, forms destination application installation kit;Wherein, described web page address is used for installing in described destination application
Described first page is shown when being opened first afterwards;
Step 105: described destination application installation kit is sent to described client.
Embodiments provide a kind of application program installation method being applied to service end, shown by first page
After at least one application program, receive client and be directed to the download request that wherein destination application is downloaded, according to download
The web page address of first page is write destination application corresponding application program installation kit by request, forms destination application
Installation kit is simultaneously sent to client.Due to including the web page address of first page, client in destination application installation kit
After destination application being installed by destination application installation kit, destination application can be made according to web page address
First page is shown when starting first;So, user from first page download application program product information is conducted interviews when, no
The interruption of accessed product information can be caused, user can be continued by application downloaded before access, need not be from
Again first page is found, such that it is able to improve the experience of user in application program.
In an embodiment of the invention, the application program installation kit shown by first page can include windows
The application program that under operating system, form is the application program installation kit of exe, form is apk under android operating system is installed
Under bag, the application program installation kit of form ipa under ios operating system, windows phone operating system form be xap should
It is any one or more in the application program installation kit of rpm with form under program installation kit and linux operating system.
Specifically, the application program installation kit of exe form corresponds to the personal computer of windows operating system, apk lattice
The application program installation kit of formula corresponds to mobile phone or the panel computer of android operating system, and the application program of ipa form is installed
Bag corresponds to corresponding to the personal computer of ios system, mobile phone or platform computer, the application program installation kit of xap form
The mobile phone of windows phone operating system, the application program installation kit of rpm form corresponds to the individual of linux operating system
Computer.Therefore, the installation method of this application program is applied to and has the personal computer of different operating system, mobile phone and flat
Plate apparatus such as computer, shows application program installation kit when can realize and starting first after application program is installed for plurality of devices
Download the page, to improve the experience of user, thus improve the suitability of this application program installation method.
In an embodiment of the invention, when client is for the equipment of android operating system, what it was to be obtained should
It is apk form with program installation kit;Now, in the web page address write application program installation kit by first page, first-selection obtains
Take the apk form application program installation kit corresponding with destination application, then the web page address of first page is write apk
The comment field of form application program installation kit, forms destination application installation kit;Wherein, apk form application program is installed
The comment field of bag is located at this apk form application program installation kit central directory record central directory record's
End.
Specifically,
Apk form installation kit has the file structure similar to zip compressed package, in the end of file of apk form installation kit
There is a central directory record central directory record region, the end in this region includes a comment field
Domain file comment, this document is used for storing the annotation information of apk form installation kit.In comment field file comment
Write first page web page address, the structure of apk form installation kit will not be caused damage it is ensured that write web page address after still
Can correctly install, thereby may be ensured that the exploitativeness of this application program installation method;In addition, web page address is being write
During comment field file comment, packing is not re-started to apk form installation kit, such that it is able to rapidly by web page address
Write apk form installation kit is it is ensured that this application program installation method can rapidly be installed to application program.
As shown in Fig. 2 one embodiment of the invention provides a kind of installation method of application program, it is applied to client,
The method may comprise steps of:
Step 201: at least one application program that the currently displaying first page of browser is shown is passed through according to service end,
Send the download request that destination application therein is downloaded;
Step 202: receive the destination application installation kit that described service end sends, wherein institute according to described download request
State the web page address having been written to described first page in destination application installation kit;
Step 203: by described destination application installation kit, described destination application is installed;
Step 204: obtain described web page address from described destination application installation kit;
Step 205: described destination application is run, and makes described destination application according to described webpage ground
Location is shown to described first page.
Embodiments provide a kind of application program installation method being applied to client, according to service end first
At least one application program shown on the page, therefrom selection target application program, and under sending destination application being carried out
The download request carrying;Receive the destination application installation kit that service end sends according to download request;By intended application journey
Sequence installation kit installation targets application program, and the web page address being included according to destination application installation kit, make intended application
Program shows first page after running.Due to including the webpage ground of first page in the destination application installation kit that receives
Location, after by destination application installation kit to destination application installation, by destination application installation kit
Including web page address make destination application that first page is shown;So, when user believes from browser access product
Breath goes to when application program accesses product information it is ensured that the application journey of the page and the browser-presented of application program rollout
The sequence download page is identical, does not result in the interruption of accessed product information, user can be continued by application downloaded
Access before, need not find the corresponding page, such that it is able to improve the experience of user in application program again.
In an embodiment of the invention, when client is for the equipment of android operating system, correspondingly, received
The destination application installation kit arriving is apk form;Web page address is being obtained from the destination application installation kit of apk form
When, web page address, wherein, destination application installation kit can be read from the comment field of destination application installation kit
Comment field is located at the end of central directory record central directory record in destination application installation kit.
Specifically,
Comment field due to central directory record central directory record end in apk installation kit is used for
The annotation information of storage apk installation kit, web page address is stored in comment field, apk installation kit will not be damaged, and protects
Card apk installation kit can normally be installed.Thus when destination application installation kit is apk form, can be from intended application
Read web page address in the comment field of program installation kit, installed after success to web page address correspondence with realizing destination application
First page be shown, reach the purpose of the same page of user's connected reference.
In an embodiment of the invention, when destination application installation kit is apk form, from destination application
When obtaining web page address in installation kit, there are the different acquisition modes of the following two kinds:
Mode one: webpage is read by the getcomment () instruction included by zipfile module under programming language java7
Address;
Mode two: web page address is read by general input and output i/o instruction under self-defining programming language java.
It is directed to mode one,
Develop because the installation kit of apk form is based on programming language java, and the conventional version of current programming language java
For java7, thus can be instructed directly from intended application by the getcomment () included by zipfile module under java7
Web page address is read in program installation kit.Because java7 directly provides getcomment () instruction alternatively, pass through
Getcomment () instruction obtains web page address and need not develop new reading instruction, reduces and realizes this application program installation method in fact
Existing difficulty.
It is directed to mode two,
Because the getcomment () in mode one instructs as instruction distinctive under java7, can in the java of other versions
Getcomment () instruction can not be provided alternative, thus can be instructed with general input and output i/o under a self-defined java, lead to
Cross this input and output i/o instruction and read web page address from destination application installation kit, with respect to the reading manner of mode one,
Because self-defining input and output i/o instruction is applied to the java of various different editions, thus can be from various difference java versions
Read web page address in the apk installation kit that this is developed, improve the suitability of this application program installation method.
As shown in figure 3, one embodiment of the invention provides a kind of service end, comprising: display unit 301, first receives
Unit 302, processing unit 303 and the first transmitting element 304;
Described display unit 301, shows at least one application program for the first page currently displaying by browser;
Described first receiving unit 302, for receiving at least one application that client is shown to described display unit 301
The download request that destination application in program is downloaded;
Described processing unit 303, for obtaining the web page address of the first page shown by described display unit 301, and
The described download request being received according to described first receiving unit 302, described web page address is write described intended application journey
Sequence corresponding application program installation kit, forms destination application installation kit;Wherein, described web page address is used in described target
Application program shows described first page when being opened first after installing;
Described first transmitting element 304, for the described destination application installation kit forming described processing unit 303
It is sent to described client.
In an embodiment of the invention, when destination application corresponding application program installation kit is apk form, such as
Shown in Fig. 4, processing unit 303 includes obtaining subelement 3031 and write subelement 3032;
Obtain subelement 3031, for obtaining the apk form application program installation kit corresponding with destination application;
Write subelement 3032, obtains, for writing web page address, the apk form application journey that subelement 3031 gets
The watching area of sequence installation kit;Wherein, comment field is located at central directory record in apk form application program installation kit
The end of central directory record.
It should be noted that the information exchange between unit, implementation procedure in the service end that provides of above-described embodiment
Etc. content, it is based on same design with the application program installation method being applied to service end provided in an embodiment of the present invention, specifically interior
Hold and can be found in the narration to the application program installation method being applied to service end in the embodiment of the present invention, will not be described here.
As described in Figure 5, provide a kind of client described in the present invention one, comprising: the second transmitting element 501, second connect
Receive unit 502, installation unit 503 and page synchronization unit 504;
Described second transmitting element 501, for passing through what the currently displaying first page of browser was shown according to server
At least one application program, sends the download request that destination application therein is downloaded;
Described second receiving unit 502, for receiving what described service end was sent according to described second transmitting element 501
Download request and the destination application installation kit that returns, have been written to described in wherein said destination application installation kit
The web page address of one page;
Described installation unit 503, for the described destination application peace being received by described second receiving unit 502
Dress bag, installs to described destination application;
Described page synchronization unit 504, for the described destination application receiving from described second receiving unit 502
The described web page address of middle acquisition;And the destination application of described installation unit 503 installation is run, and make described mesh
Mark application program is shown to described first page according to described web page address.
In an embodiment of the invention, when destination application installation kit is apk form, page synchronization unit 504
Address can be included and read subelement, subelement is read in address can be by following two modes from destination application installation kit
Middle reading web page address:
Mode one: address is read subelement and is used for by included by zipfile module under programming language java7
Web page address is directly read in getcomment () instruction from the comment field of destination application installation kit;
Mode two: address is read subelement and is used for by general input and output under the programming language java of self-defined acquisition
I/o instructs, and reads web page address from the comment field of destination application installation kit.
It should be noted that the information exchange between unit, implementation procedure in the client that provides of above-described embodiment
Etc. content, it is based on same design with the application program installation method being applied to client provided in an embodiment of the present invention, specifically interior
Hold and can be found in the narration to the application program installation method being applied to client in the embodiment of the present invention, will not be described here.
As shown in fig. 6, one embodiment of the invention provides a kind of installation system of application program, this system can be wrapped
Include: any one service end 601 provided in an embodiment of the present invention and any one client 602 provided in an embodiment of the present invention.
With reference to the application program installation system shown in the client shown in the service end shown in Fig. 3, Fig. 4 and Fig. 6, right
Application program installation method provided in an embodiment of the present invention is described in further detail, as shown in fig. 7, the method can include
Following steps:
Step 701: service end receives client transmission the destination application shown in first page is downloaded
Download request.
In an embodiment of the invention, user passes through browser when first page accesses product information, and service end exists
First page shows corresponding application program, when user needs the destination application that service end is shown to be downloaded,
Client sends, to service end, the download request that destination application is downloaded according to the triggering of user.
For example, user browses certain shopping website t by personal computer, shows page b pair of commodity a in shopping website t
The product information of commodity a determines to buy commodity a after being checked, but user determines to pass through shopping website t for the sake of security
Mobile phone app paid the bill.Except showing the product information having commodity a on page b, also show that shopping website t corresponds to not
The client application of homologous ray computer, mobile phone and panel computer.User scans page b by Android system mobile phone
On corresponding to android operating system mobile phone download Quick Response Code, to shopping website t server send download shopping website t
Mobile phone app download request.Wherein, page b is corresponding with first page, and mobile phone app is corresponding with destination application, uses
The Android system mobile phone at family is corresponding with client, and the server of shopping website t is corresponding with service end.
Step 702: service end obtains the web page address of first page.
In an embodiment of the invention, service end, after the download request receiving client transmission, obtains current
The web page address of the first page shown.
For example, after the server of shopping website t receives the download request of Android system mobile phone transmission, obtain page b
Web page address.
Step 703: web page address is write download request corresponding application program installation kit by service end, forms intended application
Program installation kit, and destination application installation kit is sent to client.
In an embodiment of the invention, the download request that service end sends according to client, determines that client is wanted down
The destination application corresponding application program installation kit carrying, and the web page address getting in step 702 write is determined
Application program installation kit, form corresponding destination application installation kit, and the destination application installation kit of formation sent out
Give client.
For example, the download request that the server of shopping website t sends according to Android system mobile phone, determines user institute
Mobile phone app to be downloaded, obtains the corresponding apk installation kit of this mobile phone app.The web page address of page b is written to this apk install
Bao Zhong, forms target apk installation kit, and the target apk installation kit of formation is sent to the Android system mobile phone of user.Its
In, because the mobile phone of user is Android system, so the installation kit of mobile phone app is apk form, on the webpage ground by page b
During the write apk installation kit of location, the web page address of page b is write the comment field file comment of apk installation kit.
Step 704: client is according to the destination application installation kit installation targets application program receiving.
In an embodiment of the invention, client receive service end transmission destination application installation kit after,
By destination application installation kit installation targets application program.
For example, the android mobile phone of user is after receiving the apk installation kit corresponding to the mobile phone app of shopping website t,
Mobile phone app by the android mobile phone installation shopping website t in user for this apk installation kit.
Step 705: client reads the web page address of first page from destination application installation kit.
In an embodiment of the invention, after client is to destination application installation, client should from target
With reading the web page address of the first page being write by service end in step 703 in program installation kit.
For example, the android mobile phone of user install shopping website t mobile phone app after, from the mobile phone of shopping website t
The web page address of page b is read in app corresponding apk installation kit.Specifically, the android mobile phone of user passes through zipfile mould
Under the java of the getcomment () instruction included by block or self-defined formation, general input and output i/o instruction, installs from apk
The web page address of page b is read in the comment field file comment of bag.
Step 706: client operational objective application program, and make destination application show first page after starting.
In an embodiment of the invention, client completes in installation targets application program, and obtains destination application
After the web page address that installation kit includes, client is run to destination application;After destination application starts, root
According to the web page address reading in step 705, destination application is made to show the first page corresponding with web page address.
For example, the mobile phone app of shopping website t is installed on the android mobile phone of user, and gets the webpage of page b
Behind address, start the mobile phone app of shopping website t, according to the web page address of page b, after so that the mobile phone app of shopping website t is started
Directly display page b.So, user directly can complete the purchase to commodity a on the mobile phone app of shopping website t, need not be
Again the displayed page of commodity a is found in this mobile phone app after mobile phone app is installed.
Each embodiment provided in an embodiment of the present invention, at least has the advantages that
1st, in embodiments of the present invention, after first page shows at least one application program, receive client and be directed to
The download request that wherein destination application is downloaded, should by the web page address write target of first page according to download request
With program corresponding application program installation kit, form destination application installation kit and be sent to client.Due to intended application
The web page address of first page is included, client passes through destination application installation kit to intended application journey in program installation kit
After sequence is installed, destination application can be made to show first page when starting first according to web page address;So, Yong Hucong
When first page download application program conducts interviews to product information, do not result in the interruption of accessed product information, Yong Huke
With the access before continuing by application downloaded, again first page need not be found in application program, thus can
To improve the experience of user.
2nd, in embodiments of the present invention, service end has multiple different-formats by the application program that first page is shown
Installation kit, can be such as exe, apk, ipa, xap and rpm etc., and the application program installation kit of different-format is applied to different behaviour
Make computer, mobile phone and the panel computer of system.By writing web page address in the installation kit to various forms, can be various
Application program installation method provided in an embodiment of the present invention is realized on equipment, improves being suitable for of this application program installation method
Property.
3rd, in embodiments of the present invention, when client is android operating system, service end is to application program installation kit
During middle write page address, page address is write the comment field of apk installation kit.Because apk installation kit has and zip compression
Wrap similar file structure, comment field is used for storing annotation information, write web page address in comment field, will not be to apk lattice
The structure of formula installation kit causes to damage it is ensured that still being able to correctly install after write web page address, thereby may be ensured that this application
The exploitativeness of program installation method.
4th, in embodiments of the present invention, when client is android operating system, web page address write apk is being installed
During the comment field of bag, packing is not re-started to apk form installation kit, such that it is able to rapidly web page address be write apk
Form installation kit is it is ensured that this application program installation method can rapidly be installed to application program.
5th, in embodiments of the present invention, when client is android operating system, from destination application installation kit
When reading web page address, net can be read from the comment field of apk installation kit by self-defining input and output i/o instruction
Page address, because self-defining input and output i/o instruction is applied to the apk installation kit of exploitation under various version java, can
The comment field of most apk installation kits is read out such that it is able to improve the suitability of this application program installation method.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation is made a distinction with another entity or operation, and not necessarily requires or imply exist between these entities or operation
Any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to non-
The comprising of exclusiveness, so that including a series of process of key elements, method, article or equipment not only include those key elements,
But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element being limited by sentence " including a 〃 ", does not arrange
Remove and also there is other same factor in the process including described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be passed through
Completing, aforesaid program can be stored in the storage medium of embodied on computer readable the related hardware of programmed instruction, this program
Upon execution, execute the step including said method embodiment;And aforesaid storage medium includes: rom, ram, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Finally it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of installation method of application program is it is characterised in that be applied to service end, comprising:
At least one application program is shown by the currently displaying first page of browser;
Receive the download request that client is downloaded to the destination application at least one application program described;
Obtain the corresponding web page address of described first page;
According to described download request, described web page address is write described destination application corresponding application program installation kit,
Form destination application installation kit;Wherein, described web page address is used for being beaten first after described destination application is installed
Described first page is shown when opening;
Described destination application installation kit is sent to described client.
2. method according to claim 1 it is characterised in that
Described application program installation kit includes: under windows operating system, form is the application program installation kit of exe, android
Under operating system form be the application program installation kit of apk, the application program installation kit of form ipa under ios operating system,
Under windows phone operating system, form is that under the application program installation kit of xap and linux operating system, form is rpm's
Any one or more in application program installation kit.
3. method according to claim 2 it is characterised in that
When described destination application corresponding application program installation kit is apk form,
Described by described web page address write described destination application corresponding application program installation kit, formed intended application journey
Sequence installation kit, comprising:
Obtain the apk form application program installation kit corresponding with described destination application;
Described web page address is write the comment field of described apk form application program installation kit, form described intended application journey
Sequence installation kit, wherein, described comment field is located at central directory record central in described apk form application program installation kit
The end of directory record.
4. a kind of installation method of application program is it is characterised in that be applied to client, comprising:
At least one application program that the currently displaying first page of browser is shown is passed through according to service end, sends to therein
The download request that destination application is downloaded;
Receive the destination application installation kit that described service end sends, wherein said intended application journey according to described download request
The web page address of described first page is had been written in sequence installation kit;
By described destination application installation kit, described destination application is installed;
Obtain described web page address from described destination application installation kit;
Described destination application is run, and makes described destination application according to described web page address to described first
The page is shown.
5. method according to claim 4 it is characterised in that
When described destination application installation kit is apk form,
Described from described destination application installation kit, obtain described web page address, comprising:
Read described web page address from the comment field of described destination application installation kit, wherein, described comment field position
The end of central directory record central directory record in the described destination application installation kit of apk form
Tail.
6. the method according to claim 4 or 5 is it is characterised in that working as described destination application installation kit is apk form
When,
Described from described destination application installation kit, obtain described web page address, comprising:
Instructed directly from described intended application by the getcomment () included by zipfile module under programming language java7
Described web page address is read in the comment field of program installation kit;
Or,
By general input and output i/o instruction under the programming language java of self-defined acquisition, from described destination application peace
Described web page address is read in the comment field of dress bag.
7. a kind of service end is it is characterised in that include: display unit, the first receiving unit, processing unit and first send single
Unit;
Described display unit, shows at least one application program for the first page currently displaying by browser;
Described first receiving unit, for receiving the mesh at least one application program that client is shown to described display unit
The download request that mark application program is downloaded;
Described processing unit, for obtaining the web page address of the first page shown by described display unit, and according to described
The described download request that one receiving unit receives, described web page address is write described destination application corresponding application journey
Sequence installation kit, forms destination application installation kit;Wherein, described web page address is used for after described destination application is installed
Described first page is shown when being opened first;
Described first transmitting element, the described destination application installation kit for forming described processing unit is sent to described
Client.
8. service end according to claim 7 it is characterised in that
When described destination application corresponding application program installation kit is apk form,
Described processing unit includes: obtains subelement and write subelement;
Described acquisition subelement, for obtaining the apk form application program installation kit corresponding with described destination application;
Said write subelement, the described apk form for getting described web page address write described acquisition subelement should
With the comment field of program installation kit, form described destination application installation kit, wherein, described comment field is located at described
The end of central directory record central directory record in apk form application program installation kit.
9. a kind of client is it is characterised in that include: the second transmitting element, the second receiving unit, installation unit and page synchronization
Unit;
Described second transmitting element, for passing through, according to server, at least one that the currently displaying first page of browser shows
Application program, sends the download request that destination application therein is downloaded;
Described second receiving unit, for receiving the download request that described service end sent according to described second transmitting element and
The destination application installation kit returning, has been written to the net of described first page in wherein said destination application installation kit
Page address;
Described installation unit, for the described destination application installation kit being received by described second receiving unit, to institute
State destination application to be installed;
Described page synchronization unit, described for obtaining from the described destination application that described second receiving unit receives
Web page address;And the destination application of described installation unit installation is run, and make described destination application root
According to described web page address, described first page is shown.
10. client according to claim 9 it is characterised in that
When described destination application installation kit is apk form, described page synchronization unit includes: subelement is read in address;
Subelement is read in described address, for by the getcomment () included by zipfile module under programming language java7
Instruction directly reads described web page address from the comment field of described destination application installation kit;
Or,
Subelement is read in described address, refers to for general input and output i/o under the programming language java by self-defined acquisition
Order, reads described web page address from the comment field of described destination application installation kit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610974669.XA CN106357817A (en) | 2016-11-02 | 2016-11-02 | Application installation method and server and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610974669.XA CN106357817A (en) | 2016-11-02 | 2016-11-02 | Application installation method and server and client |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106357817A true CN106357817A (en) | 2017-01-25 |
Family
ID=57864648
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610974669.XA Pending CN106357817A (en) | 2016-11-02 | 2016-11-02 | Application installation method and server and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106357817A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391210A (en) * | 2017-08-15 | 2017-11-24 | 北京奇虎科技有限公司 | The operating method and device of application program, terminal device |
CN107509187A (en) * | 2017-08-31 | 2017-12-22 | 维沃移动通信有限公司 | A kind of installation method of application program, mobile terminal and server |
CN108319662A (en) * | 2018-01-15 | 2018-07-24 | 五八有限公司 | Page processing method, device, electronic equipment and readable storage medium storing program for executing |
CN108337294A (en) * | 2018-01-04 | 2018-07-27 | 金瓜子科技发展(北京)有限公司 | Application program method for down loading and device |
CN108768662A (en) * | 2018-05-30 | 2018-11-06 | 格尔软件股份有限公司 | A method of self-defined signature is increased to Android APK |
CN109445804A (en) * | 2018-10-25 | 2019-03-08 | 麒麟合盛网络技术股份有限公司 | A kind of starting method and apparatus of application program |
CN109471639A (en) * | 2017-09-06 | 2019-03-15 | 北京国双科技有限公司 | The monitoring method and device in a kind of application downloading source |
CN109491670A (en) * | 2018-09-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of page display method and terminal device |
CN110187911A (en) * | 2019-05-08 | 2019-08-30 | 杭州迪普科技股份有限公司 | Client software generation method, device, electronic equipment |
CN111078320A (en) * | 2019-12-23 | 2020-04-28 | 百度国际科技(深圳)有限公司 | Application program access method, device, equipment and storage medium based on webpage end |
CN112286706A (en) * | 2020-12-25 | 2021-01-29 | 北京邮电大学 | Remote and rapid acquisition method for application information of android application and related equipment |
WO2024041428A1 (en) * | 2022-08-24 | 2024-02-29 | 华为技术有限公司 | Method, device and system for accessing application via deeplink |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101689193A (en) * | 2007-03-21 | 2010-03-31 | 雅虎公司 | in-page installer |
CN104580378A (en) * | 2014-12-12 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Installation package processing method and device |
CN105635284A (en) * | 2015-12-30 | 2016-06-01 | 厦门欣欣信息有限公司 | Page display method and terminal |
-
2016
- 2016-11-02 CN CN201610974669.XA patent/CN106357817A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101689193A (en) * | 2007-03-21 | 2010-03-31 | 雅虎公司 | in-page installer |
CN104580378A (en) * | 2014-12-12 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Installation package processing method and device |
CN105635284A (en) * | 2015-12-30 | 2016-06-01 | 厦门欣欣信息有限公司 | Page display method and terminal |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391210A (en) * | 2017-08-15 | 2017-11-24 | 北京奇虎科技有限公司 | The operating method and device of application program, terminal device |
CN107509187A (en) * | 2017-08-31 | 2017-12-22 | 维沃移动通信有限公司 | A kind of installation method of application program, mobile terminal and server |
CN107509187B (en) * | 2017-08-31 | 2020-09-22 | 维沃移动通信有限公司 | Application program installation method, mobile terminal and server |
CN109471639A (en) * | 2017-09-06 | 2019-03-15 | 北京国双科技有限公司 | The monitoring method and device in a kind of application downloading source |
CN108337294A (en) * | 2018-01-04 | 2018-07-27 | 金瓜子科技发展(北京)有限公司 | Application program method for down loading and device |
CN108319662A (en) * | 2018-01-15 | 2018-07-24 | 五八有限公司 | Page processing method, device, electronic equipment and readable storage medium storing program for executing |
CN108768662B (en) * | 2018-05-30 | 2021-05-07 | 格尔软件股份有限公司 | Method for adding custom signature to Android APK |
CN108768662A (en) * | 2018-05-30 | 2018-11-06 | 格尔软件股份有限公司 | A method of self-defined signature is increased to Android APK |
CN109491670A (en) * | 2018-09-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of page display method and terminal device |
CN109445804A (en) * | 2018-10-25 | 2019-03-08 | 麒麟合盛网络技术股份有限公司 | A kind of starting method and apparatus of application program |
CN110187911A (en) * | 2019-05-08 | 2019-08-30 | 杭州迪普科技股份有限公司 | Client software generation method, device, electronic equipment |
CN111078320A (en) * | 2019-12-23 | 2020-04-28 | 百度国际科技(深圳)有限公司 | Application program access method, device, equipment and storage medium based on webpage end |
CN111078320B (en) * | 2019-12-23 | 2023-12-26 | 百度国际科技(深圳)有限公司 | Application program access method, device, equipment and storage medium based on webpage end |
CN112286706A (en) * | 2020-12-25 | 2021-01-29 | 北京邮电大学 | Remote and rapid acquisition method for application information of android application and related equipment |
CN112286706B (en) * | 2020-12-25 | 2021-05-18 | 北京邮电大学 | Remote and rapid acquisition method for application information of android application and related equipment |
WO2024041428A1 (en) * | 2022-08-24 | 2024-02-29 | 华为技术有限公司 | Method, device and system for accessing application via deeplink |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106357817A (en) | Application installation method and server and client | |
US7191288B2 (en) | Method and apparatus for providing an application on a smart card | |
CN107888978B (en) | KEY code burning method and device and computer readable storage medium | |
CN103150513B (en) | The method of the implantation information in interception application program and device | |
CN103309709B (en) | A kind of firmware upgrade method, device and communication equipment | |
CN104049986A (en) | Plugin loading method and device | |
CN106528432A (en) | Construction method and apparatus for test scene data, and buried point test method | |
CN105224363A (en) | Method and device for loading application program | |
CN106445583A (en) | Page display method, equipment and system | |
US20070022419A1 (en) | Methods and systems for automatically creating a site menu | |
CN103678487B (en) | Method and device for generating web page snapshot | |
CN107291759B (en) | Method and device for processing browser page resources | |
CN101073053A (en) | A method of providing content to a wireless computing device | |
CN105653933A (en) | Plugin loading method and device | |
JP2009213144A (en) | Local and remote access to radio parametric and radio regulatory data and methods therefor | |
CN106502646A (en) | The page info processing method and processing device of application | |
CN104268473B (en) | Method and device for detecting application programs | |
CN108228717A (en) | The loading method and device of the page | |
CN108763525A (en) | electronic device, terminal page loading method and storage medium | |
CN110321177A (en) | A kind of mobile application localization loading method, device and electronic equipment | |
EP1575005B1 (en) | Method and apparatus for processing an application identifier from a smart card | |
CN107273172A (en) | A kind of data handling system based on business packet, method and device | |
CN102662838A (en) | Method and system for debugging Flash in browser | |
CN110321504A (en) | A kind of page processing method and device | |
CN110020370B (en) | Method and device for realizing animation in client application and framework of animation script |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170125 |