CN103257868B - The method and apparatus of installation procedure - Google Patents

The method and apparatus of installation procedure Download PDF

Info

Publication number
CN103257868B
CN103257868B CN201210040060.7A CN201210040060A CN103257868B CN 103257868 B CN103257868 B CN 103257868B CN 201210040060 A CN201210040060 A CN 201210040060A CN 103257868 B CN103257868 B CN 103257868B
Authority
CN
China
Prior art keywords
file
electronic equipment
installation
program
file set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210040060.7A
Other languages
Chinese (zh)
Other versions
CN103257868A (en
Inventor
邢其欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210040060.7A priority Critical patent/CN103257868B/en
Publication of CN103257868A publication Critical patent/CN103257868A/en
Application granted granted Critical
Publication of CN103257868B publication Critical patent/CN103257868B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The method and apparatus providing a kind of installation procedure for electronic equipment.Described method comprises determining that whether described electronic equipment meets the first predetermined condition;When described electronic equipment meets described first predetermined condition, it is thus achieved that the installation file corresponding with program;Resolving the installation file corresponding with described program and obtain resolution file, described resolution file includes the first file set and the second file set;Described first file set in described resolution file is installed after described analyzing step;Determine whether described electronic equipment meets the second predetermined condition;And when described electronic equipment meets described second predetermined condition, described second file set in described resolution file is installed, to complete the installation of described program.In the method and apparatus of described installation procedure, by controlling the installation process of program according to the state of electronic equipment, decrease the waiting time of user during installation procedure, effectively enhance the experience of user.

Description

The method and apparatus of installation procedure
Technical field
The present invention relates to electronic technology field, relate more specifically to a kind of method and apparatus for installation procedure.
Background technology
Along with the development of electronic technology, the various electronics of such as mobile phone, personal digital assistant and computer etc set For being widely used step by step.Additionally, the function of described electronic equipment the most gradually strengthens to meet the demand of user.Institute State and on electronic equipment, such as achieve communication function, web page browsing, video playback, text browsing and edition function.Each merit Can realize by installing corresponding application program.Additionally, every kind of electronic equipment has different operating system, the most individual People calculates usual use Windows operating system, and generally run on mobile phone is Android (Android) operating system. Every kind of operating system is made up of substantial amounts of system program.The installation of described application program and system program is the every of electronic equipment Individual user must faced by work.
Generally, during installed user program, electronic equipment is in the busy state that the operation to user does not responds. Now, user cannot be carried out operation, and therefore spends the waiting time.After the installation completing program, it is right that electronic equipment enters The resting state that the operation of user responds, thus user can use described electronic equipment.Especially, electricity is bought user After subset, before using described electronic equipment first, it usually needs run up to a hundred application programs.The installation phase in program Between, electronic equipment not operation to user responds, thus user needs to wait for a long time.Therefore, how in program The waiting time shortening user during installation has become a problem demanding prompt solution.
Summary of the invention
The method and apparatus embodiments providing a kind of installation procedure, it can come according to the state of electronic equipment The installation process of control program, decreases the waiting time of user during installation procedure, effectively enhances making of user With experience.
On the one hand, it is provided that a kind of method of installation procedure, being applied in electronic equipment, described method comprises determining that institute State whether electronic equipment meets the first predetermined condition;When described electronic equipment meets described first predetermined condition, it is thus achieved that with journey The installation file that ordered pair is answered;The installation file corresponding with described program is resolved and obtains resolution file, described parsing literary composition Part includes the first file set and the second file set;In described resolution file described is installed after described analyzing step One file set;Determine whether described electronic equipment meets the second predetermined condition;And it is satisfied in the state of described electronic equipment During described second predetermined condition, described second file set in described resolution file is installed, to complete the installation of described program.
On the other hand, it is provided that the device of a kind of installation procedure, this device is applied to electronic equipment, described device bag Include: first determines unit, be used for determining whether described electronic equipment meets the first predetermined condition;Obtain unit, for described When electronic equipment meets described first predetermined condition, it is thus achieved that the installation file corresponding with program;Resolution unit, for described Installation file corresponding to program carries out resolving and obtaining resolution file, and described resolution file includes the first file set and the second literary composition Part set;Installation unit, for installing described first file set in described resolution file after described analyzing step;The Two determine unit, are used for determining whether described electronic equipment meets the second predetermined condition, wherein, in the state of described electronic equipment When meeting described second predetermined condition, described installation unit installs described second file set in described resolution file, with complete Become the installation of described program.
Above-mentioned in the technical scheme of installation procedure in the embodiment of the present invention, the installation of program is split as different Stage, and by controlling the installation process of program according to the state of electronic equipment, decrease and use during installation procedure The waiting time at family, effectively enhance the experience of user.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only some realities of the present invention Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to these accompanying drawings Obtain other accompanying drawing.
Fig. 1 be a diagram that the flow chart of the program installation method according to example embodiment of the present invention;
Fig. 2 be a diagram that the block diagram of the program erecting device according to example embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is a part of embodiment of the present invention rather than whole embodiments wholely.
Fig. 1 be a diagram that the flow chart of the program installation method 100 according to example embodiment of the present invention.This program installation side Method 100 can be used for various electronic equipment, such as mobile phone, computer, personal digital assistant etc..Described electronic equipment can have Various operating system, the most existing form (Windows) system, Android system and future is had to use in the electronic device Other operating system.Described program installation method 100 is described in detail below in conjunction with Fig. 1.
This program installation method 100 comprises the steps that and determines whether described electronic equipment meets the first predetermined condition (step S110);When described electronic equipment meets described first predetermined condition, it is thus achieved that the installation file (step corresponding with program S120);Resolving the installation file corresponding with described program and obtain resolution file, described resolution file includes the first literary composition Part set and the second file set (step S130);In described resolution file described first is installed after described analyzing step File set (step S140);Determine whether described electronic equipment meets the second predetermined condition (step S150);And described When electronic equipment meets described second predetermined condition, described second file set in described resolution file is installed, to complete State the installation (step S160) of program.
In step s 110, determine whether described electronic equipment meets the first predetermined condition.This step S110 is used for determining Whether want the installation of start program.Such as, described determine whether electronic equipment meets the first predetermined condition and may include determining whether described Whether the system resource of electronic equipment meets specified conditions.The electronics that this system resource refers to take required for installation procedure sets Standby system resource, its for example, occupancy of central processing unit (CPU) of electronic equipment, free memory etc. of electronic equipment. The occupancy of described specified conditions for example, CPU less than 50%, the free memory of electronic equipment is more than at least one in 500M. In concrete application, specifically can arrange according to putting into practice needs.
Alternatively, described determine whether electronic equipment meets the first predetermined condition and can include determining that described electronic equipment is No is to start for the first time.When described electronic equipment is to start for the first time, it is usually present substantial amounts of program and to install, now The program installation method starting the present invention is especially advantageous, and it can reduce the waiting time of user, and this will be carried out later in detail Describe.
It should be noted that the first predetermined condition in this step S110 can be arranged so that and the most all make Installation procedure is carried out by step S120-S160 below.
In the step s 120, when described electronic equipment meets described first predetermined condition, it is thus achieved that the peace corresponding with program Dress file.As example, when determining that described electronic equipment is to start for the first time in step s 110, this acquisition is corresponding with program Install file step can include obtain with described first time startup before be pre-stored in described electronic equipment multiple The file that program is corresponding.
As a example by the mobile communication terminal using Android operation system, when mobile communication terminal dispatches from the factory, the most wherein The system program of the Android that prestored and conventional application program.When for the first time starting this mobile communication terminal, need to obtain with The Android program bag (Apk file) that each program of prestoring is corresponding, to install.If electronic equipment is not to open for the first time Dynamic, then obtain the file corresponding with program to be installed.It is a kind of as the described Apk file installing file corresponding with program Program through overcompression.Each Apk file typically comprises such as lower part: (1) META-INF catalogue, draws from java jar file The catalogue describing package informatin entered;(2) res catalogue, for depositing the catalogue of resource file;(3)AndroidManifest.xml File, for the file of program global configuration;(4) classes.dex file (Dex:Dalvik VM execute, Da Erweike Virtual machine executable format), it is the java byte code files generated after java source code compiles;(5) resources.ars file, It it is the Binary Resources file after compiling;(6) libs file, for depositing so file of obtaining of compiling, (this libs can not deposit ).Certainly, under other operating system, the installation file corresponding with program can be to have other form, above-mentioned Android Apk file under service system is not construed as limiting the invention.
In step s 130, the installation file corresponding with described program is resolved and obtains resolution file, described solution Analysis file includes the first file set and the second file set.In the case of program under Android operation system is installed, pass through Apk file (Android program bag) is carried out decompression and operates to carry out described parsing.As it was previously stated, Apk file is generally extracted Contracting such as lower part: META-INF catalogue, res catalogue, AndroidManifest.xml file, classes.dex file, Resources.ars file and libs file.Such as can by META-INF catalogue, res catalogue, AndroidManifest.xml file and resources.ars file as the first file set, and by classes.dex literary composition Part and libs file, as the second file set, first to install the first file set in installation steps subsequently, are then installed Second file set.Generally, the file in the first file set is file (the e.g. program needing in resolution file first to install In basic file), the file in the second file set is the file can being subsequently mounted in resolution file.In concrete reality In trampling, different differentiations can be carried out for different programs.Further, it is also possible to adjust the first file set and the second file set File in conjunction, for example, it is possible to put in the first file set by the libs file in the second file set, vice versa.
In step S140, described first file set in described resolution file is installed after described analyzing step. As example, in the case of the program under Android operation system is installed, can install described in include META-INF catalogue, res First file set of catalogue, AndroidManifest.xml file and resources.ars file.
Additionally, after completing the installation of the first file set, can show corresponding with described program in the electronic device Startup icon, this startup icon allows users to start mounted program.This startup icon is such as clicked user Time, electronic equipment is known that user expects to use the program installed, thus is preferentially installed first file corresponding with this program Set and the second file set.Therefore, this startup icon provides a ditch all between program and the user that part is installed Road.Certainly, this startup icon can show always, until completing the installation of program.
In step S150, determine whether described electronic equipment meets the second predetermined condition.This step S150 is used for determining Whether start the installation of the second file set.As example, the described step determining whether electronic equipment meets the second predetermined condition Suddenly may include determining whether whether described electronic equipment completes the installation of the first file set, such that it is able to need preferentially to pacify being mounted with After first file set of dress, start the installation of the second file set.Additionally, this determines whether described electronic equipment meets Two predetermined conditions (step S150) can also include the clicking operation determining the program being not detected by user to installing.Generally, If user clicks on and installing the program of its first file set or installing the program of its first file set, then anticipate Taste user's expectation and is used this program as early as possible, now needs to install the second file set as early as possible, supplies completing the installation of program User uses.Can be configured as required in practice.
In step S160, when described electronic equipment meets described second predetermined condition, install in described resolution file Described second file set, to complete the installation of described program.Can be at the second literary composition during described resolution file is installed on backstage Part set.Furthermore, it is possible to install described second file set in resolution file according to predefined procedure.This predefined procedure can be Based on user, the use frequency of program is determined, or determine according to the sequencing of letter simply.As example, In the case of program under Android operation system is installed, the classes.dex file in the second file set, so can be first installed Rear installation libs file, to complete the installation of the second file set.
In the case of determining the installation that described electronic equipment completes the first file set in step S150, described installation solves The step of described second file set in analysis file may include that whether the system resource of detection electronic equipment meets specific bar Part;When the system resource of electronic equipment meets described specified conditions, described second file set in resolution file is installed.Also That is, in the case of described electronic equipment completes the installation of the first file set, also determine that the system resource of electronic equipment Whether meet specified conditions (as previously mentioned).In the case of described electronic equipment completes the installation of the first file set, if The system resource causing electronic equipment due to other operation of electronic equipment is nervous, then can postpone the peace of the second file set Dress, thus do not affect other operation described;If there is available system resource, then can start the peace of the second file set Dress, to accelerate the process installed.At this point it is possible to install described second file set in resolution file according to predefined procedure.
Additionally, it is also conceivable to the expectation of user during described second file set installed in resolution file. Such as, in the case of described electronic equipment completes the installation of the first file set, or complete first at described electronic equipment In the case of the installation of file set and the system resource of electronic equipment meet described specified conditions, can be by following step Described second file set in resolution file is installed suddenly: the startup of specific program is operated by detection user;Judge the second literary composition Whether file corresponding with described specific program in part set is mounted;In the second file set corresponding with described specific program File mounted in the case of, file corresponding with described specific program in the second file set is installed, to complete State the installation of specific program;Run described specific program.At this point it is possible to accelerate user to expect the installation of the program used.Need It is noted that the expectation of user can be considered during any one installs the second file set, and it is not limited to upper mask body Two examples be given.
If determining that described electronic equipment is startup for the first time and determines described in step S150 in step s 110 Electronic equipment completes the installation of the first file set, the described second file set (step in the most described installation resolution file S160) may include that interface file corresponding with interface program in described second file set of installation, this interface program is and electricity The program that the use at the operation interface of subset is correlated with;After the installation completing interface file, described second file set is installed Residue file in addition to interface file in conjunction.As it was previously stated, when described electronic equipment is to start for the first time, need to install Including system program and a large amount of programs of application program.Because the interface program that the use to the operation interface of electronic equipment is relevant It is the basis of user operation, and the display at interface is so that user can start desired operation, therefore can preferentially pacify Fill described interface program, hereafter the residue file in addition to interface file in described second file set is installed.
After completing the installation of the first file set and the second file set, terminate the installation of program.
In the said procedure installation method of the embodiment of the present invention, the installation of program is split as the different stages, and By controlling the installation process of program according to the state of electronic equipment, when decreasing the wait of user during installation procedure Between, effectively enhance the experience of user.
Fig. 2 be a diagram that the block diagram of the program erecting device 200 according to example embodiment of the present invention.This program erecting device 200 can be used for various electronic equipment, and this described electronic equipment can have various operating system.It is to say, electronic equipment The type of type and operating system is not construed as limiting the invention.Described program erecting device is described in detail below in conjunction with Fig. 2 200。
Described program erecting device 200 comprises the steps that first determines unit 210, is used for determining that described electronic equipment is the fullest Foot the first predetermined condition;Obtain unit 220, for when described electronic equipment meets described first predetermined condition, it is thus achieved that with journey The installation file that ordered pair is answered;Resolution unit 230, for resolving the installation file corresponding with described program and obtaining parsing File, described resolution file includes the first file set and the second file set;Installation unit 240, for resolving step described After rapid, described first file set in described resolution file is installed;Second determines unit 250, is used for determining that described electronics sets For whether meeting the second predetermined condition, wherein, when described electronic equipment meets described second predetermined condition, described installation unit 240 install described second file set in described resolution file, to complete the installation of described program.
Described first determines that unit 210 can determine that whether described electronic equipment meets the first predetermined condition, to judge whether Want the installation of start program.Such as, described first determines that unit 210 can be determined as previously described the system resource of described electronic equipment Whether meet specified conditions, to judge that the current state of electronic equipment is appropriate for carry out the installation of program.It should be noted that this spy Fixed condition suitably can change in conjunction with the system resource required for the installation of distinct program.Alternatively, described first determines list Unit 210 can determine that whether described electronic equipment is to start for the first time.When described electronic equipment is to start for the first time, it usually needs Installing substantial amounts of program to want, now utilize the program erecting device of the present invention to carry out installation procedure especially beneficial, it can reduce use The waiting time at family.Additionally, described first determines that this first predetermined condition can also be arranged so that in any feelings by unit 210 The program erecting device all using the present invention under condition carrys out installation procedure.
When described electronic equipment meets described first predetermined condition, described acquisition unit 220 can obtain corresponding with program Installation file.As example, when first determines that unit 210 determines that described electronic equipment is to start for the first time, this acquisition list Unit 220 can obtain the file corresponding with the multiple programs being pre-stored in described electronic equipment before described first time starts.With As a example by using the mobile communication terminal of Android operation system, the system program of the Android that prestored wherein and conventional application journey Sequence, when starting this mobile communication terminal for the first time, needs to obtain the Apk file corresponding with each program prestored, to carry out Install.If electronic equipment is not to start for the first time, then obtain the file corresponding with program to be installed.
The installation file corresponding with described program can be resolved and obtain resolution file by described resolution unit 230, institute State resolution file and include the first file set and the second file set.Generally, the file in the first file set is resolution file The middle file (the e.g. basic file in program) needing first to install, the file in the second file set is in resolution file The file that can be subsequently mounted.
In the case of program under Android operation system is installed, by Apk file (Android program bag) is decompressed Contracting carries out described parsing and operates.Such as, the first file set can include decompress after obtain META-INF catalogue, res Catalogue, AndroidManifest.xml file and resources.ars file, after the second file set can include decompressing The classes.dex file obtained and libs file.In concrete practice, can carry out different for different programs Distinguish, and the file in the first file set and the second file set can be adjusted.
Described installation unit 240, after described analyzing step, installs described first file set in described resolution file Close.As example, in the case of the program under Android operation system is installed, the META-in the first file set can be installed INF catalogue, res catalogue, AndroidManifest.xml file and resources.ars file.Additionally, described installation unit 240 can also install the second file set in resolution file, and this will be described in detail later.
After described installation unit 240 completes the installation of the first file set, can show in the electronic device and institute The startup icon that program of stating is corresponding, this startup icon allows users to start mounted program.When user such as clicks During this startup icon, electronic equipment knows that user expects to use the program installed, thus preferentially installs corresponding with this program The first file set and the second file set.Therefore, this startup icon provides between program and the user that part is installed One ditch circulation passage.Certainly, this startup icon can show always, until completing whole installations of program.
Described second determines that unit 250, for determining whether described electronic equipment meets the second predetermined condition, with judgement is The installation of no beginning the second file set.Such as, described second determines that unit 250 can determine that whether described electronic equipment completes The installation of one file set, such that it is able to after being mounted with the first file set needing preferentially to install, start the second file The installation of set.Additionally, this second determines that unit 250 may determine whether to be not detected by the click of user's program to installing Operation, without user's clicking operation to the program of installation being detected, then the installation of the second file set can be according to both Fixed order or process are carried out, it is not necessary to accelerate to install;If be detected that the clicking operation of the program that user is to installing, then need Second file set is installed the most as early as possible, to complete the installation of program to for user.
It should be noted that in practice, can be determined that unit 210 performs this second operation determining unit 250, here by first The most described separately.
When described electronic equipment meets described second predetermined condition, described installation unit 240 installs described resolution file In described second file set, to complete the installation of described program.Described installation unit 240 can install described solution on backstage The second file set in analysis file.Additionally, described installation unit 240 can install the institute in resolution file according to predefined procedure State the second file set.This predefined procedure can be to determine the use frequency of program based on user, or simply according to The sequencing of letter determines.
In the case of determining that unit 250 determines the installation that described electronic equipment completes the first file set second, described Installation unit 240 can install described second file set in resolution file by following operation: detects the system of electronic equipment Whether resource meets specified conditions;When the system resource of electronic equipment meets described specified conditions, install in resolution file Described second file set.It is to say, in the case of described electronic equipment completes the installation of the first file set, also determine that Whether the system resource of electronic equipment meets specified conditions (as previously mentioned).The first file set is completed at described electronic equipment In the case of installation, if owing to other of electronic equipment operates and cause the system resource anxiety of electronic equipment, then can prolong The installation of slow second file set, thus do not affect other operation described;If there is available system resource, then can start The installation of the second file set, to accelerate the process installed.
Additionally, it is also conceivable to during installation unit 240 installs described second file set in resolution file The expectation of user.Such as, in the case of described electronic equipment completes the installation of the first file set, or set at described electronics In the case of the system resource of the standby installation and electronic equipment completing the first file set meets described specified conditions, install Unit 240 can install described second file set in resolution file as follows: user is to specific program in detection Startup operation;Judge whether file corresponding with described specific program in the second file set is mounted;At the second file set In the case of file corresponding with described specific program in conjunction is mounted, install in the second file set with described specific journey The file that ordered pair is answered, to complete the installation of described specific program;Run described specific program.At this point it is possible to accelerate user's expectation The installation of the program used.It should be noted that and can consider user's during any one installs the second file set Expect, and be not limited to two examples specifically given above.
If described first determines that unit 210 determines that described electronic equipment is that startup and described second determines for the first time Unit 250 determines that described electronic equipment completes the installation of the first file set, and the most described installation unit 240 can be by following operation Described second file set in resolution file is installed: interface literary composition corresponding with interface program in described second file set is installed Part, this interface program is the program relevant to the use operating interface of electronic equipment;After the installation completing interface file, Residue file in addition to interface file in described second file set is installed.As it was previously stated, be at described electronic equipment During one-shot, need a large amount of programs including system program and application program are installed.Because the operation interface with electronic equipment The relevant interface program that uses be the basis of user operation, and the display at interface is so that user can start desired Operation, therefore can preferentially install described interface program, hereafter installs in described second file set in addition to interface file Residue file.
After installation unit 240 completes the installation of the first file set and the second file set, terminate the installation of program.
In the said procedure erecting device of the embodiment of the present invention, the installation of program is split as the different stages, and By controlling the installation process of program according to the state of electronic equipment, when decreasing the wait of user during installation procedure Between, effectively enhance the experience of user.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and the device of foregoing description With the specific works process of unit, it is referred to the corresponding process in preceding method embodiment, does not repeats them here.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example that the embodiments described herein describes Unit and algorithm steps, it is possible to being implemented in combination in of electronic hardware or computer software and electronic hardware.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel Each specifically should being used for can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be passed through other Mode realizes.Such as, device embodiment described above is only schematically, such as, the division of described unit, it is only A kind of logic function divides, actual can have when realizing other dividing mode, the most multiple unit or assembly can in conjunction with or Person is desirably integrated into another system, or some features can be ignored, or does not performs.
If described function is using the form realization of SFU software functional unit and as independent production marketing or use, permissible It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.

Claims (18)

1. a method for installation procedure, is applied in electronic equipment, and described method includes:
Determine whether described electronic equipment meets the first predetermined condition;
When described electronic equipment meets described first predetermined condition, it is thus achieved that the installation file corresponding with program;
Resolving the installation file corresponding with described program and obtain resolution file, described resolution file includes the first file Set and the second file set;
Described first file set in described resolution file is installed after described analyzing step;
Determine whether described electronic equipment meets the second predetermined condition;And
When described electronic equipment meets described second predetermined condition, described second file set in described resolution file is installed Close, to complete the installation of described program;
Described determine whether described electronic equipment meets the step of the second predetermined condition and comprise determining that described electronic equipment is the completeest Become the installation of the first file set,
Described second file set when described electronic equipment completes the installation of the first file set, in described installation resolution file Conjunction includes:
Installing interface file corresponding with interface program in described second file set, this interface program is the behaviour with electronic equipment That makees interface uses relevant program;With
After the installation completing interface file, the residue literary composition in addition to interface file in described second file set is installed Part.
Method the most according to claim 1, wherein, described determines whether electronic equipment meets the first predetermined condition and include: Determine whether described electronic equipment is to start for the first time,
When described electronic equipment is to start for the first time, the described acquisition installation file corresponding with program includes: obtain and in institute State the file that the multiple programs being pre-stored in described electronic equipment before starting for the first time are corresponding.
Method the most according to claim 1, wherein, described determines whether electronic equipment meets the first predetermined condition and include: Determine whether the system resource of described electronic equipment meets specified conditions.
Method the most according to claim 1, wherein, described determines whether described electronic equipment meets the second predetermined condition Step comprises determining that whether described electronic equipment completes the installation of the first file set.
Method the most according to claim 4, wherein, when described electronic equipment completes the installation of the first file set, institute The step stating described second file set installed in resolution file includes:
Whether the system resource of detection electronic equipment meets specified conditions;
When the system resource of electronic equipment meets described specified conditions, described second file set in resolution file is installed.
Method the most according to claim 5, wherein, the step of described second file set in described installation resolution file Including: according to predefined procedure, described second file set in resolution file is installed.
Method the most according to claim 1, wherein, the step of described second file set in described installation resolution file Including:
The startup of specific program is operated by detection user;
Judge whether file corresponding with described specific program in the second file set is mounted;
In the case of file corresponding with described specific program in the second file set is not mounted, the second file set is installed File corresponding with described specific program in conjunction, to complete the installation of described specific program;
Run described specific program.
Method the most according to claim 1, wherein, after completing the installation of the first file set, display and described journey The startup icon that ordered pair is answered, this startup icon allows users to start mounted program.
Method the most according to claim 1, wherein, the step of the second file set of described installation resolution file is included in Described second file set is installed on backstage.
10. a device for installation procedure, this device is applied to electronic equipment, and described device includes:
First determines unit, is used for determining whether described electronic equipment meets the first predetermined condition;
Obtain unit, for when described electronic equipment meets described first predetermined condition, it is thus achieved that the installation literary composition corresponding with program Part;
Resolution unit, for the installation file corresponding with described program being resolved and obtaining resolution file, described parsing literary composition Part includes the first file set and the second file set;
Installation unit, for installing described first file set in described resolution file after described analyzing step;
Second determines unit, is used for determining whether described electronic equipment meets the second predetermined condition,
Wherein, when described electronic equipment meets described second predetermined condition, described installation unit is installed in described resolution file Described second file set, to complete the installation of described program;
Described second determines that unit determines whether described electronic equipment completes the installation of the first file set,
When described electronic equipment completes the installation of the first file set, described installation unit installs parsing by following operation Described second file set in file:
Installing interface file corresponding with interface program in described second file set, this interface program is the behaviour with electronic equipment That makees interface uses relevant program;With
After the installation completing interface file, the residue literary composition in addition to interface file in described second file set is installed Part.
11. devices according to claim 10, wherein, described first determines that unit determines whether described electronic equipment is One-shot,
When described electronic equipment is to start for the first time, described acquisition unit obtains and is pre-stored in before described first time starts The file that multiple programs in described electronic equipment are corresponding.
12. devices according to claim 10, wherein, described first determines that unit for determine described electronic equipment is Whether system resource meets specified conditions.
13. devices according to claim 10, wherein, described second determines that unit determines whether described electronic equipment completes The installation of the first file set.
14. devices according to claim 13, wherein, when described electronic equipment completes the installation of the first file set, Described installation unit installs described second file set in resolution file by following operation:
Whether the system resource of detection electronic equipment meets specified conditions;
When the system resource of electronic equipment meets described specified conditions, described second file set in resolution file is installed.
15. devices according to claim 14, wherein, described installation unit is installed in resolution file according to predefined procedure Described second file set.
16. devices according to claim 10, wherein, described installation unit is installed in resolution file by following operation Described second file set:
The startup of specific program is operated by detection user;
Judge whether file corresponding with described specific program in the second file set is mounted;
In the case of file corresponding with described specific program in the second file set is not mounted, the second file set is installed File corresponding with described specific program in conjunction, to complete the installation of described specific program;
Run described specific program.
17. devices according to claim 10, wherein, after completing the installation of the first file set, display is with described The startup icon that program is corresponding, this startup icon allows users to start mounted program.
18. devices according to claim 10, wherein, described installation unit is installed described in described resolution file on backstage Second file set.
CN201210040060.7A 2012-02-20 2012-02-20 The method and apparatus of installation procedure Active CN103257868B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210040060.7A CN103257868B (en) 2012-02-20 2012-02-20 The method and apparatus of installation procedure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210040060.7A CN103257868B (en) 2012-02-20 2012-02-20 The method and apparatus of installation procedure

Publications (2)

Publication Number Publication Date
CN103257868A CN103257868A (en) 2013-08-21
CN103257868B true CN103257868B (en) 2016-12-28

Family

ID=48961804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210040060.7A Active CN103257868B (en) 2012-02-20 2012-02-20 The method and apparatus of installation procedure

Country Status (1)

Country Link
CN (1) CN103257868B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201567A (en) * 2015-05-08 2016-12-07 小米科技有限责任公司 Obtain the method and device of application message
CN105975311B (en) 2016-05-09 2021-01-29 腾讯科技(深圳)有限公司 Application starting method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588313A (en) * 2004-08-31 2005-03-02 威盛电子股份有限公司 Method and system for integrating software mounting kit
CN1961307A (en) * 2003-10-23 2007-05-09 微软公司 System, method, and API for progressively installing software application
CN102156654A (en) * 2011-04-28 2011-08-17 中兴通讯股份有限公司 Installation method and system thereof for software installation package
CN102200922A (en) * 2011-04-06 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Application program installation method and terminal
CN102331946A (en) * 2011-09-28 2012-01-25 宇龙计算机通信科技(深圳)有限公司 Method and system for installing application program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1961307A (en) * 2003-10-23 2007-05-09 微软公司 System, method, and API for progressively installing software application
CN1588313A (en) * 2004-08-31 2005-03-02 威盛电子股份有限公司 Method and system for integrating software mounting kit
CN102200922A (en) * 2011-04-06 2011-09-28 宇龙计算机通信科技(深圳)有限公司 Application program installation method and terminal
CN102156654A (en) * 2011-04-28 2011-08-17 中兴通讯股份有限公司 Installation method and system thereof for software installation package
CN102331946A (en) * 2011-09-28 2012-01-25 宇龙计算机通信科技(深圳)有限公司 Method and system for installing application program

Also Published As

Publication number Publication date
CN103257868A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
TWI402751B (en) In-page installer
AU2013312865B2 (en) Generating native code from intermediate language code for an application
CN102262552B (en) A kind of application program striding equipment synchronous method and system
CN102830997B (en) Control method, device and equipment that a kind of plug-in unit is installed
WO2010113160A1 (en) A method and system for emulating desktop software applications in a mobile communication network
WO2014173141A1 (en) Method of switching desktop subjects of mobile terminal and its switching apparatus
CN104052769B (en) It is a kind of to mobile terminal apply comprising resource updates methods, devices and systems
CN110895471A (en) Installation package generation method, device, medium and electronic equipment
CN104317573B (en) Android installation kit conversion method and device and the method and apparatus of operation application
CN103077059A (en) Method for judging whether application is matched or not
CN104636122B (en) The sharing method and equipment of a kind of capability component
CN103970655A (en) Expect-based automatic server cluster testing method
CN106502713A (en) A kind of method for upgrading software and system
CN107368353A (en) A kind of method and apparatus for realizing virutal machine memory heat addition
CN114968406B (en) Plug-in management method and device, electronic equipment and storage medium
WO2014004921A1 (en) System and method for dynamically creating executable files
CN103257868B (en) The method and apparatus of installation procedure
CN102156650B (en) Method and device capable of implementing automatic analysis of patch
CN106681759A (en) Software updating method and mobile terminal
WO2016008256A1 (en) Method for terminal to update operating system, terminal and system
CN104731600A (en) Implementation method for Android system service plug-in
CN104915288A (en) Testing method and device
CN106033364A (en) Method and system for upgrading Web application programs
JP5299625B2 (en) Operation support apparatus, operation support method, and program
CN103136004B (en) A kind of application program hardware structure display methods and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant