CN103593200B - The method and apparatus for obtaining application program - Google Patents
The method and apparatus for obtaining application program Download PDFInfo
- Publication number
- CN103593200B CN103593200B CN201210286451.7A CN201210286451A CN103593200B CN 103593200 B CN103593200 B CN 103593200B CN 201210286451 A CN201210286451 A CN 201210286451A CN 103593200 B CN103593200 B CN 103593200B
- Authority
- CN
- China
- Prior art keywords
- operation platform
- application program
- information
- platform
- download
- 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
Links
Landscapes
- Stored Programmes (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of method and apparatus for obtaining application program, belong to communication technical field.Methods described includes:When downloading default application program, the information of the operation platform of the application program is obtained;Downloaded according to the information of the operation platform and the operation platform is installed;After the operation platform is installed successfully, download and the application program is installed.The present invention is by first downloading the operation platform of application program, then downloads application program, so as to ensure application program can normal use, improve experience sense of user when using application program.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of method and apparatus for obtaining application program.
Background technology
In internet, the application program based on different operation platforms is more and more, in numerous application programs, user
It is to need to solve the problems, such as that application program trusty, which how could be obtained,.
A kind of management method of application program is provided in the prior art, and various softwares are managed by management software,
Server end preserve the information list of a collection of software, including dbase, software release time, version information, classification information with
And inspection policies for detecting whether installation of the software etc., it is mounted with that the client of software management software obtains from server end and believes
List is ceased, user can select certain software to be installed, receive user's according to the software information that information list provides
Client is downloaded installation to this software after selection.
During the present invention is realized, inventor has found that prior art at least has problems with:
Because application program is that the product of secondary development is carried out on specific operation platform, so each application program
Operation is required for corresponding running environment, but because client can not support all operation platforms, it is possible that causing
Downloading the application program of installation can not use on the client, for example, the prompting for lacking file occur or some fortune occur
The abnormal situation of row, so as to reduce experience sense of user when using application program.
The content of the invention
In order to improve experience sense when user uses application program, the embodiments of the invention provide one kind to obtain application program
Method and apparatus.The technical scheme is as follows:
On the one hand, there is provided a kind of method for obtaining application program, methods described include:
When downloading default application program, the information of the operation platform of the application program is obtained;
Downloaded according to the information of the operation platform and the operation platform is installed;
After the operation platform is installed successfully, download and the application program is installed.
The information of the operation platform for obtaining the application program, including:
The information list that server end issues is obtained, described information list includes the letter of the operation platform of the application program
Breath;
Read the information of the operation platform in described information list.
The information of the operation platform of the application program includes:Under the title of the operation platform, the operation platform
Whether set address and the operation platform support the instruction of the Installation Modes of static state.
Before the information according to the operation platform is downloaded and installs the operation platform, in addition to:
Judge locally whether be already installed with the operation platform according to the information of the operation platform, if it is, holding
Row is downloaded and the step of installs the application program, otherwise, performs and is downloaded according to the information of the operation platform and described in installing
The step of operation platform.
Methods described also includes:
The local mounted application program of detection, connects according to the application programming that the mounted application program needs to call
Mouth API knows the operation platform of the mounted application program;
Download and the operation platform of the mounted application program is installed.
On the other hand, there is provided a kind of device for obtaining application program, described device include:
Acquisition module, for when downloading default application program, obtaining the information of the operation platform of the application program;
First download module, for the operation platform to be downloaded and installed according to the information of the operation platform;
Second download module, for after the operation platform is installed successfully, downloading and installing the application program.
The acquisition module, including:
Acquiring unit, the information list issued for obtaining server end, described information list include the application program
Operation platform information;
Reading unit, for reading the information of the operation platform in described information list.
The information of the operation platform of the application program includes:Under the title of the operation platform, the operation platform
Whether set address and the operation platform support the instruction of the Installation Modes of static state.
Described device also includes:
Judge module, for before first download module is downloaded and installs the operation platform, according to the fortune
The information of row platform judges locally whether be already installed with the operation platform, if it is, second download module performs
The step of downloading and installing the application program, otherwise, first download module perform the information according to the operation platform
The step of downloading and installing the operation platform.
Described device also includes:
Detection module, for detecting local mounted application program, need to adjust according to the mounted application program
API API knows the operation platform of the mounted application program;
First download module, it is additionally operable to download and the operation platform of the mounted application program is installed.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:When downloading default application program, obtain
Take the information of the operation platform of the application program;Downloaded according to the information of the operation platform and the operation platform is installed;
After the operation platform is installed successfully, download and the application program is installed.By first downloading the operation platform of application program,
Download application program again, so as to ensure application program can normal use, improve user using application program when experience
Sense.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of method flow diagram for acquisition application program that the embodiment of the present invention one provides;
Fig. 2 is a kind of method flow diagram for acquisition application program that the embodiment of the present invention two provides;
Fig. 3 is a kind of apparatus structure schematic diagram for acquisition application program that the embodiment of the present invention three provides;
Fig. 4 is another apparatus structure schematic diagram for obtaining application program that the embodiment of the present invention four provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
Referring to Fig. 1, a kind of method for obtaining application program is provided in the present embodiment, including:
101st, when downloading default application program, the information of the operation platform of the application program is obtained;
102nd, downloaded according to the information of the operation platform and the operation platform is installed;
103rd, after the operation platform is installed successfully, download and the application program is installed.
Wherein, the information of the operation platform for obtaining the application program, including:
The information list that server end issues is obtained, described information list includes the letter of the operation platform of the application program
Breath;
Read the information of the operation platform in described information list.
Wherein, the information of the operation platform of the application program includes:The title of the operation platform, the operation platform
Download address and the operation platform whether support static state Installation Modes instruction.
Alternatively, before the information according to the operation platform is downloaded and installs the operation platform, in addition to:
Judge locally whether be already installed with the operation platform according to the information of the operation platform, if it is, holding
Row is downloaded and the step of installs the application program, otherwise, performs and is downloaded according to the information of the operation platform and described in installing
The step of operation platform.
Alternatively, methods described also includes:
The local mounted application program of detection, connects according to the application programming that the mounted application program needs to call
Mouth API knows the operation platform of the mounted application program;
Download and the operation platform of the mounted application program is installed.
The beneficial effect of the present embodiment is:When downloading default application program, the operation for obtaining the application program is put down
The information of platform;Downloaded according to the information of the operation platform and the operation platform is installed;When the operation platform is installed successfully
Afterwards, download and the application program is installed.By first downloading the operation platform of application program, then application program is downloaded, so as to protect
Demonstrate,prove application program can normal use, improve user using application program when experience sense.
Embodiment two
The embodiments of the invention provide a kind of method for obtaining application program, provide in the present embodiment it is a kind of it is default should
With program management software, in the information list that server end preserves, the operation platform information field of application program, the word are added
Section includes:Whether the title of operation platform, the download address of operation platform and the operation platform support the finger of static Installation Modes
Show so that client when getting information list, can according to the information downloading-running platform of operation platform therein, so as to
Application program is further downloaded, this ensures that the application program that user downloads can use, so as to improve the body of user
Test sense.Wherein, operation platform includes multiple dynamic bases and Runtime Library etc., and this present embodiment is not specifically limited.The present embodiment
In, when operation platform information includes supporting the instruction of static Installation Modes, then show that its corresponding application program need not
The support of whole service platform, it is only necessary to which the indivedual Runtime Libraries or dynamic base of the operation platform can just be run, now static
Installation Modes middle finger shows the path of an other dynamic base or Runtime Library storage.If information list includes in the present embodiment
The instruction of static Installation Modes is not supported, then shows that its corresponding application program needs the support of operation platform to run, this
When need that the operation platform is installed.
Referring to Fig. 2, method flow includes:
201st, when downloading default application program, the information of the operation platform of the application program is obtained.
In the present embodiment, client is mounted with default application program management software, and client is in real time to server end
The list of application program is obtained, or server end is in real time to client push the application list, is logical for client
Cross which kind of mode gets being not specifically limited to this present embodiment for the application list.
When client receives the application list that server end issues, this is exported on client end interface and applies journey
The content of sequence table selects for user, and user is downloaded according to a application program of content selection of the application list, when
When client receives the instruction for downloading certain application program, the information list that server end issues is obtained, and read the letter
The information of the operation platform in list is ceased, to obtain the information of the operation platform of the application program.
In the present embodiment, client reads the operation platform information in information list, and operation platform information is parsed
Know the operation platform that the application program that needs are downloaded is relied on, put down so as to further download the operation according to operation platform information
Platform.
202nd, judge locally whether be already installed with the operation platform according to the information of the operation platform, if it is,
Step 204 is then performed, if it is not, then performing step 203.
, can be first according to fortune after client gets the operation platform information using journey for needing to download in this step
The information of row platform detects to locally-installed operation platform, judges locally whether be mounted with the operation platform, such as
Fruit has locally been mounted with the operation platform, then need not again download and install the operation platform, further also improve
The installation effectiveness of application program.But the operation platform locally is not installed with if detected, first download is installed the operation and put down
Platform, to ensure that the application program downloaded can use.
Specifically, because the information of operation platform includes the title of operation platform, so client can be detected directly
The title of locally-installed operation platform, if the title of matching, then show locally to be mounted with the operation platform, otherwise,
Show locally the application platform not being installed.
What deserves to be explained is step 202 is alternatively, locally-installed operation can not be put down in specific implementation procedure
Platform is detected, but directly performs step 203, this present embodiment is not done specifically using which kind of mode in specific implementation process
Limit.
203rd, downloaded according to the information of the operation platform and the operation platform is installed.
Due to including the download address of operation platform in the information of operation platform, it is possible to by under the download address
Carry the operation platform.Wherein if download obtain be operation platform indivedual Runtime Libraries or dynamic base, then according to static mould
The storage path of formula instruction, corresponding position is put into by the Runtime Library or dynamic stock.What if download obtained is that operation is flat
The installation kit of platform, then the installation kit is installed according to the instruction of non-static pattern.
204th, download and the application program is installed.
In the present embodiment, after the operation platform in application program is downloaded and installed successfully, the application is yet further downloaded
Program, so as to ensure that the application program of installation can use.
In the present embodiment, because the operation platform of application program is also what is constantly updated, cause locally to have pacified in client
Still non-serviceable situation in the application program of dress be present, in this case, the local mounted application of client detection
Program, the API for needing to call according to the mounted application program(Application Programming Interface、
API)Know the operation platform of the mounted application program;Download and install and described mounted apply journey
The operation platform of sequence.Wherein, the API for needing to call according to the mounted application program, which is known, described mounted applies journey
The operation platform of sequence, including:The API that the mounted application program needs to call is intercepted, knows that this applies journey by the API
The required dynamic base used or Runtime Library during sort run.Wherein, it is required when knowing that the application program is run by intercepting API to make
Dynamic base or the method for Runtime Library similarly to the prior art, repeat no more to this present embodiment.
The beneficial effect of the present embodiment is:When downloading default application program, the operation for obtaining the application program is put down
The information of platform;Downloaded according to the information of the operation platform and the operation platform is installed;When the operation platform is installed successfully
Afterwards, download and the application program is installed.By first downloading the operation platform of application program, then application program is downloaded, so as to protect
Demonstrate,prove application program can normal use, improve user using application program when experience sense.And can be to the application of local
Program is detected, and so as to obtain dynamic base or the Runtime Library that its needs loads, is realized to the automatic of local application
Repair.
Embodiment three
Referring to Fig. 3, the embodiments of the invention provide a kind of device for obtaining application program, including:Acquisition module 301,
One download module 302 and the second download module 303.
Acquisition module 301, for when downloading default application program, obtaining the letter of the operation platform of the application program
Breath;
First download module 302, for the operation platform to be downloaded and installed according to the information of the operation platform;
Second download module 303, for after the operation platform is installed successfully, downloading and installing the application program.
Wherein, the acquisition module 301, including:
Acquiring unit, the information list issued for obtaining server end, described information list include the application program
Operation platform information;
Reading unit, for reading the information of the operation platform in described information list.
Wherein, the information of the operation platform of the application program includes:The title of the operation platform, the operation platform
Download address and the operation platform whether support static state Installation Modes instruction.
Alternatively, also include referring to Fig. 4, described device:
Judge module 304, for before first download module is downloaded and installs the operation platform, according to described
The information of operation platform judges locally whether be already installed with the operation platform, if it is, the second download module 303 performs
The step of downloading and installing the application program, otherwise, first downloads under 302 pieces of information performed according to the operation platform of mould
The step of carrying and installing the operation platform.
Alternatively, also include referring to Fig. 4, described device:
Detection module 305, for detecting local mounted application program, according to the mounted application program needs
The API API of calling knows the operation platform of the mounted application program;
First download module 302, it is additionally operable to download and the operation platform of the mounted application program is installed.
The beneficial effect of the present embodiment is:When downloading default application program, the operation for obtaining the application program is put down
The information of platform;Downloaded according to the information of the operation platform and the operation platform is installed;When the operation platform is installed successfully
Afterwards, download and the application program is installed.By first downloading the operation platform of application program, then application program is downloaded, so as to protect
Demonstrate,prove application program can normal use, improve user using application program when experience sense.
It should be noted that:In the device for the acquisition application program that above-described embodiment provides, only with above-mentioned each functional module
Division progress for example, in practical application, can be complete by different functional modules by above-mentioned function distribution as needed
Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.Separately
Outside, the device for the acquisition application program that above-described embodiment provides belongs to same design with obtaining the embodiment of the method for application program,
Its specific implementation process refers to embodiment of the method, repeats no more here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (8)
- A kind of 1. method for obtaining application program, it is characterised in that methods described includes:When downloading default application program, the information of the operation platform of the application program, the fortune of the application program are obtained The information of row platform includes:Whether the title of the operation platform, the download address of the operation platform and the operation platform Support the instruction of static Installation Modes;Downloaded according to the information of the operation platform and the operation platform is installed;After the operation platform is installed successfully, download and the application program is installed;The information according to the operation platform is downloaded and installs the operation platform, including:If the operation platform supports static Installation Modes, title and the operation platform based on the operation platform Address, download Runtime Library or dynamic base corresponding to the operation platform, and according to indicated by the static Installation Modes Path is deposited, the Runtime Library or dynamic base are deposited, if the operation platform does not support the Installation Modes of static state, The address of title and the operation platform based on the operation platform, downloads the installation kit of the operation platform, and pacified Dress.
- 2. according to the method for claim 1, it is characterised in that the letter of the operation platform for obtaining the application program Breath, including:The information list that server end issues is obtained, described information list includes the information of the operation platform of the application program;Read the information of the operation platform in described information list.
- 3. according to the method for claim 1, it is characterised in that the information according to the operation platform is downloaded and installed Before the operation platform, in addition to:Judge locally whether be already installed with the operation platform according to the information of the operation platform, if it is, under performing The step of carrying and installing the application program, otherwise, perform and the operation is downloaded and installed according to the information of the operation platform The step of platform.
- 4. according to the method for claim 1, it is characterised in that methods described also includes:The local mounted application program of detection, the API for needing to call according to the mounted application program API knows the operation platform of the mounted application program;Download and the operation platform of the mounted application program is installed.
- 5. a kind of device for obtaining application program, it is characterised in that described device includes:Acquisition module, it is described for when downloading default application program, obtaining the information of the operation platform of the application program The information of the operation platform of application program includes:The title of the operation platform, the download address of the operation platform and described Whether operation platform supports the instruction of the Installation Modes of static state;First download module, for the operation platform to be downloaded and installed according to the information of the operation platform;Second download module, for after the operation platform is installed successfully, downloading and installing the application program;First download module is flat based on the operation if supporting static Installation Modes for the operation platform The address of the title of platform and the operation platform, Runtime Library or dynamic base corresponding to the operation platform are downloaded, and according to described Storage path indicated by static Installation Modes, is deposited to the Runtime Library or dynamic base, if the operation platform The Installation Modes of static state are not supported, then the address of title and the operation platform based on the operation platform, download the fortune The installation kit of row platform, and installed.
- 6. device according to claim 5, it is characterised in that the acquisition module, including:Acquiring unit, the information list issued for obtaining server end, described information list include the fortune of the application program The information of row platform;Reading unit, for reading the information of the operation platform in described information list.
- 7. device according to claim 5, it is characterised in that described device also includes:Judge module, for before first download module is downloaded and installs the operation platform, being put down according to the operation The information of platform judges locally whether be already installed with the operation platform, if it is, second download module performs download And the step of installing the application program, otherwise, first download module performs to be downloaded according to the information of the operation platform And the step of installing the operation platform.
- 8. device according to claim 5, it is characterised in that described device also includes:Detection module, for detecting local mounted application program, need what is called according to the mounted application program API API knows the operation platform of the mounted application program;First download module, it is additionally operable to download and the operation platform of the mounted application program is installed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210286451.7A CN103593200B (en) | 2012-08-13 | 2012-08-13 | The method and apparatus for obtaining application program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210286451.7A CN103593200B (en) | 2012-08-13 | 2012-08-13 | The method and apparatus for obtaining application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103593200A CN103593200A (en) | 2014-02-19 |
CN103593200B true CN103593200B (en) | 2017-12-08 |
Family
ID=50083360
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210286451.7A Active CN103593200B (en) | 2012-08-13 | 2012-08-13 | The method and apparatus for obtaining application program |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103593200B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105224363B (en) * | 2015-09-23 | 2019-04-05 | 北京金山安全软件有限公司 | Method and device for loading application program |
CN110231965B (en) * | 2019-06-19 | 2022-05-10 | 京东方科技集团股份有限公司 | Cloud device, application processing method and electronic device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895872A (en) * | 2010-07-16 | 2010-11-24 | 南京烽火星空通信发展有限公司 | Method for conveniently downloading application program for mobile terminal |
CN102063299A (en) * | 2010-12-21 | 2011-05-18 | 东莞宇龙通信科技有限公司 | Method and device for assessing application running condition of mobile terminal, mobile terminal |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003173246A (en) * | 2001-12-05 | 2003-06-20 | Ricoh Co Ltd | Device information gathering method, program, server device and storage medium |
CN101452402B (en) * | 2008-11-28 | 2012-05-30 | 珠海金山快快科技有限公司 | Software operation system and software operation method |
-
2012
- 2012-08-13 CN CN201210286451.7A patent/CN103593200B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895872A (en) * | 2010-07-16 | 2010-11-24 | 南京烽火星空通信发展有限公司 | Method for conveniently downloading application program for mobile terminal |
CN102063299A (en) * | 2010-12-21 | 2011-05-18 | 东莞宇龙通信科技有限公司 | Method and device for assessing application running condition of mobile terminal, mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN103593200A (en) | 2014-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102915247B (en) | APK plug-in unit management method | |
CN105389222B (en) | A kind of methods, devices and systems of dynamic call native interface | |
CN101593121B (en) | Method, device and system for software on-line upgrade | |
CN104991793B (en) | A kind of method, apparatus and system for application program subpackage | |
CN102622241B (en) | A kind of method for upgrading software and device | |
CN103227812B (en) | Smart machine is supported method for down loading and the device of breakpoint transmission | |
TWI506555B (en) | A method of disseminating updated drivers to mobile computing devices and a dissemination system therefor | |
CN108491236A (en) | A kind of plug-in loading method, device and computer readable storage medium | |
CN108415821A (en) | The generation method and device of test report | |
CN105786538A (en) | Software upgrading method and device based on Android system | |
CN102222006A (en) | Mobile Widget user interface realization method and device | |
CN107632901A (en) | A kind of self-repair method and device of application program operation exception | |
EP1676195A2 (en) | Dynamic addressing (da) using a centralized da manager | |
CN109634840A (en) | Method for testing software, device, equipment and storage medium | |
CN104346195B (en) | Software installation method and system | |
CN103593200B (en) | The method and apparatus for obtaining application program | |
CN103019764A (en) | Method and system for detecting installability of Andriod resource packages | |
CN104036193B (en) | Local cross-domain vulnerability detection method and device for application program | |
CN104063306B (en) | Automatic logging method, device and system in intelligent terminal software test | |
CN105260196B (en) | A kind of android system supports the implementation method of QT APP | |
CN102256242A (en) | System and method for processing service application | |
CN110045998A (en) | Load the method and device of dynamic base | |
CN105335185B (en) | Red cap source code assures the processing method and processing device of reason SRPM packet | |
CN104239112A (en) | Device driver installation method and device | |
US9176974B1 (en) | Low priority, multi-pass, server file discovery and management |
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 |